summaryrefslogtreecommitdiffstats
path: root/kontact_plugin/basketdcopiface_stub.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /kontact_plugin/basketdcopiface_stub.cpp
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact_plugin/basketdcopiface_stub.cpp')
-rw-r--r--kontact_plugin/basketdcopiface_stub.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kontact_plugin/basketdcopiface_stub.cpp b/kontact_plugin/basketdcopiface_stub.cpp
index eff3122..a170b62 100644
--- a/kontact_plugin/basketdcopiface_stub.cpp
+++ b/kontact_plugin/basketdcopiface_stub.cpp
@@ -12,12 +12,12 @@
#include <kdatastream.h>
-BasketDcopInterface_stub::BasketDcopInterface_stub( const QCString& app, const QCString& obj )
+BasketDcopInterface_stub::BasketDcopInterface_stub( const TQCString& app, const TQCString& obj )
: DCOPStub( app, obj )
{
}
-BasketDcopInterface_stub::BasketDcopInterface_stub( DCOPClient* client, const QCString& app, const QCString& obj )
+BasketDcopInterface_stub::BasketDcopInterface_stub( DCOPClient* client, const TQCString& app, const TQCString& obj )
: DCOPStub( client, app, obj )
{
}
@@ -30,24 +30,24 @@ BasketDcopInterface_stub::BasketDcopInterface_stub( const DCOPRef& ref )
void BasketDcopInterface_stub::newBasket()
{
if ( !dcopClient() ) {
- setStatus( CallFailed );
+ settqStatus( CallFailed );
return;
}
- QByteArray data;
+ TQByteArray data;
dcopClient()->send( app(), obj(), "newBasket()", data );
- setStatus( CallSucceeded );
+ settqStatus( CallSucceeded );
}
void BasketDcopInterface_stub::handleCommandLine()
{
if ( !dcopClient() ) {
- setStatus( CallFailed );
+ settqStatus( CallFailed );
return;
}
- QByteArray data, replyData;
- QCString replyType;
+ TQByteArray data, replyData;
+ TQCString replyType;
if ( dcopClient()->call( app(), obj(), "handleCommandLine()", data, replyType, replyData ) ) {
- setStatus( CallSucceeded );
+ settqStatus( CallSucceeded );
} else {
callFailed();
}