diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /kbfxlib/common/kbfxkiodownload.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbfxlib/common/kbfxkiodownload.h')
-rw-r--r-- | kbfxlib/common/kbfxkiodownload.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kbfxlib/common/kbfxkiodownload.h b/kbfxlib/common/kbfxkiodownload.h index 61efb91..7765076 100644 --- a/kbfxlib/common/kbfxkiodownload.h +++ b/kbfxlib/common/kbfxkiodownload.h @@ -29,19 +29,20 @@ /** * @author PhobosK <[email protected]> */ -class KbfxKioDownload : public QObject +class KbfxKioDownload : public TQObject { Q_OBJECT + TQ_OBJECT public: - KbfxKioDownload ( QObject * parent = 0, const char * name = 0 ); + KbfxKioDownload ( TQObject * tqparent = 0, const char * name = 0 ); ~KbfxKioDownload(); - /* KbfxKioDownload invocation - pass an url as QString */ - void KbfxKioDownloadStart ( QString &url ); + /* KbfxKioDownload invocation - pass an url as TQString */ + void KbfxKioDownloadStart ( TQString &url ); /* return temp file name for the download */ - QString KbfxBrowserTmpFile() {return m_KbfxBrowserTmpFile;} + TQString KbfxBrowserTmpFile() {return m_KbfxBrowserTmpFile;} /* return error number occured during download * see definition in global.h @@ -49,12 +50,12 @@ class KbfxKioDownload : public QObject int KbfxBrowserError() {return m_KbfxBrowserError;} /* return error text occured during download */ - QString KbfxBrowserErrorText() {return m_KbfxBrowserErrorText;} + TQString KbfxBrowserErrorText() {return m_KbfxBrowserErrorText;} protected: - QString m_KbfxBrowserTmpFile; + TQString m_KbfxBrowserTmpFile; int m_KbfxBrowserError; - QString m_KbfxBrowserErrorText; + TQString m_KbfxBrowserErrorText; private: KTempFile tmpF; |