diff options
Diffstat (limited to 'tderesources/groupwise/tdeioslave')
-rw-r--r-- | tderesources/groupwise/tdeioslave/CMakeLists.txt | 8 | ||||
-rw-r--r-- | tderesources/groupwise/tdeioslave/groupwise.cpp | 28 | ||||
-rw-r--r-- | tderesources/groupwise/tdeioslave/groupwise.h | 2 |
3 files changed, 20 insertions, 18 deletions
diff --git a/tderesources/groupwise/tdeioslave/CMakeLists.txt b/tderesources/groupwise/tdeioslave/CMakeLists.txt index aec2c35d..20e6d525 100644 --- a/tderesources/groupwise/tdeioslave/CMakeLists.txt +++ b/tderesources/groupwise/tdeioslave/CMakeLists.txt @@ -25,9 +25,11 @@ link_directories( ##### other data ################################ -install( FILES - groupwise.protocol groupwises.protocol - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE groupwise.protocol groupwises.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tderesources-desktops +) ##### tdeio_groupwise (module) #################### diff --git a/tderesources/groupwise/tdeioslave/groupwise.cpp b/tderesources/groupwise/tdeioslave/groupwise.cpp index 56021e68..ed054b8e 100644 --- a/tderesources/groupwise/tdeioslave/groupwise.cpp +++ b/tderesources/groupwise/tdeioslave/groupwise.cpp @@ -44,7 +44,7 @@ #include <unistd.h> #include <stdlib.h> -#include <tdepimmacros.h> +#include <kdemacros.h> #include "groupwise.h" @@ -64,7 +64,7 @@ class ResourceMemory : public ResourceCached } extern "C" { -KDE_EXPORT int kdemain( int argc, char **argv ); +TDE_EXPORT int kdemain( int argc, char **argv ); } int kdemain( int argc, char **argv ) @@ -295,14 +295,14 @@ void Groupwise::getAddressbook( const KURL &url ) GroupwiseServer server( u, user, pass, 0 ); - connect( &server, TQT_SIGNAL( readAddressBookTotalSize( int ) ), - TQT_SLOT( slotReadAddressBookTotalSize( int ) ) ); - connect( &server, TQT_SIGNAL( readAddressBookProcessedSize( int ) ), - TQT_SLOT( slotReadAddressBookProcessedSize( int ) ) ); - connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ), - TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); - connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), - TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); + connect( &server, TQ_SIGNAL( readAddressBookTotalSize( int ) ), + TQ_SLOT( slotReadAddressBookTotalSize( int ) ) ); + connect( &server, TQ_SIGNAL( readAddressBookProcessedSize( int ) ), + TQ_SLOT( slotReadAddressBookProcessedSize( int ) ) ); + connect( &server, TQ_SIGNAL( errorMessage( const TQString &, bool ) ), + TQ_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); + connect( &server, TQ_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), + TQ_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); kdDebug() << "Login" << endl; if ( !server.login() ) { @@ -369,10 +369,10 @@ void Groupwise::updateAddressbook( const KURL &url ) debugMessage( "update IDs: " + ids.join( "," ) ); GroupwiseServer server( u, user, pass, 0 ); - connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ), - TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); - connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), - TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); + connect( &server, TQ_SIGNAL( errorMessage( const TQString &, bool ) ), + TQ_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); + connect( &server, TQ_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), + TQ_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); kdDebug() << " Login" << endl; if ( !server.login() ) { diff --git a/tderesources/groupwise/tdeioslave/groupwise.h b/tderesources/groupwise/tdeioslave/groupwise.h index 5004682d..73fb48bb 100644 --- a/tderesources/groupwise/tdeioslave/groupwise.h +++ b/tderesources/groupwise/tdeioslave/groupwise.h @@ -26,7 +26,7 @@ class Groupwise : public TQObject, public TDEIO::SlaveBase { - Q_OBJECT + TQ_OBJECT public: void get( const KURL &url ); |