diff options
Diffstat (limited to 'src/torkapplet')
-rw-r--r-- | src/torkapplet/CMakeLists.txt | 35 | ||||
-rw-r--r-- | src/torkapplet/tork_mnu.cpp | 18 | ||||
-rw-r--r-- | src/torkapplet/tork_mnu.h | 2 |
3 files changed, 45 insertions, 10 deletions
diff --git a/src/torkapplet/CMakeLists.txt b/src/torkapplet/CMakeLists.txt new file mode 100644 index 0000000..b29088b --- /dev/null +++ b/src/torkapplet/CMakeLists.txt @@ -0,0 +1,35 @@ +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_LIB_DIR} +) + + +##### kickermenu_tork (kpart) + +tde_add_kpart( kickermenu_tork AUTOMOC + + SOURCES + tork_mnu.cpp + ../functions.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data + +tde_create_translated_desktop( torkmenu.desktop + DESTINATION ${DATA_INSTALL_DIR}/kicker/menuext +) diff --git a/src/torkapplet/tork_mnu.cpp b/src/torkapplet/tork_mnu.cpp index fc5a45d..1c72496 100644 --- a/src/torkapplet/tork_mnu.cpp +++ b/src/torkapplet/tork_mnu.cpp @@ -19,15 +19,9 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <stdlib.h> -#include <dirent.h> -#include <fcntl.h> -#include <unistd.h> -#include <sys/stat.h> - -#include <ntqdir.h> -#include <ntqfileinfo.h> -#include <ntqstringlist.h> +#include <tqdir.h> +#include <tqfileinfo.h> +#include <tqstringlist.h> #include <tdeapplication.h> #include <tdeglobal.h> @@ -44,6 +38,12 @@ #include <tdelocale.h> #include <krun.h> +#include <stdlib.h> +#include <dirent.h> +#include <fcntl.h> +#include <unistd.h> +#include <sys/stat.h> + #include "tork_mnu.h" #include "../functions.h" diff --git a/src/torkapplet/tork_mnu.h b/src/torkapplet/tork_mnu.h index f92c534..2474ea5 100644 --- a/src/torkapplet/tork_mnu.h +++ b/src/torkapplet/tork_mnu.h @@ -23,7 +23,7 @@ #ifndef _tork_mnu_h_ #define _tork_mnu_h_ -#include <ntqvaluevector.h> +#include <tqvaluevector.h> #include <kpanelmenu.h> #include <klibloader.h> |