summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/sidebar')
-rw-r--r--konqueror/sidebar/CMakeLists.txt71
-rw-r--r--konqueror/sidebar/trees/CMakeLists.txt58
-rw-r--r--konqueror/sidebar/trees/bookmark_module/CMakeLists.txt39
-rw-r--r--konqueror/sidebar/trees/dirtree_module/CMakeLists.txt38
-rw-r--r--konqueror/sidebar/trees/history_module/CMakeLists.txt60
-rw-r--r--konqueror/sidebar/trees/init/CMakeLists.txt34
-rw-r--r--konqueror/sidebar/trees/init/remote/CMakeLists.txt20
-rw-r--r--konqueror/sidebar/trees/init/remote/ftp/CMakeLists.txt14
-rw-r--r--konqueror/sidebar/trees/init/remote/web/CMakeLists.txt15
-rw-r--r--konqueror/sidebar/trees/init/services/CMakeLists.txt15
-rw-r--r--konqueror/sidebar/web_module/CMakeLists.txt40
11 files changed, 404 insertions, 0 deletions
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}
+)