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. --
This commit is contained in:
parent
6baccdc0c3
commit
f7d69de030
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user