summaryrefslogtreecommitdiffstats
path: root/src/kvilib/ext/kvi_dcophelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/ext/kvi_dcophelper.h')
-rw-r--r--src/kvilib/ext/kvi_dcophelper.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/kvilib/ext/kvi_dcophelper.h b/src/kvilib/ext/kvi_dcophelper.h
index de605e37..431394d3 100644
--- a/src/kvilib/ext/kvi_dcophelper.h
+++ b/src/kvilib/ext/kvi_dcophelper.h
@@ -32,7 +32,7 @@
#ifdef COMPILE_KDE_SUPPORT
-typedef KviValueList<KviQCString> KviQCStringList;
+typedef KviValueList<KviTQCString> KviQCStringList;
class KVILIB_API KviDCOPHelper
{
@@ -42,39 +42,39 @@ public:
// Constructs a DCOP helper object.
// bStartApp: tries to start application when a dcop call is about to be made and the app is not already running
// szAppID: application name as seen by DCOP
- KviDCOPHelper(bool bStartApp, const KviQCString &szAppId);
+ KviDCOPHelper(bool bStartApp, const KviTQCString &szAppId);
~KviDCOPHelper();
protected:
- KviQCString m_szAppId;
+ KviTQCString m_szAppId;
bool m_bStartApp;
protected:
- bool ensureAppRunning(const QString &szApp);
- bool findRunningApp(const QString &szApp);
- bool startApp(const QString &szApp,int iWaitMSecs = 0);
- int detectApp(const QString &szApp,bool bStart,int iScoreWhenFound,int iScoreWhenStarted);
+ bool ensureAppRunning(const TQString &szApp);
+ bool findRunningApp(const TQString &szApp);
+ bool startApp(const TQString &szApp,int iWaitMSecs = 0);
+ int detectApp(const TQString &szApp,bool bStart,int iScoreWhenFound,int iScoreWhenStarted);
// naming convention: [return value] Ret [argument type(s)] DCOPCall
- bool voidRetVoidDCOPCall(const KviQCString &szObj,const KviQCString &szFunc);
- bool voidRetIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int iVal);
- bool voidRetIntBoolDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int iVal, bool bVal);
- bool voidRetIntIntIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int iVal1, int iVal2, int iVal3);
- bool voidRetBoolDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,bool bVal);
- bool voidRetStringDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,const QString &szVal);
- bool voidRetFloatDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,float fVal);
- bool stringRetVoidDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,QString &szRet);
- bool stringRetIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,QString &szRet,int iVal);
- bool intRetVoidDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int &ret);
- bool intRetIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int &ret, int iVal);
- bool boolRetVoidDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,bool &ret);
+ bool voidRetVoidDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc);
+ bool voidRetIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int iVal);
+ bool voidRetIntBoolDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int iVal, bool bVal);
+ bool voidRetIntIntIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int iVal1, int iVal2, int iVal3);
+ bool voidRetBoolDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,bool bVal);
+ bool voidRetStringDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,const TQString &szVal);
+ bool voidRetFloatDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,float fVal);
+ bool stringRetVoidDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,TQString &szRet);
+ bool stringRetIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,TQString &szRet,int iVal);
+ bool intRetVoidDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int &ret);
+ bool intRetIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int &ret, int iVal);
+ bool boolRetVoidDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,bool &ret);
- bool qvalueListIntRetIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,KviValueList<int> &ret, int iVal);
- bool qcstringListRetIntDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,KviQCStringList &ret, int iVal);
- bool qcstringListRetVoidDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,KviQCStringList &ret);
+ bool qvalueListIntRetIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,KviValueList<int> &ret, int iVal);
+ bool qcstringListRetIntDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,KviQCStringList &ret, int iVal);
+ bool qcstringListRetVoidDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,KviQCStringList &ret);
};
#endif //COMPILE_KDE_SUPPORT