Commit d40a9294 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use private Q_SLOTS

parent a7a39b9f
......@@ -60,15 +60,13 @@ public:
void updateCollectionsRecursive();
private Q_SLOTS:
private:
void slotSelectAllCollections();
void slotUnselectAllCollections();
void slotModifyJobDone(KJob *job);
void slotSetCollectionFilter(const QString &);
void slotCollectionTreeFetched();
private:
void forceStatus(const QModelIndex &parent, bool status);
QTreeView *mFolderView;
Akonadi::EntityTreeModel *mModel;
......
......@@ -34,11 +34,9 @@ public:
explicit NewMailNotifierSettingsDialog(QWidget *parent = Q_NULLPTR);
~NewMailNotifierSettingsDialog();
private Q_SLOTS:
private:
void slotOkClicked();
void slotHelpLinkClicked(const QString &);
private:
void writeConfig();
void readConfig();
QCheckBox *mShowPhoto;
......
......@@ -58,10 +58,8 @@ public Q_SLOTS:
void progress(int value);
void progress(int min, int max, int value);
private Q_SLOTS:
void scrollBarMoved(int value);
private:
void scrollBarMoved(int value);
QEventLoopLocker eventLoopLocker;
QDialogButtonBox *mButtonBox;
QListWidget *mList;
......
......@@ -34,10 +34,8 @@ public:
explicit ConfigDialog(QWidget *parent = Q_NULLPTR);
~ConfigDialog();
private Q_SLOTS:
void save();
private:
void save();
void loadTags();
void readConfig();
void writeConfig();
......
......@@ -40,11 +40,9 @@ public:
explicit SettingsDialog(Akonadi_Contacts_Resource::ContactsResourceSettings *settings, WId windowId);
~SettingsDialog();
private Q_SLOTS:
private:
void save();
void validate();
private:
void readConfig();
void writeConfig();
Ui::SettingsDialog ui;
......
......@@ -99,11 +99,9 @@ protected:
Ui::SingleFileResourceConfigDialog ui;
KConfigDialogManager *mManager;
private Q_SLOTS:
private:
void validate();
void slotStatJobResult(KJob *);
private:
void writeConfig();
void readConfig();
KIO::StatJob *mStatJob;
......
......@@ -39,15 +39,13 @@ public:
void start() Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void onLinkingFailed();
void onLinkingSucceeded();
void onOpenBrowser(const QUrl &url);
void onApiRequestFinished();
void onUserRequestFinished();
private:
QString mUserURL;
QWebEngineView *mWebView;
......
......@@ -36,11 +36,9 @@ class SettingsDialog : public QDialog
public:
explicit SettingsDialog(WId windowId);
private Q_SLOTS:
private:
void save();
void validate();
private:
Ui::SettingsDialog ui;
KConfigDialogManager *mManager;
QPushButton *mOkButton;
......
Supports Markdown
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