summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs/programcatalog
diff options
context:
space:
mode:
Diffstat (limited to 'katapult/plugins/catalogs/programcatalog')
-rw-r--r--katapult/plugins/catalogs/programcatalog/CMakeLists.txt40
-rw-r--r--katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp2
-rw-r--r--katapult/plugins/catalogs/programcatalog/actionrunprogram.h2
-rw-r--r--katapult/plugins/catalogs/programcatalog/programcatalog.cpp2
-rw-r--r--katapult/plugins/catalogs/programcatalog/programcatalog.h2
5 files changed, 44 insertions, 4 deletions
diff --git a/katapult/plugins/catalogs/programcatalog/CMakeLists.txt b/katapult/plugins/catalogs/programcatalog/CMakeLists.txt
new file mode 100644
index 0000000..3addcd3
--- /dev/null
+++ b/katapult/plugins/catalogs/programcatalog/CMakeLists.txt
@@ -0,0 +1,40 @@
+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_programcatalog (kpart)
+
+tde_add_kpart( katapult_programcatalog AUTOMOC
+
+ SOURCES
+ settings.ui
+ programcatalog.cpp
+ program.cpp
+ actionrunprogram.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ ${PROJECT_NAME}-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES katapult_programcatalog.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp b/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp
index 98b7a9b..b5c080d 100644
--- a/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp
+++ b/katapult/plugins/catalogs/programcatalog/actionrunprogram.cpp
@@ -25,7 +25,7 @@
#include <tdelocale.h>
#include "program.h"
-#include "katapultitem.h"
+#include <katapultitem.h>
#include "actionrunprogram.h"
ActionRunProgram::ActionRunProgram()
diff --git a/katapult/plugins/catalogs/programcatalog/actionrunprogram.h b/katapult/plugins/catalogs/programcatalog/actionrunprogram.h
index f182afa..217821d 100644
--- a/katapult/plugins/catalogs/programcatalog/actionrunprogram.h
+++ b/katapult/plugins/catalogs/programcatalog/actionrunprogram.h
@@ -20,7 +20,7 @@
#ifndef ACTIONRUNPROGRAM_H
#define ACTIONRUNPROGRAM_H
-#include "katapultaction.h"
+#include <katapultaction.h>
class KatapultItem;
diff --git a/katapult/plugins/catalogs/programcatalog/programcatalog.cpp b/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
index e9096e6..bd7f581 100644
--- a/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
+++ b/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
@@ -30,7 +30,7 @@
#include "settings.h"
#include "programcatalog.h"
#include "program.h"
-#include "actionregistry.h"
+#include <actionregistry.h>
#include "actionrunprogram.h"
K_EXPORT_COMPONENT_FACTORY( katapult_programcatalog,
diff --git a/katapult/plugins/catalogs/programcatalog/programcatalog.h b/katapult/plugins/catalogs/programcatalog/programcatalog.h
index af20c70..842cba6 100644
--- a/katapult/plugins/catalogs/programcatalog/programcatalog.h
+++ b/katapult/plugins/catalogs/programcatalog/programcatalog.h
@@ -25,7 +25,7 @@
#include <tqptrlist.h>
#include <tqstring.h>
-#include "cachedcatalog.h"
+#include <cachedcatalog.h>
class TQWidget;