summaryrefslogtreecommitdiffstats
path: root/src/common/nokde/nokde_kurl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/common/nokde/nokde_kurl.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/common/nokde/nokde_kurl.h')
-rw-r--r--src/common/nokde/nokde_kurl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/nokde/nokde_kurl.h b/src/common/nokde/nokde_kurl.h
index 202c46d..c31fca1 100644
--- a/src/common/nokde/nokde_kurl.h
+++ b/src/common/nokde/nokde_kurl.h
@@ -1,7 +1,7 @@
#ifndef _KURL_H_
#define _KURL_H_
-#include <qfile.h>
+#include <tqfile.h>
#include "common/global/global.h"
@@ -9,12 +9,12 @@ class KURL : public Q3Url
{
public:
KURL() {}
- KURL(const QString &s) : Q3Url(s) {}
+ KURL(const TQString &s) : Q3Url(s) {}
void cleanPath() {}
bool isEmpty() const { return toString(false, false).isEmpty(); }
- QString fileName(bool b) const { Q_UNUSED(b); Q_ASSERT(!b); return Q3Url::fileName(); }
- static KURL fromPathOrURL(const QString &s) { return KURL(s); }
-#if QT_VERSION>=0x040000
+ TQString fileName(bool b) const { Q_UNUSED(b); Q_ASSERT(!b); return Q3Url::fileName(); }
+ static KURL fromPathOrURL(const TQString &s) { return KURL(s); }
+#if [[[TQT_VERSION IS DEPRECATED]]]>=0x040000
bool operator <(const KURL &url) const { return path()<url.path(); }
bool operator ==(const KURL &url) const { return path()==url.path(); }
bool operator !=(const KURL &url) const { return path()!=url.path(); }
@@ -25,8 +25,8 @@ public:
class KTempFile
{
public:
- const QFile *file() const { return 0; }
- QFile *file() { return 0; }
+ const TQFile *file() const { return 0; }
+ TQFile *file() { return 0; }
};
#endif