Commit 96ac9175 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 6544b68a
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
Q_REQUIRED_RESULT QUrl serverUrl() const; Q_REQUIRED_RESULT QUrl serverUrl() const;
Q_SIGNALS: Q_SIGNALS:
void result(CheckKolabKep14SupportJob *, bool); void result(KSieveUi::CheckKolabKep14SupportJob *, bool);
private: private:
CheckKolabKep14SupportJobPrivate *const d; CheckKolabKep14SupportJobPrivate *const d;
......
...@@ -47,7 +47,7 @@ public: ...@@ -47,7 +47,7 @@ public:
Q_REQUIRED_RESULT QStringList parsescript(const QString &script, bool &result); Q_REQUIRED_RESULT QStringList parsescript(const QString &script, bool &result);
Q_SIGNALS: Q_SIGNALS:
void finished(ParseUserScriptJob *job); void finished(KSieveUi::ParseUserScriptJob *job);
private: private:
Q_DISABLE_COPY(ParseUserScriptJob) Q_DISABLE_COPY(ParseUserScriptJob)
......
...@@ -52,7 +52,7 @@ Q_SIGNALS: ...@@ -52,7 +52,7 @@ Q_SIGNALS:
void scriptAvailable(const QString &serverName, const QStringList &sieveCapabilities, const QString &scriptName, const QString &script, bool active); void scriptAvailable(const QString &serverName, const QStringList &sieveCapabilities, const QString &scriptName, const QString &script, bool active);
private Q_SLOTS: private Q_SLOTS:
void slotScriptActive(VacationCheckJob *job, const QString &scriptName, bool active); void slotScriptActive(KSieveUi::VacationCheckJob *job, const QString &scriptName, bool active);
void slotCheckKep14Ended(KSieveUi::CheckKolabKep14SupportJob *job, bool success); void slotCheckKep14Ended(KSieveUi::CheckKolabKep14SupportJob *job, bool success);
private: private:
......
...@@ -37,10 +37,10 @@ public: ...@@ -37,10 +37,10 @@ public:
void setKep14Support(bool kep14Support); void setKep14Support(bool kep14Support);
void start(); void start();
void kill(); void kill();
bool noScriptFound() const; Q_REQUIRED_RESULT bool noScriptFound() const;
QString script() const; Q_REQUIRED_RESULT QString script() const;
QStringList sieveCapabilities() const; Q_REQUIRED_RESULT QStringList sieveCapabilities() const;
QString serverName() const; Q_REQUIRED_RESULT QString serverName() const;
Q_SIGNALS: Q_SIGNALS:
void vacationScriptActive(VacationCheckJob *job, const QString &sscriptName, bool active); void vacationScriptActive(VacationCheckJob *job, const QString &sscriptName, bool active);
...@@ -53,9 +53,9 @@ private Q_SLOTS: ...@@ -53,9 +53,9 @@ private Q_SLOTS:
void emitError(const QString &errorMessage); void emitError(const QString &errorMessage);
void searchVacationScript(); void searchVacationScript();
void getNextScript(); void getNextScript();
bool isLastScript() const;
private: private:
Q_REQUIRED_RESULT bool isLastScript() const;
Q_DISABLE_COPY(VacationCheckJob) Q_DISABLE_COPY(VacationCheckJob)
QStringList mAvailableScripts; QStringList mAvailableScripts;
QStringList mActiveScripts; QStringList mActiveScripts;
......
...@@ -53,7 +53,7 @@ Q_SIGNALS: ...@@ -53,7 +53,7 @@ Q_SIGNALS:
private Q_SLOTS: private Q_SLOTS:
void slotPutResult(KManageSieve::SieveJob *job, bool success); void slotPutResult(KManageSieve::SieveJob *job, bool success);
void slotGetScript(KManageSieve::SieveJob *job, bool success, const QString &oldScript, bool active); void slotGetScript(KManageSieve::SieveJob *job, bool success, const QString &oldScript, bool active);
void slotGotActiveScripts(ParseUserScriptJob *job); void slotGotActiveScripts(KSieveUi::ParseUserScriptJob *job);
void slotGenerateDone(const QString &error = QString()); void slotGenerateDone(const QString &error = QString());
private: private:
......
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