summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/widgets')
-rw-r--r--kftpgrabber/src/widgets/CMakeLists.txt52
-rw-r--r--kftpgrabber/src/widgets/bookmarks/CMakeLists.txt32
-rw-r--r--kftpgrabber/src/widgets/bookmarks/editor.cpp2
-rw-r--r--kftpgrabber/src/widgets/browser/CMakeLists.txt35
-rw-r--r--kftpgrabber/src/widgets/browser/actions.cpp2
-rw-r--r--kftpgrabber/src/widgets/browser/detailsview.cpp2
-rw-r--r--kftpgrabber/src/widgets/browser/view.cpp2
-rw-r--r--kftpgrabber/src/widgets/configdialog.cpp2
-rw-r--r--kftpgrabber/src/widgets/configfilter.cpp2
-rw-r--r--kftpgrabber/src/widgets/logview.cpp2
-rw-r--r--kftpgrabber/src/widgets/queueview/CMakeLists.txt31
-rw-r--r--kftpgrabber/src/widgets/queueview/queueview.cpp2
-rw-r--r--kftpgrabber/src/widgets/quickconnect.cpp2
-rw-r--r--kftpgrabber/src/widgets/systemtray.cpp2
-rw-r--r--kftpgrabber/src/widgets/widgetlister.cpp2
15 files changed, 162 insertions, 10 deletions
diff --git a/kftpgrabber/src/widgets/CMakeLists.txt b/kftpgrabber/src/widgets/CMakeLists.txt
new file mode 100644
index 0000000..46f2d80
--- /dev/null
+++ b/kftpgrabber/src/widgets/CMakeLists.txt
@@ -0,0 +1,52 @@
+add_subdirectory( queueview )
+add_subdirectory( browser )
+add_subdirectory( bookmarks )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### widgets (static)
+
+tde_add_library( widgets STATIC_PIC AUTOMOC
+
+ SOURCES
+ logview.cpp
+ kftpselectserverdialog.cpp
+ kftpserverlineedit.cpp
+ listview.cpp
+ quickconnect.cpp
+ systemtray.cpp
+ balloon.cpp
+ searchdialog.cpp
+ kftpzeroconflistview.cpp
+ trafficgraph.cpp
+ kftptabwidget.cpp
+ failedtransfers.cpp
+ listviewitem.cpp
+ sidebar.cpp
+ multitabbar.cpp
+ configdialog.cpp
+ configfilter.cpp
+ verifier.cpp
+ filtereditor.cpp
+ widgetlister.cpp
+ overlaywidget.cpp
+ popupmessage.cpp
+
+ DEPENDENCIES kftpgrabbercore-static ui-static
+)
diff --git a/kftpgrabber/src/widgets/bookmarks/CMakeLists.txt b/kftpgrabber/src/widgets/bookmarks/CMakeLists.txt
new file mode 100644
index 0000000..834698d
--- /dev/null
+++ b/kftpgrabber/src/widgets/bookmarks/CMakeLists.txt
@@ -0,0 +1,32 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### bookmarkwidgets (static)
+
+tde_add_library( bookmarkwidgets STATIC_PIC AUTOMOC
+
+ SOURCES
+ editor.cpp
+ editortls.cpp
+ listview.cpp
+ importwizard.cpp
+ sidebar.cpp
+
+ DEPENDENCIES kftpgrabbercore-static ui-static
+)
diff --git a/kftpgrabber/src/widgets/bookmarks/editor.cpp b/kftpgrabber/src/widgets/bookmarks/editor.cpp
index d5bc467..a7cd7cc 100644
--- a/kftpgrabber/src/widgets/bookmarks/editor.cpp
+++ b/kftpgrabber/src/widgets/bookmarks/editor.cpp
@@ -59,7 +59,7 @@
#include "kftpapi.h"
#include "kftpbookmarks.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "misc.h"
#include "editor.h"
diff --git a/kftpgrabber/src/widgets/browser/CMakeLists.txt b/kftpgrabber/src/widgets/browser/CMakeLists.txt
new file mode 100644
index 0000000..593c243
--- /dev/null
+++ b/kftpgrabber/src/widgets/browser/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}
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/engine
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### browser (static)
+
+tde_add_library( browser STATIC_PIC AUTOMOC
+
+ SOURCES
+ view.cpp actions.cpp
+ treeview.cpp
+ propsplugin.cpp
+ filterwidget.cpp
+ detailsview.cpp
+ locationnavigator.cpp
+ dirlister.cpp
+
+ DEPENDENCIES kftpgrabbercore-static ui-static
+)
diff --git a/kftpgrabber/src/widgets/browser/actions.cpp b/kftpgrabber/src/widgets/browser/actions.cpp
index 11fb08c..ba9c663 100644
--- a/kftpgrabber/src/widgets/browser/actions.cpp
+++ b/kftpgrabber/src/widgets/browser/actions.cpp
@@ -50,7 +50,7 @@
#include "mainactions.h"
#include "misc.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "misc/filter.h"
#include "misc/customcommands/manager.h"
diff --git a/kftpgrabber/src/widgets/browser/detailsview.cpp b/kftpgrabber/src/widgets/browser/detailsview.cpp
index 80f8588..29bcf69 100644
--- a/kftpgrabber/src/widgets/browser/detailsview.cpp
+++ b/kftpgrabber/src/widgets/browser/detailsview.cpp
@@ -40,7 +40,7 @@
#include "browser/dirlister.h"
#include "browser/actions.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "misc/kftpapi.h"
#include "misc/filter.h"
diff --git a/kftpgrabber/src/widgets/browser/view.cpp b/kftpgrabber/src/widgets/browser/view.cpp
index f4b1393..da031d6 100644
--- a/kftpgrabber/src/widgets/browser/view.cpp
+++ b/kftpgrabber/src/widgets/browser/view.cpp
@@ -40,7 +40,7 @@
#include "browser/filterwidget.h"
#include "kftpbookmarks.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "kftpsession.h"
#include "ftpsocket.h"
diff --git a/kftpgrabber/src/widgets/configdialog.cpp b/kftpgrabber/src/widgets/configdialog.cpp
index bd3170e..d3f0acb 100644
--- a/kftpgrabber/src/widgets/configdialog.cpp
+++ b/kftpgrabber/src/widgets/configdialog.cpp
@@ -35,7 +35,7 @@
#include "configdialog.h"
#include "misc.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "widgets/systemtray.h"
#include <tdelocale.h>
diff --git a/kftpgrabber/src/widgets/configfilter.cpp b/kftpgrabber/src/widgets/configfilter.cpp
index 48f068a..38360e9 100644
--- a/kftpgrabber/src/widgets/configfilter.cpp
+++ b/kftpgrabber/src/widgets/configfilter.cpp
@@ -37,7 +37,7 @@
#include "configfilter.h"
#include "filtereditor.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "misc.h"
#include <tdelistview.h>
diff --git a/kftpgrabber/src/widgets/logview.cpp b/kftpgrabber/src/widgets/logview.cpp
index 1d1c57f..a3db4c7 100644
--- a/kftpgrabber/src/widgets/logview.cpp
+++ b/kftpgrabber/src/widgets/logview.cpp
@@ -34,7 +34,7 @@
*/
#include "logview.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "kftpapi.h"
#include <tdelocale.h>
diff --git a/kftpgrabber/src/widgets/queueview/CMakeLists.txt b/kftpgrabber/src/widgets/queueview/CMakeLists.txt
new file mode 100644
index 0000000..bd4af3c
--- /dev/null
+++ b/kftpgrabber/src/widgets/queueview/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${OPENSSL_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/misc
+ ${CMAKE_SOURCE_DIR}/kftpgrabber/src/widgets
+ ${CMAKE_BINARY_DIR}/kftpgrabber/src/ui
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### queueviewwidget (static)
+
+tde_add_library( queueviewwidget STATIC_PIC AUTOMOC
+
+ SOURCES
+ queueeditor.cpp
+ queueview.cpp
+ threadview.cpp
+
+ DEPENDENCIES kftpgrabbercore-static ui-static
+)
diff --git a/kftpgrabber/src/widgets/queueview/queueview.cpp b/kftpgrabber/src/widgets/queueview/queueview.cpp
index daec26e..756ac36 100644
--- a/kftpgrabber/src/widgets/queueview/queueview.cpp
+++ b/kftpgrabber/src/widgets/queueview/queueview.cpp
@@ -42,7 +42,7 @@
#include "kftpapi.h"
#include "queueeditor.h"
#include "widgets/searchdialog.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include <tdeapplication.h>
#include <tdefiledialog.h>
diff --git a/kftpgrabber/src/widgets/quickconnect.cpp b/kftpgrabber/src/widgets/quickconnect.cpp
index 0a62f8d..ad17a5c 100644
--- a/kftpgrabber/src/widgets/quickconnect.cpp
+++ b/kftpgrabber/src/widgets/quickconnect.cpp
@@ -36,7 +36,7 @@
#include "widgets/quickconnect.h"
#include "bookmarks/editortls.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
#include "kftpbookmarks.h"
#include "misc.h"
diff --git a/kftpgrabber/src/widgets/systemtray.cpp b/kftpgrabber/src/widgets/systemtray.cpp
index 7cd851d..ca4c91d 100644
--- a/kftpgrabber/src/widgets/systemtray.cpp
+++ b/kftpgrabber/src/widgets/systemtray.cpp
@@ -44,7 +44,7 @@
#include "kftpbookmarks.h"
#include "kftpqueue.h"
#include "misc.h"
-#include "misc/config.h"
+#include "misc/kftpconfig.h"
using namespace KFTPGrabberBase;
diff --git a/kftpgrabber/src/widgets/widgetlister.cpp b/kftpgrabber/src/widgets/widgetlister.cpp
index 933101e..dc0ca29 100644
--- a/kftpgrabber/src/widgets/widgetlister.cpp
+++ b/kftpgrabber/src/widgets/widgetlister.cpp
@@ -170,3 +170,5 @@ void WidgetLister::enableControls()
}
}
+
+#include "widgetlister.moc"