summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobileclient.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmobile/kmobileclient.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmobile/kmobileclient.cpp')
-rw-r--r--kmobile/kmobileclient.cpp82
1 files changed, 41 insertions, 41 deletions
diff --git a/kmobile/kmobileclient.cpp b/kmobile/kmobileclient.cpp
index 05bcff554..518185534 100644
--- a/kmobile/kmobileclient.cpp
+++ b/kmobile/kmobileclient.cpp
@@ -111,7 +111,7 @@ bool KMobileClient::startKMobileApplication()
reply >> ret; \
return ret;
-#define RETURN_QSTRING( FUNC, PARAMS ) \
+#define RETURN_TQSTRING( FUNC, PARAMS ) \
RETURN_TYPE( FUNC, PARAMS, TQString )
#define RETURN_BOOL( FUNC, PARAMS ) \
@@ -122,110 +122,110 @@ bool KMobileClient::startKMobileApplication()
-TQStringList KMobileClient::deviceNames()
+TQStringList KMobileClient::tqdeviceNames()
{
if (!isKMobileAvailable())
return TQStringList();
- RETURN_TYPE( "deviceNames()", TQString::tqfromLatin1(""), TQStringList );
+ RETURN_TYPE( "tqdeviceNames()", TQString::tqfromLatin1(""), TQStringList );
}
-void KMobileClient::removeDevice( TQString deviceName )
+void KMobileClient::removeDevice( TQString tqdeviceName )
{
- PREPARE( "removeDevice(TQString)", deviceName );
+ PREPARE( "removeDevice(TQString)", tqdeviceName );
Q_UNUSED(ok);
}
-void KMobileClient::configDevice( TQString deviceName )
+void KMobileClient::configDevice( TQString tqdeviceName )
{
- PREPARE( "configDevice(TQString)", deviceName );
+ PREPARE( "configDevice(TQString)", tqdeviceName );
Q_UNUSED(ok);
}
-bool KMobileClient::connectDevice( TQString deviceName )
+bool KMobileClient::connectDevice( TQString tqdeviceName )
{
- RETURN_BOOL( "connectDevice(TQString)", deviceName );
+ RETURN_BOOL( "connectDevice(TQString)", tqdeviceName );
}
-bool KMobileClient::disconnectDevice( TQString deviceName )
+bool KMobileClient::disconnectDevice( TQString tqdeviceName )
{
- RETURN_BOOL( "disconnectDevice(TQString)", deviceName );
+ RETURN_BOOL( "disconnectDevice(TQString)", tqdeviceName );
}
-bool KMobileClient::connected( TQString deviceName )
+bool KMobileClient::connected( TQString tqdeviceName )
{
- RETURN_BOOL( "connected(TQString)", deviceName );
+ RETURN_BOOL( "connected(TQString)", tqdeviceName );
}
-TQString KMobileClient::deviceClassName( TQString deviceName )
+TQString KMobileClient::tqdeviceClassName( TQString tqdeviceName )
{
- RETURN_QSTRING( "deviceClassName(TQString)", deviceName );
+ RETURN_TQSTRING( "tqdeviceClassName(TQString)", tqdeviceName );
}
-TQString KMobileClient::deviceName( TQString deviceName )
+TQString KMobileClient::tqdeviceName( TQString tqdeviceName )
{
- RETURN_QSTRING( "deviceName(TQString)", deviceName );
+ RETURN_TQSTRING( "tqdeviceName(TQString)", tqdeviceName );
}
-TQString KMobileClient::revision( TQString deviceName )
+TQString KMobileClient::revision( TQString tqdeviceName )
{
- RETURN_QSTRING( "revision(TQString)", deviceName );
+ RETURN_TQSTRING( "revision(TQString)", tqdeviceName );
}
-int KMobileClient::classType( TQString deviceName )
+int KMobileClient::classType( TQString tqdeviceName )
{
- RETURN_INT( "classType(TQString)", deviceName );
+ RETURN_INT( "classType(TQString)", tqdeviceName );
}
-int KMobileClient::capabilities( TQString deviceName )
+int KMobileClient::capabilities( TQString tqdeviceName )
{
- RETURN_INT( "capabilities(TQString)", deviceName );
+ RETURN_INT( "capabilities(TQString)", tqdeviceName );
}
-TQString KMobileClient::nameForCap( TQString deviceName, int cap )
+TQString KMobileClient::nameForCap( TQString tqdeviceName, int cap )
{
- RETURN_QSTRING( "nameForCap(TQString,int)", deviceName << cap );
+ RETURN_TQSTRING( "nameForCap(TQString,int)", tqdeviceName << cap );
}
-TQString KMobileClient::iconFileName( TQString deviceName )
+TQString KMobileClient::iconFileName( TQString tqdeviceName )
{
- RETURN_QSTRING( "iconFileName(TQString)", deviceName );
+ RETURN_TQSTRING( "iconFileName(TQString)", tqdeviceName );
}
-int KMobileClient::numAddresses( TQString deviceName )
+int KMobileClient::numAddresses( TQString tqdeviceName )
{
- RETURN_INT( "numAddresses(TQString)", deviceName );
+ RETURN_INT( "numAddresses(TQString)", tqdeviceName );
}
-TQString KMobileClient::readAddress( TQString deviceName, int index )
+TQString KMobileClient::readAddress( TQString tqdeviceName, int index )
{
- RETURN_QSTRING( "readAddress(TQString,int)", deviceName << index );
+ RETURN_TQSTRING( "readAddress(TQString,int)", tqdeviceName << index );
}
-bool KMobileClient::storeAddress( TQString deviceName, int index, TQString vcard, bool append )
+bool KMobileClient::storeAddress( TQString tqdeviceName, int index, TQString vcard, bool append )
{
- RETURN_BOOL( "storeAddress(TQString,int,TQString,bool)", deviceName << index << vcard << append );
+ RETURN_BOOL( "storeAddress(TQString,int,TQString,bool)", tqdeviceName << index << vcard << append );
}
-int KMobileClient::numCalendarEntries( TQString deviceName )
+int KMobileClient::numCalendarEntries( TQString tqdeviceName )
{
- RETURN_INT( "numCalendarEntries(TQString)", deviceName );
+ RETURN_INT( "numCalendarEntries(TQString)", tqdeviceName );
}
-int KMobileClient::numNotes( TQString deviceName )
+int KMobileClient::numNotes( TQString tqdeviceName )
{
- RETURN_INT( "numNotes(TQString)", deviceName );
+ RETURN_INT( "numNotes(TQString)", tqdeviceName );
}
-TQString KMobileClient::readNote( TQString deviceName, int index )
+TQString KMobileClient::readNote( TQString tqdeviceName, int index )
{
- RETURN_QSTRING( "readNote(TQString,int)", deviceName << index );
+ RETURN_TQSTRING( "readNote(TQString,int)", tqdeviceName << index );
}
-bool KMobileClient::storeNote( TQString deviceName, int index, TQString note )
+bool KMobileClient::storeNote( TQString tqdeviceName, int index, TQString note )
{
- RETURN_BOOL( "storeNote(TQString,int,TQString)", deviceName << index << note );
+ RETURN_BOOL( "storeNote(TQString,int,TQString)", tqdeviceName << index << note );
}