summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/execcatalog
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-02-14 15:44:24 +0100
committergregory guy <g-gregory@gmx.fr>2019-02-14 15:44:24 +0100
commit7a10077e8260148faa37d5a91e76135e1341e4c1 (patch)
tree6bfabbcd9017c63c91a5ee7e2434e917906b3f55 /katapult/plugins/catalogs/execcatalog
parentd165ef2d365fc582b966fbcb0bbac5223c7b02cc (diff)
downloadkatapult-7a10077e8260148faa37d5a91e76135e1341e4c1.tar.gz
katapult-7a10077e8260148faa37d5a91e76135e1341e4c1.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'katapult/plugins/catalogs/execcatalog')
-rw-r--r--katapult/plugins/catalogs/execcatalog/CMakeLists.txt45
-rw-r--r--katapult/plugins/catalogs/execcatalog/actionrun.cpp2
-rw-r--r--katapult/plugins/catalogs/execcatalog/actionrun.h2
-rw-r--r--katapult/plugins/catalogs/execcatalog/execcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/execcatalog/execcatalog.h2
5 files changed, 50 insertions, 5 deletions
diff --git a/katapult/plugins/catalogs/execcatalog/CMakeLists.txt b/katapult/plugins/catalogs/execcatalog/CMakeLists.txt
new file mode 100644
index 0000000..b35b345
--- /dev/null
+++ b/katapult/plugins/catalogs/execcatalog/CMakeLists.txt
@@ -0,0 +1,45 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### katapult_execcatalog (kpart)
+
+tde_add_kpart( katapult_execcatalog AUTOMOC
+
+ SOURCES
+ settings.ui
+ execcatalog.cpp
+ command.cpp
+ actionrun.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( )
+
+
+##### other data
+
+install(
+ FILES katapult_execcatalog.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/katapult/plugins/catalogs/execcatalog/actionrun.cpp b/katapult/plugins/catalogs/execcatalog/actionrun.cpp
index 0254d6f..ef99b85 100644
--- a/katapult/plugins/catalogs/execcatalog/actionrun.cpp
+++ b/katapult/plugins/catalogs/execcatalog/actionrun.cpp
@@ -32,7 +32,7 @@
#include "execcatalog.h"
#include "command.h"
-#include "katapultitem.h"
+#include <katapultitem.h>
#include "actionrun.h"
ActionRun::ActionRun()
diff --git a/katapult/plugins/catalogs/execcatalog/actionrun.h b/katapult/plugins/catalogs/execcatalog/actionrun.h
index 2e13996..c1e4b8e 100644
--- a/katapult/plugins/catalogs/execcatalog/actionrun.h
+++ b/katapult/plugins/catalogs/execcatalog/actionrun.h
@@ -26,7 +26,7 @@
#ifndef ACTIONRUN_H
#define ACTIONRUN_H
-#include "katapultaction.h"
+#include <katapultaction.h>
class KatapultItem;
class Command;
diff --git a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
index b08527d..05cab17 100644
--- a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
+++ b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
@@ -34,9 +34,9 @@
#include "settings.h"
#include "execcatalog.h"
-#include "actionregistry.h"
+#include <actionregistry.h>
#include "actionrun.h"
-#include "status.h"
+#include <status.h>
K_EXPORT_COMPONENT_FACTORY( katapult_execcatalog,
KGenericFactory<ExecCatalog>( "katapult_execcatalog" ) )
diff --git a/katapult/plugins/catalogs/execcatalog/execcatalog.h b/katapult/plugins/catalogs/execcatalog/execcatalog.h
index 5c5c5f3..4049a83 100644
--- a/katapult/plugins/catalogs/execcatalog/execcatalog.h
+++ b/katapult/plugins/catalogs/execcatalog/execcatalog.h
@@ -34,7 +34,7 @@
#include <tqstring.h>
#include "command.h"
-#include "katapultcatalog.h"
+#include <katapultcatalog.h>
class TQWidget;