Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit fa534040 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DISABLE_COPY

parent 1035519a
......@@ -83,6 +83,7 @@ private Q_SLOTS:
void executeNextJob();
private:
Q_DISABLE_COPY(Session)
SessionThread *m_thread = nullptr;
QUrl m_url;
QQueue<SieveJob *> m_jobs;
......
......@@ -83,6 +83,7 @@ private:
void sslResult(bool encrypted);
private:
Q_DISABLE_COPY(SessionThread)
Session *m_session = nullptr;
KTcpSocket *m_socket = nullptr;
......
......@@ -156,6 +156,7 @@ Q_SIGNALS:
void item(KManageSieve::SieveJob *job, const QString &filename, bool active);
private:
Q_DISABLE_COPY(SieveJob)
void setErrorMessage(const QString &str);
//@cond PRIVATE
......
......@@ -69,6 +69,7 @@ Q_SIGNALS:
void valueChanged();
private:
Q_DISABLE_COPY(SieveAction)
QString mName;
QString mLabel;
QString mComment;
......
......@@ -75,6 +75,7 @@ Q_SIGNALS:
void valueChanged();
private:
Q_DISABLE_COPY(SieveCondition)
QString mName;
QString mLabel;
QString mComment;
......
......@@ -38,6 +38,7 @@ Q_SIGNALS:
void loadFinished(bool success);
private:
Q_DISABLE_COPY(SieveEditorLoadProgressIndicator)
void slotTimerDone();
int mProgressCount;
KPixmapSequence mProgressPix;
......
......@@ -80,6 +80,7 @@ private:
CheckKolabKep14SupportJobPrivate *const d;
private:
Q_DISABLE_COPY(CheckKolabKep14SupportJob)
void slotCheckKep14Support(KManageSieve::SieveJob *job, bool success, const QStringList &availableScripts, const QString &activeScript);
};
}
......
......@@ -45,6 +45,7 @@ Q_SIGNALS:
void finished(const QString &msg, bool success);
private:
Q_DISABLE_COPY(CheckScriptJob)
void slotPutCheckSyntaxResult(KManageSieve::SieveJob *job, bool success);
void slotRestoreFile(KManageSieve::SieveJob *job, bool success);
CheckScriptJobPrivate *const d;
......
......@@ -42,6 +42,7 @@ Q_SIGNALS:
void error(const QString &msgError);
private:
Q_DISABLE_COPY(GenerateGlobalScriptJob)
void slotPutMasterResult(KManageSieve::SieveJob *job, bool success);
void slotPutUserResult(KManageSieve::SieveJob *, bool success);
void disableAllOtherScripts();
......
......@@ -49,6 +49,7 @@ Q_SIGNALS:
void finished(ParseUserScriptJob *job);
private:
Q_DISABLE_COPY(ParseUserScriptJob)
void slotGetResult(KManageSieve::SieveJob *job, bool, const QString &, bool);
void emitSuccess(const QStringList &activeScriptList);
void emitError(const QString &msgError);
......
......@@ -51,6 +51,7 @@ private Q_SLOTS:
void slotGetResult(KManageSieve::SieveJob *job, bool success, const QString &script, bool isActive);
private:
Q_DISABLE_COPY(RenameScriptJob)
RenameScriptJobPrivate *const d;
};
}
......
......@@ -52,6 +52,7 @@ private Q_SLOTS:
void slotCheckKep14Ended(KSieveUi::CheckKolabKep14SupportJob *job, bool success);
private:
Q_DISABLE_COPY(MultiImapVacationManager)
SieveImapPasswordProvider *mPasswordProvider = nullptr;
int mNumberOfJobs = 0;
bool mCheckInProgress = false;
......
......@@ -67,6 +67,8 @@ protected:
VacationDialog *mDialog = nullptr;
bool mWasActive = false;
bool mCheckOnly = false;
private:
Q_DISABLE_COPY(Vacation)
};
}
......
......@@ -56,6 +56,7 @@ private Q_SLOTS:
bool isLastScript() const;
private:
Q_DISABLE_COPY(VacationCheckJob)
QStringList mAvailableScripts;
QStringList mActiveScripts;
QStringList mSieveCapabilities;
......
......@@ -57,6 +57,7 @@ private Q_SLOTS:
void slotGenerateDone(const QString &error = QString());
private:
Q_DISABLE_COPY(VacationCreateScriptJob)
void handleResult();
QUrl mUrl;
QString mScript;
......
......@@ -41,6 +41,7 @@ Q_SIGNALS:
void scriptListResult(const QStringList &scriptList, const QString &activeScript, bool hasIncludeSupport);
private:
Q_DISABLE_COPY(VacationHelperJob)
void slotGetScriptList(KManageSieve::SieveJob *job, bool success, const QStringList &scriptList, const QString &activeScript);
void killJob();
QUrl mUrl;
......
......@@ -46,6 +46,7 @@ private:
void slotUpdateVacationScriptStatus(bool active, const QString &serverName);
private:
Q_DISABLE_COPY(VacationManager)
VacationManagerPrivate *const d;
};
}
......
......@@ -56,6 +56,7 @@ public:
void stopAnimation();
private:
Q_DISABLE_COPY(SieveTreeWidgetProgress)
void slotTimerDone();
int mProgressCount = 0;
KPixmapSequence mProgressPix;
......
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