diff options
author | Ingo Klöcker <[email protected]> | 2023-12-13 09:16:41 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-12-13 12:04:32 +0000 |
commit | f7d69de030b36c1f8cb3491dc97750fb7725f258 (patch) | |
tree | c466b7b559f4e18479f1b6f4b2b65907a89e87f7 | |
parent | core: percent decode filename (diff) | |
download | gpgme-f7d69de030b36c1f8cb3491dc97750fb7725f258.tar.gz gpgme-f7d69de030b36c1f8cb3491dc97750fb7725f258.zip |
qt: Replace Q_NULLPTR with nullptr
* lang/qt/src/defaultkeygenerationjob.h, lang/qt/src/qgpgmebackend.h,
lang/qt/src/quickjob.h, lang/qt/src/threadedjobmixin.h: Replace all
occurrences of Q_NULLPTR with nullptr.
--
-rw-r--r-- | lang/qt/src/defaultkeygenerationjob.h | 2 | ||||
-rw-r--r-- | lang/qt/src/qgpgmebackend.h | 4 | ||||
-rw-r--r-- | lang/qt/src/quickjob.h | 2 | ||||
-rw-r--r-- | lang/qt/src/threadedjobmixin.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lang/qt/src/defaultkeygenerationjob.h b/lang/qt/src/defaultkeygenerationjob.h index 8bbbe34a..c59e0c6d 100644 --- a/lang/qt/src/defaultkeygenerationjob.h +++ b/lang/qt/src/defaultkeygenerationjob.h @@ -51,7 +51,7 @@ class QGPGME_DEPRECATED_EXPORT DefaultKeyGenerationJob : public Job { Q_OBJECT public: - explicit DefaultKeyGenerationJob(QObject *parent = Q_NULLPTR); + explicit DefaultKeyGenerationJob(QObject *parent = nullptr); ~DefaultKeyGenerationJob(); GpgME::Error start(const QString &email, const QString &name); diff --git a/lang/qt/src/qgpgmebackend.h b/lang/qt/src/qgpgmebackend.h index 6c655e96..2e26d4a3 100644 --- a/lang/qt/src/qgpgmebackend.h +++ b/lang/qt/src/qgpgmebackend.h @@ -68,8 +68,8 @@ public: static const char OpenPGP[]; static const char SMIME[]; - bool checkForOpenPGP(QString *reason = Q_NULLPTR) const; - bool checkForSMIME(QString *reason = Q_NULLPTR) const; + bool checkForOpenPGP(QString *reason = nullptr) const; + bool checkForSMIME(QString *reason = nullptr) const; bool checkForProtocol(const char *name, QString *reason) const; bool supportsOpenPGP() const diff --git a/lang/qt/src/quickjob.h b/lang/qt/src/quickjob.h index 5d3473fd..612a53d0 100644 --- a/lang/qt/src/quickjob.h +++ b/lang/qt/src/quickjob.h @@ -56,7 +56,7 @@ class QGPGME_EXPORT QuickJob : public Job { Q_OBJECT public: - explicit QuickJob(QObject *parent = Q_NULLPTR); + explicit QuickJob(QObject *parent = nullptr); ~QuickJob(); /** Start --quick-gen-key */ diff --git a/lang/qt/src/threadedjobmixin.h b/lang/qt/src/threadedjobmixin.h index 92a02c24..ad07e121 100644 --- a/lang/qt/src/threadedjobmixin.h +++ b/lang/qt/src/threadedjobmixin.h @@ -95,7 +95,7 @@ template <typename T_result> class Thread : public QThread { public: - explicit Thread(QObject *parent = Q_NULLPTR) : QThread(parent) {} + explicit Thread(QObject *parent = nullptr) : QThread(parent) {} void setFunction(const std::function<T_result()> &function) { |