From f0296ef9e1f94e23c00d6f490e565d1dc768416d Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 00:38:19 +0000 Subject: 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 --- src/part/part.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/part/part.h') 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(); -- cgit v1.2.1