diff options
Diffstat (limited to 'kdeui')
-rw-r--r-- | kdeui/CMakeLists.txt | 172 | ||||
-rw-r--r-- | kdeui/about/CMakeLists.txt | 21 | ||||
-rw-r--r-- | kdeui/kdetrayproxy/CMakeLists.txt | 50 | ||||
-rw-r--r-- | kdeui/tests/CMakeLists.txt | 54 |
4 files changed, 297 insertions, 0 deletions
diff --git a/kdeui/CMakeLists.txt b/kdeui/CMakeLists.txt new file mode 100644 index 000000000..3a4c8e8dc --- /dev/null +++ b/kdeui/CMakeLists.txt @@ -0,0 +1,172 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( BUILD_KDEUI_TESTS ) + add_subdirectory( tests ) +endif( BUILD_KDEUI_TESTS ) + +add_subdirectory( about ) +add_subdirectory( kdetrayproxy ) + +add_definitions( + ${TQT_CFLAGS_OTHER} + -include tqt.h +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdefx + ${CMAKE_SOURCE_DIR}/kio + ${CMAKE_SOURCE_DIR}/kio/kio + ${CMAKE_SOURCE_DIR}/kio/kfile + ${FREETYPE_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kprogressbox.h kprogress.h kcolordlg.h + kcolordialog.h kselect.h + kdatepik.h kdatepicker.h kdatetbl.h kfontdialog.h kpopupmenu.h + kfontrequester.h ktabctl.h kstatusbar.h + kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h + knuminput.h kseparator.h klineedit.h + krestrictedline.h kcolorbutton.h kcolorbtn.h + ksystemtray.h kdockwindow.h kbuttonbox.h + keditcl.h kled.h keditlistbox.h + kwizard.h kkeydialog.h kkeybutton.h + kurllabel.h kruler.h kcursor.h + klineeditdlg.h kinputdialog.h kactivelabel.h + kcharselect.h kcolordrag.h qxembed.h + knumvalidator.h kdialog.h kdialogbase.h + kjanuswidget.h kaboutdialog.h + kauthicon.h kmessagebox.h ksharedpixmap.h + kdualcolorbtn.h kdualcolorbutton.h ktoolbarbutton.h + ktoolbarradiogroup.h ktextbrowser.h + kaction.h kactioncollection.h kactionclasses.h khelpmenu.h kswitchlanguagedialog.h + kcmodule.h kcmenumngr.h kpanelmenu.h kpanelappmenu.h + kactionshortcutlist.h kstdaction.h kcombobox.h + kiconview.h klistview.h klistbox.h kbugreport.h kpassdlg.h + kxmlguiclient.h kxmlgui.h kxmlguibuilder.h kxmlguifactory.h + kpixmapio.h kwordwrap.h + kedittoolbar.h kdockwidget.h kanimwidget.h + krootpixmap.h kaboutkde.h kaboutapplication.h + kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h + kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h + kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h + kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h + kstringvalidator.h kwindowinfo.h + ktextedit.h kpassivepopup.h + kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h + kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h + ktabbar.h ktabwidget.h ksplashscreen.h kconfigdialog.h + kactionselector.h klanguagebutton.h klistviewsearchline.h + kpixmapregionselectorwidget.h kpixmapregionselectordialog.h + kiconviewsearchline.h ktoolbarlabelaction.h kshortcutdialog.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES + aboutkde.png ktip-bulb.png ktip-background.png + DESTINATION ${DATA_INSTALL_DIR}/kdeui/pics ) + +install( FILES + ui_standards.rc + DESTINATION ${CONFIG_INSTALL_DIR}/ui ) + +install( PROGRAMS + preparetips + DESTINATION ${BIN_INSTALL_DIR} ) + + +##### libkdeui ################################## + +set( target kdeui ) + +set( ${target}_SRCS + qxembed.cpp ksharedpixmap.cpp kpixmapio.cpp + kpopupmenu.cpp ktoolbar.cpp kaction.cpp kstdaction.cpp + kactioncollection.cpp kactionclasses.cpp + kurllabel.cpp kmenubar.cpp kinputdialog.cpp + knuminput.cpp klineedit.cpp klistview.cpp kprogress.cpp + kprogressbox.cpp kcolordialog.cpp kselect.cpp kdatepicker.cpp + kdatetbl.cpp kfontrequester.cpp kfontdialog.cpp ktabctl.cpp + kstatusbar.cpp kmainwindow.cpp + keditlistbox.cpp kscrollview.cpp + kseparator.cpp krestrictedline.cpp + kcolorbutton.cpp ksystemtray.cpp + kbuttonbox.cpp keditcl1.cpp keditcl2.cpp kled.cpp + kshortcutdialog_simple.ui kshortcutdialog_advanced.ui + kshortcutdialog.cpp kkeybutton.cpp kkeydialog.cpp + kruler.cpp kcursor.cpp klineeditdlg.cpp + kcharselect.cpp kcolordrag.cpp + knumvalidator.cpp kdialog.cpp kdialogbase.cpp + kjanuswidget.cpp kaboutdialog.cpp + kauthicon.cpp kmessagebox.cpp kdualcolorbutton.cpp + ktoolbarradiogroup.cpp ktoolbarbutton.cpp + ktextbrowser.cpp khelpmenu.cpp kswitchlanguagedialog.cpp + kcmenumngr.cpp kpanelmenu.cpp + kiconview.cpp klistbox.cpp kwordwrap.cpp kbugreport.cpp + kcombobox.cpp kpassdlg.cpp kxmlguiclient.cpp kxmlguifactory.cpp + kxmlguifactory_p.cpp kxmlguibuilder.cpp kedittoolbar.cpp + kpanelappmenu.cpp kdockwidget.cpp kdockwidget_private.cpp + kanimwidget.cpp krootpixmap.cpp kaboutkde.cpp + kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp + kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp + kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp + kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp + kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp + kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp + kstringvalidator.cpp kactivelabel.cpp + kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp + ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp + ksconfig.cpp kspelldlg.cpp + kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp + ksplashscreen.cpp kspellui.ui kconfigdialog.cpp + kactionselector.cpp klanguagebutton.cpp klistviewsearchline.cpp + kpixmapregionselectorwidget.cpp kpixmapregionselectordialog.cpp + kwhatsthismanager.cpp kiconviewsearchline.cpp + ktoolbarlabelaction.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 4.2.0 + LINK kdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} + DEPENDENCIES dcopidl + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### libkspell ################################# + +set( target kspell ) + +configure_file( dummy.cpp.cmake dummy.cpp COPYONLY ) + +tde_add_library( ${target} SHARED + SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp + VERSION 4.2.0 + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kdeui/about/CMakeLists.txt b/kdeui/about/CMakeLists.txt new file mode 100644 index 000000000..63b43e462 --- /dev/null +++ b/kdeui/about/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### other data ################################ + +install( FILES + bar-bottom-left.png bar-top-right.png bar-bottom-middle.png bottom-left.png + box-middle-left.png top-left.png bar-bottom-right.png bottom-middle.png + box-middle-right.png top-middle.png bar-middle-left.png bottom-right.png + box-top-left.png bar-middle-right.png box-bottom-left.png box-top-middle.png + bar-top-left.png box-bottom-middle.png box-top-right.png bar-top-middle.png + box-bottom-right.png kde_infopage.css kde_infopage_rtl.css + DESTINATION ${DATA_INSTALL_DIR}/kdeui/about ) diff --git a/kdeui/kdetrayproxy/CMakeLists.txt b/kdeui/kdetrayproxy/CMakeLists.txt new file mode 100644 index 000000000..26353c231 --- /dev/null +++ b/kdeui/kdetrayproxy/CMakeLists.txt @@ -0,0 +1,50 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kded + ${CMAKE_SOURCE_DIR}/kdecore +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kdetrayproxy.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kded ) + + +##### kded_kdetrayproxy ######################### + +set( target kded_kdetrayproxy ) + +set( ${target}_SRCS + kdetrayproxy.cpp module.cpp module.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kdecore-shared kdeinit_kded-shared + DEPENDENCIES dcopidl + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kdeui/tests/CMakeLists.txt b/kdeui/tests/CMakeLists.txt new file mode 100644 index 000000000..b47b8e4a3 --- /dev/null +++ b/kdeui/tests/CMakeLists.txt @@ -0,0 +1,54 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + ${TQT_CFLAGS_OTHER} + -include tqt.h +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui + ${CMAKE_SOURCE_DIR}/kdefx + ${CMAKE_SOURCE_DIR}/dcop +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +set( test_PROGS + kaboutdialogtest kblendtest kbuttonboxtest kcharselecttest + kcolortest kcolordlgtest kcomboboxtest kcompletiontest + kdatepicktest kdatewidgettest kdialogbasetest + kdockwidgetdemo kdockwidgettest + kdualcolortest keditlistboxtest kfontdialogtest + kgradienttest khashtest kdesattest + kledtest klineedittest klineeditdlgtest + kmessageboxtest knuminputtest + kpalettetest + kpopuptest kprogresstest krulertest kseparatortest + kstatusbartest ktabctltest + kunbalancedgrdtest kwindowtest kwizardtest + itemcontainertest kpanelmenutest kedittest + kxmlguitest kaccelgentest ksystemtraytest klistviewtest + ktextedittest kmainwindowtest kmainwindowrestoretest + kactiontest kdatetimewidgettest ktimewidgettest + kspelltest kinputdialogtest ktabwidgettest kwordwraptest + kdocktest qxembedtest ksqueezedtextlabeltest + kpixmapregionselectordialogtest kjanuswidgettest ktoolbarlabelactiontest +) + +foreach( PROG ${test_PROGS} ) + tde_add_executable( ${PROG} AUTOMOC SOURCES "${PROG}.cpp" LINK kdeui-shared ) +endforeach( PROG ${test_PROGS} ) |