From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/recentfilesaction.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/recentfilesaction.h') diff --git a/src/recentfilesaction.h b/src/recentfilesaction.h index 158e945..1e6bbaf 100644 --- a/src/recentfilesaction.h +++ b/src/recentfilesaction.h @@ -20,8 +20,9 @@ Adapted to work around strange bug occuring. class RecentFilesAction : public KSelectAction { Q_OBJECT + TQ_OBJECT public: - RecentFilesAction( const QString & configGroupName, const QString & text, const QObject * receiver, const char* slot, QObject* parent, const char * name ); + RecentFilesAction( const TQString & configGroupName, const TQString & text, const TQObject * receiver, const char* slot, TQObject* tqparent, const char * name ); ~RecentFilesAction(); @@ -57,18 +58,18 @@ class RecentFilesAction : public KSelectAction void urlSelected( const KURL& url ); protected slots: - void itemSelected( const QString& string ); + void itemSelected( const TQString& string ); void menuAboutToShow(); void menuItemActivated( int id ); void slotClicked(); virtual void slotActivated(int); - virtual void slotActivated(const QString& ); + virtual void slotActivated(const TQString& ); virtual void slotActivated(); protected: unsigned m_maxItems; KPopupMenu * m_popup; - QString m_configGroupName; + TQString m_configGroupName; }; #endif -- cgit v1.2.1