summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-03-29 19:41:28 +0200
committergregory guy <gregory-tde@laposte.net>2020-05-07 15:56:19 +0200
commite7d7fa7069e90f13ee9ce83cde1ea508a9c0b57d (patch)
treeb9869072d9a5efccec8c6738193d2325cc59427b
parentc4c87025a0d51bc969b5065c0a1d6ae4244796e1 (diff)
downloadtdeaccessibility-feat/cmakeConv.tar.gz
tdeaccessibility-feat/cmakeConv.zip
Conversion to the cmake building system.feat/cmakeConv
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-rw-r--r--CMakeLists.txt93
-rw-r--r--ConfigureChecks.cmake105
-rw-r--r--IconThemes/CMakeLists.txt2
-rw-r--r--IconThemes/mono/CMakeLists.txt8
-rw-r--r--IconThemes/mono/png/CMakeLists.txt8
-rw-r--r--IconThemes/mono/scalable/CMakeLists.txt7
-rw-r--r--config.h.cmake14
-rw-r--r--doc/CMakeLists.txt7
-rw-r--r--doc/kmag/CMakeLists.txt2
-rw-r--r--doc/kmousetool/CMakeLists.txt2
-rw-r--r--doc/kmouth/CMakeLists.txt2
-rw-r--r--doc/ksayit/CMakeLists.txt7
-rw-r--r--doc/kttsd/CMakeLists.txt2
-rw-r--r--doc/man/CMakeLists.txt2
-rw-r--r--doc/man/kmag/CMakeLists.txt5
-rw-r--r--doc/man/kmag/kmag.144
-rw-r--r--doc/man/kmousetool/CMakeLists.txt5
-rw-r--r--doc/man/kmousetool/kmousetool.139
-rw-r--r--doc/man/kmouth/CMakeLists.txt5
-rw-r--r--doc/man/kmouth/kmouth.150
-rw-r--r--kbstateapplet/CMakeLists.txt38
-rw-r--r--kbstateapplet/images/CMakeLists.txt3
-rw-r--r--kmag/CMakeLists.txt52
-rw-r--r--kmag/Makefile.am4
-rw-r--r--kmag/images/CMakeLists.txt3
-rw-r--r--kmag/images/Makefile.am3
-rw-r--r--kmag/images/hi16-action-followmouse.png (renamed from kmag/hi16-action-followmouse.png)bin575 -> 575 bytes
-rw-r--r--kmag/images/hi16-action-hidemouse.png (renamed from kmag/hi16-action-hidemouse.png)bin275 -> 275 bytes
-rw-r--r--kmag/images/hi16-action-window.png (renamed from kmag/hi16-action-window.png)bin314 -> 314 bytes
-rw-r--r--kmousetool/CMakeLists.txt2
-rw-r--r--kmousetool/kmousetool/CMakeLists.txt49
-rw-r--r--kmousetool/kmousetool/kmousetoolui.ui12
-rw-r--r--kmousetool/kmousetool/pics/CMakeLists.txt3
-rw-r--r--kmouth/CMakeLists.txt60
-rw-r--r--kmouth/books/CMakeLists.txt43
-rw-r--r--kmouth/icons/CMakeLists.txt9
-rw-r--r--kmouth/icons/app/CMakeLists.txt3
-rw-r--r--kmouth/icons/history/CMakeLists.txt3
-rw-r--r--kmouth/icons/phrase/CMakeLists.txt3
-rw-r--r--kmouth/icons/phrasebook/CMakeLists.txt3
-rw-r--r--kmouth/phrasebook/CMakeLists.txt31
-rw-r--r--kmouth/phrasebook/buttonboxui.ui3
-rw-r--r--kmouth/preferencesui.ui3
-rw-r--r--kmouth/texttospeechconfigurationui.ui8
-rw-r--r--kmouth/wordcompletion/CMakeLists.txt30
-rw-r--r--kmouth/wordcompletion/creationsourcedetailsui.ui10
-rw-r--r--kmouth/wordcompletion/kdedocsourceui.ui6
-rw-r--r--kmouth/wordcompletion/wordcompletionui.ui13
-rw-r--r--ksayit/CMakeLists.txt5
-rw-r--r--ksayit/Freeverb_plugin/CMakeLists.txt30
-rw-r--r--ksayit/Freeverb_plugin/freeverb_setup.ui6
-rw-r--r--ksayit/KTTSD_Lib/CMakeLists.txt78
-rw-r--r--ksayit/src/CMakeLists.txt73
-rw-r--r--ksayit/src/DocTreeView.ui6
-rw-r--r--ksayit/src/KSayItView.ui6
-rw-r--r--kttsd/CMakeLists.txt10
-rw-r--r--kttsd/app-plugins/CMakeLists.txt2
-rw-r--r--kttsd/app-plugins/kate/CMakeLists.txt35
-rw-r--r--kttsd/filters/CMakeLists.txt45
-rw-r--r--kttsd/filters/sbd/CMakeLists.txt42
-rw-r--r--kttsd/filters/sbd/sbdconfwidget.ui16
-rw-r--r--kttsd/filters/stringreplacer/CMakeLists.txt46
-rw-r--r--kttsd/filters/stringreplacer/editreplacementwidget.ui9
-rw-r--r--kttsd/filters/stringreplacer/stringreplacerconfwidget.ui18
-rw-r--r--kttsd/filters/talkerchooser/CMakeLists.txt43
-rw-r--r--kttsd/filters/talkerchooser/talkerchooserconfwidget.ui15
-rw-r--r--kttsd/filters/xmltransformer/CMakeLists.txt42
-rw-r--r--kttsd/filters/xmltransformer/xmltransformerconfwidget.ui17
-rw-r--r--kttsd/icons/CMakeLists.txt3
-rw-r--r--kttsd/kcmkttsmgr/CMakeLists.txt78
-rw-r--r--kttsd/kcmkttsmgr/addtalkerwidget.ui7
-rw-r--r--kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui39
-rw-r--r--kttsd/kcmkttsmgr/selecteventwidget.ui6
-rw-r--r--kttsd/kttsd/CMakeLists.txt110
-rw-r--r--kttsd/kttsjobmgr/CMakeLists.txt81
-rw-r--r--kttsd/kttsmgr/CMakeLists.txt82
-rw-r--r--kttsd/libkttsd/CMakeLists.txt46
-rw-r--r--kttsd/libkttsd/selecttalkerwidget.ui15
-rw-r--r--kttsd/libkttsd/testplayer.cpp3
-rw-r--r--kttsd/players/CMakeLists.txt14
-rw-r--r--kttsd/players/akodeplayer/CMakeLists.txt36
-rw-r--r--kttsd/players/alsaplayer/CMakeLists.txt37
-rw-r--r--kttsd/players/artsplayer/CMakeLists.txt37
-rw-r--r--kttsd/players/gstplayer/CMakeLists.txt38
-rw-r--r--kttsd/plugins/CMakeLists.txt6
-rw-r--r--kttsd/plugins/command/CMakeLists.txt37
-rw-r--r--kttsd/plugins/epos/CMakeLists.txt37
-rw-r--r--kttsd/plugins/epos/eposconfwidget.ui18
-rw-r--r--kttsd/plugins/festivalint/CMakeLists.txt47
-rw-r--r--kttsd/plugins/festivalint/festivalintconfwidget.ui18
-rw-r--r--kttsd/plugins/flite/CMakeLists.txt37
-rw-r--r--kttsd/plugins/freetts/CMakeLists.txt36
-rw-r--r--kttsd/plugins/hadifix/CMakeLists.txt44
-rw-r--r--kttsd/plugins/hadifix/hadifixconfigui.ui22
-rw-r--r--kttsd/plugins/hadifix/voicefileui.ui9
95 files changed, 2100 insertions, 193 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..b4d81d0
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,93 @@
+############################################
+# #
+# Improvements and feedbacks are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+############################################
+
+
+cmake_minimum_required( VERSION 2.8 )
+
+
+#### general package setup
+
+project( tdeaccessibility )
+set( VERSION R14.1.0 )
+
+
+#### include essential cmake modules
+
+include( FindPkgConfig )
+include( CheckFunctionExists )
+include( CheckSymbolExists )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
+include( CheckCXXSourceCompiles )
+
+
+#### include our cmake modules
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEMacros )
+enable_testing( )
+
+
+##### setup install paths
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### optional stuff
+
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+option( WITH_AKODE "Enable akode support " ${WITH_ALL_OPTIONS} )
+option( WITH_ALSA "Enable alsa support" ${WITH_ALL_OPTIONS} )
+option( WITH_GSTREAMER "Enable Gstreamer support" OFF )
+
+
+##### user requested modules
+
+option( BUILD_ALL "Build all" OFF )
+
+option( BUILD_KBSTATEAPPLET "Build kbstateapplet" ${BUILD_ALL} )
+option( BUILD_KMAG "Build kmag" ${BUILD_ALL} )
+option( BUILD_KMOUSETOOL "Build kmousetool" ${BUILD_ALL} )
+option( BUILD_KMOUTH "Build kmouth" ${BUILD_ALL} )
+option( BUILD_KSAYIT "Build ksayit" ${BUILD_ALL} )
+option( BUILD_KTTSD "Build kttsd" ${BUILD_ALL} )
+option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
+
+
+##### configure checks
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings
+
+add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
+
+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" )
+
+
+##### directories
+
+add_subdirectory( IconThemes )
+tde_conditional_add_subdirectory( BUILD_KBSTATEAPPLET kbstateapplet )
+tde_conditional_add_subdirectory( BUILD_KMAG kmag )
+tde_conditional_add_subdirectory( BUILD_KMOUSETOOL kmousetool )
+tde_conditional_add_subdirectory( BUILD_KMOUTH kmouth )
+tde_conditional_add_subdirectory( BUILD_KSAYIT ksayit )
+tde_conditional_add_subdirectory( BUILD_KTTSD kttsd )
+tde_conditional_add_subdirectory( BUILD_DOC doc )
+
+
+##### write configure files
+
+configure_file( config.h.cmake config.h @ONLY )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..1e09437
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,105 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
+##### check for gcc visibility support
+
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )
+
+
+##### check for aRts
+
+pkg_search_module( ARTS arts )
+find_library( ARTSKDE artskde )
+
+if( ARTS_FOUND AND ARTSKDE )
+ set( ARTS_LIBRARIES artskde-shared artsflow artsflow_idl kmedia2_idl soundserver_idl )
+ else()
+ tde_message_fatal( "aRts is required but was not found on your system." )
+endif()
+
+
+##### check for X11
+
+find_package( X11 )
+message( STATUS "Found X11_XTest_INCLUDE_PATH: ${X11_XTest_INCLUDE_PATH}" )
+message( STATUS "Found X11_XTest_LIB: ${X11_XTest_LIB}" )
+message( STATUS "Found X11_dpms_INCLUDE_PATH: ${X11_dpms_INCLUDE_PATH}" ) #kmousetool.cpp kmousetoolui.ui
+message( STATUS "Found X11_Xext_LIB: ${X11_Xext_LIB}" )
+
+
+##### check for akode
+
+if( WITH_AKODE )
+pkg_search_module( AKODE akode )
+
+if( NOT AKODE_FOUND )
+ tde_message_fatal( "akode support has been requested but was not found on your system" )
+endif()
+endif( WITH_AKODE )
+
+
+
+
+
+##### check for alsa
+
+if( WITH_ALSA )
+pkg_search_module( ALSA alsa )
+
+if( ALSA_FOUND )
+ check_include_file( "sys/time.h" HAVE_SYS_TIME )
+ check_include_file( "time.h" HAVE_TIME )
+
+ if( HAVE_SYS_TIME AND HAVE_TIME )
+ set( TIME_WITH_SYS_TIME 1 )
+ elseif( HAVE_SYS_TIME OR HAVE_TIME )
+ set( HAVE_SYS_TIME_H 1 )
+ endif()
+ else()
+ tde_message_fatal( "alsa support has been requested but was not found on your system." )
+endif()
+endif( WITH_ALSA )
+
+
+##### check for gstreamer
+
+if( WITH_GSTREAMER )
+pkg_search_module( GSTREAMER gstreamer-1.0>=1.0.0 gstreamer-0.10>=0.10.0 )
+pkg_search_module( GLIB2 glib-2.0 )
+
+if( NOT GSTREAMER_FOUND )
+ tde_message_fatal( "Gstreamer support has been requested but gstreamer was not found on your system." )
+endif()
+
+message( STATUS "gstreamer version: ${GSTREAMER_VERSION}" )
+endif( WITH_GSTREAMER )
+
+
+##### look for <kspeech.h> header
+
+find_path( KTTS_KSPEECH_DIR NAMES kspeech.h
+HINTS
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${TDE_INCLUDE_DIR}/tde
+)
+message( STATUS "KTTS_KSPEECH_DIR header's path: ${KTTS_KSPEECH_DIR}" )
diff --git a/IconThemes/CMakeLists.txt b/IconThemes/CMakeLists.txt
new file mode 100644
index 0000000..af497ee
--- /dev/null
+++ b/IconThemes/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+add_subdirectory( mono )
diff --git a/IconThemes/mono/CMakeLists.txt b/IconThemes/mono/CMakeLists.txt
new file mode 100644
index 0000000..510ec91
--- /dev/null
+++ b/IconThemes/mono/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+#add_subdirectory( png )
+add_subdirectory( scalable )
+
+install(
+ FILES index.theme
+ DESTINATION ${ICON_INSTALL_DIR}/mono
+)
diff --git a/IconThemes/mono/png/CMakeLists.txt b/IconThemes/mono/png/CMakeLists.txt
new file mode 100644
index 0000000..cdf24ce
--- /dev/null
+++ b/IconThemes/mono/png/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+set( _file trinity.png )
+set( _icons_size 16x16 22x22 32x32 48x48 64x64 96x96 128x128 192x192 256x256 )
+
+
+foreach( _size ${_icons_size} )
+
+endforeach( _sixe )
diff --git a/IconThemes/mono/scalable/CMakeLists.txt b/IconThemes/mono/scalable/CMakeLists.txt
new file mode 100644
index 0000000..8f25ba1
--- /dev/null
+++ b/IconThemes/mono/scalable/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+set( _icon_type actions apps categories devices mimetypes places )
+
+foreach( icon_type ${_icon_type} )
+ file( GLOB _files ${CMAKE_CURRENT_SOURCE_DIR}/${icon_type}/*.svgz )
+ install( FILES ${_files} DESTINATION ${ICON_INSTALL_DIR}/mono/scalable/${icon_type} )
+endforeach( icon_type )
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..bfbd018
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,14 @@
+#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@
+
+/* Defined if you have both <sys/time.h> and <time.h> headers */
+#cmakedefine TIME_WITH_SYS_TIME 1
+
+/* Defined if you have either <sys/time.h> or <time.h> headers */
+#cmakedefine HAVE_SYS_TIME_H 1
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 0000000..86e1d34
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory( man )
+
+tde_conditional_add_subdirectory( BUILD_KMAG kmag )
+tde_conditional_add_subdirectory( BUILD_KMOUSETOOL kmousetool )
+tde_conditional_add_subdirectory( BUILD_KMOUTH kmouth )
+tde_conditional_add_subdirectory( BUILD_KSAYIT ksayit )
+tde_conditional_add_subdirectory( BUILD_KTTSD kttsd )
diff --git a/doc/kmag/CMakeLists.txt b/doc/kmag/CMakeLists.txt
new file mode 100644
index 0000000..bbf4d61
--- /dev/null
+++ b/doc/kmag/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+tde_create_handbook( DESTINATION kmag )
diff --git a/doc/kmousetool/CMakeLists.txt b/doc/kmousetool/CMakeLists.txt
new file mode 100644
index 0000000..20a4302
--- /dev/null
+++ b/doc/kmousetool/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+tde_create_handbook( DESTINATION kmousetool )
diff --git a/doc/kmouth/CMakeLists.txt b/doc/kmouth/CMakeLists.txt
new file mode 100644
index 0000000..5d8c906
--- /dev/null
+++ b/doc/kmouth/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+tde_create_handbook( DESTINATION kmouth )
diff --git a/doc/ksayit/CMakeLists.txt b/doc/ksayit/CMakeLists.txt
index 2100cef..f3bd726 100644
--- a/doc/ksayit/CMakeLists.txt
+++ b/doc/ksayit/CMakeLists.txt
@@ -1,9 +1,2 @@
-#################################################
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
tde_create_handbook( DESTINATION ksayit )
diff --git a/doc/kttsd/CMakeLists.txt b/doc/kttsd/CMakeLists.txt
new file mode 100644
index 0000000..f729b93
--- /dev/null
+++ b/doc/kttsd/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+tde_create_handbook( DESTINATION kttsd )
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt
new file mode 100644
index 0000000..d08a511
--- /dev/null
+++ b/doc/man/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+tde_auto_add_subdirectories()
diff --git a/doc/man/kmag/CMakeLists.txt b/doc/man/kmag/CMakeLists.txt
new file mode 100644
index 0000000..1c1513b
--- /dev/null
+++ b/doc/man/kmag/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES kmag.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kmag/kmag.1 b/doc/man/kmag/kmag.1
new file mode 100644
index 0000000..728ae24
--- /dev/null
+++ b/doc/man/kmag/kmag.1
@@ -0,0 +1,44 @@
+'\" -*- coding: us-ascii -*-
+.if \n(.g .ds T< \\FC
+.if \n(.g .ds T> \\F[\n[.fam]]
+.de URL
+\\$2 \(la\\$1\(ra\\$3
+..
+.if \n(.g .mso www.tmac
+.TH kmag 1 "June 12, 2005" "" ""
+.SH NAME
+kmag \- Screen magnifier
+.SH SYNOPSIS
+'nh
+.fi
+.ad l
+\fBkmag\fR \kx
+.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
+'in \n(.iu+\nxu
+[ Generic Options] [ Generic Options]
+'in \n(.iu-\nxu
+.ad b
+'hy
+.SH DESCRIPTION
+\fBkmag\fR, also known as is a screen magnifier.
+You can use to magnify a part of the screen just as you would use a lens
+to magnify a newspaper fine-print or a photograph. This application is
+useful for a variety of people: from researchers to artists to
+web-designers to people with low vision.
+.SH "SEE ALSO"
+More detailed user documentation is available from \(lahelp:/kmag\(ra
+(either enter this into , or run
+\*(T<\fBkhelpcenter
+help:/kmag\fR\*(T>).
+.PP
+There is also further information available at the
+.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "
+tdeaccessibility project home page."
+.SH AUTHORS
+was written by
+OlafSchmidt
+<\*(T<ojschmidt@kde.org\*(T>> and
+SarangLakare
+<\*(T<sarang@users.sf.net\*(T>> and
+MichaelForster
+<\*(T<forster@fmi.uni\-passau.de\*(T>>
diff --git a/doc/man/kmousetool/CMakeLists.txt b/doc/man/kmousetool/CMakeLists.txt
new file mode 100644
index 0000000..f68b664
--- /dev/null
+++ b/doc/man/kmousetool/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES kmousetool.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kmousetool/kmousetool.1 b/doc/man/kmousetool/kmousetool.1
new file mode 100644
index 0000000..2b58b68
--- /dev/null
+++ b/doc/man/kmousetool/kmousetool.1
@@ -0,0 +1,39 @@
+'\" -*- coding: us-ascii -*-
+.if \n(.g .ds T< \\FC
+.if \n(.g .ds T> \\F[\n[.fam]]
+.de URL
+\\$2 \(la\\$1\(ra\\$3
+..
+.if \n(.g .mso www.tmac
+.TH kmousetool 1 "June 12, 2005" "" ""
+.SH NAME
+kmousetool \- Accessibility tool to help click the mouse
+.SH SYNOPSIS
+'nh
+.fi
+.ad l
+\fBkmousetool\fR \kx
+.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
+'in \n(.iu+\nxu
+[ Generic Options] [ Generic Options]
+'in \n(.iu-\nxu
+.ad b
+'hy
+.SH DESCRIPTION
+KMouseTool clicks the mouse whenever the mouse cursor pauses
+briefly. It was designed to help those with repetitive strain injuries, for
+whom pressing buttons hurts.
+.PP
+KMouseTool can also be configured to wait for a specified time for a
+drag to begin, before unclicking the mouse. This way, you can use it for
+drag and drop operations as well.
+.SH "SEE ALSO"
+More detailed user documentation is available from \(lahelp:/kmousetool\(ra
+(either enter this into , or run
+\*(T<\fBkhelpcenter
+help:/kmousetool\fR\*(T>).
+.PP
+There is also further information available at
+.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "the tdeaccessibility site."
+.SH AUTHORS
+KMouseTool was written by GunnarSchmi Dt <\*(T<gunnar@schmi\-dt.de\*(T>>, OlafSchmidt <\*(T<ojschmidt@kde.org\*(T>> and JeffRoush <\*(T<jeff@mousetool.com\*(T>>.
diff --git a/doc/man/kmouth/CMakeLists.txt b/doc/man/kmouth/CMakeLists.txt
new file mode 100644
index 0000000..5bed04f
--- /dev/null
+++ b/doc/man/kmouth/CMakeLists.txt
@@ -0,0 +1,5 @@
+INSTALL(
+ FILES kmouth.1
+ DESTINATION ${MAN_INSTALL_DIR}/man1
+ COMPONENT doc
+)
diff --git a/doc/man/kmouth/kmouth.1 b/doc/man/kmouth/kmouth.1
new file mode 100644
index 0000000..75d987f
--- /dev/null
+++ b/doc/man/kmouth/kmouth.1
@@ -0,0 +1,50 @@
+'\" -*- coding: us-ascii -*-
+.if \n(.g .ds T< \\FC
+.if \n(.g .ds T> \\F[\n[.fam]]
+.de URL
+\\$2 \(la\\$1\(ra\\$3
+..
+.if \n(.g .mso www.tmac
+.TH kmouth 1 "June 12, 2005" "" ""
+.SH NAME
+kmouth \- A type-and-say front end for speech synthesizers
+.SH SYNOPSIS
+'nh
+.fi
+.ad l
+\fBkmouth\fR \kx
+.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
+'in \n(.iu+\nxu
+[\fIfilename\fR] [ Generic Options] [ Generic Options]
+'in \n(.iu-\nxu
+.ad b
+'hy
+.SH DESCRIPTION
+is an application that enables persons that cannot speak to
+let their computers speak, e.g. mute people or people who have lost
+their voice. It includes a history of spoken sentences from
+which the user can select sentences to be re-spoken. It has a text input
+field and speaks the sentences that you enter. It also has support for
+user defined phrasebooks.
+.PP
+Note that does not include speech synthesizer. Instead it
+requires a speech synthesizer installed in the system.
+.SH OPTIONS
+.TP
+\fIfilename\fR
+The history file to open.
+.SH "SEE ALSO"
+kttsd(1), festival(1), mbrola(1), freetts(1)
+.PP
+More detailed user documentation is available from \(lahelp:/kmouth\(ra
+(either enter this into , or run
+\*(T<\fBkhelpcenter
+help:/kmouth\fR\*(T>).
+.PP
+There is also further information available at the
+.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility " tdeaccessibility project web site"
+\&.
+.SH AUTHORS
+was written by
+GunnarSchmi
+Dt <\*(T<kmouth@schmi\-dt.de\*(T>>.
diff --git a/kbstateapplet/CMakeLists.txt b/kbstateapplet/CMakeLists.txt
new file mode 100644
index 0000000..87c4b12
--- /dev/null
+++ b/kbstateapplet/CMakeLists.txt
@@ -0,0 +1,38 @@
+add_subdirectory( images )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${X11_Xkb_INCLUDE_PATH}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kbstate_panelapplet (kpart)
+
+tde_add_kpart( kbstate_panelapplet MODULE AUTOMOC
+
+ SOURCES
+ kbstate.cpp
+ LINK
+ tdeui-shared
+ tdecore-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kbstateapplet.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+)
diff --git a/kbstateapplet/images/CMakeLists.txt b/kbstateapplet/images/CMakeLists.txt
new file mode 100644
index 0000000..4564c0c
--- /dev/null
+++ b/kbstateapplet/images/CMakeLists.txt
@@ -0,0 +1,3 @@
+##### icons
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kbstateapplet/icons )
diff --git a/kmag/CMakeLists.txt b/kmag/CMakeLists.txt
new file mode 100644
index 0000000..585630c
--- /dev/null
+++ b/kmag/CMakeLists.txt
@@ -0,0 +1,52 @@
+add_subdirectory( images )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kmag (executable)
+
+tde_add_executable( kmag AUTOMOC
+
+ SOURCES
+ kmagzoomview.cpp
+ kmagselrect.cpp
+ kmag.cpp
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeprint-shared
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons
+
+tde_install_icons( kmag )
+
+
+##### other data
+
+install(
+ FILES kmagui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kmag
+)
+
+install(
+ FILES kmag.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kmag/Makefile.am b/kmag/Makefile.am
index 1ecf6db..678b69e 100644
--- a/kmag/Makefile.am
+++ b/kmag/Makefile.am
@@ -15,9 +15,6 @@ KDE_ICON = kmag
xdg_apps_DATA = kmag.desktop
-kmagiconsdir = $(kde_datadir)/kmag/icons
-kmagicons_ICON = followmouse hidemouse window
-
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
@@ -37,3 +34,4 @@ messages: rc.cpp
$(XGETTEXT) $$LIST -o $(podir)/kmag.pot; \
fi
+SUBDIRS = images
diff --git a/kmag/images/CMakeLists.txt b/kmag/images/CMakeLists.txt
new file mode 100644
index 0000000..b2c3d3f
--- /dev/null
+++ b/kmag/images/CMakeLists.txt
@@ -0,0 +1,3 @@
+##### icons
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kmag/icons )
diff --git a/kmag/images/Makefile.am b/kmag/images/Makefile.am
new file mode 100644
index 0000000..336246b
--- /dev/null
+++ b/kmag/images/Makefile.am
@@ -0,0 +1,3 @@
+
+kmagiconsdir = $(kde_datadir)/kmag/icons
+kmagicons_ICON = followmouse hidemouse window
diff --git a/kmag/hi16-action-followmouse.png b/kmag/images/hi16-action-followmouse.png
index 1b690e8..1b690e8 100644
--- a/kmag/hi16-action-followmouse.png
+++ b/kmag/images/hi16-action-followmouse.png
Binary files differ
diff --git a/kmag/hi16-action-hidemouse.png b/kmag/images/hi16-action-hidemouse.png
index b792f7d..b792f7d 100644
--- a/kmag/hi16-action-hidemouse.png
+++ b/kmag/images/hi16-action-hidemouse.png
Binary files differ
diff --git a/kmag/hi16-action-window.png b/kmag/images/hi16-action-window.png
index 1563cca..1563cca 100644
--- a/kmag/hi16-action-window.png
+++ b/kmag/images/hi16-action-window.png
Binary files differ
diff --git a/kmousetool/CMakeLists.txt b/kmousetool/CMakeLists.txt
new file mode 100644
index 0000000..00e90e5
--- /dev/null
+++ b/kmousetool/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+add_subdirectory( kmousetool )
diff --git a/kmousetool/kmousetool/CMakeLists.txt b/kmousetool/kmousetool/CMakeLists.txt
new file mode 100644
index 0000000..9f70cc7
--- /dev/null
+++ b/kmousetool/kmousetool/CMakeLists.txt
@@ -0,0 +1,49 @@
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${X11_XTest_INCLUDE_PATH}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kmousetool (executable)
+
+tde_add_executable( kmousetool AUTOMOC
+
+ SOURCES
+ kmousetoolui.ui
+ mtstroke.cpp
+ kmousetool.cpp
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ ${X11_LIBRARIES}
+ ${X11_XTest_LIB}
+ ${X11_Xext_LIB}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kmousetool.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install(
+ FILES mousetool_tap.wav
+ DESTINATION ${DATA_INSTALL_DIR}/kmousetool/sounds
+)
diff --git a/kmousetool/kmousetool/kmousetoolui.ui b/kmousetool/kmousetool/kmousetoolui.ui
index 906160a..a5f388a 100644
--- a/kmousetool/kmousetool/kmousetoolui.ui
+++ b/kmousetool/kmousetool/kmousetoolui.ui
@@ -408,15 +408,7 @@
</connections>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includehints>
</UI>
diff --git a/kmousetool/kmousetool/pics/CMakeLists.txt b/kmousetool/kmousetool/pics/CMakeLists.txt
new file mode 100644
index 0000000..160a56b
--- /dev/null
+++ b/kmousetool/kmousetool/pics/CMakeLists.txt
@@ -0,0 +1,3 @@
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmousetool/icons
+)
diff --git a/kmouth/CMakeLists.txt b/kmouth/CMakeLists.txt
new file mode 100644
index 0000000..bed78b0
--- /dev/null
+++ b/kmouth/CMakeLists.txt
@@ -0,0 +1,60 @@
+add_subdirectory( icons )
+add_subdirectory( phrasebook )
+add_subdirectory( wordcompletion )
+add_subdirectory( books )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_BINARY_DIR}/kmouth/phrasebook
+ ${CMAKE_BINARY_DIR}/kmouth/wordcompletion
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kmouth (executable)
+
+tde_add_executable( kmouth AUTOMOC
+
+ SOURCES
+ preferencesui.ui
+ texttospeechconfigurationui.ui
+ texttospeechconfigurationwidget.cpp
+ optionsdialog.cpp
+ configwizard.cpp
+ phraseedit.cpp
+ phraselist.cpp
+ speech.cpp
+ texttospeechsystem.cpp
+ phraselistitem.cpp
+ kmouth.cpp
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeprint-shared
+ phrasebook-static
+ wordcompletion-static
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kmouthui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth
+)
+
+install(
+ FILES kmouth.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kmouth/books/CMakeLists.txt b/kmouth/books/CMakeLists.txt
new file mode 100644
index 0000000..bc98f30
--- /dev/null
+++ b/kmouth/books/CMakeLists.txt
@@ -0,0 +1,43 @@
+install(
+ FILES
+ de.desktop
+ de-courteousness.phrasebook
+ de-greetings.phrasebook
+ de-howareyou.phrasebook
+ de-personal.phrasebook
+
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/de
+)
+
+install(
+ FILES
+ en.desktop
+ en-courteousness.phrasebook
+ en-greetings.phrasebook
+ en-howareyou.phrasebook
+ en-personal.phrasebook
+
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/en
+)
+
+install(
+ FILES
+ sv.desktop
+ sv-courteousness.phrasebook
+ sv-greetings.phrasebook
+ sv-howareyou.phrasebook
+ sv-personal.phrasebook
+
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/sv
+)
+
+install(
+ FILES
+ nl.desktop
+ nl-courteousness.phrasebook
+ nl-greetings.phrasebook
+ nl-howareyou.phrasebook
+ nl-personal.phrasebook
+
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/nl
+)
diff --git a/kmouth/icons/CMakeLists.txt b/kmouth/icons/CMakeLists.txt
new file mode 100644
index 0000000..52c60aa
--- /dev/null
+++ b/kmouth/icons/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_subdirectory( history )
+add_subdirectory( phrase )
+add_subdirectory( phrasebook )
+add_subdirectory( app )
+
+
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/icons
+)
diff --git a/kmouth/icons/app/CMakeLists.txt b/kmouth/icons/app/CMakeLists.txt
new file mode 100644
index 0000000..9133d6b
--- /dev/null
+++ b/kmouth/icons/app/CMakeLists.txt
@@ -0,0 +1,3 @@
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/icons
+)
diff --git a/kmouth/icons/history/CMakeLists.txt b/kmouth/icons/history/CMakeLists.txt
new file mode 100644
index 0000000..9133d6b
--- /dev/null
+++ b/kmouth/icons/history/CMakeLists.txt
@@ -0,0 +1,3 @@
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/icons
+)
diff --git a/kmouth/icons/phrase/CMakeLists.txt b/kmouth/icons/phrase/CMakeLists.txt
new file mode 100644
index 0000000..9133d6b
--- /dev/null
+++ b/kmouth/icons/phrase/CMakeLists.txt
@@ -0,0 +1,3 @@
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/icons
+)
diff --git a/kmouth/icons/phrasebook/CMakeLists.txt b/kmouth/icons/phrasebook/CMakeLists.txt
new file mode 100644
index 0000000..9133d6b
--- /dev/null
+++ b/kmouth/icons/phrasebook/CMakeLists.txt
@@ -0,0 +1,3 @@
+tde_install_icons(
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth/icons
+)
diff --git a/kmouth/phrasebook/CMakeLists.txt b/kmouth/phrasebook/CMakeLists.txt
new file mode 100644
index 0000000..ed96605
--- /dev/null
+++ b/kmouth/phrasebook/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### phrasebook (static)
+
+tde_add_library( phrasebook STATIC_PIC AUTOMOC
+
+ SOURCES
+ buttonboxui.ui
+ phrasetree.cpp
+ phrasebookparser.cpp
+ phrasebookdialog.cpp
+ phrasebook.cpp
+)
+
+
+install(
+ FILES phrasebookdialogui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kmouth
+)
diff --git a/kmouth/phrasebook/buttonboxui.ui b/kmouth/phrasebook/buttonboxui.ui
index 59f1d40..e0fa9ed 100644
--- a/kmouth/phrasebook/buttonboxui.ui
+++ b/kmouth/phrasebook/buttonboxui.ui
@@ -104,4 +104,7 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includehints>
</UI>
diff --git a/kmouth/preferencesui.ui b/kmouth/preferencesui.ui
index 6d998cd..16cb7ce 100644
--- a/kmouth/preferencesui.ui
+++ b/kmouth/preferencesui.ui
@@ -159,4 +159,7 @@
</vbox>
</widget>
<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includehints>
</UI>
diff --git a/kmouth/texttospeechconfigurationui.ui b/kmouth/texttospeechconfigurationui.ui
index 59bcf7a..3e96292 100644
--- a/kmouth/texttospeechconfigurationui.ui
+++ b/kmouth/texttospeechconfigurationui.ui
@@ -162,9 +162,9 @@
</Q_SIGNALS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
</includehints>
</UI>
diff --git a/kmouth/wordcompletion/CMakeLists.txt b/kmouth/wordcompletion/CMakeLists.txt
new file mode 100644
index 0000000..295a8d0
--- /dev/null
+++ b/kmouth/wordcompletion/CMakeLists.txt
@@ -0,0 +1,30 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### wordcompletion (static)
+
+tde_add_library( wordcompletion STATIC_PIC AUTOMOC
+
+ SOURCES
+ wordcompletionui.ui
+ creationsourceui.ui
+ creationsourcedetailsui.ui
+ kdedocsourceui.ui
+ wordlist.cpp
+ wordcompletion.cpp
+ wordcompletionwidget.cpp
+ dictionarycreationwizard.cpp
+ klanguagebutton.cpp
+ klanguagebuttonhelper.cpp
+)
diff --git a/kmouth/wordcompletion/creationsourcedetailsui.ui b/kmouth/wordcompletion/creationsourcedetailsui.ui
index 52aa8a7..bd818aa 100644
--- a/kmouth/wordcompletion/creationsourcedetailsui.ui
+++ b/kmouth/wordcompletion/creationsourcedetailsui.ui
@@ -174,11 +174,9 @@
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
- <includehint>kinputdialog.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>kinputdialog.h</includehint>
- <includehint>kpushbutton.h</includehint>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">kinputdialog.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
</includehints>
</UI>
diff --git a/kmouth/wordcompletion/kdedocsourceui.ui b/kmouth/wordcompletion/kdedocsourceui.ui
index c310fa1..7ac603c 100644
--- a/kmouth/wordcompletion/kdedocsourceui.ui
+++ b/kmouth/wordcompletion/kdedocsourceui.ui
@@ -94,8 +94,8 @@
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includehints>
</UI>
diff --git a/kmouth/wordcompletion/wordcompletionui.ui b/kmouth/wordcompletion/wordcompletionui.ui
index bc9cde5..665f8af 100644
--- a/kmouth/wordcompletion/wordcompletionui.ui
+++ b/kmouth/wordcompletion/wordcompletionui.ui
@@ -266,6 +266,7 @@
<include location="local" impldecl="in implementation">klanguagebutton.h</include>
<include location="local" impldecl="in implementation">klanguagebuttonhelper.h</include>
<include location="local" impldecl="in implementation">wordcompletionui.ui.h</include>
+ <include location="local" impldecl="in implementation">klineedit.h</include>
</includes>
<forwards>
<forward>class KLanguageButton</forward>
@@ -281,13 +282,9 @@
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kinputdialog.h</includehint>
+ <include location="global" impldecl="in implementation">kurlrequester.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">kinputdialog.h</include>
</includehints>
</UI>
diff --git a/ksayit/CMakeLists.txt b/ksayit/CMakeLists.txt
new file mode 100644
index 0000000..c7622c3
--- /dev/null
+++ b/ksayit/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+add_subdirectory( KTTSD_Lib )
+add_subdirectory( src )
+
+#add_subdirectory( Freeverb_plugin ) where's the <arts/artsmodules.h> header?
diff --git a/ksayit/Freeverb_plugin/CMakeLists.txt b/ksayit/Freeverb_plugin/CMakeLists.txt
new file mode 100644
index 0000000..ef2d096
--- /dev/null
+++ b/ksayit/Freeverb_plugin/CMakeLists.txt
@@ -0,0 +1,30 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/ksayit/src
+ ${ARTS_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### Freeverb_plugin (module)
+
+tde_add_library( Freeverb_plugin MODULE AUTOMOC
+
+ SOURCES
+ freeverb_setup.ui
+ freeverbsetupimpl.cpp
+ ksayitfreeverblib.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ artskde artsflow artsflow_idl artsmoduleseffects soundserver_idl artsmodules
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/ksayit/Freeverb_plugin/freeverb_setup.ui b/ksayit/Freeverb_plugin/freeverb_setup.ui
index 7cd1a02..5474e16 100644
--- a/ksayit/Freeverb_plugin/freeverb_setup.ui
+++ b/ksayit/Freeverb_plugin/freeverb_setup.ui
@@ -662,7 +662,7 @@
<slot>slotOKwasClicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/ksayit/KTTSD_Lib/CMakeLists.txt b/ksayit/KTTSD_Lib/CMakeLists.txt
new file mode 100644
index 0000000..3e0fe42
--- /dev/null
+++ b/ksayit/KTTSD_Lib/CMakeLists.txt
@@ -0,0 +1,78 @@
+
+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}
+)
+
+##### ksayit_kspeech
+
+set( KSPEECH_KIDL kspeech.kidl )
+set( KSPEECH_STUB kspeech_stub )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeech.h > ${KSPEECH_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeech.h
+)
+add_custom_target( ksayit-kspeech-kidl DEPENDS ${KSPEECH_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_STUB}.h ${KSPEECH_STUB}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-skel ${KSPEECH_KIDL}
+ DEPENDS ${KSPEECH_KIDL}
+)
+add_custom_target( ksayit-kspeech-stub DEPENDS ${KSPEECH_STUB}.cpp )
+
+
+###### ksayit_kspeechsink
+
+set( KSPEECHSINK_KIDL kspeechsink.kidl )
+set( KSPEECHSINK_SKEL kspeechsink_skel )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeechsink.h > ${KSPEECHSINK_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeechsink.h
+)
+add_custom_target( ksayit-kspeechsink-kidl DEPENDS ${KSPEECHSINK_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KSPEECHSINK_KIDL}
+ DEPENDS ${KSPEECHSINK_KIDL}
+)
+add_custom_target( ksayit-kspeechsink-skel DEPENDS ${KSPEECHSINK_SKEL}.cpp )
+
+
+##### KTTSD_Lib (shared)
+
+tde_add_library( KTTSD_Lib SHARED AUTOMOC
+
+ SOURCES
+ KTTSDlibSetup.ui
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECH_STUB}.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECHSINK_SKEL}.cpp
+ kttsdlib.cpp
+ kttsdlibsetupimpl.cpp
+ kttsdlibtalker2.cpp
+ LINK
+ tdeui-shared
+ tdecore-shared
+
+ DEPENDENCIES
+ ksayit-kspeech-stub
+ ksayit-kspeechsink-skel
+
+ VERSION 0.1
+
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
diff --git a/ksayit/src/CMakeLists.txt b/ksayit/src/CMakeLists.txt
new file mode 100644
index 0000000..b8990e7
--- /dev/null
+++ b/ksayit/src/CMakeLists.txt
@@ -0,0 +1,73 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/ksayit/KTTSD_Lib
+ ${ARTS_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### ksayit (executable)
+
+tde_add_executable( ksayit AUTOMOC
+
+ SOURCES
+ DocTreeView.ui
+ fx_setup.ui
+ KSayItView.ui
+ doctreeviewimpl.cpp
+ effectstack.cpp
+ fxpluginhandler.cpp
+ fxsetupimpl.cpp
+ ksayit.skel
+ ksayitsystemtray.cpp
+ ksayitviewimpl.cpp
+ main.cpp
+ voicesetupdlg.cpp
+ ksayit.cpp
+ parasaxparser.cpp
+ saxhandler.cpp
+ ksayitbookmarkhandler.cpp
+ contextmenuhandler.cpp
+ docbookclasses.cpp
+ docbookgenerator.cpp
+ docbookparser.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ KTTSD_Lib-shared
+ ${ARTS_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+##### icons
+
+tde_install_icons()
+
+
+##### other data
+
+install(
+ FILES ksayitui.rc ContextMenus.xml
+ DESTINATION ${DATA_INSTALL_DIR}/ksayit
+)
+
+install(
+ FILES ksayit.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install(
+ FILES ksayit_fxplugin.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}
+)
diff --git a/ksayit/src/DocTreeView.ui b/ksayit/src/DocTreeView.ui
index 166b9b6..c9a150f 100644
--- a/ksayit/src/DocTreeView.ui
+++ b/ksayit/src/DocTreeView.ui
@@ -155,7 +155,7 @@
<slot>slotRightButtonPressed( TQListViewItem * i, const TQPoint &amp;, int )</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/ksayit/src/KSayItView.ui b/ksayit/src/KSayItView.ui
index 90d8332..a01f0af 100644
--- a/ksayit/src/KSayItView.ui
+++ b/ksayit/src/KSayItView.ui
@@ -63,7 +63,7 @@
<slot>slotTextChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextedit.h</include>
+</includes>
</UI>
diff --git a/kttsd/CMakeLists.txt b/kttsd/CMakeLists.txt
new file mode 100644
index 0000000..2c39333
--- /dev/null
+++ b/kttsd/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_subdirectory( app-plugins )
+add_subdirectory( libkttsd )
+add_subdirectory( players )
+add_subdirectory( plugins )
+add_subdirectory( filters )
+add_subdirectory( kttsmgr )
+add_subdirectory( kttsd )
+add_subdirectory( kttsjobmgr )
+#add_subdirectory( kcmkttsmgr )
+add_subdirectory( icons )
diff --git a/kttsd/app-plugins/CMakeLists.txt b/kttsd/app-plugins/CMakeLists.txt
new file mode 100644
index 0000000..14c725d
--- /dev/null
+++ b/kttsd/app-plugins/CMakeLists.txt
@@ -0,0 +1,2 @@
+
+add_subdirectory( kate )
diff --git a/kttsd/app-plugins/kate/CMakeLists.txt b/kttsd/app-plugins/kate/CMakeLists.txt
new file mode 100644
index 0000000..cd5a8df
--- /dev/null
+++ b/kttsd/app-plugins/kate/CMakeLists.txt
@@ -0,0 +1,35 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### tdetexteditor_kttsd (kpart)
+
+tde_add_kpart( tdetexteditor_kttsd AUTOMOC
+
+ SOURCES
+ katekttsd.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdetexteditor-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES tdetexteditor_kttsdui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kttsd
+)
diff --git a/kttsd/filters/CMakeLists.txt b/kttsd/filters/CMakeLists.txt
new file mode 100644
index 0000000..edb4041
--- /dev/null
+++ b/kttsd/filters/CMakeLists.txt
@@ -0,0 +1,45 @@
+
+add_subdirectory( stringreplacer )
+add_subdirectory( xmltransformer )
+add_subdirectory( sbd )
+add_subdirectory( talkerchooser )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### testfilter (test)
+
+tde_add_executable( testfilter AUTOMOC
+
+ SOURCES
+ main.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kttsd-shared
+)
+
+add_test(
+ NAME testfilter-test
+ COMMAND testfilter
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_filterplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
diff --git a/kttsd/filters/sbd/CMakeLists.txt b/kttsd/filters/sbd/CMakeLists.txt
new file mode 100644
index 0000000..0ce4050
--- /dev/null
+++ b/kttsd/filters/sbd/CMakeLists.txt
@@ -0,0 +1,42 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_sbdplugin (kpart)
+
+tde_add_kpart( libkttsd_sbdplugin AUTOMOC
+
+ SOURCES
+ sbdconfwidget.ui
+ sbdproc.cpp
+ sbdconf.cpp
+ sbdplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_sbdplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES standard_sbdrc polish_festival_sbdrc
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/sbd
+)
diff --git a/kttsd/filters/sbd/sbdconfwidget.ui b/kttsd/filters/sbd/sbdconfwidget.ui
index 3c8bcff..8eada8a 100644
--- a/kttsd/filters/sbd/sbdconfwidget.ui
+++ b/kttsd/filters/sbd/sbdconfwidget.ui
@@ -348,16 +348,8 @@
<tabstop>appIdLineEdit</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kttsd/filters/stringreplacer/CMakeLists.txt b/kttsd/filters/stringreplacer/CMakeLists.txt
new file mode 100644
index 0000000..591bead
--- /dev/null
+++ b/kttsd/filters/stringreplacer/CMakeLists.txt
@@ -0,0 +1,46 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_stringreplacerplugin (kpart)
+
+tde_add_kpart( libkttsd_stringreplacerplugin AUTOMOC
+
+ SOURCES
+ stringreplacerconfwidget.ui
+ editreplacementwidget.ui
+ stringreplacerconf.cpp
+ stringreplacerproc.cpp
+ stringreplacerplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_stringreplacerplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+
+file( GLOB _xmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.xml )
+
+install(
+ FILES ${_xmls}
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/stringreplacer
+)
diff --git a/kttsd/filters/stringreplacer/editreplacementwidget.ui b/kttsd/filters/stringreplacer/editreplacementwidget.ui
index 8c61932..2424f75 100644
--- a/kttsd/filters/stringreplacer/editreplacementwidget.ui
+++ b/kttsd/filters/stringreplacer/editreplacementwidget.ui
@@ -255,9 +255,8 @@
<tabstop>substLineEdit</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kttsd/filters/stringreplacer/stringreplacerconfwidget.ui b/kttsd/filters/stringreplacer/stringreplacerconfwidget.ui
index f1e58d7..50b8c35 100644
--- a/kttsd/filters/stringreplacer/stringreplacerconfwidget.ui
+++ b/kttsd/filters/stringreplacer/stringreplacerconfwidget.ui
@@ -458,17 +458,9 @@
<tabstop>appIdLineEdit</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.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">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kttsd/filters/talkerchooser/CMakeLists.txt b/kttsd/filters/talkerchooser/CMakeLists.txt
new file mode 100644
index 0000000..38bf2a3
--- /dev/null
+++ b/kttsd/filters/talkerchooser/CMakeLists.txt
@@ -0,0 +1,43 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${CMAKE_BINARY_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_talkerchooserplugin (kpart)
+
+tde_add_kpart( libkttsd_talkerchooserplugin AUTOMOC
+
+ SOURCES
+ talkerchooserconfwidget.ui
+ talkerchooserconf.cpp
+ talkerchooserproc.cpp
+ talkerchooserplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_talkerchooserplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES female_notifications_rc
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/talkerchooser
+)
diff --git a/kttsd/filters/talkerchooser/talkerchooserconfwidget.ui b/kttsd/filters/talkerchooser/talkerchooserconfwidget.ui
index a66c2bc..f163922 100644
--- a/kttsd/filters/talkerchooser/talkerchooserconfwidget.ui
+++ b/kttsd/filters/talkerchooser/talkerchooserconfwidget.ui
@@ -305,15 +305,8 @@
<tabstop>appIdLineEdit</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>klineedit.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">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+</includes>
</UI>
diff --git a/kttsd/filters/xmltransformer/CMakeLists.txt b/kttsd/filters/xmltransformer/CMakeLists.txt
new file mode 100644
index 0000000..bacdea9
--- /dev/null
+++ b/kttsd/filters/xmltransformer/CMakeLists.txt
@@ -0,0 +1,42 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_xmltransformerplugin (kpart)
+
+tde_add_kpart( libkttsd_xmltransformerplugin AUTOMOC
+
+ SOURCES
+ xmltransformerconfwidget.ui
+ xmltransformerconf.cpp
+ xmltransformerproc.cpp
+ xmltransformerplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_xmltransformerplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES xhtml2ssml.xsl xhtml2ssml_simple.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/xmltransformer
+)
diff --git a/kttsd/filters/xmltransformer/xmltransformerconfwidget.ui b/kttsd/filters/xmltransformer/xmltransformerconfwidget.ui
index 89d5c7c..ecb6d3b 100644
--- a/kttsd/filters/xmltransformer/xmltransformerconfwidget.ui
+++ b/kttsd/filters/xmltransformer/xmltransformerconfwidget.ui
@@ -234,16 +234,9 @@
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>klineedit.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <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>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/kttsd/icons/CMakeLists.txt b/kttsd/icons/CMakeLists.txt
new file mode 100644
index 0000000..643654c
--- /dev/null
+++ b/kttsd/icons/CMakeLists.txt
@@ -0,0 +1,3 @@
+##### icons
+
+tde_install_icons()
diff --git a/kttsd/kcmkttsmgr/CMakeLists.txt b/kttsd/kcmkttsmgr/CMakeLists.txt
new file mode 100644
index 0000000..7c323aa
--- /dev/null
+++ b/kttsd/kcmkttsmgr/CMakeLists.txt
@@ -0,0 +1,78 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${CMAKE_BINARY_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### kcmkttsmgr_kspeech
+
+set( KSPEECH_KIDL kspeech.kidl )
+set( KSPEECH_STUB kspeech_stub )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeech.h > ${KSPEECH_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeech.h
+)
+add_custom_target( kcmkttsmgr-kspeech-kidl DEPENDS ${KSPEECH_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_STUB}.h ${KSPEECH_STUB}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-skel ${KSPEECH_KIDL}
+ DEPENDS ${KSPEECH_KIDL}
+)
+add_custom_target( kcmkttsmgr-kspeech-stub DEPENDS kspeech_stub.h kspeech_stub.cpp )
+
+
+###### kcmkttsmgr_kspeechsink
+
+set( KSPEECHSINK_KIDL kspeechsink.kidl )
+set( KSPEECHSINK_SKEL kspeechsink_skel )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeechsink.h > ${KSPEECHSINK_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeechsink.h
+)
+add_custom_target( kcmkttsmgr-kspeechsink-kidl DEPENDS ${KSPEECHSINK_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KSPEECHSINK_KIDL}
+ DEPENDS ${KSPEECHSINK_KIDL}
+)
+add_custom_target( kcmkttsmgr-kspeechsink-stub DEPENDS kspeech_stub.h kspeech_stub.cpp )
+
+
+##### libkcm_kttsd (kpart)
+
+tde_add_kpart( libkcm_kttsd MODULE AUTOMOC
+
+ SOURCES
+ kcmkttsmgrwidget.ui
+ addtalkerwidget.ui
+ selecteventwidget.ui
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECH_STUB}.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECHSINK_SKEL}.cpp
+ kcmkttsmgr.cpp
+ addtalker.cpp
+ selectevent.cpp
+ LINK
+ tdeio-shared
+ kttsd-shared
+
+ DEPENDENCIES
+ kcmkttsmgr-kspeech-stub
+ kcmkttsmgr-kspeechsink-stub
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kttsd/kcmkttsmgr/addtalkerwidget.ui b/kttsd/kcmkttsmgr/addtalkerwidget.ui
index ae48c61..4597a90 100644
--- a/kttsd/kcmkttsmgr/addtalkerwidget.ui
+++ b/kttsd/kcmkttsmgr/addtalkerwidget.ui
@@ -253,8 +253,7 @@
<tabstop>languageRadioButton</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui b/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui
index 0a4307c..f9dc7bc 100644
--- a/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui
+++ b/kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui
@@ -1895,34 +1895,13 @@
<slot access="private">slotConfigChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="6"/>
-<includehints>
- <includehint>tdecmodule.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdecmodule.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+</includes>
</UI>
diff --git a/kttsd/kcmkttsmgr/selecteventwidget.ui b/kttsd/kcmkttsmgr/selecteventwidget.ui
index 3d4281f..14df075 100644
--- a/kttsd/kcmkttsmgr/selecteventwidget.ui
+++ b/kttsd/kcmkttsmgr/selecteventwidget.ui
@@ -56,7 +56,7 @@
<customwidgets>
</customwidgets>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/kttsd/kttsd/CMakeLists.txt b/kttsd/kttsd/CMakeLists.txt
new file mode 100644
index 0000000..ae15a37
--- /dev/null
+++ b/kttsd/kttsd/CMakeLists.txt
@@ -0,0 +1,110 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### kttsd_kspeech
+
+set( KSPEECH_KIDL kspeech.kidl )
+set( KSPEECH_SKEL kspeech_skel )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeech.h > ${KSPEECH_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeech.h
+)
+add_custom_target( kttsd-kspeech-kidl DEPENDS ${KSPEECH_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KSPEECH_KIDL}
+ DEPENDS kttsd-kspeech-kidl
+)
+add_custom_target( kttsd-kspeech-skel DEPENDS ${KSPEECH_SKEL}.cpp )
+
+
+###### kttsd_kspeechsink
+
+set( KSPEECHSINK_KIDL kspeechsink.kidl )
+set( KSPEECHSINK_STUB kspeechsink_stub )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeechsink.h > ${KSPEECHSINK_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeechsink.h
+)
+add_custom_target( kttsd-kspeechsink-kidl DEPENDS ${KSPEECHSINK_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_STUB}.h
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-skel ${KSPEECHSINK_KIDL}
+ DEPENDS kttsd-kspeechsink-kidl
+)
+add_custom_target( kttsd-kspeechsink-stub DEPENDS ${KSPEECHSINK_STUB}.h )
+
+
+##### kttsd
+
+set( KTTSD_KIDL kttsd.kidl )
+set( KTTSD_SKEL kttsd_skel )
+
+add_custom_command(
+ OUTPUT ${KTTSD_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/kttsd/kttsd/kttsd.h > ${KTTSD_KIDL}
+ DEPENDS ${CMAKE_SOURCE_DIR}/kttsd/kttsd/kttsd.h
+)
+add_custom_target( kttsd-kidl DEPENDS ${KTTSD_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KTTSD_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KTTSD_KIDL}
+ DEPENDS kttsd-kidl
+)
+add_custom_target( kttsd-skel DEPENDS ${KTTSD_SKEL}.cpp )
+
+
+##### kttsd (executable)
+
+tde_add_executable( kttsd AUTOMOC
+
+ SOURCES
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECH_SKEL}.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/${KTTSD_SKEL}.cpp
+ main.cpp
+ kttsd.cpp
+ speaker.cpp
+ speechdata.cpp
+ threadedplugin.cpp
+ ssmlconvert.cpp
+ filtermgr.cpp
+ talkermgr.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ kttsd-shared
+
+ DEPENDENCIES
+ kttsd-kspeech-skel
+ kttsd-kspeechsink-stub
+ kttsd-skel
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES SSMLtoPlainText.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/xslt
+)
diff --git a/kttsd/kttsjobmgr/CMakeLists.txt b/kttsd/kttsjobmgr/CMakeLists.txt
new file mode 100644
index 0000000..88827fd
--- /dev/null
+++ b/kttsd/kttsjobmgr/CMakeLists.txt
@@ -0,0 +1,81 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${CMAKE_BINARY_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### kttsjobmgr_kspeech
+
+set( KSPEECH_KIDL kspeech.kidl )
+set( KSPEECH_STUB kspeech_stub )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeech.h > ${KSPEECH_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeech.h
+)
+add_custom_target( kttsjobmgr-kspeech-kidl DEPENDS ${KSPEECH_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_STUB}.h ${KSPEECH_STUB}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-skel ${KSPEECH_KIDL}
+ DEPENDS ${KSPEECH_KIDL}
+)
+add_custom_target( kttsjobmg-kspeech-stub DEPENDS kspeech_stub.h kspeech_stub.cpp )
+
+
+###### kttsjobmgr_kspeechsink
+
+set( KSPEECHSINK_KIDL kspeechsink.kidl )
+set( KSPEECHSINK_SKEL kspeechsink_skel )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeechsink.h > ${KSPEECHSINK_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeechsink.h
+)
+add_custom_target( kttsjobmgr-kspeechsink-kidl DEPENDS ${KSPEECHSINK_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KSPEECHSINK_KIDL}
+ DEPENDS ${KSPEECHSINK_KIDL}
+)
+add_custom_target( kttsjobmgr-kspeechsink-stub DEPENDS kspeech_stub.h kspeech_stub.cpp )
+
+
+##### libkttsjobmgrpart (kpart)
+
+tde_add_kpart( libkttsjobmgrpart MODULE AUTOMOC
+
+ SOURCES
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECH_STUB}.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECHSINK_SKEL}.cpp
+ kttsjobmgr.cpp
+ LINK
+ tdeio-shared
+ tdeparts-shared
+ kttsd-shared
+
+ DEPENDENCIES
+ kttsjobmg-kspeech-stub
+ kttsjobmgr-kspeechsink-stub
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+#
+# kttsjobmgr.desktop
+#
diff --git a/kttsd/kttsmgr/CMakeLists.txt b/kttsd/kttsmgr/CMakeLists.txt
new file mode 100644
index 0000000..66f4d61
--- /dev/null
+++ b/kttsd/kttsmgr/CMakeLists.txt
@@ -0,0 +1,82 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kttsmgr_kspeech
+
+set( KSPEECH_KIDL kspeech.kidl )
+set( KSPEECH_STUB kspeech_stub )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeech.h > ${KSPEECH_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeech.h
+)
+add_custom_target( kttsmgr-kspeech-kidl DEPENDS ${KSPEECH_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECH_STUB}.h ${KSPEECH_STUB}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-skel ${KSPEECH_KIDL}
+ DEPENDS ${KSPEECH_KIDL}
+)
+add_custom_target( kttsmgr-kspeech-stub DEPENDS ${KSPEECH_STUB}.cpp )
+
+
+###### kttsmgr_kspeechsink
+
+set( KSPEECHSINK_KIDL kspeechsink.kidl )
+set( KSPEECHSINK_SKEL kspeechsink_skel )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_KIDL}
+ COMMAND ${KDE3_DCOPIDL_EXECUTABLE} ${KTTS_KSPEECH_DIR}/kspeechsink.h > ${KSPEECHSINK_KIDL}
+ DEPENDS ${KTTS_KSPEECH_DIR}/kspeechsink.h
+)
+add_custom_target( kttsmgr-kspeechsink-kidl DEPENDS ${KSPEECHSINK_KIDL} )
+
+add_custom_command(
+ OUTPUT ${KSPEECHSINK_SKEL}.cpp
+ COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} --c++-suffix cpp --no-signals --no-stub ${KSPEECHSINK_KIDL}
+ DEPENDS ${KSPEECHSINK_KIDL}
+)
+add_custom_target( kttsmgr-kspeechsink-skel DEPENDS ${KSPEECHSINK_SKEL}.cpp )
+
+
+##### kttsmgr (executable)
+
+tde_add_executable( kttsmgr AUTOMOC
+
+ SOURCES
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECH_STUB}.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/${KSPEECHSINK_SKEL}.cpp
+ kttsmgr.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ tdeutils-shared
+
+ DEPENDENCIES
+ kttsmgr-kspeech-stub
+ kttsmgr-kspeechsink-skel
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsmgr.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kttsd/libkttsd/CMakeLists.txt b/kttsd/libkttsd/CMakeLists.txt
new file mode 100644
index 0000000..55311ee
--- /dev/null
+++ b/kttsd/libkttsd/CMakeLists.txt
@@ -0,0 +1,46 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### kttsd (shared)
+
+tde_add_library( kttsd SHARED AUTOMOC
+
+ SOURCES
+ selecttalkerwidget.ui
+ pluginproc.cpp
+ pluginconf.cpp
+ testplayer.cpp
+ stretcher.cpp
+ talkercode.cpp
+ filterproc.cpp
+ filterconf.cpp
+ utils.cpp
+ selecttalkerdlg.cpp
+ notify.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+
+ VERSION 1.0.0
+
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_synthplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
diff --git a/kttsd/libkttsd/selecttalkerwidget.ui b/kttsd/libkttsd/selecttalkerwidget.ui
index f2b8f00..b250f4a 100644
--- a/kttsd/libkttsd/selecttalkerwidget.ui
+++ b/kttsd/libkttsd/selecttalkerwidget.ui
@@ -560,13 +560,10 @@
<tabstop>talkersListView</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="0"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>tdelistview.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">tdelistview.h</include>
+</includes>
</UI>
diff --git a/kttsd/libkttsd/testplayer.cpp b/kttsd/libkttsd/testplayer.cpp
index 80d8b90..560c882 100644
--- a/kttsd/libkttsd/testplayer.cpp
+++ b/kttsd/libkttsd/testplayer.cpp
@@ -174,7 +174,7 @@ Player* TestPlayer::createPlayerObject(int playerOption)
offers[0]->library().latin1(), this, offers[0]->library().latin1());
else
kdDebug() << "TestPlayer::createPlayerObject: Could not create factory." << endl;
- }
+ }
if (player == 0)
kdDebug() << "TestPlayer::createPlayerObject: Could not load " + plugInName +
". Is TDEDIRS set correctly?" << endl;
@@ -207,3 +207,4 @@ TQString TestPlayer::makeSuggestedFilename()
return PlugInConf::realFilePath(waveFile);
}
+#include "player.moc"
diff --git a/kttsd/players/CMakeLists.txt b/kttsd/players/CMakeLists.txt
new file mode 100644
index 0000000..69971f4
--- /dev/null
+++ b/kttsd/players/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+add_subdirectory( artsplayer )
+
+tde_conditional_add_subdirectory( WITH_AKODE akodeplayer )
+tde_conditional_add_subdirectory( WITH_ALSA alsaplayer )
+tde_conditional_add_subdirectory( WITH_GSTREAMER gstplayer )
+
+
+##### other data
+
+install(
+ FILES kttsd_audioplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+)
diff --git a/kttsd/players/akodeplayer/CMakeLists.txt b/kttsd/players/akodeplayer/CMakeLists.txt
new file mode 100644
index 0000000..fca8fd2
--- /dev/null
+++ b/kttsd/players/akodeplayer/CMakeLists.txt
@@ -0,0 +1,36 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_akodeplugin (kpart)
+
+tde_add_kpart( libkttsd_akodeplugin AUTOMOC
+
+ SOURCES
+ akodeplugin.cpp
+ akodeplayer.cpp
+ LINK
+ kttsd-shared
+ ${AKODE_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_akodeplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/players/alsaplayer/CMakeLists.txt b/kttsd/players/alsaplayer/CMakeLists.txt
new file mode 100644
index 0000000..14f4f42
--- /dev/null
+++ b/kttsd/players/alsaplayer/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${ALSA_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_alsaplugin (kpart)
+
+tde_add_kpart( libkttsd_alsaplugin AUTOMOC
+
+ SOURCES
+ alsaplugin.cpp
+ alsaplayer.cpp
+ LINK
+ kttsd-shared
+ ${ALSA_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_alsaplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/players/artsplayer/CMakeLists.txt b/kttsd/players/artsplayer/CMakeLists.txt
new file mode 100644
index 0000000..9905049
--- /dev/null
+++ b/kttsd/players/artsplayer/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${ARTS_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_artsplugin (kpart)
+
+tde_add_kpart( libkttsd_artsplugin AUTOMOC
+
+ SOURCES
+ artsplugin.cpp
+ artsplayer.cpp
+ LINK
+ kttsd-shared
+ ${ARTS_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_artsplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/players/gstplayer/CMakeLists.txt b/kttsd/players/gstplayer/CMakeLists.txt
new file mode 100644
index 0000000..04b8161
--- /dev/null
+++ b/kttsd/players/gstplayer/CMakeLists.txt
@@ -0,0 +1,38 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${GSTREAMER_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_gstplugin (kpart)
+
+tde_add_kpart( libkttsd_gstplugin AUTOMOC
+
+ SOURCES
+ gstplugin.cpp
+ gstreamerplayer.cpp
+ LINK
+ kttsd-shared
+ ${GSTREAMER_LIBRARIES}
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_gstplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/plugins/CMakeLists.txt b/kttsd/plugins/CMakeLists.txt
new file mode 100644
index 0000000..dcc18ee
--- /dev/null
+++ b/kttsd/plugins/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory( command )
+add_subdirectory( epos )
+add_subdirectory( festivalint )
+add_subdirectory( freetts )
+add_subdirectory( flite )
+add_subdirectory( hadifix )
diff --git a/kttsd/plugins/command/CMakeLists.txt b/kttsd/plugins/command/CMakeLists.txt
new file mode 100644
index 0000000..ddcb7e6
--- /dev/null
+++ b/kttsd/plugins/command/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_commandplugin (kpart)
+
+tde_add_kpart( libkttsd_commandplugin AUTOMOC
+
+ SOURCES
+ commandconfwidget.ui
+ commandconf.cpp
+ commandproc.cpp
+ commandplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_commandplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/plugins/epos/CMakeLists.txt b/kttsd/plugins/epos/CMakeLists.txt
new file mode 100644
index 0000000..de60d21
--- /dev/null
+++ b/kttsd/plugins/epos/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_eposplugin (kpart)
+
+tde_add_kpart( libkttsd_eposplugin AUTOMOC
+
+ SOURCES
+ eposconfwidget.ui
+ eposconf.cpp
+ eposproc.cpp
+ eposplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_eposplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/plugins/epos/eposconfwidget.ui b/kttsd/plugins/epos/eposconfwidget.ui
index c66a081..093aa85 100644
--- a/kttsd/plugins/epos/eposconfwidget.ui
+++ b/kttsd/plugins/epos/eposconfwidget.ui
@@ -596,15 +596,11 @@
<include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/kttsd/plugins/festivalint/CMakeLists.txt b/kttsd/plugins/festivalint/CMakeLists.txt
new file mode 100644
index 0000000..2c1b68f
--- /dev/null
+++ b/kttsd/plugins/festivalint/CMakeLists.txt
@@ -0,0 +1,47 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_festivalintplugin (kpart)
+
+tde_add_kpart( libkttsd_festivalintplugin AUTOMOC
+
+ SOURCES
+ festivalintconfwidget.ui
+ festivalintconf.cpp
+ festivalintproc.cpp
+ festivalintplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_festivalintplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES SSMLtoSable.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/festivalint/xslt
+)
+
+install(
+ FILES voices sabletowave.scm
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/festivalint
+)
diff --git a/kttsd/plugins/festivalint/festivalintconfwidget.ui b/kttsd/plugins/festivalint/festivalintconfwidget.ui
index 76a570f..4109314 100644
--- a/kttsd/plugins/festivalint/festivalintconfwidget.ui
+++ b/kttsd/plugins/festivalint/festivalintconfwidget.ui
@@ -584,15 +584,11 @@
<include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kcombobox.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/kttsd/plugins/flite/CMakeLists.txt b/kttsd/plugins/flite/CMakeLists.txt
new file mode 100644
index 0000000..fcc50fb
--- /dev/null
+++ b/kttsd/plugins/flite/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_fliteplugin (kpart)
+
+tde_add_kpart( libkttsd_fliteplugin AUTOMOC
+
+ SOURCES
+ fliteconfwidget.ui
+ fliteconf.cpp
+ fliteproc.cpp
+ fliteplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_fliteplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/plugins/freetts/CMakeLists.txt b/kttsd/plugins/freetts/CMakeLists.txt
new file mode 100644
index 0000000..7e5b44c
--- /dev/null
+++ b/kttsd/plugins/freetts/CMakeLists.txt
@@ -0,0 +1,36 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_freettsplugin (kpart)
+
+tde_add_kpart( libkttsd_freettsplugin AUTOMOC
+
+ SOURCES
+ freettsconfigwidget.ui
+ freettsconf.cpp
+ freettsproc.cpp
+ freettsplugin.cpp
+ LINK
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_freettsplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/kttsd/plugins/hadifix/CMakeLists.txt b/kttsd/plugins/hadifix/CMakeLists.txt
new file mode 100644
index 0000000..878f04a
--- /dev/null
+++ b/kttsd/plugins/hadifix/CMakeLists.txt
@@ -0,0 +1,44 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kttsd/libkttsd
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### libkttsd_hadifixplugin (kpart)
+
+tde_add_kpart( libkttsd_hadifixplugin AUTOMOC
+
+ SOURCES
+ hadifixconfigui.ui
+ voicefileui.ui
+ hadifixconf.cpp
+ hadifixproc.cpp
+ hadifixplugin.cpp
+ LINK
+ tdecore-shared
+ kttsd-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES kttsd_hadifixplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
+
+install(
+ FILES SSMLtoTxt2pho.xsl
+ DESTINATION ${DATA_INSTALL_DIR}/kttsd/hadifix/xslt
+)
diff --git a/kttsd/plugins/hadifix/hadifixconfigui.ui b/kttsd/plugins/hadifix/hadifixconfigui.ui
index 367200c..2f89d59 100644
--- a/kttsd/plugins/hadifix/hadifixconfigui.ui
+++ b/kttsd/plugins/hadifix/hadifixconfigui.ui
@@ -674,19 +674,11 @@
<function specifier="non virtual" returnType="bool">isMaleVoice()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>knuminput.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcombobox.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">knuminput.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/kttsd/plugins/hadifix/voicefileui.ui b/kttsd/plugins/hadifix/voicefileui.ui
index c333670..19c63a4 100644
--- a/kttsd/plugins/hadifix/voicefileui.ui
+++ b/kttsd/plugins/hadifix/voicefileui.ui
@@ -100,6 +100,9 @@
<includes>
<include location="global" impldecl="in implementation">kurlrequesterdlg.h</include>
<include location="global" impldecl="in implementation">tdemessagebox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
<include location="local" impldecl="in implementation">hadifixproc.h</include>
<include location="local" impldecl="in implementation">voicefileui.ui.h</include>
</includes>
@@ -110,10 +113,4 @@
<slot>genderButton_clicked()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
</UI>