Commit 8735e17d authored by Laurent Montel's avatar Laurent Montel 😁

USe nullptr

parent 27d75c0b
......@@ -26,7 +26,7 @@ class GmailChangeItemsLabelsTask : public ChangeItemsFlagsTask
{
Q_OBJECT
public:
explicit GmailChangeItemsLabelsTask(ResourceStateInterface::Ptr resource, QObject *parent = 0);
explicit GmailChangeItemsLabelsTask(ResourceStateInterface::Ptr resource, QObject *parent = nullptr);
virtual ~GmailChangeItemsLabelsTask();
protected:
......
......@@ -26,7 +26,7 @@ class GmailRetrieveCollectionsTask : public RetrieveCollectionsTask
{
Q_OBJECT
public:
explicit GmailRetrieveCollectionsTask(ResourceStateInterface::Ptr resource, QObject *parent = 0);
explicit GmailRetrieveCollectionsTask(ResourceStateInterface::Ptr resource, QObject *parent = nullptr);
protected Q_SLOTS:
void onMailBoxesReceived(const QList<KIMAP::MailBoxDescriptor> &descriptors, const QList<QList<QByteArray> > &flags);
......
......@@ -28,7 +28,7 @@ class GmailRetrieveItemsTask : public RetrieveItemsTask
{
Q_OBJECT
public:
explicit GmailRetrieveItemsTask(ResourceStateInterface::Ptr resource, QObject *parent = 0);
explicit GmailRetrieveItemsTask(ResourceStateInterface::Ptr resource, QObject *parent = nullptr);
~GmailRetrieveItemsTask();
virtual bool serverSupportsCondstore() const;
......
......@@ -61,19 +61,19 @@ Q_SIGNALS:
void accountRequestCompleted(const KGAPI2::AccountPtr &account, bool userRejected);
public Q_SLOTS:
Q_SCRIPTABLE QString accountName(bool *userRejected = 0) const;
Q_SCRIPTABLE QString accountName(bool *userRejected = nullptr) const;
Q_SCRIPTABLE void setAccountName(const QString &accountName);
Q_SCRIPTABLE QString password(bool *userRejected = 0) const;
Q_SCRIPTABLE QString password(bool *userRejected = nullptr) const;
Q_SCRIPTABLE void setPassword(const QString &accessToken);
Q_SCRIPTABLE QString refreshToken(bool *userRejected = 0) const;
Q_SCRIPTABLE QString refreshToken(bool *userRejected = nullptr) const;
Q_SCRIPTABLE void setRefreshToken(const QString &refreshToken);
private Q_SLOTS:
void onWalletOpened(bool success);
void loadAccountFromKWallet(bool *userRejected = 0) const;
void loadAccountFromKWallet(bool *userRejected = nullptr) const;
void saveAccountToKWallet();
void onAuthFinished(KGAPI2::Job *job);
......
......@@ -41,7 +41,7 @@ class ImapTestBase : public QObject
Q_OBJECT
public:
ImapTestBase(QObject *parent = 0);
explicit ImapTestBase(QObject *parent = nullptr);
protected:
QString defaultUserName() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment