diff options
author | Andre Heinecke <[email protected]> | 2016-05-17 15:49:56 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-05-17 15:54:53 +0000 |
commit | 9b36ebf37a3b889c955ba68038bd5b3d9c5cde4e (patch) | |
tree | 2c8856a9c0cca4e8d45b4358c0e12ac9d3600da7 /lang/qt/src/qgpgmechangepasswdjob.cpp | |
parent | python: Delete duplicated license texts/ (diff) | |
download | gpgme-9b36ebf37a3b889c955ba68038bd5b3d9c5cde4e.tar.gz gpgme-9b36ebf37a3b889c955ba68038bd5b3d9c5cde4e.zip |
Qt / Cpp: Port auto_ptr to unique_ptr
* lang/cpp/src/context.cpp,
lang/cpp/src/context.h,
lang/cpp/src/context_p.h (Context::createForEngine),
(Context::edit, Context::startEditing),
(Context::takeLastEditInteractor, Context::cardEdit),
(Context::startCardEditing, Context::takeLastCardEditInteractor),
(Context::assuanTransact, Context::startAssuanTransaction),
(Context::takeLastAssuanTransaction): Port to unique_ptr.
* lang/qt/src/qgpgmeadduseridjob.cpp,
lang/qt/src/qgpgmechangeexpiryjob.cpp,
lang/qt/src/qgpgmechangeownertrustjob.cpp,
lang/qt/src/qgpgmechangepasswdjob.cpp,
lang/qt/src/qgpgmesignkeyjob.cpp: Update accordingly.
--
This is another API break but as we already broke API with GpgME++
and QGpgME from KDE Frameworks this is a good time to do this
to avoid using a deprected C++ class in the API.
Diffstat (limited to 'lang/qt/src/qgpgmechangepasswdjob.cpp')
-rw-r--r-- | lang/qt/src/qgpgmechangepasswdjob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/src/qgpgmechangepasswdjob.cpp b/lang/qt/src/qgpgmechangepasswdjob.cpp index 675eee67..0aec9273 100644 --- a/lang/qt/src/qgpgmechangepasswdjob.cpp +++ b/lang/qt/src/qgpgmechangepasswdjob.cpp @@ -56,7 +56,7 @@ QGpgMEChangePasswdJob::~QGpgMEChangePasswdJob() {} static QGpgMEChangePasswdJob::result_type change_passwd(Context *ctx, const Key &key) { #if 0 // in case we want to fall back to edit interactor for gpg... - std::auto_ptr<EditInteractor> ei(new GpgChangePasswdEditInteractor); + std::unique_ptr<EditInteractor> ei(new GpgChangePasswdEditInteractor); QGpgME::QByteArrayDataProvider dp; Data data(&dp); |