summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-01-02 22:18:40 +0100
committerLaurent Montel <[email protected]>2018-01-02 22:18:40 +0100
commit3baefa4d55166f69c4b754a59da1aa6d66bf3368 (patch)
tree222aa6e6f0074cba3a08f3c96e0da5343ad05e49
parent0fed6cdc9925fc06586b7e465a07c5be1b42caa0 (diff)
Remove SLOTS keyword
-rw-r--r--contactprintthemeeditor/themeeditormainwindow.h2
-rw-r--r--contactprintthemeeditor/themeeditorpage.h2
-rw-r--r--contactthemeeditor/contacteditormainwindow.cpp2
-rw-r--r--contactthemeeditor/contacteditormainwindow.h2
-rw-r--r--contactthemeeditor/contacteditorpage.h2
-rw-r--r--grantleethemeeditor/managethemes.h2
-rw-r--r--headerthemeeditor/themeeditormainwindow.h2
-rw-r--r--headerthemeeditor/themeeditorpage.cpp1
-rw-r--r--headerthemeeditor/themeeditorpage.h2
9 files changed, 7 insertions, 10 deletions
diff --git a/contactprintthemeeditor/themeeditormainwindow.h b/contactprintthemeeditor/themeeditormainwindow.h
index f65f95a..06c58cc 100644
--- a/contactprintthemeeditor/themeeditormainwindow.h
+++ b/contactprintthemeeditor/themeeditormainwindow.h
@@ -37,7 +37,7 @@ public:
protected:
void closeEvent(QCloseEvent *) override;
-private Q_SLOTS:
+private:
void slotNewTheme();
void slotCloseTheme();
void slotAddExtraPage();
diff --git a/contactprintthemeeditor/themeeditorpage.h b/contactprintthemeeditor/themeeditorpage.h
index 7cbe6dc..96fdf9f 100644
--- a/contactprintthemeeditor/themeeditorpage.h
+++ b/contactprintthemeeditor/themeeditorpage.h
@@ -58,7 +58,7 @@ Q_SIGNALS:
void changed(bool);
void canInsertFile(bool);
-private Q_SLOTS:
+private:
void slotUpdateViewer();
void slotCloseTab(int);
void slotChanged();
diff --git a/contactthemeeditor/contacteditormainwindow.cpp b/contactthemeeditor/contacteditormainwindow.cpp
index 71ff276..3f55843 100644
--- a/contactthemeeditor/contacteditormainwindow.cpp
+++ b/contactthemeeditor/contacteditormainwindow.cpp
@@ -42,8 +42,6 @@
ContactEditorMainWindow::ContactEditorMainWindow()
: KXmlGuiWindow()
- , mContactEditor(nullptr)
- , mUploadTheme(nullptr)
{
setupActions();
setupGUI();
diff --git a/contactthemeeditor/contacteditormainwindow.h b/contactthemeeditor/contacteditormainwindow.h
index 87db2b9..f717441 100644
--- a/contactthemeeditor/contacteditormainwindow.h
+++ b/contactthemeeditor/contacteditormainwindow.h
@@ -36,7 +36,7 @@ public:
protected:
void closeEvent(QCloseEvent *) override;
-private Q_SLOTS:
+private:
void slotNewTheme();
void slotCloseTheme();
void slotAddExtraPage();
diff --git a/contactthemeeditor/contacteditorpage.h b/contactthemeeditor/contacteditorpage.h
index 8b42859..dd33d7a 100644
--- a/contactthemeeditor/contacteditorpage.h
+++ b/contactthemeeditor/contacteditorpage.h
@@ -58,7 +58,7 @@ Q_SIGNALS:
void changed(bool);
void canInsertFile(bool);
-private Q_SLOTS:
+private:
void slotUpdateViewer();
void slotCloseTab(int);
void slotChanged();
diff --git a/grantleethemeeditor/managethemes.h b/grantleethemeeditor/managethemes.h
index 3d8c367..c112474 100644
--- a/grantleethemeeditor/managethemes.h
+++ b/grantleethemeeditor/managethemes.h
@@ -31,7 +31,7 @@ public:
explicit ManageThemes(const QString &relativeThemePath, QWidget *parent = nullptr);
~ManageThemes();
-private Q_SLOTS:
+private:
void slotItemSelectionChanged();
void slotDeleteTheme();
diff --git a/headerthemeeditor/themeeditormainwindow.h b/headerthemeeditor/themeeditormainwindow.h
index 0f1f5d3..b21f078 100644
--- a/headerthemeeditor/themeeditormainwindow.h
+++ b/headerthemeeditor/themeeditormainwindow.h
@@ -37,7 +37,7 @@ public:
protected:
void closeEvent(QCloseEvent *) override;
-private Q_SLOTS:
+private:
void slotNewTheme();
void slotCloseTheme();
void slotAddExtraPage();
diff --git a/headerthemeeditor/themeeditorpage.cpp b/headerthemeeditor/themeeditorpage.cpp
index 600e0c6..a15dc94 100644
--- a/headerthemeeditor/themeeditorpage.cpp
+++ b/headerthemeeditor/themeeditorpage.cpp
@@ -42,7 +42,6 @@
ThemeEditorPage::ThemeEditorPage(const QString &projectDir, const QString &themeName, QWidget *parent)
: QWidget(parent)
, mThemeSession(new GrantleeThemeEditor::ThemeSession(projectDir, QStringLiteral("headerthemeeditor")))
- , mChanged(false)
{
QHBoxLayout *lay = new QHBoxLayout(this);
mTabWidget = new GrantleeThemeEditor::ThemeEditorTabWidget;
diff --git a/headerthemeeditor/themeeditorpage.h b/headerthemeeditor/themeeditorpage.h
index da44147..b2fb061 100644
--- a/headerthemeeditor/themeeditorpage.h
+++ b/headerthemeeditor/themeeditorpage.h
@@ -59,7 +59,7 @@ Q_SIGNALS:
void changed(bool);
void canInsertFile(bool);
-private Q_SLOTS:
+private:
void slotUpdateViewer();
void slotCloseTab(int);
void slotChanged();