summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-27 05:06:06 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-27 05:06:06 (GMT)
commit5cae5d79c417ee46ad114685688aa4b3c94e23df (patch)
treea754c8ed689a46cc54628258b628a351db3159f8
parentd598904533510071b65a04f9b478ba3ba7832d23 (diff)
private Q_SLOTS is not necessary
-rw-r--r--src/ksieveui/editor/warningwidget/sieveeditorparsingmissingfeaturewarning.h4
-rw-r--r--src/ksieveui/editor/webengine/sieveeditorhelphtmlwidget.h3
-rw-r--r--src/ksieveui/editor/webengine/sieveeditorloadprogressindicator.h4
-rw-r--r--src/ksieveui/editor/webengine/sieveeditorwebengineview.h4
-rw-r--r--src/ksieveui/managescriptsjob/parseuserscriptjob.h4
-rw-r--r--src/ksieveui/sievescriptdebugger/sievescriptdebuggerdialog.h4
-rw-r--r--src/ksieveui/sievescriptdebugger/sievescriptdebuggerresulteditor.h2
-rw-r--r--src/ksieveui/sievescriptdebugger/sievescriptdebuggertextedit.h2
-rw-r--r--src/ksieveui/templates/sievetemplateeditdialog.h4
-rw-r--r--src/ksieveui/vacation/multiimapvacationdialog.h4
-rw-r--r--src/ksieveui/vacation/vacationdialog.h3
-rw-r--r--src/ksieveui/widgets/sievetreewidgetitem.h4
12 files changed, 13 insertions, 29 deletions
diff --git a/src/ksieveui/editor/warningwidget/sieveeditorparsingmissingfeaturewarning.h b/src/ksieveui/editor/warningwidget/sieveeditorparsingmissingfeaturewarning.h
index d34e142..237ee7b 100644
--- a/src/ksieveui/editor/warningwidget/sieveeditorparsingmissingfeaturewarning.h
+++ b/src/ksieveui/editor/warningwidget/sieveeditorparsingmissingfeaturewarning.h
@@ -42,13 +42,11 @@ Q_SIGNALS:
void switchToGraphicalMode();
void switchToTextMode();
-private Q_SLOTS:
+private:
void slotSwitchInGraphicalMode();
void slotSwitchInTextMode();
void slotInActualMode();
void slotShowDetails(const QString &content);
-
-private:
QString mErrors;
QString mScript;
};
diff --git a/src/ksieveui/editor/webengine/sieveeditorhelphtmlwidget.h b/src/ksieveui/editor/webengine/sieveeditorhelphtmlwidget.h
index 6bd2cb6..9c32e89 100644
--- a/src/ksieveui/editor/webengine/sieveeditorhelphtmlwidget.h
+++ b/src/ksieveui/editor/webengine/sieveeditorhelphtmlwidget.h
@@ -60,14 +60,13 @@ Q_SIGNALS:
void loadFinished(KSieveUi::SieveEditorHelpHtmlWidget *widget, bool success);
void copyAvailable(bool);
-private Q_SLOTS:
+private:
void slotTitleChanged(const QString &title);
void slotFinished(bool b);
void slotLoadStarted();
void slotPixmapChanged(const QPixmap &pixmap);
void slotLoadFinished(bool success);
void slotSelectionChanged();
-private:
QString mTitle;
SieveEditorWebEngineView *mWebView;
SieveEditorLoadProgressIndicator *mProgressIndicator;
diff --git a/src/ksieveui/editor/webengine/sieveeditorloadprogressindicator.h b/src/ksieveui/editor/webengine/sieveeditorloadprogressindicator.h
index be1ad53..5d694c2 100644
--- a/src/ksieveui/editor/webengine/sieveeditorloadprogressindicator.h
+++ b/src/ksieveui/editor/webengine/sieveeditorloadprogressindicator.h
@@ -38,10 +38,8 @@ Q_SIGNALS:
void pixmapChanged(const QPixmap &);
void loadFinished(bool success);
-private Q_SLOTS:
- void slotTimerDone();
-
private:
+ void slotTimerDone();
int mProgressCount;
KPixmapSequence mProgressPix;
QTimer *mProgressTimer;
diff --git a/src/ksieveui/editor/webengine/sieveeditorwebengineview.h b/src/ksieveui/editor/webengine/sieveeditorwebengineview.h
index 9cb7c85..73be14a 100644
--- a/src/ksieveui/editor/webengine/sieveeditorwebengineview.h
+++ b/src/ksieveui/editor/webengine/sieveeditorwebengineview.h
@@ -29,10 +29,10 @@ public:
explicit SieveEditorWebEngineView(QWidget *parent = Q_NULLPTR);
~SieveEditorWebEngineView();
-private Q_SLOTS:
- void downloadRequested(QWebEngineDownloadItem*);
protected:
void contextMenuEvent(QContextMenuEvent *ev) Q_DECL_OVERRIDE;
+private:
+ void downloadRequested(QWebEngineDownloadItem*);
};
}
diff --git a/src/ksieveui/managescriptsjob/parseuserscriptjob.h b/src/ksieveui/managescriptsjob/parseuserscriptjob.h
index 1510d67..40823d8 100644
--- a/src/ksieveui/managescriptsjob/parseuserscriptjob.h
+++ b/src/ksieveui/managescriptsjob/parseuserscriptjob.h
@@ -48,13 +48,11 @@ public:
QString error() const;
void kill();
-private Q_SLOTS:
- void slotGetResult(KManageSieve::SieveJob *job, bool, const QString &, bool);
-
Q_SIGNALS:
void finished(ParseUserScriptJob *job);
private:
+ void slotGetResult(KManageSieve::SieveJob *job, bool, const QString &, bool);
void emitSuccess(const QStringList &activeScriptList);
void emitError(const QString &msgError);
static QString loadInclude(const QDomElement &element);
diff --git a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerdialog.h b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerdialog.h
index 202b4b4..929e4f9 100644
--- a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerdialog.h
+++ b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerdialog.h
@@ -34,10 +34,8 @@ public:
void setScript(const QString &script);
QString script() const;
-private Q_SLOTS:
- void slotAccepted();
-
private:
+ void slotAccepted();
void writeConfig();
void readConfig();
SieveScriptDebuggerWidget *mSieveScriptDebuggerWidget;
diff --git a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerresulteditor.h b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerresulteditor.h
index ed9651b..fe6bdab 100644
--- a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerresulteditor.h
+++ b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerresulteditor.h
@@ -32,7 +32,7 @@ public:
protected:
void addExtraMenuEntry(QMenu *menu, QPoint pos) Q_DECL_OVERRIDE;
-private Q_SLOTS:
+private:
void slotClear();
void slotSaveAs();
};
diff --git a/src/ksieveui/sievescriptdebugger/sievescriptdebuggertextedit.h b/src/ksieveui/sievescriptdebugger/sievescriptdebuggertextedit.h
index bd9cb85..602c845 100644
--- a/src/ksieveui/sievescriptdebugger/sievescriptdebuggertextedit.h
+++ b/src/ksieveui/sievescriptdebugger/sievescriptdebuggertextedit.h
@@ -32,7 +32,7 @@ public:
protected:
void addExtraMenuEntry(QMenu *menu, QPoint pos) Q_DECL_OVERRIDE;
-private Q_SLOTS:
+private:
void slotAddDebug();
};
}
diff --git a/src/ksieveui/templates/sievetemplateeditdialog.h b/src/ksieveui/templates/sievetemplateeditdialog.h
index 6b9dade..6933679 100644
--- a/src/ksieveui/templates/sievetemplateeditdialog.h
+++ b/src/ksieveui/templates/sievetemplateeditdialog.h
@@ -40,10 +40,8 @@ public:
QString script() const;
void setSieveCapabilities(const QStringList &capabilities);
-private Q_SLOTS:
- void slotTemplateChanged();
-
private:
+ void slotTemplateChanged();
void readConfig();
void writeConfig();
SieveTextEditWidget *mTextEditWidget;
diff --git a/src/ksieveui/vacation/multiimapvacationdialog.h b/src/ksieveui/vacation/multiimapvacationdialog.h
index fde68f6..f4e742e 100644
--- a/src/ksieveui/vacation/multiimapvacationdialog.h
+++ b/src/ksieveui/vacation/multiimapvacationdialog.h
@@ -44,12 +44,10 @@ Q_SIGNALS:
void okClicked();
void cancelClicked();
-private Q_SLOTS:
+private:
void slotOkClicked();
void slotDefaultClicked();
void slotCanceled();
-
-private:
void createPage(const QString &serverName, const QUrl &url);
void init();
void readConfig();
diff --git a/src/ksieveui/vacation/vacationdialog.h b/src/ksieveui/vacation/vacationdialog.h
index 2714ff7..c087d72 100644
--- a/src/ksieveui/vacation/vacationdialog.h
+++ b/src/ksieveui/vacation/vacationdialog.h
@@ -90,12 +90,11 @@ Q_SIGNALS:
void okClicked();
void cancelClicked();
-private Q_SLOTS:
+private:
void slotDialogDefaults();
void slotAccepted();
void slotRejected();
-private:
void writeConfig();
void readConfig();
diff --git a/src/ksieveui/widgets/sievetreewidgetitem.h b/src/ksieveui/widgets/sievetreewidgetitem.h
index 7f9fa14..6e94ffb 100644
--- a/src/ksieveui/widgets/sievetreewidgetitem.h
+++ b/src/ksieveui/widgets/sievetreewidgetitem.h
@@ -56,10 +56,8 @@ public:
void startAnimation();
void stopAnimation();
-private Q_SLOTS:
- void slotTimerDone();
-
private:
+ void slotTimerDone();
int mProgressCount;
KPixmapSequence mProgressPix;
QTimer *mProgressTimer;