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
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit DefaultKeyGenerationJob(QObject *parent = Q_NULLPTR);
|
explicit DefaultKeyGenerationJob(QObject *parent = nullptr);
|
||||||
~DefaultKeyGenerationJob();
|
~DefaultKeyGenerationJob();
|
||||||
|
|
||||||
GpgME::Error start(const QString &email, const QString &name);
|
GpgME::Error start(const QString &email, const QString &name);
|
||||||
|
@ -68,8 +68,8 @@ public:
|
|||||||
static const char OpenPGP[];
|
static const char OpenPGP[];
|
||||||
static const char SMIME[];
|
static const char SMIME[];
|
||||||
|
|
||||||
bool checkForOpenPGP(QString *reason = Q_NULLPTR) const;
|
bool checkForOpenPGP(QString *reason = nullptr) const;
|
||||||
bool checkForSMIME(QString *reason = Q_NULLPTR) const;
|
bool checkForSMIME(QString *reason = nullptr) const;
|
||||||
bool checkForProtocol(const char *name, QString *reason) const;
|
bool checkForProtocol(const char *name, QString *reason) const;
|
||||||
|
|
||||||
bool supportsOpenPGP() const
|
bool supportsOpenPGP() const
|
||||||
|
@ -56,7 +56,7 @@ class QGPGME_EXPORT QuickJob : public Job
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit QuickJob(QObject *parent = Q_NULLPTR);
|
explicit QuickJob(QObject *parent = nullptr);
|
||||||
~QuickJob();
|
~QuickJob();
|
||||||
|
|
||||||
/** Start --quick-gen-key */
|
/** Start --quick-gen-key */
|
||||||
|
@ -95,7 +95,7 @@ template <typename T_result>
|
|||||||
class Thread : public QThread
|
class Thread : public QThread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit Thread(QObject *parent = Q_NULLPTR) : QThread(parent) {}
|
explicit Thread(QObject *parent = nullptr) : QThread(parent) {}
|
||||||
|
|
||||||
void setFunction(const std::function<T_result()> &function)
|
void setFunction(const std::function<T_result()> &function)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user