Commit 9f16982a authored by Laurent Montel's avatar Laurent Montel 😁

Remove private slots here

parent fdbbeb9b
......@@ -41,12 +41,11 @@ public:
QUrl resolvedUrl() const;
bool saveUrl() const;
private Q_SLOTS:
private:
void slotSaveImage();
void slotSaveUrl();
void slotActivateButton(bool state);
private:
void readConfig();
void writeConfig();
GravatarUpdateWidget *mGravatarUpdateWidget;
......
......@@ -33,9 +33,8 @@ public:
void setCurrentItems(const Akonadi::Item::List &items) Q_DECL_OVERRIDE;
PimCommon::GenericPluginInterface::RequireTypes requires() const Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotActivated();
private:
void slotActivated();
Akonadi::Item::List mListItems;
};
......
......@@ -46,11 +46,9 @@ public:
Q_SIGNALS:
void finished(const Akonadi::Item &item);
private Q_SLOTS:
private:
void slotCreateMergedContactFinished(KJob *job);
void slotDeleteContactsFinished(KJob *job);
private:
void generateMergedContact();
void createMergedContact(const KContacts::Addressee &addressee);
......
......@@ -41,10 +41,9 @@ public:
~MergeContactsDialog();
void setContacts(const Akonadi::Item::List &list);
private Q_SLOTS:
private:
void slotCustomizeMergeContact(const Akonadi::Item::List &lst, MergeContacts::ConflictInformations conflictType, const Akonadi::Collection &col);
void slotContactMerged(const Akonadi::Item &item);
private:
void readConfig();
void writeConfig();
QDialogButtonBox *mButtonBox;
......
......@@ -48,13 +48,12 @@ Q_SIGNALS:
void customizeMergeContact(const Akonadi::Item::List &lst, MergeContacts::ConflictInformations conflictType, const Akonadi::Collection &col);
void contactMerged(const Akonadi::Item &item);
private Q_SLOTS:
private:
void slotUpdateMergeButton();
void slotMergeContacts();
void slotAutomaticMerging();
void slotCustomizeMergingContacts();
void slotMergeDone(const Akonadi::Item &item);
private:
Akonadi::Item::List listSelectedContacts() const;
Akonadi::Item currentItem() const;
void fillListContact();
......
......@@ -57,10 +57,9 @@ public:
Q_SIGNALS:
void showContactPreview(const Akonadi::Item &item);
private Q_SLOTS:
private:
void slotItemActivated(QTreeWidgetItem *item, int column);
void slotItemChanged(QTreeWidgetItem *item, int column);
private:
void changeState(QTreeWidgetItem *item, bool b);
};
}
......
......@@ -42,12 +42,11 @@ public:
void searchPotentialDuplicateContacts(const Akonadi::Item::List &list);
private Q_SLOTS:
private:
void slotDuplicateFound(const QVector<Akonadi::Item::List> &duplicate);
void slotMergeDone();
void slotContactMerged(const Akonadi::Item &item);
void slotCustomizeMergeContacts(const QVector<KABMergeContacts::MergeConflictResult> &lst, const Akonadi::Collection &col);
private:
void readConfig();
void writeConfig();
SearchDuplicateResultWidget *mSearchResult;
......
......@@ -56,14 +56,13 @@ Q_SIGNALS:
void mergeDone();
void customizeMergeContact(const QVector<KABMergeContacts::MergeConflictResult> &, const Akonadi::Collection &col);
private Q_SLOTS:
private:
void slotMergeContact();
void slotMergeDone(const Akonadi::Item &item);
void slotUpdateMergeButton();
void slotAutomaticMerging();
void slotCustomizeMergingContacts();
private:
void mergeContact();
QVector<MergeConflictResult> mResultConflictList;
QVector<Akonadi::Item::List> mListContactToMerge;
......
......@@ -35,7 +35,7 @@ Q_SIGNALS:
void continueMerging();
void customizeMergingContacts();
private Q_SLOTS:
private:
void slotCustomizeMerge();
void slotAutomaticMerging();
};
......
......@@ -35,10 +35,9 @@ public:
explicit MergeContactSelectInformationScrollArea(QWidget *parent = Q_NULLPTR);
~MergeContactSelectInformationScrollArea();
void setContacts(MergeContacts::ConflictInformations conflictTypes, const Akonadi::Item::List &listItem, const Akonadi::Collection &col);
private Q_SLOTS:
private:
void slotMergeContacts();
void slotMergeDone(const Akonadi::Item &item);
private:
void mergeContact(const KContacts::Addressee &addr);
Akonadi::Collection mCollection;
Akonadi::Item::List mListItem;
......
......@@ -33,10 +33,8 @@ public:
PimCommon::GenericPluginInterface::RequireTypes requires() const Q_DECL_OVERRIDE;
void setItems(const Akonadi::Item::List &items) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotActivated();
private:
void slotActivated();
Akonadi::Item::List mListItems;
};
......
......@@ -35,12 +35,10 @@ public:
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotActivated();
void slotSendMailError(const QString &error);
void slotSendMails(const QStringList &emails);
private:
Akonadi::Item::List mListItems;
QAction *mAction;
};
......
......@@ -35,11 +35,9 @@ public:
bool hasPopupMenuSupport() const Q_DECL_OVERRIDE;
void updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotActivated();
void slotSendVcardsError(const QString &error);
private:
Akonadi::Item::List mListItems;
QAction *mAction;
};
......
......@@ -35,10 +35,8 @@ public:
void saveSettings() Q_DECL_OVERRIDE;
void resetSettings() Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotEnableChanged(bool state);
private:
void slotEnableChanged(bool state);
QCheckBox *mEnable;
ConfirmAddressConfigureTab *mConfirmAddressConfigureTab;
};
......
......@@ -31,7 +31,7 @@ public:
void exec() Q_DECL_OVERRIDE;
void createAction(KActionCollection *ac) Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotActivated();
};
......
......@@ -31,7 +31,7 @@ public:
void exec() Q_DECL_OVERRIDE;
void createAction(KActionCollection *ac) Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotActivated();
};
......
......@@ -30,11 +30,9 @@ public:
explicit ShortUrlConfigureDialog(QWidget *parent = Q_NULLPTR);
~ShortUrlConfigureDialog();
private Q_SLOTS:
private:
void slotOkClicked();
void slotDefaultClicked();
private:
ShortUrlConfigureWidget *mConfigureWidget;
};
......
......@@ -34,13 +34,11 @@ public:
void writeConfig();
void resetToDefault();
private Q_SLOTS:
void slotChanged();
Q_SIGNALS:
void settingsChanged();
private:
void slotChanged();
void init();
ShortUrlConfigureWidgetPrivate *const d;
};
......
......@@ -35,7 +35,7 @@ public:
void generateShortUrl() Q_DECL_OVERRIDE;
QString engineName() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotSslErrors(QNetworkReply *reply, const QList<QSslError> &error);
void slotShortUrlFinished(QNetworkReply *reply);
};
......
......@@ -32,7 +32,7 @@ public:
void generateShortUrl() Q_DECL_OVERRIDE;
QString engineName() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotShortUrlFinished(QNetworkReply *reply);
void slotErrorFound(QNetworkReply::NetworkError error);
};
......
......@@ -33,7 +33,7 @@ public:
void generateShortUrl() Q_DECL_OVERRIDE;
QString engineName() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotShortUrlFinished(QNetworkReply *reply);
};
......
......@@ -35,7 +35,7 @@ public:
void generateShortUrl() Q_DECL_OVERRIDE;
QString engineName() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotShortUrlFinished(QNetworkReply *reply);
void slotSslErrors(QNetworkReply *reply, const QList<QSslError> &error);
};
......
......@@ -44,7 +44,11 @@ public:
public Q_SLOTS:
void settingsUpdated();
private Q_SLOTS:
Q_SIGNALS:
void toolsWasClosed();
void insertText(const QString &Url);
private:
void slotConvertUrl();
void slotPasteToClipboard();
void slotOriginalUrlChanged(const QString &text);
......@@ -55,12 +59,6 @@ private Q_SLOTS:
void slotConfigure();
void slotInsertShortUrl();
void slotOpenShortUrl();
Q_SIGNALS:
void toolsWasClosed();
void insertText(const QString &Url);
private:
void initializePlugins();
void loadEngine();
QLabel *mShorturlServiceName;
......
......@@ -30,10 +30,8 @@ class ShortUrlMainWidgetNg : public QWidget
public:
explicit ShortUrlMainWidgetNg(QWidget *parent = Q_NULLPTR);
private Q_SLOTS:
void slotSaveConfig();
private:
void slotSaveConfig();
ShortUrlConfigureWidget *mConfigWidget;
ShortUrlWidgetNg *mShortUrlWidget;
};
......
......@@ -31,10 +31,8 @@ public:
~ShorturlView();
KToggleAction *action() const Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotActivateShorturl(bool state);
private:
void slotActivateShorturl(bool state);
void createAction(KActionCollection *ac);
KToggleAction *mAction;
ShortUrlWidgetNg *mShorturl;
......
......@@ -35,10 +35,8 @@ public:
KToggleAction *action() const Q_DECL_OVERRIDE;
void setText(const QString &text) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotActivateTranslator(bool state);
private:
void slotActivateTranslator(bool state);
void createAction(KActionCollection *ac);
KToggleAction *mAction;
PimCommon::TranslatorWidget *mTranslatorWidget;
......
......@@ -35,9 +35,8 @@ public:
void createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) Q_DECL_OVERRIDE;
void activateAction() Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotDefaultGrantleeHeaders();
private:
void slotDefaultGrantleeHeaders();
GrantleeTheme::Theme mDefaultTheme;
};
......
......@@ -39,9 +39,8 @@ public:
void createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) Q_DECL_OVERRIDE;
void activateAction() Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotGrantleeHeaders();
private:
void slotGrantleeHeaders();
GrantleeTheme::ThemeManager *mThemeManager;
};
......
......@@ -42,11 +42,10 @@ public:
void updateAction(const Akonadi::Item &item) Q_DECL_OVERRIDE;
ViewerPluginInterface::SpecificFeatureTypes featureTypes() const Q_DECL_OVERRIDE;
private Q_SLOTS:
private:
void slotCreateNote(const KMime::Message::Ptr &notePtr, const Akonadi::Collection &collection);
void slotNoteItemFetched(KJob *job);
private:
Akonadi::Relation relatedNoteRelation() const;
void showCreateNewNoteWidget();
void createAction(KActionCollection *ac);
......
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