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

Remove not necessary private Q_SLOTS

parent dcaebd1a
......@@ -69,11 +69,9 @@ Q_SIGNALS:
*/
void freeBusyRetrieved(const QString &email, const QString &freeBusy, bool success, const QString &errorText);
private Q_SLOTS:
private:
void onPrincipalSearchJobFinished(KJob *job);
void onRetrieveFreeBusyJobFinished(KJob *job);
private:
/**
* Simple struct to track the state of requests
*/
......
......@@ -69,7 +69,6 @@ private:
ItemUpdateChange
};
private Q_SLOTS:
void createInitialCache();
void onCreateInitialCacheReady(KJob *);
......@@ -103,7 +102,6 @@ private Q_SLOTS:
void onConflictModifyJobFinished(KJob *job);
void onDeletedItemRecreated(KJob *job);
private:
void doItemChange(const Akonadi::Item &item, const Akonadi::Item::List &dependentItems = Akonadi::Item::List());
void doItemRemoval(const Akonadi::Item &item);
void handleConflict(const Akonadi::Item &localItem,
......
......@@ -44,13 +44,12 @@ public:
QStringList selection() const;
private Q_SLOTS:
private:
void checkUserInput();
void search();
void onSearchJobFinished(KJob *job);
void onCollectionsFetchJobFinished(KJob *job);
private:
Ui::SearchDialog mUi;
QStandardItemModel *mModel;
int mSubJobCount;
......
......@@ -101,10 +101,8 @@ public:
bool validatePage() Q_DECL_OVERRIDE;
private Q_SLOTS:
void manualConfigToggled(bool toggled);
private:
void manualConfigToggled(bool toggled);
QButtonGroup *mServerGroup;
QComboBox *mProvidersCombo;
};
......@@ -119,10 +117,8 @@ public:
void initializePage() Q_DECL_OVERRIDE;
void cleanupPage() Q_DECL_OVERRIDE;
private Q_SLOTS:
void urlElementChanged();
private:
void urlElementChanged();
QFormLayout *mLayout;
KLineEdit *mHost;
KLineEdit *mPath;
......@@ -143,11 +139,9 @@ class CheckPage : public QWizardPage
public:
explicit CheckPage(QWidget *parent = Q_NULLPTR);
private Q_SLOTS:
private:
void checkConnection();
void onFetchDone(KJob *);
private:
QTextBrowser *mStatusLabel;
};
......
......@@ -55,7 +55,7 @@ public:
void setDefaultPassword(const QString &password);
void setPassword(const QString &password);
private Q_SLOTS:
private:
void onConfigChanged();
void checkUserInput();
void onFetchButtonClicked();
......@@ -63,8 +63,6 @@ private Q_SLOTS:
void onCollectionsFetchDone(KJob *job);
void onModelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
void onChangeDisplayNameFinished(KJob *job);
private:
void initModel();
bool checkUserAuthInput();
void addModelRow(const QString &displayName, const QString &url);
......
......@@ -56,10 +56,8 @@ public:
void loadSettings();
void writeSettings();
private Q_SLOTS:
void slotEnableChanged(bool enabled);
private:
void slotEnableChanged(bool enabled);
QString mInstanceName;
QCheckBox *mEnabled;
FolderArchiveComboBox *mArchiveNamed;
......
......@@ -38,11 +38,9 @@ public:
QString resourceName() const;
private Q_SLOTS:
private:
void save();
void validate();
private:
Ui::SettingsDialog ui;
KConfigDialogManager *mManager;
QPushButton *mOkButton;
......
......@@ -37,15 +37,13 @@ public:
explicit AddCollectionTask(const ResourceStateInterface::Ptr &resource, QObject *parent = Q_NULLPTR);
virtual ~AddCollectionTask();
private Q_SLOTS:
void onCreateDone(KJob *job);
void onSubscribeDone(KJob *job);
void onSetMetaDataDone(KJob *job);
protected:
void doStart(KIMAP::Session *session) Q_DECL_OVERRIDE;
private:
void onCreateDone(KJob *job);
void onSubscribeDone(KJob *job);
void onSetMetaDataDone(KJob *job);
Akonadi::Collection m_collection;
uint m_pendingJobs;
KIMAP::Session *m_session;
......
......@@ -32,15 +32,14 @@ public:
explicit AddItemTask(ResourceStateInterface::Ptr resource, QObject *parent = Q_NULLPTR);
virtual ~AddItemTask();
private Q_SLOTS:
void onAppendMessageDone(KJob *job);
void onPreSearchSelectDone(KJob *job);
void onSearchDone(KJob *job);
protected:
void doStart(KIMAP::Session *session) Q_DECL_OVERRIDE;
private:
void onAppendMessageDone(KJob *job);
void onPreSearchSelectDone(KJob *job);
void onSearchDone(KJob *job);
void triggerSearchJob(KIMAP::Session *session);
void applyFoundUid(qint64 uid);
......
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