diff options
Diffstat (limited to 'konqueror')
26 files changed, 1021 insertions, 0 deletions
diff --git a/konqueror/CMakeLists.txt b/konqueror/CMakeLists.txt new file mode 100644 index 000000000..b0e77858e --- /dev/null +++ b/konqueror/CMakeLists.txt @@ -0,0 +1,117 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +project( konqueror ) + +if( NOT BUILD_LIBKONQ ) + include( "${TDE_CMAKE_DIR}/libkonq.cmake" ) +endif( NOT BUILD_LIBKONQ ) + + +add_definitions( + -D_LARGEFILE64_SOURCE +) + + +add_subdirectory( client ) +add_subdirectory( iconview ) +add_subdirectory( listview ) +add_subdirectory( keditbookmarks ) +add_subdirectory( shellcmdplugin ) +add_subdirectory( about ) +add_subdirectory( pics ) +add_subdirectory( sidebar ) +add_subdirectory( preloader ) +add_subdirectory( quickprint ) +add_subdirectory( remoteencodingplugin ) +add_subdirectory( kttsplugin ) + + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + KonquerorIface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES konqueror.rc konq-simplebrowser.rc DESTINATION ${DATA_INSTALL_DIR}/konqueror ) +install( FILES konqueror.desktop DESTINATION ${APPS_INSTALL_DIR} ) +install( FILES konqfilemgr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden ) +install( FILES konqueror.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + +install( FILES + kfmclient.desktop kfmclient_dir.desktop kfmclient_html.desktop + kfmclient_war.desktop konqbrowser.desktop konquerorsu.desktop + Home.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} ) + +set( PROFILEDIR ${DATA_INSTALL_DIR}/konqueror/profiles ) +install( FILES profile_webbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME webbrowsing ) +install( FILES profile_filemanagement.desktop DESTINATION ${PROFILEDIR} RENAME filemanagement ) +install( FILES profile_midnightcommander.desktop DESTINATION ${PROFILEDIR} RENAME midnightcommander ) +install( FILES profile_tabbedbrowsing.desktop DESTINATION ${PROFILEDIR} RENAME tabbedbrowsing ) +install( FILES profile_kde_devel.desktop DESTINATION ${PROFILEDIR} RENAME kde_devel ) +install( FILES profile_simplebrowser.desktop DESTINATION ${PROFILEDIR} RENAME simplebrowser ) + + +##### konqueror_intern (static lib) ############# + +set( target konqueror_intern ) + +set( ${target}_SRCS + konq_settingsxt.kcfgc +) + +tde_add_library( ${target} STATIC_PIC + SOURCES ${${target}_SRCS} +) + + +##### konqueror (kdeinit) ####################### + +set( target konqueror ) + +set( ${target}_SRCS + konq_main.cc KonquerorIface.cc KonquerorIface.skel + KonqMainWindowIface.cc KonqMainWindowIface.skel + KonqViewIface.cc KonqViewIface.skel konq_guiclients.cc + konq_run.cc konq_view.cc konq_viewmgr.cc konq_misc.cc + konq_frame.cc konq_tabs.cc konq_actions.cc konq_profiledlg.cc + konq_factory.cc konq_combo.cc konq_browseriface.cc + delayedinitializer.cc konq_mainwindow.cc konq_extensionmanager.cc +) + +tde_add_kdeinit_executable( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konqueror_intern-static konq-shared kutils-shared +) + + +##### install import cmake modules ############### + +tde_install_export( ) diff --git a/konqueror/about/CMakeLists.txt b/konqueror/about/CMakeLists.txt new file mode 100644 index 000000000..55e8f4462 --- /dev/null +++ b/konqueror/about/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES konq_aboutpage.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES konqaboutpage.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + +install( FILES + box-centre-konqueror.png top-right-konqueror.png + lightning.png launch.html intro.html specs.html + tips.html plugins.html plugins_rtl.html konq.css + DESTINATION ${DATA_INSTALL_DIR}/konqueror/about ) + + +##### konq_aboutpage (module) ################### + +set( target konq_aboutpage ) + +tde_add_kpart( ${target} AUTOMOC + SOURCES konq_aboutpage.cc + LINK khtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/client/CMakeLists.txt b/konqueror/client/CMakeLists.txt new file mode 100644 index 000000000..e711e1f82 --- /dev/null +++ b/konqueror/client/CMakeLists.txt @@ -0,0 +1,43 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kfmclient_3_2.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) +install( PROGRAMS kfmclient_3_2_update.sh DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) + + +##### kfmclient (kdeinit) ####################### + +set( target kfmclient ) + +set( ${target}_SRCS + kfmclient.cc + ${CMAKE_SOURCE_DIR}/konqueror/KonquerorIface.stub + ${CMAKE_SOURCE_DIR}/kdesktop/KDesktopIface.stub +) + +tde_add_kdeinit_executable( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kio-shared +) diff --git a/konqueror/iconview/CMakeLists.txt b/konqueror/iconview/CMakeLists.txt new file mode 100644 index 000000000..d3fa80c56 --- /dev/null +++ b/konqueror/iconview/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES konq_iconview.desktop konq_multicolumnview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES konq_iconview.rc konq_multicolumnview.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview ) + + +##### konq_iconview (module) #################### + +set( target konq_iconview ) + +tde_add_kpart( ${target} AUTOMOC + SOURCES konq_iconview.cc + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/keditbookmarks/CMakeLists.txt b/konqueror/keditbookmarks/CMakeLists.txt new file mode 100644 index 000000000..37882a447 --- /dev/null +++ b/konqueror/keditbookmarks/CMakeLists.txt @@ -0,0 +1,62 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES keditbookmarksui.rc keditbookmarks-genui.rc DESTINATION ${DATA_INSTALL_DIR}/keditbookmarks ) +install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Internet/keditbookmarks.desktop ) +install( FILES keditbookmarks.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) +tde_install_icons( ) + + +##### kbookmarkmerger ########################### + +set( target kbookmarkmerger ) + +tde_add_executable( ${target} + SOURCES kbookmarkmerger.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### keditbookmarks (kdeinit) ################## + +set( target keditbookmarks ) + +set( ${target}_SRCS AUTOMOC + main.cpp listview.cpp toplevel.cpp actionsimpl.cpp + commands.cpp importers.cpp dcop.skel dcop.cpp + bookmarkiterator.cpp testlink.cpp favicons.cpp + updater.cpp exporters.cpp ${TDE_INCLUDE_DIR}/kbookmarknotifier.stub + bookmarkinfo.cpp kebsearchline.cpp settings.kcfgc +) + +set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} ) + +tde_add_kdeinit_executable( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared +) diff --git a/konqueror/kttsplugin/CMakeLists.txt b/konqueror/kttsplugin/CMakeLists.txt new file mode 100644 index 000000000..80180aa8e --- /dev/null +++ b/konqueror/kttsplugin/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + khtmlkttsd.rc khtmlkttsd.desktop + DESTINATION ${DATA_INSTALL_DIR}/khtml/kpartplugins ) + + +##### libkhtmlkttsdplugin (module) ############## + +set( target libkhtmlkttsdplugin ) + +tde_add_kpart( ${target} AUTOMOC + SOURCES khtmlkttsd.cpp + LINK khtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/listview/CMakeLists.txt b/konqueror/listview/CMakeLists.txt new file mode 100644 index 000000000..02ab59564 --- /dev/null +++ b/konqueror/listview/CMakeLists.txt @@ -0,0 +1,55 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + konq_treeview.desktop konq_detailedlistview.desktop + konq_textview.desktop konq_infolistview.desktop + DESTINATION ${SERVICES_INSTALL_DIR} ) + +install( FILES + konq_treeview.rc konq_detailedlistview.rc + konq_textview.rc konq_infolistview.rc + DESTINATION ${DATA_INSTALL_DIR}/konqlistview ) + +install( FILES konq_listview.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + + +##### konq_listview (module) #################### + +set( target konq_listview ) + +set( ${target}_SRCS + konq_listview.cc konq_listviewwidget.cc konq_listviewitems.cc + konq_treeviewwidget.cc konq_treeviewitem.cc konq_textviewwidget.cc + konq_textviewitem.cc konq_infolistviewwidget.cc + konq_infolistviewitem.cc konq_listviewsettings.kcfgc +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/pics/CMakeLists.txt b/konqueror/pics/CMakeLists.txt new file mode 100644 index 000000000..d2cf5f546 --- /dev/null +++ b/konqueror/pics/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( tiles ) +add_subdirectory( indicators ) +add_subdirectory( actions ) + +tde_install_icons( ) diff --git a/konqueror/pics/actions/CMakeLists.txt b/konqueror/pics/actions/CMakeLists.txt new file mode 100644 index 000000000..83e2f2e73 --- /dev/null +++ b/konqueror/pics/actions/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/konqueror/icons ) diff --git a/konqueror/pics/indicators/CMakeLists.txt b/konqueror/pics/indicators/CMakeLists.txt new file mode 100644 index 000000000..90e8189b3 --- /dev/null +++ b/konqueror/pics/indicators/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + indicator_connect.png indicator_noconnect.png + indicator_empty.png indicator_viewactive.png + DESTINATION ${DATA_INSTALL_DIR}/konqueror/pics ) diff --git a/konqueror/pics/tiles/CMakeLists.txt b/konqueror/pics/tiles/CMakeLists.txt new file mode 100644 index 000000000..e6ffc586d --- /dev/null +++ b/konqueror/pics/tiles/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + bluemorning.png canvas.png kde4ever.png + kenwimer.png noise.png paper_flieder.png redfiber.png + DESTINATION ${DATA_INSTALL_DIR}/konqueror/tiles ) diff --git a/konqueror/preloader/CMakeLists.txt b/konqueror/preloader/CMakeLists.txt new file mode 100644 index 000000000..0b9f219e6 --- /dev/null +++ b/konqueror/preloader/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME there we have some checks for malloc + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/konqueror + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES konqy_preloader.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES konqy_preload.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) + + +##### kded_konqy_preloader (module) ############# + +set( target kded_konqy_preloader ) + +set( ${target}_SRCS + preloader.cc preloader.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konqueror_intern-static kio-shared kdeinit_kded-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/quickprint/CMakeLists.txt b/konqueror/quickprint/CMakeLists.txt new file mode 100644 index 000000000..29bb04443 --- /dev/null +++ b/konqueror/quickprint/CMakeLists.txt @@ -0,0 +1,19 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + text-print.desktop text-html-print.desktop text-css-print.desktop + text-ada-print.desktop text-c++-print.desktop text-c++h-print.desktop + text-ch-print.desktop text-diff-print.desktop text-java-print.desktop + text-log-print.desktop text-makefile-print.desktop text-pas-print.desktop + text-perl-print.desktop text-python-print.desktop text-tcl-print.desktop + text-tex-print.desktop text-xslt-print.desktop text-xml-print.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) diff --git a/konqueror/remoteencodingplugin/CMakeLists.txt b/konqueror/remoteencodingplugin/CMakeLists.txt new file mode 100644 index 000000000..35c947858 --- /dev/null +++ b/konqueror/remoteencodingplugin/CMakeLists.txt @@ -0,0 +1,48 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kremoteencodingplugin.rc kremoteencodingplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) + +install( FILES + kremoteencodingplugin.rc kremoteencodingplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins ) + + +##### konq_remoteencoding (module) ############## + +set( target konq_remoteencoding ) + +set( ${target}_SRCS + kremoteencodingplugin.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/shellcmdplugin/CMakeLists.txt b/konqueror/shellcmdplugin/CMakeLists.txt new file mode 100644 index 000000000..717a7464e --- /dev/null +++ b/konqueror/shellcmdplugin/CMakeLists.txt @@ -0,0 +1,47 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kshellcmdplugin.rc kshellcmdplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) + +install( FILES kshellcmdplugin.rc kshellcmdplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins ) + + +##### konq_shellcmdplugin (module) ############## + +set( target konq_shellcmdplugin ) + +set( ${target}_SRCS + kshellcmdexecutor.cpp kshellcmddialog.cpp + kshellcmdplugin.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/CMakeLists.txt b/konqueror/sidebar/CMakeLists.txt new file mode 100644 index 000000000..ac792504a --- /dev/null +++ b/konqueror/sidebar/CMakeLists.txt @@ -0,0 +1,71 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( trees ) +add_subdirectory( web_module ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES konqsidebarplugin.h DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES konqsidebartng.rc DESTINATION ${CONFIG_INSTALL_DIR} ) +install( FILES konq_sidebartng.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES .version DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries ) +install( FILES konqsidebartng.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) +install( PROGRAMS move_konqsidebartng_entries.sh DESTINATION ${DATA_INSTALL_DIR}/kconf_update ) + + +##### konqsidebarplugin (lib) ################### + +set( target konqsidebarplugin ) + +set( ${target}_SRCS + konqsidebarplugin.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 4.2.0 + LINK kparts-shared + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### konq_sidebar (module) ##################### + +set( target konq_sidebar ) + +set( ${target}_SRCS + konqsidebar.cpp sidebar_widget.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konqsidebarplugin-shared konq-shared kio-shared kutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/CMakeLists.txt b/konqueror/sidebar/trees/CMakeLists.txt new file mode 100644 index 000000000..216b58d37 --- /dev/null +++ b/konqueror/sidebar/trees/CMakeLists.txt @@ -0,0 +1,58 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( init ) +add_subdirectory( dirtree_module ) +add_subdirectory( history_module ) +add_subdirectory( bookmark_module ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### konq_sidebar_tree (static lib) ############ + +set( target konq_sidebar_tree ) + +set( ${target}_SRCS + konq_sidebartree.cpp konq_sidebartreeitem.cpp + konq_sidebartreetoplevelitem.cpp +) + +tde_add_library( ${target} STATIC_PIC AUTOMOC + SOURCES ${${target}_SRCS} + LINK konqsidebarplugin-shared konq-shared +) + + +##### konqsidebar_tree (module) ################# + +set( target konqsidebar_tree ) + +set( ${target}_SRCS + konqsidebar_tree.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt b/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt new file mode 100644 index 000000000..032235648 --- /dev/null +++ b/konqueror/sidebar/trees/bookmark_module/CMakeLists.txt @@ -0,0 +1,39 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### konq_sidebartree_bookmarks (module) ####### + +set( target konq_sidebartree_bookmarks ) + +set( ${target}_SRCS + bookmark_module.cpp bookmark_item.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt new file mode 100644 index 000000000..dbffc25b4 --- /dev/null +++ b/konqueror/sidebar/trees/dirtree_module/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + +##### konq_sidebartree_dirtree (module) ######### + +set( target konq_sidebartree_dirtree ) + +set( ${target}_SRCS + dirtree_module.cpp dirtree_item.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/history_module/CMakeLists.txt b/konqueror/sidebar/trees/history_module/CMakeLists.txt new file mode 100644 index 000000000..799342ee8 --- /dev/null +++ b/konqueror/sidebar/trees/history_module/CMakeLists.txt @@ -0,0 +1,60 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/konqueror/sidebar/trees + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + +##### other data ################################ + +install( FILES kcmhistory.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + + +##### konq_sidebartree_history (module) ######### + +set( target konq_sidebartree_history ) + +set( ${target}_SRCS + history_module.cpp history_item.cpp + history_settings.cpp history_settings.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq_sidebar_tree-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### kcm_history (module) ###################### + +set( target kcm_history ) + +set( ${target}_SRCS + kcmhistory.cpp history_dlg.ui history_settings.cpp + history_settings.skel +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK konq-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/konqueror/sidebar/trees/init/CMakeLists.txt b/konqueror/sidebar/trees/init/CMakeLists.txt new file mode 100644 index 000000000..02df2aba3 --- /dev/null +++ b/konqueror/sidebar/trees/init/CMakeLists.txt @@ -0,0 +1,34 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( remote ) +add_subdirectory( services ) + + +##### other data ################################ + +install( FILES + home.desktop root.desktop history.desktop bookmarks.desktop + services.desktop remote.desktop system.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries ) + +install( FILES + home.desktop root.desktop history.desktop bookmarks.desktop + services.desktop remote.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/kicker_entries ) + +install( FILES + virtualfolderadd.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add ) + +install( FILES + history_module.desktop dirtree_module.desktop bookmarks_module.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/dirtree ) diff --git a/konqueror/sidebar/trees/init/remote/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/CMakeLists.txt new file mode 100644 index 000000000..2c8099ed8 --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( ftp ) +add_subdirectory( web ) + + +##### other data ################################ + +install( FILES + .directory + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote ) diff --git a/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt new file mode 100644 index 000000000..c1ed4c80e --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory kde_ftp.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/ftp ) diff --git a/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt b/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt new file mode 100644 index 000000000..0d2471685 --- /dev/null +++ b/konqueror/sidebar/trees/init/remote/web/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory apps_web.desktop dot_web.desktop + kde_web.desktop look_web.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/remote/web ) diff --git a/konqueror/sidebar/trees/init/services/CMakeLists.txt b/konqueror/sidebar/trees/init/services/CMakeLists.txt new file mode 100644 index 000000000..524380aa8 --- /dev/null +++ b/konqueror/sidebar/trees/init/services/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory audiocd.desktop printsystem.desktop + media.desktop settings.desktop applications.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/virtual_folders/services ) diff --git a/konqueror/sidebar/web_module/CMakeLists.txt b/konqueror/sidebar/web_module/CMakeLists.txt new file mode 100644 index 000000000..a925474b4 --- /dev/null +++ b/konqueror/sidebar/web_module/CMakeLists.txt @@ -0,0 +1,40 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/konqueror/sidebar + ${CMAKE_SOURCE_DIR}/libkonq + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TDE_LIBRARY_DIRS} + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES webmodule_add.desktop DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add ) +install( FILES websidebar.html DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/websidebar ) + + +##### konqsidebar_web (module) ################## + +set( target konqsidebar_web ) + +tde_add_kpart( ${target} AUTOMOC + SOURCES web_module.cpp + LINK konqsidebarplugin-shared konq-shared khtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |