Browse Source

conversion to the cmake building system

Signed-off-by: gregory guy <g-gregory@gmx.fr>
pull/1/head
gregory guy 8 months ago
parent
commit
4c357c392d
No account linked to committer's email address
68 changed files with 602 additions and 157 deletions
  1. +80
    -0
      CMakeLists.txt
  2. +35
    -0
      ConfigureChecks.cmake
  3. +8
    -0
      config.h.cmake
  4. +9
    -0
      doc/CMakeLists.txt
  5. +1
    -0
      doc/de/CMakeLists.txt
  6. +1
    -0
      doc/en/CMakeLists.txt
  7. +1
    -0
      doc/es/CMakeLists.txt
  8. +1
    -0
      doc/fr/CMakeLists.txt
  9. +1
    -0
      doc/hu/CMakeLists.txt
  10. +1
    -0
      doc/it/CMakeLists.txt
  11. +5
    -0
      doc/man/CMakeLists.txt
  12. +62
    -0
      doc/man/kshowmail.1
  13. +1
    -0
      doc/ru/CMakeLists.txt
  14. +1
    -0
      doc/sv/CMakeLists.txt
  15. +66
    -0
      kshowmail/CMakeLists.txt
  16. +1
    -0
      kshowmail/alertdialog.cpp
  17. +1
    -1
      kshowmail/alertdialog.h
  18. +2
    -0
      kshowmail/configelem.cpp
  19. +9
    -9
      kshowmail/configelem.h
  20. +2
    -2
      kshowmail/configlist.cpp
  21. +3
    -3
      kshowmail/configlist.h
  22. +4
    -4
      kshowmail/decodeRFC2047.h
  23. +1
    -1
      kshowmail/encryption.h
  24. +2
    -2
      kshowmail/filteritem.h
  25. +2
    -2
      kshowmail/filteritemcriteria.h
  26. +5
    -5
      kshowmail/filterlog.h
  27. +3
    -3
      kshowmail/filterlogentry.h
  28. +3
    -3
      kshowmail/filterlogview.h
  29. +1
    -1
      kshowmail/filterlogviewdeleteditem.h
  30. +1
    -1
      kshowmail/filterlogviewmoveditem.h
  31. +2
    -2
      kshowmail/headerfilter.h
  32. +137
    -0
      kshowmail/kcmconfigs/CMakeLists.txt
  33. +8
    -8
      kshowmail/kcmconfigs/accountsetupdialog.h
  34. +1
    -1
      kshowmail/kcmconfigs/configaccounts.h
  35. +4
    -4
      kshowmail/kcmconfigs/configactions.h
  36. +5
    -5
      kshowmail/kcmconfigs/configdisplay.h
  37. +4
    -4
      kshowmail/kcmconfigs/configfilter.h
  38. +6
    -6
      kshowmail/kcmconfigs/configgeneral.h
  39. +7
    -7
      kshowmail/kcmconfigs/configlog.h
  40. +4
    -4
      kshowmail/kcmconfigs/configspamcheck.h
  41. +1
    -1
      kshowmail/kcmconfigs/encryption.h
  42. +3
    -3
      kshowmail/kcmconfigs/filtercriteriawidget.h
  43. +8
    -8
      kshowmail/kcmconfigs/filtersetupdialog.h
  44. +7
    -7
      kshowmail/kcmconfigs/mailboxwizard.h
  45. +1
    -1
      kshowmail/kcmconfigs/mailboxwizardlistitem.h
  46. +5
    -5
      kshowmail/kcmconfigs/senderlistdialog.h
  47. +1
    -1
      kshowmail/kcmconfigs/tdewalletaccess.h
  48. +7
    -7
      kshowmail/kfeedback.cpp
  49. +2
    -2
      kshowmail/kfeedback.h
  50. +1
    -0
      kshowmail/kshowmail.cpp
  51. +4
    -2
      kshowmail/kshowmaildoc.cpp
  52. +2
    -2
      kshowmail/kshowmaildoc.h
  53. +4
    -3
      kshowmail/kshowmaildock.cpp
  54. +2
    -2
      kshowmail/kshowmaildock.h
  55. +7
    -5
      kshowmail/kshowmailview.cpp
  56. +4
    -4
      kshowmail/kshowmailview.h
  57. +2
    -2
      kshowmail/senderlistfilter.h
  58. +8
    -8
      kshowmail/serverdialog.h
  59. +2
    -2
      kshowmail/showheaderdialog.h
  60. +1
    -1
      kshowmail/showlistviewitem.h
  61. +2
    -2
      kshowmail/showmaildialog.h
  62. +2
    -2
      kshowmail/showrecord.h
  63. +4
    -4
      kshowmail/showrecordelem.h
  64. +1
    -1
      kshowmail/tdewalletaccess.h
  65. +4
    -4
      kshowmail/types.h
  66. +17
    -0
      pics/CMakeLists.txt
  67. +5
    -0
      po/CMakeLists.txt
  68. +4
    -0
      sounds/CMakeLists.txt

+ 80
- 0
CMakeLists.txt View File

@@ -0,0 +1,80 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################


cmake_minimum_required( VERSION 2.8 )


#### general package setup

project( kshowmail )
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 )


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


##### user requested modules

option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${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( pics )
add_subdirectory( sounds )
add_subdirectory( ${PROJECT_NAME} )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )


##### write configure files

configure_file( config.h.cmake config.h @ONLY )

+ 35
- 0
ConfigureChecks.cmake View File

@@ -0,0 +1,35 @@
###########################################
# #
# 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 mimelib1 support

find_path( MIMELIB1_INCLUDE_DIR NAMES "mimelib/mimepp.h" )
find_library( MIMELIB1_LIBRARIES NAMES mimelib )

if( (NOT MIMELIB1_INCLUDE_DIR) OR (NOT MIMELIB1_LIBRARIES) )
tde_message_fatal( "mimelib1 is required but either the headers or the library have not been found on your system" )
endif( (NOT MIMELIB1_INCLUDE_DIR) OR (NOT MIMELIB1_LIBRARIES) )

+ 8
- 0
config.h.cmake View File

@@ -0,0 +1,8 @@
#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@

+ 9
- 0
doc/CMakeLists.txt View File

@@ -0,0 +1,9 @@
add_subdirectory( en )
add_subdirectory( de )
add_subdirectory( es )
add_subdirectory( sv )
add_subdirectory( fr )
add_subdirectory( hu )
add_subdirectory( it )
add_subdirectory( ru )
add_subdirectory( man )

+ 1
- 0
doc/de/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG de )

+ 1
- 0
doc/en/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} )

+ 1
- 0
doc/es/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG es )

+ 1
- 0
doc/fr/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG fr )

+ 1
- 0
doc/hu/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG hu )

+ 1
- 0
doc/it/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG it )

+ 5
- 0
doc/man/CMakeLists.txt View File

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

+ 62
- 0
doc/man/kshowmail.1 View File

@@ -0,0 +1,62 @@
.TH QT: "1" "April 2007" "Qt: 3.3.7" "User Commands"
.SH NAME
kshowmail \- A powerful pop3 mail checker
.SH SYNOPSIS
.B kshowmail
[\fIQt-options\fR] [\fITDE-options\fR] [\fIoptions\fR] [\fIaccount\fR]
.SH DESCRIPTION
KShowmail can be used to show mails on a POP3 server without actually
downloading them. The headers or the complete mails can be viewed, and
unwanted mails can be deleted. An initial and an interval timer can be set to
check the mails periodical. KShowmail supports multiple accounts.
.SS "Generic options:"
.TP
\fB\-\-help\fR
Show help about options
.TP
\fB\-\-help\-qt\fR
Show Qt specific options
.TP
\fB\-\-help\-tde\fR
Show TDE specific options
.TP
\fB\-\-help\-all\fR
Show all options
.TP
\fB\-\-author\fR
Show author information
.TP
\fB\-v\fR, \fB\-\-version\fR
Show version information
.TP
\fB\-\-license\fR
Show license information
.TP
\fB\-\-\fR
End of options
.SH OPTIONS
.TP
\fB\-r\fR, \fB\-\-refresh\fR
Refresh messages now
.TP
\fB\-c\fR, \fB\-\-config\fR
Launch configure dialog
.SS "Arguments:"
.TP
account
Select account
.PP
KDE: 3.5.6
KShowmail: 3.1.2
.SH "SEE ALSO"
The full documentation for
.B Qt:
is maintained as a Texinfo manual. If the
.B info
and
.B Qt:
programs are properly installed at your site, the command
.IP
.B info Qt:
.PP
should give you access to the complete manual.

+ 1
- 0
doc/ru/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG ru )

+ 1
- 0
doc/sv/CMakeLists.txt View File

@@ -0,0 +1 @@
tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG sv )

+ 66
- 0
kshowmail/CMakeLists.txt View File

@@ -0,0 +1,66 @@
add_subdirectory( kcmconfigs )

include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${MIMELIB1_INCLUDE_DIR}
)

link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)


##### kshowmail (executable)

tde_add_executable( ${PROJECT_NAME} AUTOMOC

SOURCES
AlertDlg.ui
alertdialog.cpp configelem.cpp
configlist.cpp decodeRFC2047.cpp
encryption.cpp filteritem.cpp
filteritemcriteria.cpp filterlog.cpp
filterlogentry.cpp headerfilter.cpp
kfeedback.cpp kshowmail.cpp
kshowmaildoc.cpp kshowmaildock.cpp
kshowmailfeedback.cpp kshowmailview.cpp
tdewalletaccess.cpp main.cpp
senderlistfilter.cpp serverdialog.cpp
showheaderdialog.cpp showlistviewitem.cpp
showmaildialog.cpp showrecord.cpp
showrecordelem.cpp uniqueapp.cpp
filterlogview.cpp filterlogviewdeleteditem.cpp
filterlogviewmoveditem.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
tdeutils-shared
tdewalletclient
${MIMELIB1_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)


##### icons

tde_install_icons( ${PROJECT_NAME} )


##### other data

install(
FILES kshowmailui.rc
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)

install(
FILES ${PROJECT_NAME}.desktop
DESTINATION ${APPS_INSTALL_DIR}/Internet
)

+ 1
- 0
kshowmail/alertdialog.cpp View File

@@ -37,3 +37,4 @@ void AlertDialog::slotOk ()
emit signalOk ();
}

#include "alertdialog.moc"

+ 1
- 1
kshowmail/alertdialog.h View File

@@ -18,7 +18,7 @@
#ifndef ALERTDIALOG_H
#define ALERTDIALOG_H

#include <ntqwidget.h>
#include <tqwidget.h>
#include "AlertDlg.h"

/**

+ 2
- 0
kshowmail/configelem.cpp View File

@@ -1757,3 +1757,5 @@ void ConfigElem::slotCommitBeforeRefreshDone(TDEIO::Job *)
//after a commit was send, we start a new refresh cyle
refreshMailList();
}

#include "configelem.moc"

+ 9
- 9
kshowmail/configelem.h View File

@@ -25,15 +25,15 @@
#include <stdio.h>

//QT headers
#include <ntqstring.h>
#include <ntqlistview.h>
#include <ntqdom.h>
#include <ntqobject.h>
#include <ntqtimer.h>
#include <ntqregexp.h>
#include <ntqdir.h>
#include <ntqfile.h>
#include <ntqtextstream.h>
#include <tqstring.h>
#include <tqlistview.h>
#include <tqdom.h>
#include <tqobject.h>
#include <tqtimer.h>
#include <tqregexp.h>
#include <tqdir.h>
#include <tqfile.h>
#include <tqtextstream.h>

//KDE headers
#include <kurl.h>

+ 2
- 2
kshowmail/configlist.cpp View File

@@ -19,7 +19,7 @@
#include <stdio.h>
#include <stdlib.h>

#include <ntqfile.h>
#include <tqfile.h>

#include <tdeconfig.h>
#include <ksavefile.h>
@@ -1200,4 +1200,4 @@ void ConfigList::refreshFilterSetup( )

}

#include "configlist.moc"

+ 3
- 3
kshowmail/configlist.h View File

@@ -23,9 +23,9 @@
#define CONFIGLIST_H

//TQt header
#include <ntqptrlist.h>
#include <ntqlistview.h>
#include <ntqobject.h>
#include <tqptrlist.h>
#include <tqlistview.h>
#include <tqobject.h>

//KDE headers
#include <kcombobox.h>

+ 4
- 4
kshowmail/decodeRFC2047.h View File

@@ -21,10 +21,10 @@
#include <stdlib.h>

//TQt header
#include <ntqtextcodec.h>
#include <ntqregexp.h>
#include <ntqstring.h>
#include <ntqcstring.h>
#include <tqtextcodec.h>
#include <tqregexp.h>
#include <tqstring.h>
#include <tqcstring.h>

//KDE header
#include <tdelocale.h>

+ 1
- 1
kshowmail/encryption.h View File

@@ -11,7 +11,7 @@
//

//TQt headers
#include <ntqstring.h>
#include <tqstring.h>

//KDE headers
#include <kurl.h>

+ 2
- 2
kshowmail/filteritem.h View File

@@ -13,8 +13,8 @@
#define FILTERITEM_H

//TQt headers
#include <ntqstring.h>
#include <ntqptrlist.h>
#include <tqstring.h>
#include <tqptrlist.h>

//KDE headers
#include <tdeapplication.h>

+ 2
- 2
kshowmail/filteritemcriteria.h View File

@@ -13,8 +13,8 @@
#define FILTERITEMCRITERIA_H

//TQt headers
#include <ntqstring.h>
#include <ntqregexp.h>
#include <tqstring.h>
#include <tqregexp.h>

//KDE headers
#include <tdeapplication.h>

+ 5
- 5
kshowmail/filterlog.h View File

@@ -13,11 +13,11 @@
#define FILTERLOG_H

//TQt headers
#include <ntqvaluelist.h>
#include <ntqdatetime.h>
#include <ntqdom.h>
#include <ntqfile.h>
#include <ntqtextstream.h>
#include <tqvaluelist.h>
#include <tqdatetime.h>
#include <tqdom.h>
#include <tqfile.h>
#include <tqtextstream.h>

//KDE headers
#include <kdebug.h>

+ 3
- 3
kshowmail/filterlogentry.h View File

@@ -13,9 +13,9 @@
#define FILTERLOGENTRY_H

//TQt headers
#include <ntqdatetime.h>
#include <ntqstring.h>
#include <ntqdom.h>
#include <tqdatetime.h>
#include <tqstring.h>
#include <tqdom.h>

//KDE headers
#include <kdebug.h>

+ 3
- 3
kshowmail/filterlogview.h View File

@@ -13,9 +13,9 @@
#define FILTERLOGVIEW_H

//TQt headers
#include <ntqlabel.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqtooltip.h>

//KDE headers
#include <kdialogbase.h>

+ 1
- 1
kshowmail/filterlogviewdeleteditem.h View File

@@ -13,7 +13,7 @@
#define FILTERLOGVIEWDELETEDITEM_H

//TQt Headers
#include <ntqdatetime.h>
#include <tqdatetime.h>

//KDE headers
#include <tdelistview.h>

+ 1
- 1
kshowmail/filterlogviewmoveditem.h View File

@@ -13,7 +13,7 @@
#define FILTERLOGVIEWMOVEDITEM_H

//TQt Headers
#include <ntqdatetime.h>
#include <tqdatetime.h>

//KDE headers
#include <tdelistview.h>

+ 2
- 2
kshowmail/headerfilter.h View File

@@ -13,8 +13,8 @@
#define HEADERFILTER_H

//TQt headers
#include <ntqstring.h>
#include <ntqptrlist.h>
#include <tqstring.h>
#include <tqptrlist.h>

//KDE headers
#include <tdeapplication.h>

+ 137
- 0
kshowmail/kcmconfigs/CMakeLists.txt View File

@@ -0,0 +1,137 @@
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}
)


##### kcm_kshowmailconfigaccounts (kpart)

tde_add_kpart( kcm_kshowmailconfigaccounts AUTOMOC

SOURCES
configaccounts.cpp
accountsetupitem.cpp
accountsetupdialog.cpp
encryption.cpp
tdewalletaccess.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
tdewalletclient

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfigactions (kpart)

tde_add_kpart( kcm_kshowmailconfigactions AUTOMOC

SOURCES
configactions.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfigdisplay (kpart)

tde_add_kpart( kcm_kshowmailconfigdisplay AUTOMOC

SOURCES
configdisplay.cpp
LINK
tdecore-shared
tdeui-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfigfilter (kpart)

tde_add_kpart( kcm_kshowmailconfigfilter AUTOMOC

SOURCES
configfilter.cpp
senderlistdialog.cpp
filtersetupitem.cpp
filtersetupdialog.cpp
filtercriteriawidget.cpp
mailboxwizard.cpp
mailboxwizardlistitem.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfiggeneral (kpart)

tde_add_kpart( kcm_kshowmailconfiggeneral AUTOMOC

SOURCES
configgeneral.cpp
LINK
tdecore-shared
tdeui-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfiglog (kpart)

tde_add_kpart( kcm_kshowmailconfiglog AUTOMOC

SOURCES
configlog.cpp
LINK
tdecore-shared
tdeui-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### kcm_kshowmailconfigspamcheck (kpart)

tde_add_kpart( kcm_kshowmailconfigspamcheck AUTOMOC

SOURCES
configspamcheck.cpp
mailboxwizard.cpp
mailboxwizardlistitem.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared

DESTINATION ${PLUGIN_INSTALL_DIR}
)


##### other data

file( GLOB _desktops RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )

install(
FILES ${_desktops}
DESTINATION ${SERVICES_INSTALL_DIR}
)

+ 8
- 8
kshowmail/kcmconfigs/accountsetupdialog.h View File

@@ -13,14 +13,14 @@
#define ACCOUNTSETUPDIALOG_H

//TQt headers
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <ntqtooltip.h>
#include <ntqspinbox.h>
#include <ntqgroupbox.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqcheckbox.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqtooltip.h>
#include <tqspinbox.h>
#include <tqgroupbox.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
#include <tqcheckbox.h>

//KDE headers
#include <kdialogbase.h>

+ 1
- 1
kshowmail/kcmconfigs/configaccounts.h View File

@@ -13,7 +13,7 @@
#define CONFIGACCOUNTS_H

//TQt headers
#include <ntqlayout.h>
#include <tqlayout.h>

//KDE headers
#include <tdecmodule.h>

+ 4
- 4
kshowmail/kcmconfigs/configactions.h View File

@@ -15,10 +15,10 @@
#include <string.h>

//QT headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqtooltip.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqcheckbox.h>
#include <tqtooltip.h>

//KDE headers
#include <tdecmodule.h>

+ 5
- 5
kshowmail/kcmconfigs/configdisplay.h View File

@@ -13,11 +13,11 @@
#define CONFIGDISPLAY_H

//TQt headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqlabel.h>
#include <ntqtooltip.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqtooltip.h>

//KDE headers
#include <tdecmodule.h>

+ 4
- 4
kshowmail/kcmconfigs/configfilter.h View File

@@ -13,10 +13,10 @@
#define CONFIGFILTER_H

//QT headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqtooltip.h>
#include <ntqcheckbox.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqtooltip.h>
#include <tqcheckbox.h>

//KDE headers
#include <tdecmodule.h>

+ 6
- 6
kshowmail/kcmconfigs/configgeneral.h View File

@@ -13,12 +13,12 @@
#define CONFIGGENERAL_H

//TQt headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqcheckbox.h>
#include <ntqspinbox.h>
#include <ntqtooltip.h>
#include <ntqlabel.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqcheckbox.h>
#include <tqspinbox.h>
#include <tqtooltip.h>
#include <tqlabel.h>

//KDE headers
#include <tdecmodule.h>

+ 7
- 7
kshowmail/kcmconfigs/configlog.h View File

@@ -17,13 +17,13 @@
#define ID_BUTTON_REMOVE_AFTER_DAYS 2

//qt headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqtooltip.h>
#include <ntqcheckbox.h>
#include <ntqradiobutton.h>
#include <ntqbuttongroup.h>
#include <ntqspinbox.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqtooltip.h>
#include <tqcheckbox.h>
#include <tqradiobutton.h>
#include <tqbuttongroup.h>
#include <tqspinbox.h>

//KDE headers
#include <tdecmodule.h>

+ 4
- 4
kshowmail/kcmconfigs/configspamcheck.h View File

@@ -19,10 +19,10 @@
#include <string.h>

//TQt headers
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <ntqtooltip.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqgroupbox.h>
#include <tqtooltip.h>

//KDE headers
#include <tdecmodule.h>

+ 1
- 1
kshowmail/kcmconfigs/encryption.h View File

@@ -11,7 +11,7 @@
//

//TQt headers
#include <ntqstring.h>
#include <tqstring.h>

//KDE headers
#include <kurl.h>

+ 3
- 3
kshowmail/kcmconfigs/filtercriteriawidget.h View File

@@ -13,9 +13,9 @@
#define FILTERCRITERIAWIDGET_H

//TQt headers
#include <ntqwidget.h>
#include <ntqlayout.h>
#include <ntqcheckbox.h>
#include <tqwidget.h>
#include <tqlayout.h>
#include <tqcheckbox.h>

//KDE headers
#include <klineedit.h>

+ 8
- 8
kshowmail/kcmconfigs/filtersetupdialog.h View File

@@ -17,14 +17,14 @@
#define ID_BUTTON_LINKAGE_MATCH_ANY 2

//TQt headers
#include <ntqlayout.h>
#include <ntqgroupbox.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqvbox.h>
#include <ntqobjectlist.h>
#include <ntqtooltip.h>
#include <ntqlabel.h>
#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
#include <tqvbox.h>
#include <tqobjectlist.h>
#include <tqtooltip.h>
#include <tqlabel.h>

//KDE headers
#include <kdialogbase.h>

+ 7
- 7
kshowmail/kcmconfigs/mailboxwizard.h View File

@@ -16,13 +16,13 @@
#include <stdlib.h>

//TQt headers
#include <ntqwizard.h>
#include <ntqwidget.h>
#include <ntqlayout.h>
#include <ntqdir.h>
#include <ntqregexp.h>
#include <ntqfileinfo.h>
#include <ntqmap.h>
#include <tqwizard.h>
#include <tqwidget.h>
#include <tqlayout.h>
#include <tqdir.h>
#include <tqregexp.h>
#include <tqfileinfo.h>
#include <tqmap.h>

//KDE headers
#include <tdelocale.h>

+ 1
- 1
kshowmail/kcmconfigs/mailboxwizardlistitem.h View File

@@ -13,7 +13,7 @@
#define MAILBOXWIZARDLISTITEM_H

//TQt-Headers
#include <ntqlistview.h>
#include <tqlistview.h>

//KDE-Headers
#include <tdelistview.h>

+ 5
- 5
kshowmail/kcmconfigs/senderlistdialog.h View File

@@ -13,11 +13,11 @@
#define SENDERLISTDIALOG_H

//TQt headers
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqradiobutton.h>
#include <ntqbuttongroup.h>
#include <ntqpushbutton.h>
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqradiobutton.h>
#include <tqbuttongroup.h>
#include <tqpushbutton.h>

//KDE headers
#include <kdialogbase.h>

+ 1
- 1
kshowmail/kcmconfigs/tdewalletaccess.h View File

@@ -10,7 +10,7 @@
#define TDEWALLETACCESS_H

//TQt headers
#include <ntqstring.h>
#include <tqstring.h>

//KDE headers
#include <tdewallet.h>

+ 7
- 7
kshowmail/kfeedback.cpp View File

@@ -13,11 +13,11 @@
*/


#include <ntqheader.h>
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <ntqmultilineedit.h>
#include <ntqhbox.h>
#include <tqheader.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqmultilineedit.h>
#include <tqhbox.h>

#include <tdeglobal.h>
#include <tdeapplication.h>
@@ -278,7 +278,7 @@ TQString KFeedbackQuestionList::result()

question = question->nextQuestion();
}
res += "Compiled on KDE version: ";
res += "Compiled on TDE version: ";
res += TDE_VERSION_STRING;

return res;
@@ -499,6 +499,6 @@ KFeedbackAnswer::stateChange( bool newState )
}
}

#include "kfeedback.moc"

// EOF

+ 2
- 2
kshowmail/kfeedback.h View File

@@ -18,8 +18,8 @@
#include <config.h>
#endif

#include <ntqlistview.h>
#include <ntqvbox.h>
#include <tqlistview.h>
#include <tqvbox.h>
#include <kdialogbase.h>



+ 1
- 0
kshowmail/kshowmail.cpp View File

@@ -859,3 +859,4 @@ void KShowMailApp::slotAddToBlacklist( )
m_ConfigList.refreshFilterSetup();
}

#include "kshowmail.moc"

+ 4
- 2
kshowmail/kshowmaildoc.cpp View File

@@ -16,8 +16,8 @@
***************************************************************************/

// include files for TQt
#include <ntqdir.h>
#include <ntqwidget.h>
#include <tqdir.h>
#include <tqwidget.h>

// include files for KDE
#include <tdelocale.h>
@@ -79,3 +79,5 @@ bool KshowmailDoc::newDocument()

return true;
}

#include "kshowmaildoc.moc"

+ 2
- 2
kshowmail/kshowmaildoc.h View File

@@ -23,8 +23,8 @@
#endif

// include files for QT
#include <ntqobject.h>
#include <ntqstring.h>
#include <tqobject.h>
#include <tqstring.h>

// include files for KDE
#include <kurl.h>

+ 4
- 3
kshowmail/kshowmaildock.cpp View File

@@ -15,9 +15,9 @@
* *
***************************************************************************/

#include <ntqpixmap.h>
#include <ntqpainter.h>
#include <ntqtooltip.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <tqtooltip.h>

#include <tdepopupmenu.h>
#include <kstandarddirs.h>
@@ -81,3 +81,4 @@ void KShowMailDock::clear ()
setPixmap (m_background);
}

#include "kshowmaildock.moc"

+ 2
- 2
kshowmail/kshowmaildock.h View File

@@ -18,8 +18,8 @@
#ifndef KSHOWMAILDOCK_H
#define KSHOWMAILDOCK_H

#include <ntqwidget.h>
#include <ntqpixmap.h>
#include <tqwidget.h>
#include <tqpixmap.h>
#include <ksystemtray.h>
#include <tdeaction.h>


+ 7
- 5
kshowmail/kshowmailview.cpp View File

@@ -18,11 +18,11 @@
***************************************************************************/

// include files for TQt
#include <ntqprinter.h>
#include <ntqpainter.h>
#include <ntqmessagebox.h>
#include <ntqkeycode.h>
#include <ntqvaluelist.h>
#include <tqprinter.h>
#include <tqpainter.h>
#include <tqmessagebox.h>
#include <tqkeycode.h>
#include <tqvaluelist.h>

#include <kstandarddirs.h>
#include <tdelocale.h>
@@ -447,3 +447,5 @@ void KshowmailView::refreshSetup( )
m_pListMessages->saveLayout( config, CONFIG_GROUP_MESSAGE_LIST );
config->sync();
}

#include "kshowmailview.moc"

+ 4
- 4
kshowmail/kshowmailview.h View File

@@ -25,10 +25,10 @@
#endif

//TQt headers
#include <ntqwidget.h>
#include <ntqsplitter.h>
#include <ntqcursor.h>
#include <ntqpopupmenu.h>
#include <tqwidget.h>
#include <tqsplitter.h>
#include <tqcursor.h>
#include <tqpopupmenu.h>

//KDE headers
#include <tdelistview.h>

+ 2
- 2
kshowmail/senderlistfilter.h View File

@@ -13,8 +13,8 @@
#define SENDERLISTFILTER_H

//TQt headers
#include <ntqstring.h>
#include <ntqstringlist.h>
#include <tqstring.h>
#include <tqstringlist.h>

//KDE headers
#include <tdeapplication.h>

+ 8
- 8
kshowmail/serverdialog.h View File

@@ -19,14 +19,14 @@
#define SERVERDIALOG_H

//TQt headers
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <ntqtooltip.h>
#include <ntqspinbox.h>
#include <ntqgroupbox.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqcheckbox.h>
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqtooltip.h>
#include <tqspinbox.h>
#include <tqgroupbox.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
#include <tqcheckbox.h>

//KDE headers
#include <kdialogbase.h>

+ 2
- 2
kshowmail/showheaderdialog.h View File

@@ -13,8 +13,8 @@
#define SHOWHEADERDIALOG_H

//QT headers
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <tqlayout.h>
#include <tqlabel.h>

//KDE headers
#include <kdialogbase.h>

+ 1
- 1
kshowmail/showlistviewitem.h View File

@@ -18,7 +18,7 @@
#ifndef SHOWLISTVIEWITEM_H
#define SHOWLISTVIEWITEM_H

#include <ntqlistview.h>
#include <tqlistview.h>

/**
*@author Eggert Ehmke

+ 2
- 2
kshowmail/showmaildialog.h View File

@@ -13,8 +13,8 @@
#define SHOWMAILDIALOG_H

//QT headers
#include <ntqlayout.h>
#include <ntqlabel.h>
#include <tqlayout.h>
#include <tqlabel.h>

//KDE headers
#include <tdelocale.h>

+ 2
- 2
kshowmail/showrecord.h View File

@@ -22,8 +22,8 @@
#include <iostream>

//TQt headers
#include <ntqdom.h>
#include <ntqptrlist.h>
#include <tqdom.h>
#include <tqptrlist.h>

//KDE headers
#include <kstandarddirs.h>

+ 4
- 4
kshowmail/showrecordelem.h View File

@@ -19,10 +19,10 @@
#define SHOWRECORDELEM_H

//TQt headers
#include <ntqdom.h>
#include <ntqstring.h>
#include <ntqlistview.h>
#include <ntqdatetime.h>
#include <tqdom.h>
#include <tqstring.h>
#include <tqlistview.h>
#include <tqdatetime.h>

//KDE headers
#include <tdelocale.h>

+ 1
- 1
kshowmail/tdewalletaccess.h View File

@@ -10,7 +10,7 @@
#define TDEWALLETACCESS_H

//TQt headers
#include <ntqstring.h>
#include <tqstring.h>

//KDE headers
#include <tdewallet.h>

+ 4
- 4
kshowmail/types.h View File

@@ -15,10 +15,10 @@
#define TYPES_H

//TQt headers
#include <ntqvaluelist.h>
#include <ntqmap.h>
#include <ntqstring.h>
#include <tqvaluelist.h>
#include <tqmap.h>
#include <tqstring.h>
#include <list>
using namespace std;

/**

+ 17
- 0
pics/CMakeLists.txt View File

@@ -0,0 +1,17 @@
tde_install_icons( ${PROJECT_NAME} )


##### other icon

install(
FILES
eraser.png
kshowmail24.png
kshowmail.png
letter-closed.png
letter-open.png
ok.png
tool.png

DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
)

+ 5
- 0
po/CMakeLists.txt View File

@@ -0,0 +1,5 @@
file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )

if( _srcs )
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
endif( )

+ 4
- 0
sounds/CMakeLists.txt View File

@@ -0,0 +1,4 @@
install(
FILES neuepost.wav newmail.wav
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/sounds
)

Loading…
Cancel
Save