summaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_dcopinterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/mediaplayer/mp_dcopinterface.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/mediaplayer/mp_dcopinterface.h')
-rw-r--r--src/modules/mediaplayer/mp_dcopinterface.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/mediaplayer/mp_dcopinterface.h b/src/modules/mediaplayer/mp_dcopinterface.h
index 6ce8594d..449f385c 100644
--- a/src/modules/mediaplayer/mp_dcopinterface.h
+++ b/src/modules/mediaplayer/mp_dcopinterface.h
@@ -33,23 +33,23 @@
class KviMediaPlayerDCOPInterface : public KviMediaPlayerInterface
{
public:
- KviMediaPlayerDCOPInterface(const KviQCString &szAppId);
+ KviMediaPlayerDCOPInterface(const KviTQCString &szAppId);
~KviMediaPlayerDCOPInterface();
protected:
- KviQCString m_szAppId;
+ KviTQCString m_szAppId;
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 simpleDCOPCall(const KviQCString &szObj,const KviQCString &szFunc);
- bool intDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int iVal);
- bool boolDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,bool bVal);
- bool stringDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,QString szVal);
- bool floatDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,float fVal);
- bool stringRetDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,QString &ret);
- bool intRetDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,int &ret);
- bool boolRetDCOPCall(const KviQCString &szObj,const KviQCString &szFunc,bool &ret);
+ 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);
+ bool simpleDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc);
+ bool intDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int iVal);
+ bool boolDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,bool bVal);
+ bool stringDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,TQString szVal);
+ bool floatDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,float fVal);
+ bool stringRetDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,TQString &ret);
+ bool intRetDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,int &ret);
+ bool boolRetDCOPCall(const KviTQCString &szObj,const KviTQCString &szFunc,bool &ret);
};
#endif //COMPILE_KDE_SUPPORT