Conversion to the cmake building system.

Delete empty files (dummy.cpp, xsldbgconfig.h).
Remove hard-coded path for the kmdr-executor executable.
Replaced $TQTDIR/doc/html string path for TQTDOCDIR in kommander.
Add man pages taken from the Debian packaging.

Signed-off-by: gregory guy <gregory-tde@laposte.net>

Fix linking - kxsldbgcommon-static and  kimagemapeditorcommon-static needs to be embedded.
Move the linking of xml and readline libraries to the appropriate static libraries.
Add build option WITH_QUANTA_CVSSERVICE.
Add a test whether the readline can be linked standalone or whether ncurses is needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
gregory guy 5 years ago committed by gregory guy
parent 10d21d001e
commit 4c43d1fbb6
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

@ -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 #####################

@ -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 )

@ -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@"

@ -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 )

@ -0,0 +1 @@
tde_create_handbook( DESTINATION kimagemapeditor )

@ -0,0 +1 @@
tde_create_handbook( DESTINATION klinkstatus )

@ -0,0 +1 @@
tde_create_handbook( DESTINATION kommander )

@ -0,0 +1 @@
tde_create_handbook( DESTINATION kxsldbg )

@ -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 )

@ -0,0 +1,5 @@
INSTALL(
FILES kimagemapeditor.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -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).

@ -0,0 +1,5 @@
INSTALL(
FILES klinkstatus.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -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).

@ -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
)

@ -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).

@ -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).

@ -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).

@ -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).

@ -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).

@ -0,0 +1,5 @@
INSTALL(
FILES kxsldbg.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -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).

@ -0,0 +1,5 @@
INSTALL(
FILES quanta.1
DESTINATION ${MAN_INSTALL_DIR}/man1
COMPONENT doc
)

@ -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).

@ -0,0 +1 @@
tde_create_handbook( DESTINATION quanta )

@ -0,0 +1,6 @@
tde_create_handbook( DESTINATION xsldbg )
install(
FILES xsldbghelp.xml xsldbghelp.xsl
DESTINATION ${HTML_INSTALL_DIR}/en/xsldbg
)

@ -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}
)

@ -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

@ -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
}

@ -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
)

@ -0,0 +1,2 @@
add_subdirectory( data )
add_subdirectory( src )

@ -0,0 +1,2 @@
add_subdirectory( icons )
add_subdirectory( styles )

@ -0,0 +1,8 @@
##### icons
install(
FILES 304.png
DESTINATION ${DATA_INSTALL_DIR}/klinkstatuspart/pics
)
tde_install_icons()

@ -0,0 +1,6 @@
add_subdirectory( 16x16 )
##### icons
tde_install_icons( klinkstatus )

@ -0,0 +1,4 @@
install(
FILES results_stylesheet.xsl
DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/styles
)

@ -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
)

@ -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}
)

@ -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)
AM_CPPFLAGS=$(all_includes)
dummy.cpp:
echo > dummy.cpp

@ -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
)

@ -22,7 +22,7 @@
#define _KLINKSTATUS_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include <tdeapplication.h>

@ -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
)

@ -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
)

@ -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>

@ -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
)

@ -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

@ -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>

@ -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>

@ -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}
)

@ -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
)

@ -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 )

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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 * )));

@ -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>

@ -0,0 +1,4 @@
install(
FILES kommandersplash.png toolbox.png tdefontcombo.png
DESTINATION ${DATA_INSTALL_DIR}/kommander/pics
)

@ -18,6 +18,10 @@
**
**********************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tdelocale.h>
#include <kommanderfactory.h>

@ -168,7 +168,7 @@ private:
bool mousePressed;
};
class EditorToolBox : public ToolBox
class KDE_EXPORT EditorToolBox : public ToolBox
{
Q_OBJECT

@ -0,0 +1,3 @@
add_subdirectory( current )
add_subdirectory( old )
add_subdirectory( tutorial )

@ -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
)

@ -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
)

@ -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
)

@ -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
)

@ -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}
)

@ -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

@ -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
)

@ -0,0 +1,7 @@
##### other data
install(
FILES dcoptool-oldparser.kmdr examples.kmdr
DESTINATION ${DATA_INSTALL_DIR}/kmdr-editor/editor
)

@ -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}
)

@ -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}
)

@ -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)",

@ -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}
)

@ -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}
)

@ -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>

@ -17,7 +17,7 @@
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
class KmdrMainWindow : public TDEMainWindow
class KDE_EXPORT KmdrMainWindow : public TDEMainWindow
{
Q_OBJECT

@ -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
)

@ -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"

@ -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

@ -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);

@ -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"

@ -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

@ -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"

@ -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

@ -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"

@ -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

@ -0,0 +1,6 @@
add_subdirectory( plugintemplate )
install(
PROGRAMS kmdr2po extractkmdr
DESTINATION ${DATA_INSTALL_DIR}/kommander/translating
)

@ -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
)

@ -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 )

@ -2,7 +2,7 @@
#define KXSLDBG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include <tdeapplication.h>

@ -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
)

@ -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

@ -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}
)

@ -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>

@ -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}
)

@ -20,6 +20,10 @@
#ifndef ARRAYLIST_H
#define ARRAYLIST_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef USE_KDE_DOCS
/**

@ -21,6 +21,10 @@
#ifndef XSLBREAKPOINT_H
#define XSLBREAKPOINT_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef USE_KDE_DOCS
/**

@ -20,6 +20,10 @@
#ifndef XSLCALLSTACK_H
#define XSLCALLSTACK_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/**
* Provide a call stack support
*

@ -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 */

@ -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

@ -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"

@ -19,6 +19,10 @@
#ifndef FILES_H
#define FILES_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef BUILD_DOCS
#include "search.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
/**

@ -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:

@ -19,6 +19,10 @@
#ifndef OPTIONS_H
#define OPTIONS_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "arraylist.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

@ -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"

@ -20,6 +20,10 @@
#ifndef XSLSEARCH_H
#define XSLSEARCH_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef USE_KDE_DOCS
/**

@ -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>

@ -20,6 +20,10 @@
#ifndef XSLDEBUGGER_H
#define XSLDEBUGGER_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef USE_KDE_DOCS
/**

@ -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

@ -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

@ -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

@ -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

@ -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>

@ -21,3 +21,5 @@ include_directories(
tde_add_library( quantamodule STATIC_PIC AUTOMOC
SOURCES qextfileinfo.cpp ksavealldialog.cpp
)
add_subdirectory( compatibility )

@ -0,0 +1,2 @@
add_subdirectory( tdemdi )

@ -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
)

@ -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
)

@ -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>

@ -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>

@ -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()

@ -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>

@ -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>

@ -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>

@ -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
)

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -538,4 +538,7 @@
</connections>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
</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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -127,4 +127,7 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>

@ -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

@ -13,6 +13,10 @@
* *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
//qt includes
#include <tqcheckbox.h>
#include <tqfile.h>

@ -9,7 +9,7 @@
#
#################################################
# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS)
# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) # add_compile_options( -fexceptions )
add_subdirectory( pics )

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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>

@ -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}
)

@ -15,6 +15,10 @@
* *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <time.h>
// include files for QT

@ -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);

@ -12,6 +12,10 @@
*
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
//qt includes
#include <tqdir.h>

@ -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}
)

@ -15,6 +15,9 @@
* *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
// KDE includes
#include <kdebug.h>

@ -15,6 +15,10 @@
* *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
// QT includes
#include <tqpainter.h>
#include <tqlabel.h>

@ -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>

@ -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>

Loading…
Cancel
Save