diff options
Diffstat (limited to 'sessionapplet')
-rw-r--r-- | sessionapplet/CMakeLists.txt | 36 | ||||
-rw-r--r-- | sessionapplet/usermanager.cpp | 2 | ||||
-rw-r--r-- | sessionapplet/usermanager.h | 2 |
3 files changed, 39 insertions, 1 deletions
diff --git a/sessionapplet/CMakeLists.txt b/sessionapplet/CMakeLists.txt new file mode 100644 index 0000000..51b880e --- /dev/null +++ b/sessionapplet/CMakeLists.txt @@ -0,0 +1,36 @@ + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIBRARY_DIRS} +) + + +##### usermanager_panelapplet (shared) + +tde_add_library( usermanager_panelapplet MODULE AUTOMOC + + SOURCES + usermanager.cpp + dmctl.cpp + LINK + tdeui-shared + tdecore-shared + + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( + SOURCE usermanager.desktop + DESTINATION ${DATA_INSTALL_DIR}/kicker/applets +) diff --git a/sessionapplet/usermanager.cpp b/sessionapplet/usermanager.cpp index 01c05d8..5cc49a1 100644 --- a/sessionapplet/usermanager.cpp +++ b/sessionapplet/usermanager.cpp @@ -279,3 +279,5 @@ extern "C" return new UserManager(configFile, KPanelApplet::Normal, KPanelApplet::About, parent, "usermanager"); } } + +#include "usermanager.moc" diff --git a/sessionapplet/usermanager.h b/sessionapplet/usermanager.h index 4767d4f..65fe350 100644 --- a/sessionapplet/usermanager.h +++ b/sessionapplet/usermanager.h @@ -23,7 +23,7 @@ #define USERMANAGER_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include "config.h" #endif #include <kpanelapplet.h> |