summaryrefslogtreecommitdiffstats
path: root/src/part/part.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 00:38:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 00:38:19 +0000
commitf0296ef9e1f94e23c00d6f490e565d1dc768416d (patch)
tree7f3fd9f99621c111ff67f2d62feb5960a3371853 /src/part/part.h
parent3098eb909534268622ce776f9a7bb5310d31b3c1 (diff)
downloadfilelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.tar.gz
filelight-f0296ef9e1f94e23c00d6f490e565d1dc768416d.zip
TQt4 port Filelight
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1233561 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/part/part.h')
-rw-r--r--src/part/part.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/part/part.h b/src/part/part.h
index 348b22b..92bb7e3 100644
--- a/src/part/part.h
+++ b/src/part/part.h
@@ -29,14 +29,15 @@ namespace Filelight
class Part : public KParts::ReadOnlyPart
{
Q_OBJECT
+ TQ_OBJECT
public:
- Part( QWidget *, const char *, QObject *, const char *, const QStringList& );
+ Part( TQWidget *, const char *, TQObject *, const char *, const TQStringList& );
virtual bool openFile() { return false; } //pure virtual in base class
virtual bool closeURL();
- QString prettyURL() const { return m_url.protocol() == "file" ? m_url.path() : m_url.prettyURL(); }
+ TQString prettyURL() const { return m_url.protocol() == "file" ? m_url.path() : m_url.prettyURL(); }
static KAboutData *createAboutData();