Browse Source

Conversion to the cmake building system.

Added several man pages taken from the Debian packaging.
Cleanup headers in ui files.
Add png icons for mono theme.

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

cmake:
- Use tde_add_check_executable instead of a combination
of separate calls to tde_add_executable and add_test.
- Simplify the detection of time.h and sys/time.h headers.
- Refactor phrasebook files install, kmouth.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/4/head
gregory guy 2 years ago
parent
commit
6b3181cf92
No known key found for this signature in database GPG Key ID: 2CC84A1CC6823AF8
  1. 117
      CMakeLists.txt
  2. 115
      ConfigureChecks.cmake
  3. 26
      IconThemes/CMakeLists.txt
  4. 14
      config.h.cmake
  5. 7
      doc/CMakeLists.txt
  6. 2
      doc/kmag/CMakeLists.txt
  7. 2
      doc/kmousetool/CMakeLists.txt
  8. 8
      doc/kmouth/CMakeLists.txt
  9. 7
      doc/ksayit/CMakeLists.txt
  10. 2
      doc/kttsd/CMakeLists.txt
  11. 5
      doc/man/CMakeLists.txt
  12. 5
      doc/man/kmag/CMakeLists.txt
  13. 141
      doc/man/kmag/kmag.1
  14. 5
      doc/man/kmousetool/CMakeLists.txt
  15. 146
      doc/man/kmousetool/kmousetool.1
  16. 5
      doc/man/kmouth/CMakeLists.txt
  17. 142
      doc/man/kmouth/kmouth.1
  18. 5
      doc/man/ksayit/CMakeLists.txt
  19. 145
      doc/man/ksayit/ksayit.1
  20. 5
      doc/man/kttsd/CMakeLists.txt
  21. 138
      doc/man/kttsd/kttsd.1
  22. 132
      doc/man/kttsd/kttsmgr.1
  23. 38
      kbstateapplet/CMakeLists.txt
  24. 3
      kbstateapplet/images/CMakeLists.txt
  25. 49
      kmag/CMakeLists.txt
  26. 4
      kmag/Makefile.am
  27. 3
      kmag/images/CMakeLists.txt
  28. 3
      kmag/images/Makefile.am
  29. 0
      kmag/images/hi16-action-followmouse.png
  30. 0
      kmag/images/hi16-action-hidemouse.png
  31. 0
      kmag/images/hi16-action-window.png
  32. 3
      kmag/kmag.h
  33. 2
      kmag/kmagzoomview.h
  34. 2
      kmousetool/CMakeLists.txt
  35. 47
      kmousetool/kmousetool/CMakeLists.txt
  36. 6
      kmousetool/kmousetool/kmousetool.h
  37. 16
      kmousetool/kmousetool/kmousetoolui.ui
  38. 7
      kmousetool/kmousetool/pics/CMakeLists.txt
  39. 63
      kmouth/CMakeLists.txt
  40. 18
      kmouth/books/CMakeLists.txt
  41. 9
      kmouth/icons/CMakeLists.txt
  42. 3
      kmouth/icons/app/CMakeLists.txt
  43. 3
      kmouth/icons/history/CMakeLists.txt
  44. 3
      kmouth/icons/phrase/CMakeLists.txt
  45. 3
      kmouth/icons/phrasebook/CMakeLists.txt
  46. 3
      kmouth/kmouth.h
  47. 31
      kmouth/phrasebook/CMakeLists.txt
  48. 3
      kmouth/phrasebook/buttonboxui.ui
  49. 3
      kmouth/preferencesui.ui
  50. 12
      kmouth/texttospeechconfigurationui.ui
  51. 30
      kmouth/wordcompletion/CMakeLists.txt
  52. 11
      kmouth/wordcompletion/creationsourcedetailsui.ui
  53. 8
      kmouth/wordcompletion/kdedocsourceui.ui
  54. 14
      kmouth/wordcompletion/wordcompletionui.ui
  55. 3
      ksayit/CMakeLists.txt
  56. 44
      ksayit/Freeverb_plugin/CMakeLists.txt
  57. 6
      ksayit/Freeverb_plugin/freeverb_setup.ui
  58. 34
      ksayit/KTTSD_Lib/CMakeLists.txt
  59. 70
      ksayit/src/CMakeLists.txt
  60. 4
      ksayit/src/DocTreeView.ui
  61. 6
      ksayit/src/KSayItView.ui
  62. 71
      kspeechsink/CMakeLists.txt
  63. 10
      kttsd/CMakeLists.txt
  64. 1
      kttsd/app-plugins/CMakeLists.txt
  65. 41
      kttsd/app-plugins/kate/CMakeLists.txt
  66. 41
      kttsd/filters/CMakeLists.txt
  67. 43
      kttsd/filters/sbd/CMakeLists.txt
  68. 16
      kttsd/filters/sbd/sbdconfwidget.ui
  69. 47
      kttsd/filters/stringreplacer/CMakeLists.txt
  70. 9
      kttsd/filters/stringreplacer/editreplacementwidget.ui
  71. 18
      kttsd/filters/stringreplacer/stringreplacerconfwidget.ui
  72. 44
      kttsd/filters/talkerchooser/CMakeLists.txt
  73. 15
      kttsd/filters/talkerchooser/talkerchooserconfwidget.ui
  74. 43
      kttsd/filters/xmltransformer/CMakeLists.txt
  75. 17
      kttsd/filters/xmltransformer/xmltransformerconfwidget.ui
  76. 3
      kttsd/icons/CMakeLists.txt
  77. 46
      kttsd/kcmkttsmgr/CMakeLists.txt
  78. 7
      kttsd/kcmkttsmgr/addtalkerwidget.ui
  79. 38
      kttsd/kcmkttsmgr/kcmkttsmgrwidget.ui
  80. 6
      kttsd/kcmkttsmgr/selecteventwidget.ui
  81. 116
      kttsd/kttsd/CMakeLists.txt
  82. 40
      kttsd/kttsjobmgr/CMakeLists.txt
  83. 36
      kttsd/kttsmgr/CMakeLists.txt
  84. 47
      kttsd/libkttsd/CMakeLists.txt
  85. 15
      kttsd/libkttsd/selecttalkerwidget.ui
  86. 3
      kttsd/libkttsd/testplayer.cpp
  87. 12
      kttsd/players/CMakeLists.txt
  88. 37
      kttsd/players/akodeplayer/CMakeLists.txt
  89. 4
      kttsd/players/akodeplayer/akodeplayer.cpp
  90. 5
      kttsd/players/akodeplayer/akodeplayer.h
  91. 38
      kttsd/players/alsaplayer/CMakeLists.txt
  92. 16
      kttsd/players/alsaplayer/alsaplayer.cpp
  93. 5
      kttsd/players/alsaplayer/alsaplayer.h
  94. 38
      kttsd/players/artsplayer/CMakeLists.txt
  95. 5
      kttsd/players/artsplayer/artsplayer.h
  96. 39
      kttsd/players/gstplayer/CMakeLists.txt
  97. 2
      kttsd/players/gstplayer/gstreamerplayer.h
  98. 6
      kttsd/plugins/CMakeLists.txt
  99. 38
      kttsd/plugins/command/CMakeLists.txt
  100. 6
      kttsd/plugins/command/commandconfwidget.ui
  101. 38
      kttsd/plugins/epos/CMakeLists.txt
  102. 16
      kttsd/plugins/epos/eposconfwidget.ui
  103. 48
      kttsd/plugins/festivalint/CMakeLists.txt
  104. 16
      kttsd/plugins/festivalint/festivalintconfwidget.ui
  105. 38
      kttsd/plugins/flite/CMakeLists.txt
  106. 8
      kttsd/plugins/flite/fliteconfwidget.ui
  107. 37
      kttsd/plugins/freetts/CMakeLists.txt
  108. 8
      kttsd/plugins/freetts/freettsconfigwidget.ui
  109. 45
      kttsd/plugins/hadifix/CMakeLists.txt
  110. 20
      kttsd/plugins/hadifix/hadifixconfigui.ui
  111. 9
      kttsd/plugins/hadifix/voicefileui.ui

117
CMakeLists.txt

@ -0,0 +1,117 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
cmake_minimum_required( VERSION 2.8.12 )
#### general package setup
project( tdeaccessibility )
set( VERSION R14.1.0 )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckIncludeFiles )
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_ARTS "Enable aRts support" ON )
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 )
########################################################################
# #
# aRts support is needed to build: #
# - kttsd artsplayer #
# - ksayit #
# - ksayit freeverb plugin #
# #
########################################################################
##### user requested modules
option( BUILD_ALL "Build all" ON )
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_KSAYIT_FREEVERB "Build ksayit freeverb plugin" ${BUILD_ALL} )
option( BUILD_KTTSD "Build kttsd" ${BUILD_ALL} )
option( BUILD_KTTSD_COMMAND "Build kttsd command plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_EPOS "Build kttsd epos plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_FESTIVAL "Build kttsd festival plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_FLITE "Build kttsd flite plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_FREETTS "Build kttsd freetts plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_HADIFIX "Build kttsd hadifix plugin" ${BUILD_ALL} )
option( BUILD_KTTSD_KATE "Build kttsd kate plugin" ${BUILD_ALL} )
option( BUILD_ICONTHEMES "Build icons" ${BUILD_ALL} )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_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" )
##### directories
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_ICONTHEMES IconThemes )
tde_conditional_add_subdirectory( BUILD_DOC doc )
if( BUILD_KSAYIT OR BUILD_KTTSD )
add_subdirectory( kspeechsink )
endif()
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

115
ConfigureChecks.cmake

@ -0,0 +1,115 @@
###########################################
# #
# 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 X11
find_package( X11 )
##### check for aRts
if( WITH_ARTS )
pkg_search_module( ARTS arts )
find_library( ARTSKDE artskde )
if( ARTS_FOUND AND ARTSKDE )
set( ARTS_LIBRARIES artskde-shared artsflow_idl soundserver_idl )
set( ARTS_PLAYER_LIBRARIES "${ARTS_LIBRARIES}" kmedia2_idl )
else()
tde_message_fatal( "aRts support has been requested but was not found on your system." )
endif()
if( BUILD_KSAYIT )
find_path( ARTS_INCLUDE_DIRS "arts/artsflow.h" )
if( ARTS_INCLUDE_DIRS )
set( KAYSAYIT_ARTS_INCLUDE "${ARTS_INCLUDE_DIRS}" )
set( KAYSAYIT_ARTS_LIBRARIES "${ARTS_LIBRARIES}" artsflow )
else()
tde_message_fatal( "aRts headers are required for ksayit build but were not found on your system." )
endif()
endif()
if( BUILD_KSAYIT_FREEVERB )
find_path( ARTS_MODULES_DIR "arts/artsmodules.h" )
if( ARTS_MODULES_DIR )
set( ARTS_FREEVERB_PLUGIN_LIBRARIES "${ARTS_LIBRARIES}" artsflow artsmoduleseffects artsmodules )
else()
tde_message_fatal( freeverb support has been requested, but the <arts/artsmodules.h> header from tdemultimedia was not found )
endif()
endif()
endif( WITH_ARTS )
##### 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_H )
check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME )
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
)

26
IconThemes/CMakeLists.txt

@ -0,0 +1,26 @@
##### index theme
install(
FILES mono/index.theme
DESTINATION ${ICON_INSTALL_DIR}/mono
)
##### svgz icons
set( _icon_type actions apps categories devices mimetypes places )
foreach( icon_type ${_icon_type} )
file( GLOB _files ${CMAKE_CURRENT_SOURCE_DIR}/mono/scalable/${icon_type}/*.svgz )
install( FILES ${_files} DESTINATION ${ICON_INSTALL_DIR}/mono/scalable/${icon_type} )
endforeach( icon_type )
##### png icons
set( _icon_size 16x16 22x22 32x32 48x48 64x64 96x96 128x128 192x192 256x256 )
foreach( icon_size ${_icon_size} )
file( GLOB _files ${CMAKE_CURRENT_SOURCE_DIR}/mono/png/${icon_size}/actions/*.png )
install( FILES ${_files} DESTINATION ${ICON_INSTALL_DIR}/mono/png/${icon_size}/actions )
endforeach( icon_size )

14
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

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

2
doc/kmag/CMakeLists.txt

@ -0,0 +1,2 @@
tde_create_handbook( DESTINATION kmag )

2
doc/kmousetool/CMakeLists.txt

@ -0,0 +1,2 @@
tde_create_handbook( DESTINATION kmousetool )

8
doc/kmouth/CMakeLists.txt

@ -0,0 +1,8 @@
FILE( GLOB EPS_FILES *.eps)
INSTALL(
FILES ${EPS_FILES}
DESTINATION ${HTML_INSTALL_DIR}/en/kmouth
)
tde_create_handbook( DESTINATION kmouth )

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

2
doc/kttsd/CMakeLists.txt

@ -0,0 +1,2 @@
tde_create_handbook( DESTINATION kttsd )

5
doc/man/CMakeLists.txt

@ -0,0 +1,5 @@
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_KTTSD kttsd )
tde_conditional_add_subdirectory( BUILD_KSAYIT ksayit )

5
doc/man/kmag/CMakeLists.txt

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

141
doc/man/kmag/kmag.1

@ -0,0 +1,141 @@
.TH kmag 1
.SH NAME
kmag \- A screen magnifier for TDE.
.SH SYNOPSIS
.B kmag [file]
.I [ Generic Options] [Qt-options] [TDE-options]
.SH DESCRIPTION
Kmag is a TDE screen magnifier for the visually impaired.
You can use it 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 GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
.SH SEE ALSO
More detailed user documentation is available from
.BR help:/kmag
(either enter this URL into \fBkonqueror\fP, or run `khelpcenter
help:/kmag').
.PP
There is also further information available at the
.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "
tdeaccessibility project home page."
kmag(1)
.SH AUTHORS
.nf
OlafSchmidt <ojschmidt@kde.org>
.br
SarangLakare <sarang@users.sf.net>
.br
MichaelForster <forster@fmi.uni-passau.de>

5
doc/man/kmousetool/CMakeLists.txt

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

146
doc/man/kmousetool/kmousetool.1

@ -0,0 +1,146 @@
.TH kmousetool 1
.SH NAME
kmousetool \- A TDE tool to help click the mouse.
.SH SYNOPSIS
.B kmousetool
.I [ Generic Options] [Qt-options] [TDE-options]
.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. It includes features and options that
provide artificial intelligence on common mouse gestures to perform
actions.
.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 GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
.SH SEE ALSO
More detailed user documentation is available from
.BR help:/kmousetool
(either enter this URL into \fBkonqueror\fP, or run `khelpcenter
help:/kmousetool').
.PP
There is also further information available at
.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "
tdeaccessibility project home page."
kmouthtool(1)
.SH AUTHORS
.nf
GunnarSchmi <gunnar@schmi>
.br
OlafSchmidt <ojschmidt@kde.org>
.br
JeffRoush <jeff@mousetool.com>

5
doc/man/kmouth/CMakeLists.txt

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

142
doc/man/kmouth/kmouth.1

@ -0,0 +1,142 @@
.TH kmouth 1
.SH NAME
kmouth \- A type-and-say TDE front end for speech synthesizers.
.SH SYNOPSIS
.B kmouth
.I [ Generic Options] [Qt-options] [TDE-options]
.SH DESCRIPTION
Kmouth 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 GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
.SH SEE ALSO
More detailed user documentation is available from
.BR help:/kmouth
(either enter this URL into \fBkonqueror\fP, or run `khelpcenter
help:/kmouth').
.PP
There is also further information available at the
.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "
tdeaccessibility project web site".
kmouth(1)
.SH AUTHORS
.br
GunnarSchmi <kmouth@schmi.de>

5
doc/man/ksayit/CMakeLists.txt

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

145
doc/man/ksayit/ksayit.1

@ -0,0 +1,145 @@
.TH ksayit 1
.SH NAME
ksayit \- A Text-to-speech front-end to kttsd.
.SH SYNOPSIS
.B ksayit [file]
.I [ Generic Options] [Qt-options] [TDE-options]
.SH DESCRIPTION
KSayIt is a small utilitiy for TDE that simply speaks a given textfile
in a very high quality, i.e. sound and pronounciation of the spoken
text should be as natural as possible. KSayIt uses natively
Text-To-Speech systems like MBrola, any TTS system that can be
controlled via a command line or any TTS system that is supported by
the TTS system (i.e. Festival). KSayIt offers three user interfaces:
A simple text editor window in which you can enter or paste text that
should be spoken after pressing a play button, as well as an icon
in the systemtray that starts to speak by a single mouseclick the
actual content of the clipboard. As a TDE application it offers also a
DCOP interface for the say and shut-up action. Finally KSayIt provides
an effectstack to postprocess the sound of the voice (currently only a
Freeverb effect is included)
.SH GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
.SH SEE ALSO
More detailed user documentation is available from
.BR help:/ksayit
(either enter this URL into \fBkonqueror\fP, or run `khelpcenter
help:/ksayit').
.PP
There is also further information available at the
.URL https://mirror.git.trinitydesktop.org/gitea/TDE/tdeaccessibility "
tdeaccessibility project home page."
ksayit(1)
.SH AUTHORS
.nf
Robert Vogl <voglrobe@web.de>

5
doc/man/kttsd/CMakeLists.txt

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

138
doc/man/kttsd/kttsd.1

@ -0,0 +1,138 @@
.TH KTTSD 1
.SH NAME
kttsd \- Text-to-speech synthesis deamon
.SH SYNOPSIS
.B kttsd
.I [ Generic Options] [Qt-options] [KDE-options]
.SH DESCRIPTION
Kttsd is part of the TDE Text-to-Speech system. kttsd is the non-GUI
deamon that provides TTS services to applications via the DCOP
interface. kttsd is configured via kttsmgr.
.SH GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
.SH SEE ALSO
More detailed user documentation is available from
.BR help:/kttsd/
(either enter this URL into \fBkonqueror\fP, or run `khelpcenter
help:/kttsd').
kttsmgr(1)
.SH AUTHORS
.nf
José Pablo Ezequiel Fernández <pupeno@pupeno.com>
.br
Gary Cramblitt <garycramblitt@comcast.net>
.br
Gunnar Schmi Dt <gunnar@schmi-dt.de>
.br
Olaf Schmidt <ojschmidt@kde.org>
.br
Paul Giannaros <ceruleanblaze@gmail.com>

132
doc/man/kttsd/kttsmgr.1

@ -0,0 +1,132 @@
.TH KTTSMGR 1
.SH NAME
kttsmgr
- Text-to-Speech Manager
.SH SYNOPSIS
.B kttsmgr
.I [ Generic Options] [Qt-options] [KDE-options]
.SH DESCRIPTION
Kttsmgr is an application for starting and configuring the
Text-to-Speech system.
.SH GENERIC OPTIONS
.TP
.B \-\-help
Show help about options.
.TP
.B \-\-help-qt
Show Qt specific options.
.TP
.B \-\-help-tde
Show TDE specific options.
.TP
.B \-\-help-all
Show all options.
.TP
.B \-\-author
Show author information.
.TP
.B \-v, \-\-version
Show version information.
.SH QT OPTIONS
.TP
.B \-\-display \fI<displayname>\fB
Use the X-server display `displayname'.
.TP
.B \-\-session \fI<sessionId>\fB
Restore the application for the given `sessionId'.
.TP
.B \-\-cmap
Causes the application to install a private color map on an 8\-bit
display.
.TP
.B \-\-ncols \fI<count>\fB
Limits the number of colors allocated in the color cube on an 8\-bit
display, if the application is using the QApplication::ManyColor color
specification.
.TP
.B \-\-nograb
Tells Qt to never grab the mouse or the keyboard.
.TP
.B \-\-dograb
Running under a debugger can cause an implicit \-nograb, use \-dograb
to override.
.TP
.B \-\-sync
Switches to synchronous mode for debugging.
.TP
.B \-\-fn, \-\-font \fI<fontname>\fB
Defines the application font.
.TP
.B \-\-bg, \-\-background \fI<color>\fB
Sets the default background color and an application palette (light
and dark shades are calculated).
.TP
.B \-\-fg, \-\-foreground \fI<color>\fB
Sets the default foreground color.
.TP
.B \-\-btn, \-\-button \fI<color>\fB
Sets the default button color.
.TP
.B \-\-name \fI<name>\fB
Sets the application name.
.TP
.B \-\-title \fI<title>\fB
Sets the application title (caption).
.TP
.B \-\-visual TrueColor
Forces the application to use a TrueColor visual on an 8-bit display.
.TP
.B \-\-inputstyle \fI<inputstyle>\fB
Sets XIM (X Input Method) input style. Possible values are
\fIonthespot\fP, \fIoverthespot\fP, \fIoffthespot\fP and \fIroot\fP.
.TP
.B \-\-im \fI<XIM server>\fB
Set XIM server.
.TP
.B \-\-noxim
Disable XIM.
.SH TDE OPTIONS
.TP
.B \-\-caption \fI<caption>\fB
Use `caption' as name in the titlebar.
.TP
.B \-\-icon \fI<icon>\fB
Use `icon' as the application icon.
.TP
.B \-\-miniicon \fI<icon>\fB
Use `icon' as the icon in the titlebar.
.TP
.B \-\-dcopserver \fI<server>\fB
Use the DCOP Server specified by `server'.
.TP
.B \-\-nocrashhandler
Disable crash handler, to get core dumps.
.TP
.B \-\-waitforwm
Waits for a WM_NET compatible windowmanager.
.TP
.B \-\-style \fI<style>\fB
Sets the application GUI style.
.TP
.B \-\-geometry \fI<geometry>\fB
Sets the client geometry of the main widget.
kttsd(1)
.SH AUTHORS
.nf
José Pablo Ezequiel Fernández <pupeno@pupeno.com>
.br
Gary Cramblitt <garycramblitt@comcast.net>
.br
Gunnar Schmi Dt <gunnar@schmi-dt.de>
.br
Olaf Schmidt <ojschmidt@kde.org>
.br
Paul Giannaros <ceruleanblaze@gmail.com>

38
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
tde_create_translated_desktop(
SOURCE kbstateapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
)

3
kbstateapplet/images/CMakeLists.txt

@ -0,0 +1,3 @@
##### icons
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kbstateapplet/icons )

49
kmag/CMakeLists.txt

@ -0,0 +1,49 @@
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
)
tde_create_translated_desktop( kmag.desktop )

4
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

3
kmag/images/CMakeLists.txt

@ -0,0 +1,3 @@
##### icons
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kmag/icons )

3
kmag/images/Makefile.am

@ -0,0 +1,3 @@
kmagiconsdir = $(kde_datadir)/kmag/icons
kmagicons_ICON = followmouse hidemouse window

0
kmag/hi16-action-followmouse.png → kmag/images/hi16-action-followmouse.png

Before

Width: 16  |  Height: 16  |  Size: 575 B

After

Width: 16  |  Height: 16  |  Size: 575 B

0
kmag/hi16-action-hidemouse.png → kmag/images/hi16-action-hidemouse.png

Before

Width: 16  |  Height: 16  |  Size: 275 B

After

Width: 16  |  Height: 16  |  Size: 275 B

0
kmag/hi16-action-window.png → kmag/images/hi16-action-window.png

Before

Width: 16  |  Height: 16  |  Size: 314 B

After

Width: 16  |  Height: 16  |  Size: 314 B

3
kmag/kmag.h

@ -21,9 +21,8 @@
#ifndef KMAG_H
#define KMAG_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include "kmagzoomview.h"

2
kmag/kmagzoomview.h

@ -21,7 +21,7 @@
#define KMagZoomView_h_
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
// include files for TQt

2
kmousetool/CMakeLists.txt

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

47
kmousetool/kmousetool/CMakeLists.txt

@ -0,0 +1,47 @@
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}
${TDE_LIB_DIR}
)
##### 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
tde_create_translated_desktop( kmousetool.desktop )
install(
FILES mousetool_tap.wav
DESTINATION ${DATA_INSTALL_DIR}/kmousetool/sounds
)

6
kmousetool/kmousetool/kmousetool.h

@ -22,12 +22,12 @@
#ifndef KMOUSETOOL_H
#define KMOUSETOOL_H
#include <tqdir.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include <tqdir.h>
#include "version.h"
#include <tdeapplication.h>

16
kmousetool/kmousetool/kmousetoolui.ui

@ -407,16 +407,8 @@
</connection>
</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>
</includehints>
<includes>
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>

7
kmousetool/kmousetool/pics/CMakeLists.txt

@ -0,0 +1,7 @@
##### icons
tde_install_icons(
DESTINATION ${DATA_INSTALL_DIR}/kmousetool/icons
)
tde_install_icons( kmousetool )

63
kmouth/CMakeLists.txt

@ -0,0 +1,63 @@
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}
${TDE_LIB_DIR}
)
##### 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 kmouthrc
DESTINATION ${CONFIG_INSTALL_DIR}
)
tde_create_translated_desktop( kmouth.desktop )

18
kmouth/books/CMakeLists.txt

@ -0,0 +1,18 @@
##### phrasebooks
foreach( _lang de en nl sv )
install(
FILES
${_lang}-courteousness.phrasebook
${_lang}-greetings.phrasebook
${_lang}-howareyou.phrasebook
${_lang}-personal.phrasebook
DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/${_lang}
)
tde_create_translated_desktop(
SOURCE ${_lang}.desktop
DESTINATION ${DATA_INSTALL_DIR}/kmouth/books/${_lang}