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

Fix clazy warning

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