diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kutils/kcmoduleproxyIfaceImpl.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kutils/kcmoduleproxyIfaceImpl.cpp')
-rw-r--r-- | kutils/kcmoduleproxyIfaceImpl.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kutils/kcmoduleproxyIfaceImpl.cpp b/kutils/kcmoduleproxyIfaceImpl.cpp index 5d1ae15fe..c9de5ba7a 100644 --- a/kutils/kcmoduleproxyIfaceImpl.cpp +++ b/kutils/kcmoduleproxyIfaceImpl.cpp @@ -16,8 +16,8 @@ * Boston, MA 02110-1301, USA. */ -#include <qcstring.h> -#include <qdatastream.h> +#include <tqcstring.h> +#include <tqdatastream.h> #include <dcopclient.h> @@ -28,17 +28,17 @@ #include "kcmoduleproxyIfaceImpl.h" -#include <qmessagebox.h> +#include <tqmessagebox.h> -KCModuleProxyIfaceImpl::KCModuleProxyIfaceImpl( const QCString& name, +KCModuleProxyIfaceImpl::KCModuleProxyIfaceImpl( const TQCString& name, KCModuleProxy* const client ) - : DCOPObject( name ), QObject( 0, name ), + : DCOPObject( name ), TQObject( 0, name ), p( const_cast<KCModuleProxy *>( client )) { - connect( p, SIGNAL( changed(bool)), - SLOT( changedRelay(bool))); - connect( p, SIGNAL( quickHelpChanged()), - SLOT( quickHelpRelay())); + connect( p, TQT_SIGNAL( changed(bool)), + TQT_SLOT( changedRelay(bool))); + connect( p, TQT_SIGNAL( quickHelpChanged()), + TQT_SLOT( quickHelpRelay())); } void KCModuleProxyIfaceImpl::save() @@ -59,12 +59,12 @@ void KCModuleProxyIfaceImpl::defaults() p->defaults(); } -QString KCModuleProxyIfaceImpl::applicationName() +TQString KCModuleProxyIfaceImpl::applicationName() { return kapp->caption(); } -QString KCModuleProxyIfaceImpl::quickHelp() +TQString KCModuleProxyIfaceImpl::quickHelp() { return p->quickHelp(); } @@ -76,15 +76,15 @@ bool KCModuleProxyIfaceImpl::changed() void KCModuleProxyIfaceImpl::changedRelay( bool c ) { - QByteArray data; - QDataStream stream(data, IO_WriteOnly); + TQByteArray data; + TQDataStream stream(data, IO_WriteOnly); stream << c; emitDCOPSignal( "changed(bool)", data ); } void KCModuleProxyIfaceImpl::quickHelpRelay() { - QByteArray data; + TQByteArray data; emitDCOPSignal( "quickHelpChanged()", data ); } @@ -95,8 +95,8 @@ void KCModuleProxyIfaceImpl::quickHelpRelay() /***************************************************************/ KCModuleProxyRootCommunicatorImpl::KCModuleProxyRootCommunicatorImpl - ( const QCString& name, KCModuleProxy* const client ) - : DCOPObject( name ), QObject( 0, name ), + ( const TQCString& name, KCModuleProxy* const client ) + : DCOPObject( name ), TQObject( 0, name ), p( const_cast<KCModuleProxy *>( client )) { /* |