diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 52 | ||||
-rw-r--r-- | src/DragWidget.cpp | 1 | ||||
-rw-r--r-- | src/MainWidget.cpp | 2 | ||||
-rw-r--r-- | src/VButton.cpp | 2 | ||||
-rw-r--r-- | src/numpadvbutton.cpp | 2 | ||||
-rw-r--r-- | src/resizabledragwidget.cpp | 2 |
6 files changed, 59 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..ca7a8df --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,52 @@ +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} +) + + +##### kvkbd (executable) + +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + DragWidget.cpp + MainWidget.cpp + VButton.cpp + main.cpp + numpadvbutton.cpp + resizabledragwidget.cpp + resizabledragwidget.h + LINK + tdecore-shared + tdeui-shared + tdeio-shared + Xtst + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ${PROJECT_NAME} ) + + +##### other data + +install( + FILES dock.png tray.png + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics +) + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${APPS_INSTALL_DIR}/Utilities +) diff --git a/src/DragWidget.cpp b/src/DragWidget.cpp index 769c1a8..8517b99 100644 --- a/src/DragWidget.cpp +++ b/src/DragWidget.cpp @@ -33,3 +33,4 @@ void DragWidget::mouseMoveEvent(TQMouseEvent *e) } +#include "DragWidget.moc" diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp index cb4f80f..75afa2d 100644 --- a/src/MainWidget.cpp +++ b/src/MainWidget.cpp @@ -1826,7 +1826,7 @@ void KbdTray::mousePressEvent(TQMouseEvent *e) } } - +#include "MainWidget.moc" diff --git a/src/VButton.cpp b/src/VButton.cpp index 92a54f0..48c7cf7 100644 --- a/src/VButton.cpp +++ b/src/VButton.cpp @@ -119,3 +119,5 @@ void VButton::timerEvent(TQTimerEvent *) } sendKey(); } + +#include "VButton.moc" diff --git a/src/numpadvbutton.cpp b/src/numpadvbutton.cpp index 772efcb..3e64fb0 100644 --- a/src/numpadvbutton.cpp +++ b/src/numpadvbutton.cpp @@ -48,3 +48,5 @@ void NumpadVButton::setKeyCode(unsigned int numpad_keycode, unsigned int cursor_ numlock_code = numpad_keycode; VButton::setKeyCode(cursor_code); } + +#include "numpadvbutton.moc" diff --git a/src/resizabledragwidget.cpp b/src/resizabledragwidget.cpp index 609289a..ec48d6e 100644 --- a/src/resizabledragwidget.cpp +++ b/src/resizabledragwidget.cpp @@ -89,4 +89,4 @@ void ResizableDragWidget::paintEvent(TQPaintEvent *) } - +#include "resizabledragwidget.moc" |