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/app/historyAction.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/app/historyAction.h') diff --git a/src/app/historyAction.h b/src/app/historyAction.h index 773093c..dbbf19e 100644 --- a/src/app/historyAction.h +++ b/src/app/historyAction.h @@ -6,18 +6,18 @@ #include #include -#include +#include class KConfig; /// defined in mainWindow.cpp -void setActionMenuTextOnly( KAction *a, QString const &suffix ); +void setActionMenuTextOnly( KAction *a, TQString const &suffix ); class HistoryAction : KAction { - HistoryAction( const QString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name ); + HistoryAction( const TQString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name ); friend class HistoryCollection; @@ -29,20 +29,21 @@ public: private: void setText(); - void push( const QString &path ); - QString pop(); + void push( const TQString &path ); + TQString pop(); - const QString m_text; - QStringList m_list; + const TQString m_text; + TQStringList m_list; }; -class HistoryCollection : public QObject +class HistoryCollection : public TQObject { Q_OBJECT + TQ_OBJECT public: - HistoryCollection( KActionCollection *ac, QObject *parent, const char *name ); + HistoryCollection( KActionCollection *ac, TQObject *tqparent, const char *name ); void save( KConfig *config ); void restore( KConfig *config ); -- cgit v1.2.1