[rkward/frameworks] rkward: Remove obsolete includes of kdeversion.h

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Feb 18 21:23:52 UTC 2016


Git commit 45a0ccba806e0f94d169b75520a23fd357ba1ada by Thomas Friedrichsmeier.
Committed on 18/02/2016 at 21:23.
Pushed by tfry into branch 'frameworks'.

Remove obsolete includes of kdeversion.h

M  +0    -1    rkward/agents/rkloadagent.cpp
M  +3    -3    rkward/rbackend/rksessionvars.cpp
M  +0    -1    rkward/scriptbackends/rkcomponentscripting.cpp
M  +0    -1    rkward/settings/rksettingsmoduleplugins.cpp
M  +0    -1    rkward/windows/rkcommandeditorwindow.h
M  +0    -1    rkward/windows/rkfilebrowser.cpp
M  +0    -1    rkward/windows/rkworkplaceview.cpp

http://commits.kde.org/rkward/45a0ccba806e0f94d169b75520a23fd357ba1ada

diff --git a/rkward/agents/rkloadagent.cpp b/rkward/agents/rkloadagent.cpp
index ef66143..c2db749 100644
--- a/rkward/agents/rkloadagent.cpp
+++ b/rkward/agents/rkloadagent.cpp
@@ -18,7 +18,6 @@
 
 #include <KLocalizedString>
 #include <kmessagebox.h>
-#include <kdeversion.h>
 #include <kio/filecopyjob.h>
 #include <KJobWidgets>
 #include <KJobUiDelegate>
diff --git a/rkward/rbackend/rksessionvars.cpp b/rkward/rbackend/rksessionvars.cpp
index 41da39c..e64eb10 100644
--- a/rkward/rbackend/rksessionvars.cpp
+++ b/rkward/rbackend/rksessionvars.cpp
@@ -22,10 +22,10 @@
 #include "../settings/rksettingsmodulegeneral.h"
 #include "../version.h"
 
-#include <kdeversion.h>
+#include <kxmlgui_version.h>
+
 #include <QTemporaryFile>
 #include <QStandardPaths>
-
 #include <QSysInfo>
 
 #include "../debug.h"
@@ -123,7 +123,7 @@ QStringList RKSessionVars::frontendSessionInfo () {
 	lines.append ("RKWard version: " RKWARD_VERSION);
 	// KF5 TODO: find replacement for line below
 	//lines.append ("KDE version (runtime): " + QString (KDE::versionString ()));
-	lines.append ("KDE version (compile time): " KDE_VERSION_STRING);
+	lines.append ("KDE version (compile time): " KXMLGUI_VERSION_STRING);
 	lines.append (QString ("Qt version (runtime): ") + qVersion ());
 #if defined Q_OS_WIN
 	lines.append ("Windows runtime version (refer to QSysInfo documentation to translate code into human readable form): 0x" + QString::number (QSysInfo::windowsVersion (), 16));
diff --git a/rkward/scriptbackends/rkcomponentscripting.cpp b/rkward/scriptbackends/rkcomponentscripting.cpp
index ae1bf9a..a0cc518 100644
--- a/rkward/scriptbackends/rkcomponentscripting.cpp
+++ b/rkward/scriptbackends/rkcomponentscripting.cpp
@@ -18,7 +18,6 @@
 #include "rkcomponentscripting.h"
 
 #include <KLocalizedString>
-#include <kdeversion.h>
 #include <kmessagebox.h>
 #include <QDir>
 
diff --git a/rkward/settings/rksettingsmoduleplugins.cpp b/rkward/settings/rksettingsmoduleplugins.cpp
index d9297f1..241c141 100644
--- a/rkward/settings/rksettingsmoduleplugins.cpp
+++ b/rkward/settings/rksettingsmoduleplugins.cpp
@@ -18,7 +18,6 @@
 
 #include <KLocalizedString>
 #include <kmessagebox.h>
-#include <kdeversion.h>
 #include <KSharedConfig>
 #include <KConfigGroup>
 
diff --git a/rkward/windows/rkcommandeditorwindow.h b/rkward/windows/rkcommandeditorwindow.h
index a0aeffd..0cf2cbb 100644
--- a/rkward/windows/rkcommandeditorwindow.h
+++ b/rkward/windows/rkcommandeditorwindow.h
@@ -22,7 +22,6 @@
 #include <QTimer>
 #include <QString>
 
-#include <kdeversion.h>
 #include <ktexteditor/view.h>
 #include <ktexteditor/document.h>
 #include <ktexteditor/codecompletionmodel.h>
diff --git a/rkward/windows/rkfilebrowser.cpp b/rkward/windows/rkfilebrowser.cpp
index a852ad2..e33cb4c 100644
--- a/rkward/windows/rkfilebrowser.cpp
+++ b/rkward/windows/rkfilebrowser.cpp
@@ -24,7 +24,6 @@
 #include <ktoolbar.h>
 #include <kactioncollection.h>
 #include <kconfiggroup.h>
-#include <kdeversion.h>
 #include <KSharedConfig>
 #include <kfileitemactions.h>
 #include <kfileitemlistproperties.h>
diff --git a/rkward/windows/rkworkplaceview.cpp b/rkward/windows/rkworkplaceview.cpp
index de4ef26..e2d1cfa 100644
--- a/rkward/windows/rkworkplaceview.cpp
+++ b/rkward/windows/rkworkplaceview.cpp
@@ -19,7 +19,6 @@
 
 #include <KLocalizedString>
 #include <kactioncollection.h>
-#include <kdeversion.h>
 #include <kacceleratormanager.h>
 
 #include <qapplication.h>



More information about the rkward-tracker mailing list