summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-02 22:19:20 +0100
committerLaurent Montel <[email protected]>2018-01-02 22:19:20 +0100
commit0a12feb790353262fcff178b337f2aa08c611cfe (patch)
treeb2f30998595de8d5aff0f89d32b4bb7949965c0f
parent1f03669f4301a0949e54813863a93292641a7fca (diff)
Remove SLOTS: keyword
-rw-r--r--core/addressbook/importaddressbookjob.h2
-rw-r--r--core/akregator/importakregatorjob.h2
-rw-r--r--core/alarm/importalarmjob.h2
-rw-r--r--core/blogilo/importblogilojob.h2
-rw-r--r--core/calendar/importcalendarjob.h2
-rw-r--r--core/mail/importmailjob.h2
-rw-r--r--core/notes/importnotesjob.h2
-rw-r--r--gui/dialog/selectiontypedialog.cpp2
-rw-r--r--gui/dialog/selectiontypedialog.h5
-rw-r--r--gui/pimsettingexporterwindow.h2
-rw-r--r--gui/widgets/selectiontypetreewidget.h4
11 files changed, 13 insertions, 14 deletions
diff --git a/core/addressbook/importaddressbookjob.h b/core/addressbook/importaddressbookjob.h
index feee599..3060118 100644
--- a/core/addressbook/importaddressbookjob.h
+++ b/core/addressbook/importaddressbookjob.h
@@ -34,7 +34,7 @@ public:
void start() override;
-protected Q_SLOTS:
+protected:
void slotNextStep() override;
private:
diff --git a/core/akregator/importakregatorjob.h b/core/akregator/importakregatorjob.h
index 70d6db6..b4f74ce 100644
--- a/core/akregator/importakregatorjob.h
+++ b/core/akregator/importakregatorjob.h
@@ -33,7 +33,7 @@ public:
void start() override;
-private Q_SLOTS:
+private:
void slotNextStep() override;
private:
diff --git a/core/alarm/importalarmjob.h b/core/alarm/importalarmjob.h
index 5c641a7..6270742 100644
--- a/core/alarm/importalarmjob.h
+++ b/core/alarm/importalarmjob.h
@@ -33,7 +33,7 @@ public:
void start() override;
-protected Q_SLOTS:
+protected:
void slotNextStep() override;
private:
diff --git a/core/blogilo/importblogilojob.h b/core/blogilo/importblogilojob.h
index 3ec918d..4b51e51 100644
--- a/core/blogilo/importblogilojob.h
+++ b/core/blogilo/importblogilojob.h
@@ -33,7 +33,7 @@ public:
void start() override;
-private Q_SLOTS:
+private:
void slotNextStep() override;
private:
diff --git a/core/calendar/importcalendarjob.h b/core/calendar/importcalendarjob.h
index d311308..b8f44fa 100644
--- a/core/calendar/importcalendarjob.h
+++ b/core/calendar/importcalendarjob.h
@@ -34,7 +34,7 @@ public:
void start() override;
-protected Q_SLOTS:
+protected:
void slotNextStep() override;
private:
diff --git a/core/mail/importmailjob.h b/core/mail/importmailjob.h
index b227b2a..380c603 100644
--- a/core/mail/importmailjob.h
+++ b/core/mail/importmailjob.h
@@ -38,7 +38,7 @@ public:
void start() override;
-protected Q_SLOTS:
+protected:
void slotNextStep() override;
private:
diff --git a/core/notes/importnotesjob.h b/core/notes/importnotesjob.h
index 72b387c..fa15671 100644
--- a/core/notes/importnotesjob.h
+++ b/core/notes/importnotesjob.h
@@ -32,7 +32,7 @@ public:
void start() override;
-private Q_SLOTS:
+private:
void slotNextStep() override;
private:
void importKNoteGlobalSettings(const KArchiveFile *kmailsnippet, const QString &kmail2rc, const QString &filename, const QString &prefix);
diff --git a/gui/dialog/selectiontypedialog.cpp b/gui/dialog/selectiontypedialog.cpp
index bdaedac..d6f40b3 100644
--- a/gui/dialog/selectiontypedialog.cpp
+++ b/gui/dialog/selectiontypedialog.cpp
@@ -107,7 +107,7 @@ QHash<Utils::AppsType, Utils::importExportParameters> SelectionTypeDialog::store
return mSelectionTreeWidget->storedType();
}
-QString SelectionTypeDialog::exportedFileInfo()
+QString SelectionTypeDialog::exportedFileInfo() const
{
return mSelectionTreeWidget->exportedFileInfo();
}
diff --git a/gui/dialog/selectiontypedialog.h b/gui/dialog/selectiontypedialog.h
index e8f4126..6c9e702 100644
--- a/gui/dialog/selectiontypedialog.h
+++ b/gui/dialog/selectiontypedialog.h
@@ -35,15 +35,14 @@ public:
void loadTemplate(const QString &fileName);
- QString exportedFileInfo();
+ QString exportedFileInfo() const;
void removeNotSelectedItems();
-private Q_SLOTS:
+private:
void slotSelectAll();
void slotUnselectAll();
void slotSaveAsTemplate();
void slotLoadTemplate();
-private:
void readConfig();
void writeConfig();
void loadDefaultTemplate();
diff --git a/gui/pimsettingexporterwindow.h b/gui/pimsettingexporterwindow.h
index 936d25e..f52fb3f 100644
--- a/gui/pimsettingexporterwindow.h
+++ b/gui/pimsettingexporterwindow.h
@@ -35,7 +35,7 @@ public:
~PimSettingExporterWindow();
void handleCommandLine(const QCommandLineParser &parser);
-private Q_SLOTS:
+private:
void slotBackupData();
void slotRestoreData();
void slotAddInfo(const QString &info);
diff --git a/gui/widgets/selectiontypetreewidget.h b/gui/widgets/selectiontypetreewidget.h
index 8616ad2..c3be78f 100644
--- a/gui/widgets/selectiontypetreewidget.h
+++ b/gui/widgets/selectiontypetreewidget.h
@@ -46,10 +46,10 @@ public:
QString exportedFileInfo();
void removeNotSelectedItems();
-private Q_SLOTS:
- void slotItemChanged(QTreeWidgetItem *, int);
private:
+ void slotItemChanged(QTreeWidgetItem *, int);
+
enum ActionType {
action = Qt::UserRole + 1
};