From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: TQt4 port k3b This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/k3bdiroperator.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/k3bdiroperator.h') diff --git a/src/k3bdiroperator.h b/src/k3bdiroperator.h index b231a8d..eb695d7 100644 --- a/src/k3bdiroperator.h +++ b/src/k3bdiroperator.h @@ -20,8 +20,8 @@ #include #include -class QIconViewItem; -class QListViewItem; +class TQIconViewItem; +class TQListViewItem; class KBookmarkMenu; class KActionMenu; @@ -33,35 +33,36 @@ class KActionMenu; class K3bDirOperator : public KDirOperator, public KBookmarkOwner { Q_OBJECT + TQ_OBJECT public: - K3bDirOperator( const KURL& urlName = KURL(), QWidget* parent = 0, const char* name = 0 ); + K3bDirOperator( const KURL& urlName = KURL(), TQWidget* tqparent = 0, const char* name = 0 ); ~K3bDirOperator(); /** * reimplemented from KDirOperator */ - void readConfig( KConfig* cfg, const QString& group ); + void readConfig( KConfig* cfg, const TQString& group ); /** * reimplemented from KDirOperator */ - void writeConfig( KConfig* cfg, const QString& group ); + void writeConfig( KConfig* cfg, const TQString& group ); /** * reimplemented from KBookmarkOwner */ - void openBookmarkURL( const QString& url ); + void openBookmarkURL( const TQString& url ); /** * reimplemented from KBookmarkOwner */ - QString currentTitle() const; + TQString currentTitle() const; /** * reimplemented from KBookmarkOwner */ - QString currentURL() const; + TQString currentURL() const; KActionMenu* bookmarkMenu() const { return m_bmPopup; } @@ -72,7 +73,7 @@ class K3bDirOperator : public KDirOperator, public KBookmarkOwner /** * reimplemented from KDirOperator */ - void activatedMenu( const KFileItem*, const QPoint& ); + void activatedMenu( const KFileItem*, const TQPoint& ); private: KBookmarkMenu* m_bmMenu; -- cgit v1.2.1