summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt58
-rw-r--r--ConfigureChecks.cmake239
-rw-r--r--config.h.cmake77
-rw-r--r--doc/CMakeLists.txt18
-rw-r--r--doc/kimagemapeditor/CMakeLists.txt1
-rw-r--r--doc/klinkstatus/CMakeLists.txt1
-rw-r--r--doc/kommander/CMakeLists.txt1
-rw-r--r--doc/kxsldbg/CMakeLists.txt1
-rw-r--r--doc/man/CMakeLists.txt5
-rw-r--r--doc/man/kimagemapeditor/CMakeLists.txt5
-rw-r--r--doc/man/kimagemapeditor/kimagemapeditor.147
-rw-r--r--doc/man/klinkstatus/CMakeLists.txt5
-rw-r--r--doc/man/klinkstatus/klinkstatus.152
-rw-r--r--doc/man/kommander/CMakeLists.txt11
-rw-r--r--doc/man/kommander/extractkmdr.153
-rw-r--r--doc/man/kommander/kmdr-editor.170
-rw-r--r--doc/man/kommander/kmdr-executor.187
-rw-r--r--doc/man/kommander/kmdr-plugins.171
-rw-r--r--doc/man/kommander/kmdr2po.147
-rw-r--r--doc/man/kxsldbg/CMakeLists.txt5
-rw-r--r--doc/man/kxsldbg/kxsldbg.154
-rw-r--r--doc/man/quanta/CMakeLists.txt5
-rw-r--r--doc/man/quanta/quanta.171
-rw-r--r--doc/quanta/CMakeLists.txt1
-rw-r--r--doc/xsldbg/CMakeLists.txt6
-rw-r--r--kimagemapeditor/CMakeLists.txt83
-rw-r--r--kimagemapeditor/Makefile.am3
-rw-r--r--kimagemapeditor/dummy.cpp0
-rw-r--r--kimagemapeditor/kimeshell.cpp8
-rw-r--r--kimagemapeditor/pics/CMakeLists.txt16
-rw-r--r--klinkstatus/CMakeLists.txt2
-rw-r--r--klinkstatus/data/CMakeLists.txt2
-rw-r--r--klinkstatus/data/icons/16x16/CMakeLists.txt8
-rw-r--r--klinkstatus/data/icons/CMakeLists.txt6
-rw-r--r--klinkstatus/data/styles/CMakeLists.txt4
-rw-r--r--klinkstatus/src/CMakeLists.txt87
-rw-r--r--klinkstatus/src/cfg/CMakeLists.txt32
-rw-r--r--klinkstatus/src/cfg/Makefile.am6
-rw-r--r--klinkstatus/src/cfg/dummy.cpp0
-rw-r--r--klinkstatus/src/engine/CMakeLists.txt27
-rw-r--r--klinkstatus/src/klinkstatus.h2
-rw-r--r--klinkstatus/src/parser/CMakeLists.txt25
-rw-r--r--klinkstatus/src/ui/CMakeLists.txt32
-rw-r--r--klinkstatus/src/ui/sessionwidgetbase.ui16
-rw-r--r--klinkstatus/src/ui/settings/CMakeLists.txt32
-rw-r--r--klinkstatus/src/ui/settings/Makefile.am4
-rw-r--r--klinkstatus/src/ui/settings/configidentificationdialogui.ui8
-rw-r--r--klinkstatus/src/ui/settings/configsearchdialog.ui9
-rw-r--r--klinkstatus/src/ui/settings/dummy.cpp0
-rw-r--r--klinkstatus/src/utils/CMakeLists.txt29
-rw-r--r--kommander/CMakeLists.txt20
-rw-r--r--kommander/editor/CMakeLists.txt83
-rw-r--r--kommander/editor/assoctexteditor.ui3
-rw-r--r--kommander/editor/choosewidget.ui6
-rw-r--r--kommander/editor/connectioneditor.ui16
-rw-r--r--kommander/editor/formsettings.ui9
-rw-r--r--kommander/editor/functions.ui32
-rw-r--r--kommander/editor/mainwindow.cpp10
-rw-r--r--kommander/editor/mainwindowactions.cpp4
-rw-r--r--kommander/editor/pics/CMakeLists.txt4
-rw-r--r--kommander/editor/widgetfactory.cpp4
-rw-r--r--kommander/editor/widgetfactory.h2
-rw-r--r--kommander/examples/CMakeLists.txt3
-rw-r--r--kommander/examples/current/CMakeLists.txt7
-rw-r--r--kommander/examples/old/CMakeLists.txt10
-rw-r--r--kommander/examples/tutorial/CMakeLists.txt10
-rw-r--r--kommander/executor/CMakeLists.txt58
-rw-r--r--kommander/factory/CMakeLists.txt36
-rw-r--r--kommander/factory/kommanderfactory.cpp4
-rw-r--r--kommander/icons/CMakeLists.txt9
-rw-r--r--kommander/kmdrtools/CMakeLists.txt7
-rw-r--r--kommander/part/CMakeLists.txt43
-rw-r--r--kommander/plugin/CMakeLists.txt38
-rw-r--r--kommander/plugin/specialinformation.cpp34
-rw-r--r--kommander/pluginmanager/CMakeLists.txt30
-rw-r--r--kommander/widget/CMakeLists.txt46
-rw-r--r--kommander/widget/kmdrmainwindow.cpp5
-rw-r--r--kommander/widget/kmdrmainwindow.h2
-rw-r--r--kommander/widgets/CMakeLists.txt49
-rw-r--r--kommander/widgets/aboutdialog.cpp5
-rw-r--r--kommander/widgets/aboutdialog.h2
-rw-r--r--kommander/widgets/dialog.cpp11
-rw-r--r--kommander/widgets/fontdialog.cpp5
-rw-r--r--kommander/widgets/fontdialog.h2
-rw-r--r--kommander/widgets/popupmenu.cpp5
-rw-r--r--kommander/widgets/popupmenu.h2
-rw-r--r--kommander/widgets/toolbox.cpp5
-rw-r--r--kommander/widgets/toolbox.h3
-rw-r--r--kommander/working/CMakeLists.txt6
-rw-r--r--kommander/working/plugintemplate/CMakeLists.txt17
-rw-r--r--kxsldbg/CMakeLists.txt84
-rw-r--r--kxsldbg/kxsldbg.h2
-rw-r--r--kxsldbg/kxsldbgpart/CMakeLists.txt109
-rw-r--r--kxsldbg/kxsldbgpart/Makefile.am3
-rw-r--r--kxsldbg/kxsldbgpart/dummy.cpp0
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt34
-rw-r--r--kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt54
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/arraylist.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/callstack.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/cmds.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/debug.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/help.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp10
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/options.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.cpp7
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/search.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/utils.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h0
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h4
-rw-r--r--kxsldbg/xsldbgmain.cpp1
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--lib/compatibility/CMakeLists.txt2
-rw-r--r--lib/compatibility/tdemdi/CMakeLists.txt21
-rw-r--r--lib/compatibility/tdemdi/qextmdi/CMakeLists.txt27
-rw-r--r--lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp3
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp2
-rw-r--r--quanta/components/CMakeLists.txt9
-rw-r--r--quanta/components/csseditor/csseditors.ui6
-rw-r--r--quanta/components/csseditor/cssselectors.ui11
-rw-r--r--quanta/components/csseditor/fontfamilychoosers.ui11
-rw-r--r--quanta/components/cvsservice/CMakeLists.txt21
-rw-r--r--quanta/components/cvsservice/cvscommitdlgs.ui8
-rw-r--r--quanta/components/cvsservice/cvsupdatetodlgs.ui5
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialogs.ui10
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettingss.ui6
-rw-r--r--quanta/components/debugger/gubed/gubedsettingss.ui6
-rw-r--r--quanta/components/debugger/pathmapperdialogs.ui6
-rw-r--r--quanta/components/framewizard/fmfpeditors.ui3
-rw-r--r--quanta/components/tableeditor/tableeditors.ui3
-rw-r--r--quanta/dialogs/actionconfigdialogs.ui19
-rw-r--r--quanta/dialogs/donationdialog.ui9
-rw-r--r--quanta/dialogs/dtepeditdlgs.ui5
-rw-r--r--quanta/dialogs/dtepstructureeditdlgs.ui8
-rw-r--r--quanta/dialogs/fourbuttonmessagebox.ui1
-rw-r--r--quanta/dialogs/loadentitydlgs.ui4
-rw-r--r--quanta/dialogs/settings/abbreviations.ui10
-rw-r--r--quanta/dialogs/specialchardialogs.ui8
-rw-r--r--quanta/dialogs/tagdialogs/tagmail.ui3
-rw-r--r--quanta/parsers/dtd/CMakeLists.txt4
-rw-r--r--quanta/parsers/dtd/dtdparser.cpp4
-rw-r--r--quanta/parts/kafka/CMakeLists.txt2
-rw-r--r--quanta/parts/kafka/htmldocumentpropertiesui.ui5
-rw-r--r--quanta/project/eventconfigurationdlgs.ui7
-rw-r--r--quanta/project/eventeditordlgs.ui3
-rw-r--r--quanta/project/membereditdlgs.ui16
-rw-r--r--quanta/project/projectnewwebs.ui9
-rw-r--r--quanta/project/projectuploads.ui9
-rw-r--r--quanta/project/rescanprjdir.ui8
-rw-r--r--quanta/project/subprojecteditdlgs.ui3
-rw-r--r--quanta/project/teammembersdlgs.ui13
-rw-r--r--quanta/project/uploadprofiledlgs.ui5
-rw-r--r--quanta/project/uploadprofilespage.ui3
-rw-r--r--quanta/src/CMakeLists.txt27
-rw-r--r--quanta/src/quanta.cpp4
-rw-r--r--quanta/src/quanta_init.cpp5
-rw-r--r--quanta/src/viewmanager.cpp4
-rw-r--r--quanta/treeviews/CMakeLists.txt5
-rw-r--r--quanta/treeviews/filestreeview.cpp3
-rw-r--r--quanta/treeviews/projecttreeview.cpp4
-rw-r--r--quanta/treeviews/quantapropertiespage.ui3
-rw-r--r--quanta/treeviews/templatedirform.ui6
170 files changed, 2551 insertions, 285 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b93dcf0..7cb0498b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,17 +15,17 @@ cmake_minimum_required( VERSION 2.8.12 )
##### general package setup #####################
project( tdewebdev )
+set( VERSION R14.1.0 )
##### include essential cmake modules ###########
+include( FindPkgConfig )
+include( CheckFunctionExists )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
-include( CheckFunctionExists )
-include( CheckIncludeFileCXX )
-include( CheckStructHasMember )
-include( CheckSymbolExists )
-include( CheckTypeSize )
-include( FindPkgConfig )
##### include our cmake modules #################
@@ -40,18 +40,29 @@ include( TDESetupPaths )
tde_setup_paths( )
-##### optional stuff ############################
+##### optional stuff
-# option( WITH_LIBVISUAL "Enable libvisual support" OFF )
-# option( WITH_KONQSIDEBAR "Enable konqsidebar plugin" OFF )
-# option( WITH_XINE "Enable xine-engine support" OFF )
-# option( WITH_LIBGPOD "Enable iPod support from libgpod" OFF )
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+option( WITH_OTHER_EDITORS "Build with other editors than kate" ${WITH_ALL_OPTIONS} )
+option( WITH_QUANTA_CVSSERVICE "Build quanta with cvs service support" ${WITH_ALL_OPTIONS} )
-##### user requested modules ####################
+##### user requested modules
-option( BUILD_ALL "Build all" OFF )
-option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} )
+option( BUILD_ALL "Build all" ON )
+option( BUILD_QUANTA "Build quanta" ${BUILD_ALL} )
+option( BUILD_KXSLDBG "Build kxsldbg" ${BUILD_ALL} )
+option( BUILD_KOMMANDER "Build Kommander" ${BUILD_ALL} )
+option( BUILD_KLINKSTATUS "Build klinkstatus" ${BUILD_ALL} )
+option( BUILD_KIMAGEMAPEDITOR "Build kimagemapeditor" ${BUILD_ALL} )
+option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
+
+
+##### user defined options
+
+set( XSLDBG_BIN "xsldbg" CACHE STRING "Name of the xsldbg executable" )
+set( KMDR_EXECUTOR_PATH "${CMAKE_INSTALL_PREFIX}/bin/kmdr-executor" CACHE STRING "Path for the kmdr-executor executable" )
##### configure checks ##########################
@@ -61,23 +72,22 @@ include( ConfigureChecks.cmake )
###### global compiler settings #################
-add_definitions(
- -DHAVE_CONFIG_H
- ${TQT_CFLAGS_OTHER}
-)
+add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### source directories ########################
-if( BUILD_QUANTA )
- add_subdirectory( lib )
-endif( )
-
-tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_QUANTA lib )
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
##### write configure files #####################
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b7d6dc10..6b936f76 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -9,43 +9,210 @@
#
#################################################
-##### check for gcc visibility support #########
-# FIXME
-# This should check for [T]Qt3 visibility support
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+
+##### check for gcc visibility support
if( WITH_GCC_VISIBILITY )
- if( NOT UNIX )
- tde_message_fatal(FATAL_ERROR "\ngcc visibility support was requested, but your system is not *NIX" )
- endif( NOT UNIX )
- set( __KDE_HAVE_GCC_VISIBILITY 1 )
- set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
-endif( )
-
-
-# libxml-2.0
-if( BUILD_QUANTA )
- pkg_search_module( LIBXML libxml-2.0 )
- if( LIBXML_FOUND )
- if( ${LIBXML_VERSION} VERSION_LESS "2.6" )
- tde_message_fatal( "libxml-2.0 version must be at least 2.6" )
- endif( )
- else( )
- tde_message_fatal( "libxml-2.0 are required, but not found on your system" )
- endif( )
-endif( )
-
-
-# libxslt
-if( BUILD_QUANTA )
- pkg_search_module( LIBXSLT libxslt )
- if( NOT LIBXSLT_FOUND )
- tde_message_fatal( "libxslt are required, but not found on your system" )
- endif( )
-endif( )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )
-# required stuff
-find_package( Qt )
-find_package( TQt )
-find_package( TDE )
+##### find X11
+
+find_package( X11)
+
+
+##### check for headers
+
+check_include_file( unistd.h HAVE_UNISTD_H )
+check_include_file( string.h HAVE_STRING_H )
+check_include_file( sys/time.h HAVE_SYS_TIME_H )
+check_include_file( sys/stat.h HAVE_SYS_STAT_H )
+check_include_file( stdlib.h HAVE_STDLIB_H )
+check_include_file( stdarg.h HAVE_STDARG_H )
+check_include_file( time.h HAVE_TIME_H )
+check_include_file( locale.h LOCALE_PREFIX )
+check_include_file( pthread.h USE_XSLDBG_AS_THREAD )
+
+
+##### check for functions
+
+check_function_exists( gettimeofday HAVE_GETTIMEOFDAY )
+check_function_exists( usleep HAVE_USLEEP )
+check_function_exists( stat HAVE_STAT )
+
+
+if( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) )
+
+##### check for icu's c++ standard
+
+ pkg_search_module( ICU_UC icu-uc )
+ tde_execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=CXXFLAGS icu-uc
+ OUTPUT_VARIABLE ICU_CXXFLAGS
+ )
+
+
+##### check for libxml-2.0
+
+ pkg_search_module( LIBXML libxml-2.0 )
+
+ if( NOT LIBXML_FOUND )
+ tde_message_fatal( "libxml-2.0 is required but was not found on your system" )
+ elseif( ${LIBXML_VERSION} VERSION_LESS "2.6" )
+ tde_message_fatal( "libxml-2.0 version must be, at least, up to 2.6" )
+ else()
+ set( LIBXML_2_5 1 )
+ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ set( CMAKE_REQUIRED_INCLUDES ${LIBXML_INCLUDE_DIRS} )
+ set( CMAKE_REQUIRED_LIBRARIES ${LIBXML_LIBRARIES} )
+ check_function_exists( xmlSetEntityReferenceFunc HAVE_INCLUDE_FIX )
+ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ endif( NOT LIBXML_FOUND )
+
+
+##### check for libxslt
+
+ pkg_search_module( LIBXSLT libxslt )
+
+ if( NOT LIBXSLT_FOUND )
+ tde_message_fatal( "libxslt are required, but not found on your system" )
+ endif( NOT LIBXSLT_FOUND )
+
+
+ if( BUILD_QUANTA )
+ if( WITH_QUANTA_CVSSERVICE )
+ tde_import( cervisia )
+ find_file( CVSSERVICE_HEADERS NAMES repository_stub.h cvsservice_stub.h cvsjob_stub.h )
+ if( CVSSERVICE_HEADERS )
+ set( ENABLE_CVSSERVICE 1 )
+ set( CVSSERVICE_LIBRARIES "cvsservice-static;cvsservice-shared" CACHE INTERNAL "tdesdk and embedded cvssercice libs" FORCE )
+ else()
+ tde_message_fatal( "csv service (cervisia) is required for quanta but not found on your system." )
+ endif()
+ endif()
+
+ find_program( WGET_EXECUTABLE wget )
+ if( NOT WGET_EXECUTABLE )
+ message( STATUS "wget (download utility) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( TIDY_EXECUTABLE NAMES tidy tidy5 )
+ if( NOT TIDY_EXECUTABLE )
+ message( STATUS "tidy (HTML/XML syntax checker) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( TDEFILEREPLACE_EXECUTABLE tdefilereplace )
+ if( NOT TDEFILEREPLACE_EXECUTABLE )
+ message( STATUS "tdefilereplace (Batch search and replace tool - tdeutils) installation is advised since some quanta's features will make use of It." )
+ endif()
+
+ find_program( KOMPARE_EXECUTABLE kompare )
+ if( NOT KOMPARE_EXECUTABLE )
+ message( STATUS "kompare (diff utility - tdesdk) installation is advised since some quanta's features will make use of It." )
+ endif()
+ endif( BUILD_QUANTA )
+
+
+ if( BUILD_KXSLDBG )
+ find_package( Threads )
+
+ tde_save( CMAKE_REQUIRED_INCLUDES )
+ set( CMAKE_REQUIRED_INCLUDES ${LIBXML_INCLUDE_DIRS} )
+ check_include_file( "libxml/DOCBparser.h" LIBXML_DOCB_ENABLED )
+ check_include_file( "libxml/xinclude.h" LIBXML_XINCLUDE_ENABLED )
+ tde_restore( CMAKE_REQUIRED_INCLUDES )
+
+
+##### check for libexslt
+
+ pkg_search_module( LIBEXSLT libexslt )
+ if( NOT LIBEXSLT_FOUND )
+ tde_message_fatal( "libexlt is required but was not found on your system" )
+ endif()
+
+
+##### check for readline
+
+ find_path( READLINE_INCLUDE_DIR
+ NAMES "readline/readline.h" "readline/history.h"
+ HINTS "/usr/include" "/usr/local/include"
+ DOC "Looking for readline header's path"
+ )
+ find_library( READLINE_LIBRARY
+ NAMES readline history
+ DOC "Looking for readline libraries"
+ )
+
+ if( (READLINE_INCLUDE_DIR) AND ( READLINE_LIBRARY ) )
+ set( HAVE_READLINE 1 )
+ set( HAVE_HISTORY 1 )
+ set( READLINE_LIBRARIES ${READLINE_LIBRARY} )
+ set( READLINE_INCLUDE_DIRS ${READLINE_INCLUDE_DIR} )
+ else()
+ tde_message_fatal( "readline is required but was not found on your system" )
+ endif()
+
+##### look for Curses
+
+ tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${READLINE_INCLUDE_DIRS} )
+ tde_save_and_set( CMAKE_REQUIRED_LIBRARIES ${READLINE_LIBRARIES} )
+ check_c_source_compiles("
+ #include <readline/readline.h>
+ int main(void)
+ {
+ char *result = readline(\"prompt\");
+ return 0;
+ }"
+ BUILD_READLINE_STANDALONE
+ )
+ if( NOT BUILD_READLINE_STANDALONE )
+ find_package( Curses )
+ if( NOT CURSES_FOUND )
+ tde_message_fatal( "(n)curses is required but was not found on your system" )
+ endif()
+ list( APPEND READLINE_LIBRARIES ${CURSES_LIBRARIES} )
+ endif()
+ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ endif( BUILD_KXSLDBG )
+endif( (BUILD_QUANTA) OR (BUILD_KXSLDBG) OR (BUILD_KLINKSTATUS) )
+
+
+##### option other editors
+
+if( WITH_OTHER_EDITORS )
+ set( ENABLE_EDITORS 1 )
+endif( WITH_OTHER_EDITORS )
+
+
+##### define TQTDOCDIR
+
+if( BUILD_KOMMANDER )
+ if( NOT DEFINED TQTDOCDIR )
+ find_path( TQT_DOCDIR ntqsql.html
+ PATHS
+ ${TQTDIR}/doc/html $ENV{TQTDIR}/doc/html
+ /opt/trinity/share/tqt3/doc/html
+ /usr/share/doc/packages/tqt3/html
+ /usr/lib/tqt3/doc
+ /usr/lib/tqt3/doc/html
+ /usr/doc/tqt3/html
+ /usr/doc/tqt3
+ /usr/share/doc/tqt3-doc
+ /usr/share/tqt3/doc/html
+ /usr/X11R6/share/doc/tqt/html
+ )
+ if( TQT_DOCDIR )
+ set( TQTDOCDIR "${TQT_DOCDIR}" )
+ endif()
+ endif()
+endif( BUILD_KOMMANDER )
diff --git a/config.h.cmake b/config.h.cmake
index e69de29b..121c38d9 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -0,0 +1,77 @@
+#define VERSION "@VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#cmakedefine HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#cmakedefine HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#cmakedefine HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#cmakedefine HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <time.h> header file. */
+#cmakedefine HAVE_TIME_H 1
+
+/* Define to 1 if you have the <pthread.h> header file. */
+#cmakedefine USE_XSLDBG_AS_THREAD 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+//#cmakedefine LOCALE_PREFIX 1
+
+/* Define to 1 if you have the <readline/readline.h> header file. */
+#cmakedefine HAVE_READLINE @HAVE_READLINE@
+
+/* Define to 1 if you have the 'gettimeofday' function */
+#cmakedefine HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the 'usleep' function */
+#cmakedefine HAVE_USLEEP 1
+
+/* Define to 1 if you have the 'stat' function */
+#cmakedefine HAVE_STAT 1
+
+/* Define to 1 if you have the <readline/history.h> header file. */
+#cmakedefine HAVE_HISTORY @HAVE_HISTORY@
+
+/* Define the name of the xsldbg executable */
+#cmakedefine XSLDBG_BIN "@XSLDBG_BIN@"
+
+/* Defined if you build build for other editors than Kate */
+#cmakedefine ENABLE_EDITORS 1
+
+/* Defined if you build with cvsservice */
+#cmakedefine ENABLE_CVSSERVICE 1
+
+/* Defined if libxml-2.0 is up to 2.6 */
+#cmakedefine LIBXML_2_5 1
+
+/* Defined if you have <libxml/DOCBparser.h> header file */
+#cmakedefine LIBXML_DOCB_ENABLED
+
+/* Defined if you have <libxml/xinclude.h> header file */
+#cmakedefine LIBXML_XINCLUDE_ENABLED
+
+/* Defined if you have xmlSetEntityReferenceFunc within libxml2 */
+#cmakedefine HAVE_INCLUDE_FIX 1
+
+/* Define the kmdr-executor executable path */
+#cmakedefine KMDR_EXECUTOR_PATH "@KMDR_EXECUTOR_PATH@"
+
+/* Define TQTDOCDIR PATH */
+#cmakedefine TQTDOCDIR "@TQTDOCDIR@"
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index dc6bb770..27232392 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,12 +1,8 @@
-#################################################
-#
-# (C) 2012 Golubev Alexander
-# fatzer2 (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
+add_subdirectory( man )
-tde_auto_add_subdirectories( )
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG xsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
diff --git a/doc/kimagemapeditor/CMakeLists.txt b/doc/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..cd7e12b9
--- /dev/null
+++ b/doc/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kimagemapeditor )
diff --git a/doc/klinkstatus/CMakeLists.txt b/doc/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..39be9f18
--- /dev/null
+++ b/doc/klinkstatus/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION klinkstatus )
diff --git a/doc/kommander/CMakeLists.txt b/doc/kommander/CMakeLists.txt
new file mode 100644
index 00000000..fabb11a5
--- /dev/null
+++ b/doc/kommander/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kommander )
diff --git a/doc/kxsldbg/CMakeLists.txt b/doc/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..10326ba8
--- /dev/null
+++ b/doc/kxsldbg/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION kxsldbg )
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
new file mode 100644
index 00000000..13caef20
--- /dev/null
+++ b/doc/man/CMakeLists.txt
@@ -0,0 +1,5 @@
+tde_conditional_add_subdirectory( BUILD_QUANTA quanta )
+tde_conditional_add_subdirectory( BUILD_KXSLDBG kxsldbg )
+tde_conditional_add_subdirectory( BUILD_KOMMANDER kommander )
+tde_conditional_add_subdirectory( BUILD_KLINKSTATUS klinkstatus )
+tde_conditional_add_subdirectory( BUILD_KIMAGEMAPEDITOR kimagemapeditor )
diff --git a/doc/man/kimagemapeditor/CMakeLists.txt b/doc/man/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..bf2486b8
--- /dev/null
+++ b/doc/man/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES kimagemapeditor.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kimagemapeditor/kimagemapeditor.1 b/doc/man/kimagemapeditor/kimagemapeditor.1
new file mode 100644
index 00000000..681db952
--- /dev/null
+++ b/doc/man/kimagemapeditor/kimagemapeditor.1
@@ -0,0 +1,47 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KIMAGEMAPEDITOR 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kimagemapeditor \- an HTML image map editor for TDE
+.SH SYNOPSIS
+.B kimagemapeditor
+[ \fIgeneric-options\fP ]
+[ \fB\-c, \-\-stdout\fP ]
+[ \fIfile\fP ... ]
+.SH DESCRIPTION
+\fBKImageMapEditor\fP is a tool that allows you to edit image maps in
+HTML files. As well as providing a standalone application,
+KImageMapEditor makes itself available as a KPart for embedding into
+larger applications.
+.PP
+The files passed on the command line may be either HTML files or image
+files.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the kimagemapeditor-specific options.
+For a full summary of options, run \fIkimagemapeditor \-\-help\fP.
+.TP
+\fB\-c, \-\-stdout\fP
+Write the resulting HTML code to standard output when exiting.
+.SH SEE ALSO
+.BR quanta (1).
+.SH AUTHOR
+KImageMapEditor was written by Jan Schafer <janschaefer@users.sourceforge.net>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/klinkstatus/CMakeLists.txt b/doc/man/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..555edb4f
--- /dev/null
+++ b/doc/man/klinkstatus/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES klinkstatus.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/klinkstatus/klinkstatus.1 b/doc/man/klinkstatus/klinkstatus.1
new file mode 100644
index 00000000..c1b2b61b
--- /dev/null
+++ b/doc/man/klinkstatus/klinkstatus.1
@@ -0,0 +1,52 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KLINKSTATUS 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+klinkstatus \- a web link validity checker for TDE
+.SH SYNOPSIS
+.B klinkstatus
+[ \fIgeneric-options\fP ]
+[ \fIURL\fP ]
+.SH DESCRIPTION
+\fBKLinkStatus\fP is a web link validity checker for TDE. It allows you to
+search internal and external links throughout your web site. Simply
+point it to a single page and choose the depth to search.
+.PP
+You can also check local files, or files over ftp:, fish: or any other
+KIO protocols. For performance, links can be checked simultaneously.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIklinkstatus \-\-help\fP.
+.SH SEE ALSO
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/klinkstatus/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/klinkstatus/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/klinkstatus/\fP.
+.SH AUTHOR
+KLinkStatus was written by Paulo Moura Guedes <moura@tdewebdev.org>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/CMakeLists.txt b/doc/man/kommander/CMakeLists.txt
new file mode 100644
index 00000000..92110a2d
--- /dev/null
+++ b/doc/man/kommander/CMakeLists.txt
@@ -0,0 +1,11 @@
+INSTALL(
+ FILES
+ kmdr2po.1
+ kmdr-executor.1
+ extractkmdr.1
+ kmdr-editor.1
+ kmdr-plugins.1
+
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kommander/extractkmdr.1 b/doc/man/kommander/extractkmdr.1
new file mode 100644
index 00000000..5dfad28d
--- /dev/null
+++ b/doc/man/kommander/extractkmdr.1
@@ -0,0 +1,53 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH EXTRACTKMDR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+extractkmdr \- extract message strings from Kommander dialogs
+.SH SYNOPSIS
+.B extractkmdr
+[ \fB\-\-tag=\fP\fIname\fP ... ]
+[ \fB\-\-context=\fP\fIname\fP ]
+\fIfile\fP ...
+.SH DESCRIPTION
+\fBextractkmdr\fP finds all text tags and other message strings within the
+given Kommander dialog (.kmdr) files. It then writes the corresponding
+\fIi18n()\fP calls to standard output (usually redirected to rc.cpp)
+so that xgettext can parse them.
+.PP
+To create a complete gettext message file (PO-file) from a Kommander
+dialog, the
+.BR kmdr2po (1)
+utility is more convenient.
+.PP
+This utility is part of the TDE web development module.
+.SH OPTIONS
+.TP
+\fB\-\-tag=\fP\fIname\fP
+Extract also the contents of the tag \fIname\fP.
+This option may be used multiple times
+(e.g., \-\-tag=tag_one \-\-tag=tag_two).
+.TP
+\fB\-\-context=\fP\fIname\fP
+Give all i18n() calls the given context: i18n("\fIname\fP", ...).
+.SH SEE ALSO
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1).
+.SH AUTHOR
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-editor.1 b/doc/man/kommander/kmdr-editor.1
new file mode 100644
index 00000000..5ecb637c
--- /dev/null
+++ b/doc/man/kommander/kmdr-editor.1
@@ -0,0 +1,70 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-EDITOR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-editor \- editor for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-editor
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+More specifically, Kommander is a set of tools that allow you to create
+dynamic GUI dialogs that generate, based on their state, a piece of text.
+The piece of text can be a command line to a program, any piece of code,
+business documents that contain a lot of repititious or templated text and so
+on. The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. The best part of it all? You aren't required to write a single
+line of code!
+.PP
+This editor (\fBkmdr-editor\fP) allows you to lay out your entire dialog
+through a graphical
+user interface. Once a dialog has been created by the editor, it is
+saved as a file with extension \fI.kmdr\fP. The dialog that this XML file
+represents can then be run instantly with the executor (\fBkmdr-executor\fP).
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkmdr-editor \-\-help\fP.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-executor.1 b/doc/man/kommander/kmdr-executor.1
new file mode 100644
index 00000000..cc197d69
--- /dev/null
+++ b/doc/man/kommander/kmdr-executor.1
@@ -0,0 +1,87 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-EXECUTOR 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-executor \- executor for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-executor
+[ \fIgeneric-options\fP ]
+[ \fB\-c\fP \fIcatalog\fP ]
+{ \fB\-\-stdin\fP | \fIfile\fP }
+[ \fIarg\fP ... ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+More specifically, Kommander is a set of tools that allow you to
+create dynamic GUI dialogs
+that generate, based on their state, a piece of text. The piece of text
+can be a command line to a program, any piece of code, business
+documents that contain a lot of repititious or templated text and so on.
+The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. The best part of it all? You aren't required to write a single
+line of code!
+.PP
+This executor (\fBkmdr-executor\fP) is used to run a dialog that has
+been created by the
+dialog editor (\fBkmdr-editor\fP). Either the dialog file (generally
+a \fI.kmdr\fP file) should be passed on
+the command-line, or else the option \-\-stdin should be passed and the
+dialog description should be supplied as XML on standard input.
+Additional arguments for the dialog itself may also be supplied.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the kommander-specific options.
+For a full summary of options, run \fIkmdr-editor \-\-help\fP.
+.TP
+\fB\-c\fP \fIcatalog\fP
+Use the given catalog for translation.
+.TP
+\fB\-\-stdin\fP
+Read the XML dialog description from standard input instead of passing
+a \fI.kmdr\fP file on the command-line.
+.TP
+\fIarg\fP ...
+Additional arguments to be passed on to the dialog itself.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-plugins (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr-plugins.1 b/doc/man/kommander/kmdr-plugins.1
new file mode 100644
index 00000000..5a8d222b
--- /dev/null
+++ b/doc/man/kommander/kmdr-plugins.1
@@ -0,0 +1,71 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR-PLUGINS 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr-plugins \- plugin manager for the Kommander visual dialog building tool
+.SH SYNOPSIS
+.B kmdr-plugins
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKommander\fP is a visual dialog building tool whose
+primary objective is to create
+as much functionality as possible without using any scripting language.
+.PP
+It is possible to extend Kommander by writing your own plugins. The
+plugin manager
+.B kmdr-plugins
+is a simple user interface to Kommander's configuration file, and
+can be used to select which external plugins Kommander should load.
+Closing the plugin manager will automatically save any changes.
+.PP
+By loading a plugin, the custom widgets that it defines
+will become available in Kommander's menus and toolbars, and these
+custom widgets can be used in Kommander dialogs.
+.PP
+See
+.BR kmdr-editor (1)
+and
+.BR kmdr-executor (1)
+for a more detailed description of Kommander.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkmdr-plugins \-\-help\fP.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr2po (1),
+.BR quanta (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kommander/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kommander/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kommander/\fP.
+.SH AUTHOR
+Kommander was written by Marc Britton <consume@optusnet.com.au>,
+Eric Laffoon <sequitur@kde.org>, Michal Rudolf <mrudolf@tdewebdev.org>,
+Andras Mantia <amantia@kde.org> and Trolltech.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kommander/kmdr2po.1 b/doc/man/kommander/kmdr2po.1
new file mode 100644
index 00000000..4693644e
--- /dev/null
+++ b/doc/man/kommander/kmdr2po.1
@@ -0,0 +1,47 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KMDR2PO 1 "March 25, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kmdr2po \- create a PO-file from a Kommander dialog
+.SH SYNOPSIS
+.B kmdr2po
+.I dialog
+.SH DESCRIPTION
+\fBkmdr2po\fP creates a gettext message file (PO-file) from the given
+Kommander dialog (.kmdr) file. It does this by using
+.BR extractkmdr (1)
+to extract all text tags and other message strings, and then running
+.BR xgettext (1)
+to create the corresponding PO-file.
+.PP
+The final PO-file will be created in the current directory. Its name
+will be derived from the dialog filename by replacing the suffix
+\fI.kmdr\fP with \fI.po\fP.
+.PP
+This utility is part of the TDE web development module.
+.SH WARNING
+A temporary file named \fI_from_rc.cc\fP in the current directory
+will be created and subsequently removed.
+.SH SEE ALSO
+.BR extractkmdr (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kmdr-plugins (1),
+.BR xgettext (1).
+.SH AUTHOR
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/kxsldbg/CMakeLists.txt b/doc/man/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..bcba60ea
--- /dev/null
+++ b/doc/man/kxsldbg/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES kxsldbg.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kxsldbg/kxsldbg.1 b/doc/man/kxsldbg/kxsldbg.1
new file mode 100644
index 00000000..11b551f6
--- /dev/null
+++ b/doc/man/kxsldbg/kxsldbg.1
@@ -0,0 +1,54 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH KXSLDBG 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+kxsldbg \- a graphical XSLT debugger for TDE
+.SH SYNOPSIS
+.B kxsldbg
+[ \fIgeneric-options\fP ]
+.SH DESCRIPTION
+\fBKXSLDbg\fP is a graphical debugger for XSLT scripts. It provides
+a graphical front-end to the text-based debugger
+.BR xsldbg (1).
+KXSLDbg can be run as a standalone application or as an embedded TDE part.
+.PP
+XSLT is an XML language for defining transformations of XML files from
+XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
+using standard XSLT stylesheets.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+For a full summary of options, run \fIkxsldbg \-\-help\fP.
+.SH SEE ALSO
+.BR quanta (1),
+.BR xsldbg (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/kxsldbg/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/kxsldbg/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/kxsldbg/\fP.
+.SH AUTHOR
+KXSLDbg was written by Keith Isdale <k_isdale@tpg.com.au>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/man/quanta/CMakeLists.txt b/doc/man/quanta/CMakeLists.txt
new file mode 100644
index 00000000..de356ee8
--- /dev/null
+++ b/doc/man/quanta/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES quanta.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/quanta/quanta.1 b/doc/man/quanta/quanta.1
new file mode 100644
index 00000000..5640297b
--- /dev/null
+++ b/doc/man/quanta/quanta.1
@@ -0,0 +1,71 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH QUANTA 1 "October 19, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+quanta \- a web development environment for TDE
+.SH SYNOPSIS
+.B quanta
+[ \fIgeneric-options\fP ] [ \fB\-\-unique\fP ]
+[ \fB\-\-nologo\fP ] [ \fIfile\fP ]
+.SH DESCRIPTION
+\fBQuanta Plus\fP is a web development environment for working with HTML
+and associated languages. It strives to be neutral and transparent
+to all markup languages, while supporting popular web-based scripting
+languages, CSS and other emerging W3C recommendations.
+.PP
+Quanta Plus supports many external components, debuggers and other tools
+for web development, several of which are shipped with the TDE web development
+module.
+.PP
+Quanta Plus is not in any way affiliated with any commercial versions
+of Quanta. The primary coders from the original team left the GPLed
+version to produce a commercial product.
+.PP
+This application is part of the official TDE web development module.
+.SH OPTIONS
+Below are the quanta-specific options. For a full summary of options,
+run \fIquanta \-\-help\fP.
+.TP
+\fB\-\-unique\fP
+Run as a one-instance application.
+.TP
+\fB\-\-nologo\fP
+Do not show the logo during startup.
+.SH SEE ALSO
+.BR kimagemapeditor (1),
+.BR klinkstatus (1),
+.BR kmdr-editor (1),
+.BR kmdr-executor (1),
+.BR kxsldbg (1).
+.PP
+Full user documentation is available through the TDE Help Centre.
+You can also enter the URL
+\fIhelp:/quanta/\fP
+directly into konqueror or you can run
+`\fIkhelpcenter help:/quanta/\fP'
+from the command-line.
+.PP
+If the TDE Help Centre is not installed then you can install the package
+\fItdewebdev-doc-html\fP and read this documentation in HTML format from
+\fI/opt/trinity/share/doc/tde/HTML/en/quanta/\fP.
+.SH AUTHOR
+Quanta was written by Eric Laffoon <sequitur@kde.org>, Andras Mantia
+<amantia@kde.org> and others including inactive authors
+Dmitry Poplavsky <dima@kde.org> and Alexander Yakovlev <yshurik@kde.org>.
+.br
+This manual page was prepared by Ben Burton <bab@debian.org>
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/doc/quanta/CMakeLists.txt b/doc/quanta/CMakeLists.txt
new file mode 100644
index 00000000..d6073c36
--- /dev/null
+++ b/doc/quanta/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION quanta )
diff --git a/doc/xsldbg/CMakeLists.txt b/doc/xsldbg/CMakeLists.txt
new file mode 100644
index 00000000..812e1a36
--- /dev/null
+++ b/doc/xsldbg/CMakeLists.txt
@@ -0,0 +1,6 @@
+tde_create_handbook( DESTINATION xsldbg )
+
+install(
+ FILES xsldbghelp.xml xsldbghelp.xsl
+ DESTINATION ${HTML_INSTALL_DIR}/en/xsldbg
+)
diff --git a/kimagemapeditor/CMakeLists.txt b/kimagemapeditor/CMakeLists.txt
new file mode 100644
index 00000000..78bfb22f
--- /dev/null
+++ b/kimagemapeditor/CMakeLists.txt
@@ -0,0 +1,83 @@
+add_subdirectory( pics )
+
+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}
+)
+
+
+##### kimagemapeditorcommon (static)
+
+tde_add_library( kimagemapeditorcommon STATIC_PIC AUTOMOC
+
+ SOURCES
+ qextfileinfo.cpp
+ areacreator.cpp
+ kimearea.cpp
+ kimecommands.cpp
+ kimedialogs.cpp
+ kimagemapeditor.cpp
+ drawzone.cpp
+ arealistview.cpp
+ imageslistview.cpp
+ mapslistview.cpp
+)
+
+
+##### libkimagemapeditor (kpart)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kpart( libkimagemapeditor AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ EMBED
+ kimagemapeditorcommon-static
+ LINK
+ tdeparts-shared
+ tdehtml-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kimagemapeditor (executable)
+
+tde_add_executable( kimagemapeditor AUTOMOC
+
+ SOURCES
+ main.cpp
+ kimeshell.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdehtml-shared
+ kimagemapeditorcommon-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kimagemapeditorui.rc kimagemapeditorpartui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor
+)
+
+tde_create_translated_desktop( kimagemapeditor.desktop )
+
+tde_create_translated_desktop(
+ SOURCE kimagemapeditorpart.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kimagemapeditor/Makefile.am b/kimagemapeditor/Makefile.am
index bde46f0d..da42d8d0 100644
--- a/kimagemapeditor/Makefile.am
+++ b/kimagemapeditor/Makefile.am
@@ -19,6 +19,7 @@ libkimagemapeditorcommon_la_SOURCES = \
imageslistview.cpp \
mapslistview.cpp
+CLEANFILES = dummy.cpp
libkimagemapeditor_la_SOURCES = \
dummy.cpp
@@ -61,3 +62,5 @@ messages: rc.cpp
$(XGETTEXT) $$LIST -o $(podir)/kimagemapeditor.pot; \
fi
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/kimagemapeditor/dummy.cpp b/kimagemapeditor/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/kimagemapeditor/dummy.cpp
+++ /dev/null
diff --git a/kimagemapeditor/kimeshell.cpp b/kimagemapeditor/kimeshell.cpp
index 0cbcd542..942320ef 100644
--- a/kimagemapeditor/kimeshell.cpp
+++ b/kimagemapeditor/kimeshell.cpp
@@ -245,14 +245,14 @@ void KimeShell::optionsConfigureKeys() {
}
void KimeShell::optionsConfigureToolbars()
-{
+{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else
saveMainWindowSettings(TDEGlobal::config() );
# endif
-#else
+#else
saveMainWindowSettings(TDEGlobal::config() );
#endif
@@ -264,14 +264,14 @@ void KimeShell::optionsConfigureToolbars()
}
void KimeShell::applyNewToolbarConfig()
-{
+{
#if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else
applyMainWindowSettings(TDEGlobal::config());
# endif
-#else
+#else
applyMainWindowSettings(TDEGlobal::config());
#endif
}
diff --git a/kimagemapeditor/pics/CMakeLists.txt b/kimagemapeditor/pics/CMakeLists.txt
new file mode 100644
index 00000000..ab7482a7
--- /dev/null
+++ b/kimagemapeditor/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+##### icons
+
+
+tde_install_icons(
+ addpoint arrow circle circle2 freehand lower
+ polygon raise rectangle removepoint
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor/icons
+)
+
+tde_install_icons( kimagemapeditor )
+
+install(
+ FILES addpointcursor.png freehandcursor.png
+ polygoncursor.png removepointcursor.png
+ DESTINATION ${DATA_INSTALL_DIR}/kimagemapeditor
+)
diff --git a/klinkstatus/CMakeLists.txt b/klinkstatus/CMakeLists.txt
new file mode 100644
index 00000000..08aee1f1
--- /dev/null
+++ b/klinkstatus/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory( data )
+add_subdirectory( src )
diff --git a/klinkstatus/data/CMakeLists.txt b/klinkstatus/data/CMakeLists.txt
new file mode 100644
index 00000000..4a0967ef
--- /dev/null
+++ b/klinkstatus/data/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory( icons )
+add_subdirectory( styles )
diff --git a/klinkstatus/data/icons/16x16/CMakeLists.txt b/klinkstatus/data/icons/16x16/CMakeLists.txt
new file mode 100644
index 00000000..f83c3ba4
--- /dev/null
+++ b/klinkstatus/data/icons/16x16/CMakeLists.txt
@@ -0,0 +1,8 @@
+##### icons
+
+install(
+ FILES 304.png
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart/pics
+)
+
+tde_install_icons()
diff --git a/klinkstatus/data/icons/CMakeLists.txt b/klinkstatus/data/icons/CMakeLists.txt
new file mode 100644
index 00000000..33315642
--- /dev/null
+++ b/klinkstatus/data/icons/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory( 16x16 )
+
+
+##### icons
+
+tde_install_icons( klinkstatus )
diff --git a/klinkstatus/data/styles/CMakeLists.txt b/klinkstatus/data/styles/CMakeLists.txt
new file mode 100644
index 00000000..7370d82e
--- /dev/null
+++ b/klinkstatus/data/styles/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES results_stylesheet.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/styles
+)
diff --git a/klinkstatus/src/CMakeLists.txt b/klinkstatus/src/CMakeLists.txt
new file mode 100644
index 00000000..eb3e7bdb
--- /dev/null
+++ b/klinkstatus/src/CMakeLists.txt
@@ -0,0 +1,87 @@
+add_subdirectory( cfg )
+add_subdirectory( engine )
+add_subdirectory( parser )
+add_subdirectory( utils )
+add_subdirectory( ui )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/ui
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/ui/settings
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libklinkstatuspart (kpart)
+
+tde_add_kpart( libklinkstatuspart AUTOMOC
+
+ SOURCES
+ klinkstatus_part.cpp
+ global.cpp
+ actionmanager.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ settings-static
+ ui-static
+ engine-static
+ klinkstatus-parser-static
+ utils-static
+
+ DEPENDENCIES
+ ui-static
+ settings-static
+ engine-static
+ klinkstatus-parser-static
+ utils-static
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### klinkstatus (executable)
+
+tde_add_executable( klinkstatus AUTOMOC
+
+ SOURCES
+ klinkstatus.cpp
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeparts-shared
+ klinkstatus-parser-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES klinkstatus_shell.rc
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatus
+)
+
+tde_create_translated_desktop( klinkstatus.desktop )
+
+tde_create_translated_desktop(
+ SOURCE klinkstatus_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES klinkstatus_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart
+)
diff --git a/klinkstatus/src/cfg/CMakeLists.txt b/klinkstatus/src/cfg/CMakeLists.txt
new file mode 100644
index 00000000..41601328
--- /dev/null
+++ b/klinkstatus/src/cfg/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}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### cfg (static)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_library( cfg STATIC_PIC AUTOMOC
+
+ SOURCES
+ klsconfig.kcfgc
+ dummy.cpp
+)
+
+
+##### other data
+
+install(
+ FILES klinkstatus.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
diff --git a/klinkstatus/src/cfg/Makefile.am b/klinkstatus/src/cfg/Makefile.am
index 2e74b2ad..02107718 100644
--- a/klinkstatus/src/cfg/Makefile.am
+++ b/klinkstatus/src/cfg/Makefile.am
@@ -2,5 +2,9 @@ kde_kcfg_DATA = klinkstatus.kcfg
METASOURCES = AUTO
libcfg_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libcfg.la
+CLEANFILES = dummy.cpp
libcfg_la_SOURCES = dummy.cpp klsconfig.kcfgc
-AM_CPPFLAGS=$(all_includes) \ No newline at end of file
+AM_CPPFLAGS=$(all_includes)
+
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/klinkstatus/src/cfg/dummy.cpp b/klinkstatus/src/cfg/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/klinkstatus/src/cfg/dummy.cpp
+++ /dev/null
diff --git a/klinkstatus/src/engine/CMakeLists.txt b/klinkstatus/src/engine/CMakeLists.txt
new file mode 100644
index 00000000..875c60db
--- /dev/null
+++ b/klinkstatus/src/engine/CMakeLists.txt
@@ -0,0 +1,27 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/src/ui
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### engine (static)
+
+tde_add_library( engine STATIC_PIC AUTOMOC
+
+ SOURCES
+ linkchecker.cpp
+ linkstatus.cpp
+ searchmanager.cpp
+ linkfilter.cpp
+ LINK
+ tdehtml-shared
+)
diff --git a/klinkstatus/src/klinkstatus.h b/klinkstatus/src/klinkstatus.h
index 1d2e3bdf..8d4e82ab 100644
--- a/klinkstatus/src/klinkstatus.h
+++ b/klinkstatus/src/klinkstatus.h
@@ -22,7 +22,7 @@
#define _KLINKSTATUS_H_
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#include <tdeapplication.h>
diff --git a/klinkstatus/src/parser/CMakeLists.txt b/klinkstatus/src/parser/CMakeLists.txt
new file mode 100644
index 00000000..f86149f7
--- /dev/null
+++ b/klinkstatus/src/parser/CMakeLists.txt
@@ -0,0 +1,25 @@
+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}
+)
+
+
+##### parser (static)
+
+tde_add_library( klinkstatus-parser STATIC_PIC AUTOMOC
+
+ SOURCES
+ htmlparser.cpp
+ http.cpp
+ mstring.cpp
+ node.cpp
+ url.cpp
+)
diff --git a/klinkstatus/src/ui/CMakeLists.txt b/klinkstatus/src/ui/CMakeLists.txt
new file mode 100644
index 00000000..a2d49e43
--- /dev/null
+++ b/klinkstatus/src/ui/CMakeLists.txt
@@ -0,0 +1,32 @@
+add_subdirectory( settings )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/src
+ ${CMAKE_BINARY_DIR}/klinkstatus/src/cfg
+ ${CMAKE_BINARY_DIR}/klinkstatus/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### ui (static)
+
+tde_add_library( ui STATIC_PIC AUTOMOC
+
+ SOURCES
+ sessionwidgetbase.ui
+ sessionwidget.cpp tabwidgetsession.cpp
+ klshistorycombo.cpp resultview.cpp
+ treeview.cpp resultssearchbar.cpp
+ documentrootdialog.cpp
+ LINK
+ cfg-static
+)
diff --git a/klinkstatus/src/ui/sessionwidgetbase.ui b/klinkstatus/src/ui/sessionwidgetbase.ui
index 53cdd510..19f3679c 100644
--- a/klinkstatus/src/ui/sessionwidgetbase.ui
+++ b/klinkstatus/src/ui/sessionwidgetbase.ui
@@ -591,12 +591,12 @@
<slot specifier="pure virtual">slotClearComboUrl()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klshistorycombo.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>resultssearchbar.h</includehint>
- <includehint>treeview.h</includehint>
- <includehint>kprogress.h</includehint>
- <includehint>ksqueezedtextlabel.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klshistorycombo.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">resultssearchbar.h</include>
+ <include location="global" impldecl="in implementation">treeview.h</include>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+ <include location="global" impldecl="in implementation">ksqueezedtextlabel.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/CMakeLists.txt b/klinkstatus/src/ui/settings/CMakeLists.txt
new file mode 100644
index 00000000..d1fb1f3d
--- /dev/null
+++ b/klinkstatus/src/ui/settings/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}/klinkstatus/src/cfg
+ ${CMAKE_BINARY_DIR}/klinkstatus/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### settings (static)
+
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )
+
+tde_add_library( settings STATIC_PIC AUTOMOC
+
+ SOURCES
+ configsearchdialog.ui
+ configresultsdialog.ui
+ configidentificationdialogui.ui
+ ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
+ configidentificationdialog.cpp
+
+ DEPENDENCIES
+ cfg-static
+)
diff --git a/klinkstatus/src/ui/settings/Makefile.am b/klinkstatus/src/ui/settings/Makefile.am
index 777e9e5c..07fcba6c 100644
--- a/klinkstatus/src/ui/settings/Makefile.am
+++ b/klinkstatus/src/ui/settings/Makefile.am
@@ -2,6 +2,10 @@ INCLUDES = -I$(top_builddir)/klinkstatus/src/cfg -I$(top_builddir)/klinkstatus/s
METASOURCES = AUTO
libsettings_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libsettings.la
+CLEANFILES = dummy.cpp
libsettings_la_SOURCES = configsearchdialog.ui dummy.cpp configresultsdialog.ui \
configidentificationdialog.cpp configidentificationdialogui.ui
noinst_HEADERS = configidentificationdialog.h
+
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/klinkstatus/src/ui/settings/configidentificationdialogui.ui b/klinkstatus/src/ui/settings/configidentificationdialogui.ui
index 87b73fbf..8b30ed58 100644
--- a/klinkstatus/src/ui/settings/configidentificationdialogui.ui
+++ b/klinkstatus/src/ui/settings/configidentificationdialogui.ui
@@ -127,8 +127,8 @@
<tabstop>buttonDefault</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/configsearchdialog.ui b/klinkstatus/src/ui/settings/configsearchdialog.ui
index 72c420ca..097c08fc 100644
--- a/klinkstatus/src/ui/settings/configsearchdialog.ui
+++ b/klinkstatus/src/ui/settings/configsearchdialog.ui
@@ -344,10 +344,7 @@
<tabstop>kcfg_RememberCheckSettings</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+</includes>
</UI>
diff --git a/klinkstatus/src/ui/settings/dummy.cpp b/klinkstatus/src/ui/settings/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/klinkstatus/src/ui/settings/dummy.cpp
+++ /dev/null
diff --git a/klinkstatus/src/utils/CMakeLists.txt b/klinkstatus/src/utils/CMakeLists.txt
new file mode 100644
index 00000000..d52bd7b5
--- /dev/null
+++ b/klinkstatus/src/utils/CMakeLists.txt
@@ -0,0 +1,29 @@
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### utils (static)
+
+tde_add_library( utils STATIC_PIC AUTOMOC
+
+ SOURCES
+ utils.cpp
+ xsl.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+)
diff --git a/kommander/CMakeLists.txt b/kommander/CMakeLists.txt
new file mode 100644
index 00000000..875d4689
--- /dev/null
+++ b/kommander/CMakeLists.txt
@@ -0,0 +1,20 @@
+add_subdirectory( icons )
+add_subdirectory( pluginmanager )
+add_subdirectory( plugin )
+add_subdirectory( factory )
+add_subdirectory( widget )
+add_subdirectory( widgets )
+add_subdirectory( editor )
+add_subdirectory( executor )
+add_subdirectory( part )
+add_subdirectory( working )
+add_subdirectory( examples )
+add_subdirectory( kmdrtools )
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE x-kommander.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
diff --git a/kommander/editor/CMakeLists.txt b/kommander/editor/CMakeLists.txt
new file mode 100644
index 00000000..0fa2d46b
--- /dev/null
+++ b/kommander/editor/CMakeLists.txt
@@ -0,0 +1,83 @@
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/widgets
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_definitions( -DKOMMANDER -DTQT_NO_SQL -DDESIGNER )
+
+
+##### kmdr-editor (executable)
+
+tde_add_executable( kmdr-editor AUTOMOC
+
+ SOURCES
+ actioneditor.ui assoctexteditor.ui
+ connectioneditor.ui createtemplate.ui
+ formsettings.ui iconvieweditor.ui
+ listboxeditor.ui listeditor.ui
+ listvieweditor.ui multilineeditor.ui
+ newform.ui paletteeditor.ui
+ paletteeditoradvanced.ui pixmapfunction.ui
+ preferences.ui previewwidget.ui
+ tableeditor.ui wizardeditor.ui
+ choosewidget.ui functions.ui
+ actiondnd.cpp actioneditorimpl.cpp
+ assoctexteditorimpl.cpp actionlistview.cpp
+ asciivalidator.cpp assistproc.cpp
+ command.cpp connectioneditorimpl.cpp
+ defs.cpp filechooser.cpp
+ formfile.cpp formsettingsimpl.cpp
+ formwindow.cpp hierarchyview.cpp
+ iconvieweditorimpl.cpp layout.cpp
+ listboxeditorimpl.cpp listvieweditorimpl.cpp
+ main.cpp mainwindow.cpp
+ mainwindowactions.cpp metadatabase.cpp
+ multilineeditorimpl.cpp newformimpl.cpp
+ orderindicator.cpp paletteeditoradvancedimpl.cpp
+ paletteeditorimpl.cpp parser.cpp
+ pixmapchooser.cpp previewframe.cpp
+ previewwidgetimpl.cpp propertyeditor.cpp
+ qcompletionedit.cpp resource.cpp
+ sizehandle.cpp styledbutton.cpp
+ tableeditorimpl.cpp widgetdatabase.cpp
+ widgetfactory.cpp wizardeditorimpl.cpp
+ workspace.cpp choosewidgetimpl.cpp
+ functionsimpl.cpp messagelog.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ tdetexteditor-shared
+ kommanderwidget-shared
+ kommanderwidgets-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kommander.xml kommander-new.xml
+ DESTINATION ${DATA_INSTALL_DIR}/katepart/syntax
+)
+
+tde_create_translated_desktop( kmdr-editor.desktop )
diff --git a/kommander/editor/assoctexteditor.ui b/kommander/editor/assoctexteditor.ui
index 558964c1..b5f74086 100644
--- a/kommander/editor/assoctexteditor.ui
+++ b/kommander/editor/assoctexteditor.ui
@@ -219,4 +219,7 @@
<slot>AssocTextEditorBase_destroyed(TQObject*)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/choosewidget.ui b/kommander/editor/choosewidget.ui
index 60b4ff69..b39a7e7b 100644
--- a/kommander/editor/choosewidget.ui
+++ b/kommander/editor/choosewidget.ui
@@ -144,7 +144,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/connectioneditor.ui b/kommander/editor/connectioneditor.ui
index 2f1683aa..0a20e4e6 100644
--- a/kommander/editor/connectioneditor.ui
+++ b/kommander/editor/connectioneditor.ui
@@ -404,15 +404,9 @@
<slot access="protected">cancelClicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/formsettings.ui b/kommander/editor/formsettings.ui
index e6f7fc15..f0bad338 100644
--- a/kommander/editor/formsettings.ui
+++ b/kommander/editor/formsettings.ui
@@ -330,9 +330,8 @@
<slot>okClicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/functions.ui b/kommander/editor/functions.ui
index 005d2261..86d1b74a 100644
--- a/kommander/editor/functions.ui
+++ b/kommander/editor/functions.ui
@@ -696,27 +696,13 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>ktextedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">ktextedit.h</include>
+</includes>
</UI>
diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp
index 497be25b..3fde775c 100644
--- a/kommander/editor/mainwindow.cpp
+++ b/kommander/editor/mainwindow.cpp
@@ -18,6 +18,14 @@
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef TQTDOCDIR
+#define TQTDOCDIR "/usr/share/tqt3/doc/html"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
@@ -118,7 +126,7 @@ static TQString textNoAccel(const TQString& text)
MainWindow::MainWindow(bool asClient)
: KParts::DockMainWindow(0, "mainwindow", WType_TopLevel | WDestructiveClose | WGroupLeader),
grd(10, 10), sGrid(true), snGrid(true), restoreConfig(true), splashScreen(true),
- docPath("$TQTDIR/doc/html"), client(asClient), databaseAutoEdit(false), previewing(false)
+ docPath(TQTDOCDIR), client(asClient), databaseAutoEdit(false), previewing(false)
{
m_partManager = new KParts::PartManager(this);
//connect(m_partManager, TQT_SIGNAL(activePartChanged(KParts::Part * )), this, TQT_SLOT(slotActivePartChanged(KParts::Part * )));
diff --git a/kommander/editor/mainwindowactions.cpp b/kommander/editor/mainwindowactions.cpp
index e8c7edf3..dd760f81 100644
--- a/kommander/editor/mainwindowactions.cpp
+++ b/kommander/editor/mainwindowactions.cpp
@@ -19,10 +19,6 @@
#include "mainwindow.h"
-#ifdef TQT_NO_SQL
-#define TQT_NO_SQL
-#endif // TQT_NO_SQL
-
#include <tqapplication.h>
#include <tqclipboard.h>
#include <tqfileinfo.h>
diff --git a/kommander/editor/pics/CMakeLists.txt b/kommander/editor/pics/CMakeLists.txt
new file mode 100644
index 00000000..04f2e9ba
--- /dev/null
+++ b/kommander/editor/pics/CMakeLists.txt
@@ -0,0 +1,4 @@
+install(
+ FILES kommandersplash.png toolbox.png tdefontcombo.png
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/pics
+)
diff --git a/kommander/editor/widgetfactory.cpp b/kommander/editor/widgetfactory.cpp
index a59eb191..8c04e51d 100644
--- a/kommander/editor/widgetfactory.cpp
+++ b/kommander/editor/widgetfactory.cpp
@@ -18,6 +18,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tdelocale.h>
#include <kommanderfactory.h>
diff --git a/kommander/editor/widgetfactory.h b/kommander/editor/widgetfactory.h
index c844cfc4..ff0d9c60 100644
--- a/kommander/editor/widgetfactory.h
+++ b/kommander/editor/widgetfactory.h
@@ -168,7 +168,7 @@ private:
bool mousePressed;
};
-class EditorToolBox : public ToolBox
+class KDE_EXPORT EditorToolBox : public ToolBox
{
Q_OBJECT
diff --git a/kommander/examples/CMakeLists.txt b/kommander/examples/CMakeLists.txt
new file mode 100644
index 00000000..9af8ae8b
--- /dev/null
+++ b/kommander/examples/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_subdirectory( current )
+add_subdirectory( old )
+add_subdirectory( tutorial )
diff --git a/kommander/examples/current/CMakeLists.txt b/kommander/examples/current/CMakeLists.txt
new file mode 100644
index 00000000..cb28f2a2
--- /dev/null
+++ b/kommander/examples/current/CMakeLists.txt
@@ -0,0 +1,7 @@
+##### other data
+
+install(
+ FILES a1.kmdr b1.kmdr editor-poc.kmdr keyvaluecombo.kmdr
+ kpartmwframe.kmdr kpartpart.kmdr passvariables.kmdr tableselect.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/current
+)
diff --git a/kommander/examples/old/CMakeLists.txt b/kommander/examples/old/CMakeLists.txt
new file mode 100644
index 00000000..8b860d42
--- /dev/null
+++ b/kommander/examples/old/CMakeLists.txt
@@ -0,0 +1,10 @@
+##### other data
+
+install(
+ FILES checkmail.kmdr execprogram.kmdr form1.kmdr form3.kmdr
+ form5.kmdr populate.kmdr selectedwidgettext.kmdr simplelist.kmdr
+ tidy.kmdr wizard.kmdr ex1.kmdr firstform.kmdr.kmdr form2.kmdr
+ form4.kmdr newfile.kmdr resize.kmdr settings.kmdr tar.kmdr
+ widgetgenerator.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/old
+)
diff --git a/kommander/examples/tutorial/CMakeLists.txt b/kommander/examples/tutorial/CMakeLists.txt
new file mode 100644
index 00000000..0d344518
--- /dev/null
+++ b/kommander/examples/tutorial/CMakeLists.txt
@@ -0,0 +1,10 @@
+##### other data
+
+install(
+ FILES append.kmdr calc.kmdr dcop.kmdr globals.kmdr loop.kmdr
+ progressbar.kmdr slots.kmdr strings.kmdr tree.kmdr arrays.kmdr
+ cmdline.kmdr dialogs.kmdr initialize.kmdr picview.kmdr
+ settings.kmdr statusbar.kmdr table.kmdr widgets.kmdr
+ README
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor/tutorial
+)
diff --git a/kommander/executor/CMakeLists.txt b/kommander/executor/CMakeLists.txt
new file mode 100644
index 00000000..806b0911
--- /dev/null
+++ b/kommander/executor/CMakeLists.txt
@@ -0,0 +1,58 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/widgets
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### instance (static)
+
+tde_add_library( instance STATIC_PIC AUTOMOC
+
+ SOURCES
+ instance.cpp
+ dcopkommanderif.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kommanderplugin-shared
+)
+
+
+##### kmdr-executor (executable)
+
+tde_add_executable( kmdr-executor AUTOMOC
+
+ SOURCES
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ instance-static
+ kommanderwidget-shared
+ kommanderwidgets-shared
+ kommanderfactory-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kmdr-executor.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+)
diff --git a/kommander/factory/CMakeLists.txt b/kommander/factory/CMakeLists.txt
new file mode 100644
index 00000000..ec540c7c
--- /dev/null
+++ b/kommander/factory/CMakeLists.txt
@@ -0,0 +1,36 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_definitions( -DTQT_NO_SQL )
+
+
+##### kommanderfactory (static)
+
+tde_add_library( kommanderfactory STATIC_PIC AUTOMOC
+
+ SOURCES
+ kommanderfactory.cpp
+ domtool.cpp
+ LINK
+ kommanderplugin-shared
+)
+
+
+###### headers
+
+install(
+ FILES kommanderfactory.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/factory/kommanderfactory.cpp b/kommander/factory/kommanderfactory.cpp
index 6fa28221..cf624a6b 100644
--- a/kommander/factory/kommanderfactory.cpp
+++ b/kommander/factory/kommanderfactory.cpp
@@ -25,10 +25,6 @@
#include "kommanderfactory.h"
#include <kommanderplugin.h>
-#ifdef TQT_NO_SQL
-#define TQT_NO_SQL
-#endif // TQT_NO_SQL
-
#include <tqfeatures.h>
#include "config.h"
#ifndef TQT_NO_SQL
diff --git a/kommander/icons/CMakeLists.txt b/kommander/icons/CMakeLists.txt
new file mode 100644
index 00000000..a0a4d713
--- /dev/null
+++ b/kommander/icons/CMakeLists.txt
@@ -0,0 +1,9 @@
+##### icons
+
+tde_install_icons( kommander )
+
+install(
+ FILES hi22-action-arrow.png
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/icons/hicolor/22x22/actions
+ RENAME arrow.png
+)
diff --git a/kommander/kmdrtools/CMakeLists.txt b/kommander/kmdrtools/CMakeLists.txt
new file mode 100644
index 00000000..12f913d5
--- /dev/null
+++ b/kommander/kmdrtools/CMakeLists.txt
@@ -0,0 +1,7 @@
+##### other data
+
+install(
+ FILES dcoptool-oldparser.kmdr examples.kmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor
+)
+
diff --git a/kommander/part/CMakeLists.txt b/kommander/part/CMakeLists.txt
new file mode 100644
index 00000000..a576ef73
--- /dev/null
+++ b/kommander/part/CMakeLists.txt
@@ -0,0 +1,43 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/executor
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### libkommander_part (kpart)
+
+tde_add_kpart( libkommander_part AUTOMOC
+
+ SOURCES
+ kommander_part.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kjs-shared
+ tdeparts-shared
+ tdehtml-shared
+ kommanderwidget-shared
+ kommanderplugin-shared
+ instance-static
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kommander_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kommander/plugin/CMakeLists.txt b/kommander/plugin/CMakeLists.txt
new file mode 100644
index 00000000..0daa3736
--- /dev/null
+++ b/kommander/plugin/CMakeLists.txt
@@ -0,0 +1,38 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderplugin (shared)
+
+tde_add_library( kommanderplugin SHARED AUTOMOC
+
+ SOURCES
+ kommanderplugin.cpp
+ specialinformation.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
+
+
+##### headers
+
+install(
+ FILES kommanderplugin.h specials.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/plugin/specialinformation.cpp b/kommander/plugin/specialinformation.cpp
index 0a80dd85..4a1d8903 100644
--- a/kommander/plugin/specialinformation.cpp
+++ b/kommander/plugin/specialinformation.cpp
@@ -12,7 +12,9 @@
* (at your option) any later version. *
* *
***************************************************************************/
-
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "specials.h"
#include "specialinformation.h"
@@ -63,7 +65,7 @@ SpecialFunction::SpecialFunction(ParserType p, const TQString& name, const TQStr
}
-TQString SpecialFunction::prototype(uint prototypeFlags) const
+TQString KDE_EXPORT SpecialFunction::prototype(uint prototypeFlags) const
{
if (!m_types.count())
return m_function;
@@ -82,21 +84,21 @@ TQString SpecialFunction::prototype(uint prototypeFlags) const
return TQString("%1(%2)").arg(m_function).arg(params.join(", "));
}
-TQString SpecialFunction::argumentName(uint i) const
+TQString KDE_EXPORT SpecialFunction::argumentName(uint i) const
{
if (i < m_args.count())
return m_args[i];
return TQString();
}
-TQString SpecialFunction::argumentType(uint i) const
+TQString KDE_EXPORT SpecialFunction::argumentType(uint i) const
{
if (i < m_types.count())
return m_types[i];
return TQString();
}
-int SpecialFunction::argumentCount() const
+int KDE_EXPORT SpecialFunction::argumentCount() const
{
return m_types.count();
}
@@ -104,7 +106,7 @@ int SpecialFunction::argumentCount() const
-int SpecialInformation::function(int group, const TQString& fname)
+int KDE_EXPORT SpecialInformation::function(int group, const TQString& fname)
{
TQString f = fname.lower();
if (m_functions.contains(group) && m_functions[group].contains(f))
@@ -114,13 +116,13 @@ int SpecialInformation::function(int group, const TQString& fname)
return -1;
}
-SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
+KDE_EXPORT SpecialFunction SpecialInformation::functionObject(const TQString& gname, const TQString& fname)
{
int gid = group(gname);
return m_specials[gid][function(gid, fname)];
}
-int SpecialInformation::group(const TQString& gname)
+int KDE_EXPORT SpecialInformation::group(const TQString& gname)
{
if (m_groups.contains(gname))
return m_groups[gname];
@@ -137,7 +139,7 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname)
return function(group(gname), fname) != -1;
}
-bool SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
+bool KDE_EXPORT SpecialInformation::isValid(int gname, int fname, SpecialFunction::ParserType p)
{
return m_specials.contains(gname) && m_specials[gname].contains(fname)
&& m_specials[gname][fname].isSupported(p);
@@ -151,14 +153,14 @@ bool SpecialInformation::isValid(const TQString& gname, const TQString& fname,
return f != -1 && m_specials[g][f].isSupported(p);
}
-int SpecialInformation::minArg(int gname, int fname)
+int KDE_EXPORT SpecialInformation::minArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].minArg();
return -1;
}
-int SpecialInformation::maxArg(int gname, int fname)
+int KDE_EXPORT SpecialInformation::maxArg(int gname, int fname)
{
if (isValid(gname, fname))
return m_specials[gname][fname].maxArg();
@@ -186,7 +188,7 @@ TQString SpecialInformation::description(int gname, int fname)
return TQString();
}
-TQString SpecialInformation::prototype(int gname, int fname, uint flags)
+TQString KDE_EXPORT SpecialInformation::prototype(int gname, int fname, uint flags)
{
if (isValid(gname, fname))
return m_specials[gname][fname].prototype(flags);
@@ -246,7 +248,7 @@ void SpecialInformation::insertGroup(int id, const TQString& name, const TQStrin
}
}
-TQString SpecialInformation::parserGroupName(const TQString& name)
+TQString KDE_EXPORT SpecialInformation::parserGroupName(const TQString& name)
{
if (m_parserGroups.contains(name))
return m_parserGroups[name];
@@ -254,12 +256,12 @@ TQString SpecialInformation::parserGroupName(const TQString& name)
return name;
}
-TQStringList SpecialInformation::groups()
+TQStringList KDE_EXPORT SpecialInformation::groups()
{
return m_groups.keys();
}
-TQStringList SpecialInformation::functions(const TQString& g)
+TQStringList KDE_EXPORT SpecialInformation::functions(const TQString& g)
{
int gid = group(g);
if (gid == -1)
@@ -279,7 +281,7 @@ bool SpecialFunction::isSupported(ParserType p) const
return (m_parserTypes & p);
}
-void SpecialInformation::registerSpecials()
+void KDE_EXPORT SpecialInformation::registerSpecials()
{
insertGroup(Group::DCOP, "DCOP", "");
insert(DCOP::addUniqueItem, "addUniqueItem(TQString widget, TQString item)",
diff --git a/kommander/pluginmanager/CMakeLists.txt b/kommander/pluginmanager/CMakeLists.txt
new file mode 100644
index 00000000..077dd20b
--- /dev/null
+++ b/kommander/pluginmanager/CMakeLists.txt
@@ -0,0 +1,30 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kmdr-plugins (executable)
+
+tde_add_executable( kmdr-plugins AUTOMOC
+
+ SOURCES
+ main.cpp
+ mainwindow.cpp
+ pluginmanager.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kommander/widget/CMakeLists.txt b/kommander/widget/CMakeLists.txt
new file mode 100644
index 00000000..38fb56f7
--- /dev/null
+++ b/kommander/widget/CMakeLists.txt
@@ -0,0 +1,46 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderwidget (shared)
+
+tde_add_library( kommanderwidget SHARED AUTOMOC
+
+ SOURCES
+ expression.cpp function.cpp
+ functionlib.cpp invokeclass.cpp
+ kmdrmainwindow.cpp kommanderfunctions.cpp
+ kommanderwidget.cpp kommanderwindow.cpp
+ myprocess.cpp parsenode.cpp
+ parser.cpp parserdata.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
+
+
+##### headers
+
+install(
+ FILES kommanderwidget.h kommander_export.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/kommander/widget/kmdrmainwindow.cpp b/kommander/widget/kmdrmainwindow.cpp
index 5805c58d..845cc905 100644
--- a/kommander/widget/kmdrmainwindow.cpp
+++ b/kommander/widget/kmdrmainwindow.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "kmdrmainwindow.h"
#include <tqtimer.h>
diff --git a/kommander/widget/kmdrmainwindow.h b/kommander/widget/kmdrmainwindow.h
index 91be985d..cc1b57d3 100644
--- a/kommander/widget/kmdrmainwindow.h
+++ b/kommander/widget/kmdrmainwindow.h
@@ -17,7 +17,7 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class KmdrMainWindow : public TDEMainWindow
+class KDE_EXPORT KmdrMainWindow : public TDEMainWindow
{
Q_OBJECT
diff --git a/kommander/widgets/CMakeLists.txt b/kommander/widgets/CMakeLists.txt
new file mode 100644
index 00000000..d4bacb99
--- /dev/null
+++ b/kommander/widgets/CMakeLists.txt
@@ -0,0 +1,49 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kommander/widget
+ ${CMAKE_SOURCE_DIR}/kommander/factory
+ ${CMAKE_SOURCE_DIR}/kommander/plugin
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kommanderwidgets (shared)
+
+tde_add_library( kommanderwidgets SHARED AUTOMOC
+
+ SOURCES
+ aboutdialog.cpp buttongroup.cpp
+ checkbox.cpp closebutton.cpp
+ combobox.cpp datepicker.cpp dialog.cpp
+ execbutton.cpp fileselector.cpp
+ fontdialog.cpp groupbox.cpp
+ konsole.cpp label.cpp
+ lineedit.cpp listbox.cpp
+ pixmaplabel.cpp plugin.cpp
+ popupmenu.cpp progressbar.cpp
+ radiobutton.cpp richtexteditor.cpp
+ scriptobject.cpp slider.cpp
+ spinboxint.cpp statusbar.cpp
+ subdialog.cpp table.cpp
+ tabwidget.cpp textbrowser.cpp
+ textedit.cpp timer.cpp
+ toolbox.cpp treewidget.cpp
+ wizard.cpp
+ LINK
+ tdeio-shared
+ kommanderwidget-shared
+ kommanderplugin-shared
+ kommanderfactory-static
+
+ DESTINATION ${LIB_INSTALL_DIR}
+
+ VERSION 0.0.0
+)
diff --git a/kommander/widgets/aboutdialog.cpp b/kommander/widgets/aboutdialog.cpp
index a9a8f77f..db473520 100644
--- a/kommander/widgets/aboutdialog.cpp
+++ b/kommander/widgets/aboutdialog.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <tqfile.h>
#include "aboutdialog.h"
diff --git a/kommander/widgets/aboutdialog.h b/kommander/widgets/aboutdialog.h
index 440541c8..37dedec4 100644
--- a/kommander/widgets/aboutdialog.h
+++ b/kommander/widgets/aboutdialog.h
@@ -21,7 +21,7 @@ class TDEAboutData;
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class AboutDialog : public TQLabel, public KommanderWidget
+class KDE_EXPORT AboutDialog : public TQLabel, public KommanderWidget
{
Q_OBJECT
diff --git a/kommander/widgets/dialog.cpp b/kommander/widgets/dialog.cpp
index 4f73cedc..242d4ba4 100644
--- a/kommander/widgets/dialog.cpp
+++ b/kommander/widgets/dialog.cpp
@@ -13,6 +13,15 @@
* (at your option) any later version. *
* *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef KMDR_EXECUTOR_PATH
+#define KMDR_EXECUTOR_PATH "/usr/bin/kmdr-executor"
+#endif
+
/* KDE INCLUDES */
#include <tdelocale.h>
@@ -50,7 +59,7 @@ Dialog::Dialog(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags
setStates(states);
setDisplayStates(states);
m_useShebang = false;
- m_shebang = "#!/usr/bin/kmdr-executor";
+ m_shebang = "#!" KMDR_EXECUTOR_PATH;
m_firstShow = true;
KommanderPlugin::setDefaultGroup(Group::DCOP);
KommanderPlugin::registerFunction(D_focusWidget, "focusWidget(TQString widget)", i18n("The name of the widget having focus"), 1);
diff --git a/kommander/widgets/fontdialog.cpp b/kommander/widgets/fontdialog.cpp
index 419fc8d2..59a1e372 100644
--- a/kommander/widgets/fontdialog.cpp
+++ b/kommander/widgets/fontdialog.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "fontdialog.h"
#include "kommanderplugin.h"
diff --git a/kommander/widgets/fontdialog.h b/kommander/widgets/fontdialog.h
index c9e9e7ba..375e6cea 100644
--- a/kommander/widgets/fontdialog.h
+++ b/kommander/widgets/fontdialog.h
@@ -20,7 +20,7 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class FontDialog : public TQLabel, public KommanderWidget
+class KDE_EXPORT FontDialog : public TQLabel, public KommanderWidget
{
Q_OBJECT
diff --git a/kommander/widgets/popupmenu.cpp b/kommander/widgets/popupmenu.cpp
index 343526ae..7a570dd3 100644
--- a/kommander/widgets/popupmenu.cpp
+++ b/kommander/widgets/popupmenu.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "popupmenu.h"
#include "specials.h"
diff --git a/kommander/widgets/popupmenu.h b/kommander/widgets/popupmenu.h
index 7d691ff0..4bf073b8 100644
--- a/kommander/widgets/popupmenu.h
+++ b/kommander/widgets/popupmenu.h
@@ -22,7 +22,7 @@ class TDEPopupMenu;
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class PopupMenu : public TQLabel, public KommanderWidget
+class KDE_EXPORT PopupMenu : public TQLabel, public KommanderWidget
{
Q_OBJECT
diff --git a/kommander/widgets/toolbox.cpp b/kommander/widgets/toolbox.cpp
index 6dfc8b89..4df6b78e 100644
--- a/kommander/widgets/toolbox.cpp
+++ b/kommander/widgets/toolbox.cpp
@@ -9,6 +9,11 @@
// Copyright: See COPYING file that comes with this distribution
//
//
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "toolbox.h"
#include "kommanderplugin.h"
#include "specials.h"
diff --git a/kommander/widgets/toolbox.h b/kommander/widgets/toolbox.h
index 1d253c90..b1563c13 100644
--- a/kommander/widgets/toolbox.h
+++ b/kommander/widgets/toolbox.h
@@ -18,7 +18,8 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class ToolBox : public TQToolBox, public KommanderWidget
+
+class KDE_EXPORT ToolBox : public TQToolBox, public KommanderWidget
{
Q_OBJECT
diff --git a/kommander/working/CMakeLists.txt b/kommander/working/CMakeLists.txt
new file mode 100644
index 00000000..d03e032a
--- /dev/null
+++ b/kommander/working/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory( plugintemplate )
+
+install(
+ PROGRAMS kmdr2po extractkmdr
+ DESTINATION ${DATA_INSTALL_DIR}/kommander/translating
+)
diff --git a/kommander/working/plugintemplate/CMakeLists.txt b/kommander/working/plugintemplate/CMakeLists.txt
new file mode 100644
index 00000000..1d4f4aac
--- /dev/null
+++ b/kommander/working/plugintemplate/CMakeLists.txt
@@ -0,0 +1,17 @@
+##### other data
+
+install(
+ FILES kommanderplugin.png
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard
+)
+
+install(
+ FILES kommanderplugin.tdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates
+)
+
+tde_create_tarball(
+ TARGET kommanderplugin.tar.gz
+ FILES src-Makefile.am plugin.cpp widget.h widget.cpp app.tdevelop
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard
+)
diff --git a/kxsldbg/CMakeLists.txt b/kxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..c8d0a2da
--- /dev/null
+++ b/kxsldbg/CMakeLists.txt
@@ -0,0 +1,84 @@
+#add_subdirectory( data )
+add_subdirectory( kxsldbgpart )
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kxsldbg (executable)
+
+tde_add_executable( kxsldbg AUTOMOC
+
+ SOURCES
+ kxsldbg.cpp
+ main.cpp
+ kxsldbgif.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ tqtnotfier-static
+ kxsldbgcommon-static
+ xsldbg-static
+ ${READLINE_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### xsldbg (executable)
+
+tde_add_executable( xsldbg AUTOMOC
+
+ SOURCES
+ xsldbgmain.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ xsldbg-static
+ ${READLINE_LIBRARIES}
+
+ DEPENDENCIES
+ xsldbg-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( kxsldbg )
+
+
+##### other data
+
+install(
+ FILES kxsldbg_shell.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kxsldbg
+)
+
+tde_create_translated_desktop(
+ SOURCE xsldbg.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+)
+
+tde_create_translated_desktop( kxsldbg.desktop )
diff --git a/kxsldbg/kxsldbg.h b/kxsldbg/kxsldbg.h
index a60805bd..1d3420ad 100644
--- a/kxsldbg/kxsldbg.h
+++ b/kxsldbg/kxsldbg.h
@@ -2,7 +2,7 @@
#define KXSLDBG_H
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
#include <tdeapplication.h>
diff --git a/kxsldbg/kxsldbgpart/CMakeLists.txt b/kxsldbg/kxsldbgpart/CMakeLists.txt
new file mode 100644
index 00000000..b3776dde
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/CMakeLists.txt
@@ -0,0 +1,109 @@
+add_subdirectory( libtqtnotfier )
+add_subdirectory( libxsldbg )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+##### kxsldbgcommon (static)
+
+tde_add_library( kxsldbgcommon STATIC_PIC AUTOMOC
+
+ SOURCES
+ kxsldbg_partif.skel
+ xsldbgwalkspeed.ui
+ xsldbgtemplates.ui
+ xsldbgsources.ui
+ xsldbgmsgdialog.ui
+ xsldbglocalvariables.ui
+ xsldbgglobalvariables.ui
+ xsldbgentities.ui
+ xsldbgconfig.ui
+ xsldbgcallstack.ui
+ xsldbgbreakpoints.ui
+ xsldbgwalkspeedimpl.cpp
+ xsldbgtemplatesimpl.cpp
+ xsldbgtemplatelistitem.cpp
+ xsldbgsourcesimpl.cpp
+ xsldbgoutputview.cpp
+ xsldbglocalvariablesimpl.cpp
+ xsldbglocallistitem.cpp
+ xsldbglistitem.cpp
+ xsldbginspector.cpp
+ xsldbgglobalvariablesimpl.cpp
+ xsldbggloballistitem.cpp
+ xsldbgentitiesimpl.cpp
+ xsldbgdoc.cpp
+ xsldbgdialogbase.cpp
+ xsldbgdebugger.cpp
+ xsldbgconfigimpl.cpp
+ xsldbgcallstackimpl.cpp
+ xsldbgbreakpointsimpl.cpp
+ xsldbgbreakpointlistitem.cpp
+ qxsldbgdoc.cpp
+ kxsldbg_part.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeparts-shared
+ kjs-shared
+ xsldbg-static
+ tqtnotfier-static
+)
+
+
+##### libkxsldbgpart (kpart)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_kpart( libkxsldbgpart AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ EMBED
+ kxsldbgcommon-static
+ LINK
+ tdecore-shared
+ tdeui-shared
+ kjs-shared
+ tdeio-shared
+ tdeparts-shared
+ katepartinterfaces-shared
+ ${READLINE_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( )
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE kxsldbg_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES kxsldbg_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kxsldbgpart
+)
+
diff --git a/kxsldbg/kxsldbgpart/Makefile.am b/kxsldbg/kxsldbgpart/Makefile.am
index d04553b4..2861ca20 100644
--- a/kxsldbg/kxsldbgpart/Makefile.am
+++ b/kxsldbg/kxsldbgpart/Makefile.am
@@ -8,6 +8,7 @@ noinst_HEADERS = kxsldbg_part.h qxsldbgdoc.h xsldbgbreakpointlistitem.h xsldbgbr
kde_module_LTLIBRARIES = libkxsldbgpart.la
+CLEANFILES = dummy.cpp
libkxsldbgpart_la_SOURCES = dummy.cpp
SUBDIRS = libtqtnotfier libxsldbg
@@ -29,3 +30,5 @@ partrc_DATA = kxsldbg_part.rc
KDE_ICON = AUTO
+dummy.cpp:
+ echo > dummy.cpp
diff --git a/kxsldbg/kxsldbgpart/dummy.cpp b/kxsldbg/kxsldbgpart/dummy.cpp
deleted file mode 100644
index e69de29b..00000000
--- a/kxsldbg/kxsldbgpart/dummy.cpp
+++ /dev/null
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
new file mode 100644
index 00000000..ef507a7c
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/CMakeLists.txt
@@ -0,0 +1,34 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
+##### tqtnotfier (static)
+
+tde_add_library( tqtnotfier STATIC_PIC AUTOMOC
+
+ SOURCES
+ xsldbgthread.cpp
+ xsldbgnotifier.cpp
+ xsldbgevent.cpp
+ xsldbgdebuggerbase.cpp
+ qtnotifier2.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+ ${READLINE_LIBRARIES}
+ ${CMAKE_THREAD_LIBS_INIT}
+)
diff --git a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
index 29ff227e..d717a1f9 100644
--- a/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
+++ b/kxsldbg/kxsldbgpart/libtqtnotfier/xsldbgthread.cpp
@@ -15,8 +15,10 @@
* *
***************************************************************************/
-
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#include <pthread.h> /* need to create/work with process thread */
#include <errno.h> /* need for EAGAIN */
#include <stdlib.h>
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
new file mode 100644
index 00000000..056331ce
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/libxsldbg/CMakeLists.txt
@@ -0,0 +1,54 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+ ${LIBXSLT_INCLUDE_DIRS}
+ ${READLINE_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_compile_options( ${ICU_CXXFLAGS} )
+
+##### xsldbg (static)
+
+tde_add_library( xsldbg STATIC_PIC AUTOMOC
+
+ SOURCES
+ allmoc.cpp
+ xsldbgthread.cpp
+ xsldbg.cpp
+ xsldbgmsg.cpp
+ variable_cmds.cpp
+ utils.cpp
+ trace_cmds.cpp
+ template_cmds.cpp
+ search_cmds.cpp
+ search.cpp
+ param_cmds.cpp
+ os_cmds.cpp
+ options_unix.cpp
+ options.cpp
+ option_cmds.cpp
+ nodeview_cmds.cpp
+ help_unix.cpp
+ files_unix.cpp
+ files.cpp
+ file_cmds.cpp
+ debug.cpp
+ callstack.cpp
+ breakpoint_cmds.cpp
+ breakpoint.cpp
+ arraylist.cpp
+ debugXSL.cpp
+ LINK
+ ${LIBXSLT_LIBRARIES}
+ ${LIBEXSLT_LIBRARIES}
+ ${READLINE_LIBRARIES}
+)
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h b/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
index 81398459..f6256429 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/arraylist.h
@@ -20,6 +20,10 @@
#ifndef ARRAYLIST_H
#define ARRAYLIST_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
index fd410366..09002c9c 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
@@ -21,6 +21,10 @@
#ifndef XSLBREAKPOINT_H
#define XSLBREAKPOINT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/callstack.h b/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
index fd87b9bd..60bf4652 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/callstack.h
@@ -20,6 +20,10 @@
#ifndef XSLCALLSTACK_H
#define XSLCALLSTACK_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/**
* Provide a call stack support
*
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/cmds.h b/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
index f12648c7..ff15bdc7 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/cmds.h
@@ -20,6 +20,10 @@
#ifndef CMDS_H
#define CMDS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* See the top of debugXSL.c for a list of command names and thier shortcuts */
#ifndef USE_KDE_DOCS
typedef enum { /* id's for commands of xslDbgShell */
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/debug.h b/kxsldbg/kxsldbgpart/libxsldbg/debug.h
index c38f37eb..f05c50e4 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/debug.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/debug.h
@@ -19,6 +19,10 @@
#ifndef XSL_DEBUG_H
#define XSL_DEBUG_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h b/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
index df50a53b..479448a3 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/debugXSL.h
@@ -34,6 +34,10 @@
#ifndef __DEBUG_XSL__
#define __DEBUG_XSL__
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_XSLDBG_AS_THREAD
#include "xsldbgmsg.h"
#include "xsldbgthread.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.h b/kxsldbg/kxsldbgpart/libxsldbg/files.h
index 05e49828..89557e28 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.h
@@ -19,6 +19,10 @@
#ifndef FILES_H
#define FILES_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include "search.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/help.h b/kxsldbg/kxsldbgpart/libxsldbg/help.h
index de77a71d..9c1c9a0a 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/help.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/help.h
@@ -19,6 +19,10 @@
#ifndef XSLDBG_HELP_H
#define XSLDBG_HELP_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp b/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
index 8593ab6b..0bcd8edb 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/help_unix.cpp
@@ -20,6 +20,14 @@
* Uses docs/xsldoc.xsl docs/xsldoc.xml and xslproc to generate text
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef XSLDBG_BIN
+#define XSLDBG_BIN "xsldbg"
+#endif
+
#include "xsldbg.h"
#include "options.h"
#include "utils.h"
@@ -28,7 +36,7 @@
#include "files.h"
#include <stdlib.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <kstandarddirs.h>
/**
* helpTop:
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/options.h b/kxsldbg/kxsldbgpart/libxsldbg/options.h
index 60ab69d3..4ce99f42 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/options.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/options.h
@@ -19,6 +19,10 @@
#ifndef OPTIONS_H
#define OPTIONS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "arraylist.h"
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h b/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
index 6fd7a9f3..e8840234 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/qtnotifier2.h
@@ -18,6 +18,10 @@
#ifndef TQTNOTIFIER_H
#define TQTNOTIFIER_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
index 68fcd7e1..6d30193d 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.cpp
@@ -7,6 +7,13 @@
email : k_isdale@tpg.com.au
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifndef XSLDBG_BIN
+#define XSLDBG_BIN "xsldbg"
+#endif
#include "xsldbg.h"
#include "debugXSL.h"
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/search.h b/kxsldbg/kxsldbgpart/libxsldbg/search.h
index 20fc82b4..bc7d082c 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/search.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/search.h
@@ -20,6 +20,10 @@
#ifndef XSLSEARCH_H
#define XSLSEARCH_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/utils.h b/kxsldbg/kxsldbgpart/libxsldbg/utils.h
index 28b297b0..ada7b693 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/utils.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/utils.h
@@ -23,6 +23,10 @@
#ifndef XSLDBG_UTILS_H
#define XSLDBG_UTILS_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include <stdio.h>
#include <string.h>
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
index 27250e31..dd9a067e 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.h
@@ -20,6 +20,10 @@
#ifndef XSLDEBUGGER_H
#define XSLDEBUGGER_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef USE_KDE_DOCS
/**
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h
deleted file mode 100644
index e69de29b..00000000
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgconfig.h
+++ /dev/null
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
index e75c8419..2b4486e3 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgevent.h
@@ -21,6 +21,10 @@
#ifndef XSLDBGEVENT_H
#define XSLDBGEVENT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
index 0e164f0e..81ced500 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgio.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGIO_H
#define XSLDBGIO_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef BUILD_DOCS
#include <libxml/tree.h> /* needed for definition of xmlChar */
#endif
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
index 12b16a3c..9d953d87 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgmsg.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGMSG_H
#define XSLDBGMSG_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifdef WIN32
# include <libxsldbg/xsldbgwin32config.h>
#else
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
index d83e71f3..f0c4a56b 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.h
@@ -19,6 +19,10 @@
#ifndef XSLDBGTHREAD_H
#define XSLDBGTHREAD_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#if defined WIN32
#include <libxsldbg/xsldbgwin32config.h>
#endif
diff --git a/kxsldbg/xsldbgmain.cpp b/kxsldbg/xsldbgmain.cpp
index fb9b619d..5e0b35ef 100644
--- a/kxsldbg/xsldbgmain.cpp
+++ b/kxsldbg/xsldbgmain.cpp
@@ -33,7 +33,6 @@
#include "kxsldbgpart/libxsldbg/xsldbg.h"
#include "kxsldbgpart/libxsldbg/options.h"
-#include <libxslt/xsltutils.h>
#include <tdeapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index aaa33883..a76ed738 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -21,3 +21,5 @@ include_directories(
tde_add_library( quantamodule STATIC_PIC AUTOMOC
SOURCES qextfileinfo.cpp ksavealldialog.cpp
)
+
+add_subdirectory( compatibility )
diff --git a/lib/compatibility/CMakeLists.txt b/lib/compatibility/CMakeLists.txt
new file mode 100644
index 00000000..e879bf03
--- /dev/null
+++ b/lib/compatibility/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+add_subdirectory( tdemdi )
diff --git a/lib/compatibility/tdemdi/CMakeLists.txt b/lib/compatibility/tdemdi/CMakeLists.txt
new file mode 100644
index 00000000..c3973143
--- /dev/null
+++ b/lib/compatibility/tdemdi/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_subdirectory( qextmdi )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### quantatdemdi (static)
+
+tde_add_library( quantatdemdi STATIC_PIC AUTOMOC
+
+ SOURCES
+ dummy.cpp
+ LINK
+ tdeparts-shared
+ tdeio-shared
+ quantaqextmdi-static
+)
diff --git a/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt
new file mode 100644
index 00000000..12bb58e5
--- /dev/null
+++ b/lib/compatibility/tdemdi/qextmdi/CMakeLists.txt
@@ -0,0 +1,27 @@
+#add_subdirectory( res )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/lib/compatibility/tdemdi/qextmdi/res
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### quantatdemdi (static)
+
+tde_add_library( quantaqextmdi STATIC_PIC AUTOMOC
+
+ SOURCES
+ tdemdichildarea.cpp tdemdichildfrm.cpp
+ tdemdichildfrmcaption.cpp tdemdichildview.cpp
+ tdemdimainfrm.cpp tdemditaskbar.cpp
+ tdemultitabbar.cpp tdemditoolviewaccessor.cpp
+ tdemdidocumentviewtabwidget.cpp tdemdifocuslist.cpp
+ tdemdiguiclient.cpp ktabwidget.cpp
+ ktabbar.cpp kdockwidget.cpp
+ kdockwidget_private.cpp tdemdidockcontainer.cpp
+ LINK
+ tdeparts-shared
+)
diff --git a/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp b/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
index 5721b249..adba273f 100644
--- a/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/kdockwidget.cpp
@@ -42,7 +42,10 @@
#include <kdebug.h>
#include <tdeglobalsettings.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+
#ifdef TQ_WS_X11
#include <X11/X.h>
#include <X11/Xlib.h>
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
index 5d07126d..74c82f53 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdimainfrm.cpp
@@ -33,7 +33,9 @@
* ATTENTION: please do you part to try to make this file legible. It's
* extremely hard to read already. Especially follow the indenting rules.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <assert.h>
diff --git a/quanta/components/CMakeLists.txt b/quanta/components/CMakeLists.txt
index 7e0cad97..34642e38 100644
--- a/quanta/components/CMakeLists.txt
+++ b/quanta/components/CMakeLists.txt
@@ -11,8 +11,11 @@
# FIXME cvsservice is not ported
-add_subdirectory( csseditor )
+add_subdirectory( csseditor )
add_subdirectory( framewizard )
add_subdirectory( tableeditor )
-add_subdirectory( debugger )
-# add_subdirectory( cvsservice )
+add_subdirectory( debugger )
+
+if( WITH_QUANTA_CVSSERVICE )
+add_subdirectory( cvsservice )
+endif()
diff --git a/quanta/components/csseditor/csseditors.ui b/quanta/components/csseditor/csseditors.ui
index 2661d75d..fe769a0e 100644
--- a/quanta/components/csseditor/csseditors.ui
+++ b/quanta/components/csseditor/csseditors.ui
@@ -405,7 +405,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/components/csseditor/cssselectors.ui b/quanta/components/csseditor/cssselectors.ui
index cb4ed81b..b4062318 100644
--- a/quanta/components/csseditor/cssselectors.ui
+++ b/quanta/components/csseditor/cssselectors.ui
@@ -976,10 +976,9 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/components/csseditor/fontfamilychoosers.ui b/quanta/components/csseditor/fontfamilychoosers.ui
index 7675741a..77a0f915 100644
--- a/quanta/components/csseditor/fontfamilychoosers.ui
+++ b/quanta/components/csseditor/fontfamilychoosers.ui
@@ -430,12 +430,7 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/components/cvsservice/CMakeLists.txt b/quanta/components/cvsservice/CMakeLists.txt
new file mode 100644
index 00000000..7f2010ae
--- /dev/null
+++ b/quanta/components/cvsservice/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/quanta/src
+ ${CMAKE_SOURCE_DIR}/quanta/project
+ ${CMAKE_SOURCE_DIR}/quanta/parsers
+ ${CMAKE_SOURCE_DIR}/quanta/utility
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+##### cvsservice (static)
+
+tde_add_library( cvsservice STATIC_PIC AUTOMOC
+
+ SOURCES
+ cvsservicedcopif.skel
+ cvscommitdlgs.ui
+ cvsupdatetodlgs.ui
+ cvsservice.cpp
+)
diff --git a/quanta/components/cvsservice/cvscommitdlgs.ui b/quanta/components/cvsservice/cvscommitdlgs.ui
index f63b910e..9ff2c938 100644
--- a/quanta/components/cvsservice/cvscommitdlgs.ui
+++ b/quanta/components/cvsservice/cvscommitdlgs.ui
@@ -144,7 +144,9 @@
<tabstop>cancelButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/components/cvsservice/cvsupdatetodlgs.ui b/quanta/components/cvsservice/cvsupdatetodlgs.ui
index d4d2dc7b..bdec051a 100644
--- a/quanta/components/cvsservice/cvsupdatetodlgs.ui
+++ b/quanta/components/cvsservice/cvsupdatetodlgs.ui
@@ -195,4 +195,9 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/conditionalbreakpointdialogs.ui b/quanta/components/debugger/conditionalbreakpointdialogs.ui
index fcd4b1db..221b5bcd 100644
--- a/quanta/components/debugger/conditionalbreakpointdialogs.ui
+++ b/quanta/components/debugger/conditionalbreakpointdialogs.ui
@@ -321,9 +321,9 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/dbgp/dbgpsettingss.ui b/quanta/components/debugger/dbgp/dbgpsettingss.ui
index 10888885..2f98a16b 100644
--- a/quanta/components/debugger/dbgp/dbgpsettingss.ui
+++ b/quanta/components/debugger/dbgp/dbgpsettingss.ui
@@ -722,7 +722,7 @@
<slot>slotLocalProjectToggle(bool)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/gubed/gubedsettingss.ui b/quanta/components/debugger/gubed/gubedsettingss.ui
index c9caa54c..92e5efd1 100644
--- a/quanta/components/debugger/gubed/gubedsettingss.ui
+++ b/quanta/components/debugger/gubed/gubedsettingss.ui
@@ -756,7 +756,7 @@
<slot specifier="pure virtual">slotUseProxyToggle( bool )</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/pathmapperdialogs.ui b/quanta/components/debugger/pathmapperdialogs.ui
index 58a79167..266989b9 100644
--- a/quanta/components/debugger/pathmapperdialogs.ui
+++ b/quanta/components/debugger/pathmapperdialogs.ui
@@ -339,7 +339,7 @@ The quanta will know that files starting with "/home/user/project/" on the local
<slot>slotHistoryclicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+</includes>
</UI>
diff --git a/quanta/components/framewizard/fmfpeditors.ui b/quanta/components/framewizard/fmfpeditors.ui
index 3e024de5..fbd189b5 100644
--- a/quanta/components/framewizard/fmfpeditors.ui
+++ b/quanta/components/framewizard/fmfpeditors.ui
@@ -538,4 +538,7 @@
</connections>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/quanta/components/tableeditor/tableeditors.ui b/quanta/components/tableeditor/tableeditors.ui
index 29511351..be3c7553 100644
--- a/quanta/components/tableeditor/tableeditors.ui
+++ b/quanta/components/tableeditor/tableeditors.ui
@@ -639,4 +639,7 @@
<tabstop>footerTableData</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/actionconfigdialogs.ui b/quanta/dialogs/actionconfigdialogs.ui
index fae092c2..f9ecce1b 100644
--- a/quanta/dialogs/actionconfigdialogs.ui
+++ b/quanta/dialogs/actionconfigdialogs.ui
@@ -972,10 +972,6 @@
<tabstop>buttonApply</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<includes>
- <include location="global" impldecl="in implementation">kkeybutton.h</include>
- <include location="global" impldecl="in implementation">kpushbutton.h</include>
-</includes>
<Q_SLOTS>
<slot>buttonOk_clicked()</slot>
<slot>slotNewAction()</slot>
@@ -991,11 +987,12 @@
<slot>slotTextChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>kicondialog.h</includehint>
- <includehint>kkeybutton.h</includehint>
- <includehint>tdelistbox.h</includehint>
- <includehint>filecombo.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kkeybutton.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kicondialog.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">filecombo.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/donationdialog.ui b/quanta/dialogs/donationdialog.ui
index 2914bef2..c8a95785 100644
--- a/quanta/dialogs/donationdialog.ui
+++ b/quanta/dialogs/donationdialog.ui
@@ -147,9 +147,8 @@ is the future of software, but it is no guarantee of success. How many open sour
<slot>init()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
- <includehint>ktextbrowser.h</includehint>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/dtepeditdlgs.ui b/quanta/dialogs/dtepeditdlgs.ui
index 32e6c8f7..6e38acd2 100644
--- a/quanta/dialogs/dtepeditdlgs.ui
+++ b/quanta/dialogs/dtepeditdlgs.ui
@@ -1964,4 +1964,9 @@ Example: &lt;b&gt;//&amp;nbsp;EOL,&amp;nbsp;/*&amp;nbsp;*/&lt;/b&gt;</string>
<slot>slotFamilyChanged(int)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/dtepstructureeditdlgs.ui b/quanta/dialogs/dtepstructureeditdlgs.ui
index ce90582b..0a8de386 100644
--- a/quanta/dialogs/dtepstructureeditdlgs.ui
+++ b/quanta/dialogs/dtepstructureeditdlgs.ui
@@ -640,7 +640,9 @@ The first captured area (between "&lt;b&gt;(&lt;/b&gt;" and "&lt;b&gt;)&lt;/b&gt
<tabstop>classGroup</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kicondialog.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kicondialog.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/fourbuttonmessagebox.ui b/quanta/dialogs/fourbuttonmessagebox.ui
index ec85fa91..577f9ea9 100644
--- a/quanta/dialogs/fourbuttonmessagebox.ui
+++ b/quanta/dialogs/fourbuttonmessagebox.ui
@@ -147,6 +147,7 @@
</connections>
<includes>
<include location="local" impldecl="in implementation">fourbuttonmessagebox.ui.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
<variables>
<variable>int m_status;</variable>
diff --git a/quanta/dialogs/loadentitydlgs.ui b/quanta/dialogs/loadentitydlgs.ui
index 10950ae7..d6adcd29 100644
--- a/quanta/dialogs/loadentitydlgs.ui
+++ b/quanta/dialogs/loadentitydlgs.ui
@@ -69,4 +69,8 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/settings/abbreviations.ui b/quanta/dialogs/settings/abbreviations.ui
index fc53fe16..de8cbd6d 100644
--- a/quanta/dialogs/settings/abbreviations.ui
+++ b/quanta/dialogs/settings/abbreviations.ui
@@ -350,8 +350,10 @@
<slot>slotNewGroup()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/specialchardialogs.ui b/quanta/dialogs/specialchardialogs.ui
index c10bc62e..a9a606bf 100644
--- a/quanta/dialogs/specialchardialogs.ui
+++ b/quanta/dialogs/specialchardialogs.ui
@@ -146,8 +146,8 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>tdelistbox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistbox.h</include>
+</includes>
</UI>
diff --git a/quanta/dialogs/tagdialogs/tagmail.ui b/quanta/dialogs/tagdialogs/tagmail.ui
index e7a71fa1..4072c177 100644
--- a/quanta/dialogs/tagdialogs/tagmail.ui
+++ b/quanta/dialogs/tagdialogs/tagmail.ui
@@ -127,4 +127,7 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/parsers/dtd/CMakeLists.txt b/quanta/parsers/dtd/CMakeLists.txt
index 7997cc5a..405a4f5e 100644
--- a/quanta/parsers/dtd/CMakeLists.txt
+++ b/quanta/parsers/dtd/CMakeLists.txt
@@ -9,8 +9,12 @@
#
#################################################
+add_compile_options( ${ICU_CXXFLAGS} )
+
+
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/quanta/dialogs
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/parsers
diff --git a/quanta/parsers/dtd/dtdparser.cpp b/quanta/parsers/dtd/dtdparser.cpp
index 502551fd..0562f61e 100644
--- a/quanta/parsers/dtd/dtdparser.cpp
+++ b/quanta/parsers/dtd/dtdparser.cpp
@@ -13,6 +13,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
//qt includes
#include <tqcheckbox.h>
#include <tqfile.h>
diff --git a/quanta/parts/kafka/CMakeLists.txt b/quanta/parts/kafka/CMakeLists.txt
index 19519b44..cf1b5775 100644
--- a/quanta/parts/kafka/CMakeLists.txt
+++ b/quanta/parts/kafka/CMakeLists.txt
@@ -9,7 +9,7 @@
#
#################################################
-# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS)
+# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) # add_compile_options( -fexceptions )
add_subdirectory( pics )
diff --git a/quanta/parts/kafka/htmldocumentpropertiesui.ui b/quanta/parts/kafka/htmldocumentpropertiesui.ui
index c826dd73..baa146be 100644
--- a/quanta/parts/kafka/htmldocumentpropertiesui.ui
+++ b/quanta/parts/kafka/htmldocumentpropertiesui.ui
@@ -453,4 +453,9 @@
<slot access="protected" specifier="pure virtual">linkChanged( const TQString&amp; )</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/project/eventconfigurationdlgs.ui b/quanta/project/eventconfigurationdlgs.ui
index 73bb8666..6bdcfb37 100644
--- a/quanta/project/eventconfigurationdlgs.ui
+++ b/quanta/project/eventconfigurationdlgs.ui
@@ -217,7 +217,8 @@
<slot>slotDeleteEvent()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/project/eventeditordlgs.ui b/quanta/project/eventeditordlgs.ui
index 995aa1d4..50f01646 100644
--- a/quanta/project/eventeditordlgs.ui
+++ b/quanta/project/eventeditordlgs.ui
@@ -233,4 +233,7 @@
<slot>slotActionChanged(const TQString &amp;name)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/project/membereditdlgs.ui b/quanta/project/membereditdlgs.ui
index 1d972b7b..860167a0 100644
--- a/quanta/project/membereditdlgs.ui
+++ b/quanta/project/membereditdlgs.ui
@@ -182,15 +182,9 @@
<slot>slotSelectFromAddrBook()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/project/projectnewwebs.ui b/quanta/project/projectnewwebs.ui
index df0d8539..c499d194 100644
--- a/quanta/project/projectnewwebs.ui
+++ b/quanta/project/projectnewwebs.ui
@@ -284,9 +284,8 @@
<tabstop>button</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kled.h</includehint>
- <includehint>uploadtreeview.h</includehint>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+ <include location="global" impldecl="in implementation">kled.h</include>
+</includes>
</UI>
diff --git a/quanta/project/projectuploads.ui b/quanta/project/projectuploads.ui
index 5c91636f..d8900e5f 100644
--- a/quanta/project/projectuploads.ui
+++ b/quanta/project/projectuploads.ui
@@ -491,7 +491,10 @@
<slot>slotNewProfileSelected(const TQString&amp;)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>uploadtreeview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+</includes>
</UI>
diff --git a/quanta/project/rescanprjdir.ui b/quanta/project/rescanprjdir.ui
index 8fb4b774..f35469e1 100644
--- a/quanta/project/rescanprjdir.ui
+++ b/quanta/project/rescanprjdir.ui
@@ -248,8 +248,8 @@
<tabstop>buttonHelp</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kprogress.h</includehint>
- <includehint>uploadtreeview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kprogress.h</include>
+ <include location="global" impldecl="in implementation">uploadtreeview.h</include>
+</includes>
</UI>
diff --git a/quanta/project/subprojecteditdlgs.ui b/quanta/project/subprojecteditdlgs.ui
index d1a0a168..dd60b002 100644
--- a/quanta/project/subprojecteditdlgs.ui
+++ b/quanta/project/subprojecteditdlgs.ui
@@ -70,4 +70,7 @@
<tabstop>createNew</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/project/teammembersdlgs.ui b/quanta/project/teammembersdlgs.ui
index 512c02ca..de4abff8 100644
--- a/quanta/project/teammembersdlgs.ui
+++ b/quanta/project/teammembersdlgs.ui
@@ -238,12 +238,9 @@
<slot>slotSetToYourself()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/quanta/project/uploadprofiledlgs.ui b/quanta/project/uploadprofiledlgs.ui
index de6521e6..9830013f 100644
--- a/quanta/project/uploadprofiledlgs.ui
+++ b/quanta/project/uploadprofiledlgs.ui
@@ -307,4 +307,9 @@ is obscured, saving the password in any file is a security risk. Use this option
<tabstop>cancelButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpassdlg.h</include>
+</includes>
</UI>
diff --git a/quanta/project/uploadprofilespage.ui b/quanta/project/uploadprofilespage.ui
index a5a87110..50e676c0 100644
--- a/quanta/project/uploadprofilespage.ui
+++ b/quanta/project/uploadprofilespage.ui
@@ -122,4 +122,7 @@
<slot>buttonEditProfiles_clicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/quanta/src/CMakeLists.txt b/quanta/src/CMakeLists.txt
index ff7d5d4c..dfd385f1 100644
--- a/quanta/src/CMakeLists.txt
+++ b/quanta/src/CMakeLists.txt
@@ -19,6 +19,7 @@ include_directories(
${CMAKE_BINARY_DIR}/quanta/components/tableeditor
${CMAKE_BINARY_DIR}/quanta/components/csseditor
${CMAKE_BINARY_DIR}/quanta/components/framewizard
+ ${CMAKE_BINARY_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/src
${CMAKE_SOURCE_DIR}/quanta/project
@@ -31,6 +32,7 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/components/tableeditor
${CMAKE_SOURCE_DIR}/quanta/components/csseditor
${CMAKE_SOURCE_DIR}/quanta/components/framewizard
+ ${CMAKE_SOURCE_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/treeviews
${CMAKE_SOURCE_DIR}/quanta/plugins
@@ -57,6 +59,7 @@ install( FILES x-webprj.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
set_property( SOURCE kqapp.cpp APPEND PROPERTY COMPILE_DEFINITIONS PREFIX="${CMAKE_INSTALL_PREFIX}" )
tde_add_executable( quanta AUTOMOC
+
SOURCES
quanta_init.cpp quantaview.cpp quantadoc.cpp
main.cpp document.cpp kqapp.cpp quanta.cpp
@@ -64,15 +67,19 @@ tde_add_executable( quanta AUTOMOC
dcopquantaif.skel dcopsettings.cpp dtds.cpp
dcopquanta.cpp viewmanager.cpp
LINK
- project-static plugins-static parser-static
- dtdparser-static treeviews-static dialogs-static
- debuggermanager-static tagdialogs-static
- settingsdialogs-static messages-static
- framewizard-static csseditor-static
- tableeditor-static preview-static
- utility-static quantamodule-static
- kafkalibrary-static tdemdi-shared tdehtml-shared
- tdenewstuff-shared tdeabc-shared tdetexteditor-shared
- ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES}
+ tdecore-shared tdeui-shared tdeio-shared
+ katepartinterfaces-shared tdenewstuff-shared
+ tdeabc-shared tdetexteditor-shared
+ tdemdi-shared tdehtml-shared tdespell-shared
+ kafkalibrary-static project-static
+ plugins-static parser-static
+ dtdparser-static treeviews-static
+ dialogs-static debuggermanager-static
+ tagdialogs-static settingsdialogs-static
+ messages-static framewizard-static
+ csseditor-static tableeditor-static
+ preview-static utility-static quantamodule-static
+ ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES} ${CVSSERVICE_LIBRARIES}
+
DESTINATION ${BIN_INSTALL_DIR}
)
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index d72cce65..ada70492 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <time.h>
// include files for QT
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index f01f22d7..62931561 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
// include files for QT
#include <tqdir.h>
#include <tqprinter.h>
@@ -1348,6 +1352,7 @@ TQString QuantaInit::retrievePID(const TQString& filename)
TQString strPID = TQString();
strPID = filename.mid(filename.findRev("P") + 1);
+
if (strPID.isEmpty())
strPID = filename.mid(filename.findRev("N") + 1);
diff --git a/quanta/src/viewmanager.cpp b/quanta/src/viewmanager.cpp
index 831b81f0..92e502a2 100644
--- a/quanta/src/viewmanager.cpp
+++ b/quanta/src/viewmanager.cpp
@@ -12,6 +12,10 @@
*
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
//qt includes
#include <tqdir.h>
diff --git a/quanta/treeviews/CMakeLists.txt b/quanta/treeviews/CMakeLists.txt
index 094ab227..e5b8d6a3 100644
--- a/quanta/treeviews/CMakeLists.txt
+++ b/quanta/treeviews/CMakeLists.txt
@@ -9,8 +9,11 @@
#
#################################################
+add_compile_options( ${ICU_CXXFLAGS} )
+
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/quanta/dialogs/tagdialogs
${CMAKE_SOURCE_DIR}/lib
${CMAKE_SOURCE_DIR}/quanta/src
@@ -22,9 +25,11 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/parts/kafka
${CMAKE_SOURCE_DIR}/quanta/components/csseditor
+ ${CMAKE_SOURCE_DIR}/quanta/components/cvsservice
${CMAKE_SOURCE_DIR}/quanta/plugins
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
${LIBXML_INCLUDE_DIRS}
)
diff --git a/quanta/treeviews/filestreeview.cpp b/quanta/treeviews/filestreeview.cpp
index 1de8333b..444bbc0c 100644
--- a/quanta/treeviews/filestreeview.cpp
+++ b/quanta/treeviews/filestreeview.cpp
@@ -15,6 +15,9 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
// KDE includes
#include <kdebug.h>
diff --git a/quanta/treeviews/projecttreeview.cpp b/quanta/treeviews/projecttreeview.cpp
index 1bb822b3..c07a7183 100644
--- a/quanta/treeviews/projecttreeview.cpp
+++ b/quanta/treeviews/projecttreeview.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
// QT includes
#include <tqpainter.h>
#include <tqlabel.h>
diff --git a/quanta/treeviews/quantapropertiespage.ui b/quanta/treeviews/quantapropertiespage.ui
index d70a6f6e..78a63b0d 100644
--- a/quanta/treeviews/quantapropertiespage.ui
+++ b/quanta/treeviews/quantapropertiespage.ui
@@ -244,4 +244,7 @@
<tabstop>parentAttr</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/quanta/treeviews/templatedirform.ui b/quanta/treeviews/templatedirform.ui
index a8cb7705..b1b80b41 100644
--- a/quanta/treeviews/templatedirform.ui
+++ b/quanta/treeviews/templatedirform.ui
@@ -164,7 +164,7 @@
<slot>okBtn_clicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>