From 7a741e43ff09e70396a918956219b8316c48e522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 27 Apr 2011 00:40:29 +0000 Subject: TQt4 port Dolphin This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/bookmarkselector.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/bookmarkselector.h') diff --git a/src/bookmarkselector.h b/src/bookmarkselector.h index 9bede96..d56aec2 100644 --- a/src/bookmarkselector.h +++ b/src/bookmarkselector.h @@ -25,7 +25,7 @@ #include class URLNavigator; -class QPopupMenu; +class TQPopupMenu; class KURL; /** @@ -40,21 +40,22 @@ class KURL; class BookmarkSelector : public URLButton { Q_OBJECT + TQ_OBJECT public: /** - * @param parent Parent widget where the bookmark selector + * @param tqparent Parent widget where the bookmark selector * is embedded into. */ - BookmarkSelector(URLNavigator* parent); + BookmarkSelector(URLNavigator* tqparent); virtual ~BookmarkSelector(); /** * Updates the selection dependent from the given URL \a url. The * URL must not match exactly to one of the available bookmarks: - * The bookmark which is equal to the URL or at least is a parent URL - * is selected. If there are more than one possible parent URL candidates, + * The bookmark which is equal to the URL or at least is a tqparent URL + * is selected. If there are more than one possible tqparent URL candidates, * the bookmark which covers the bigger range of the URL is selected. */ void updateSelection(const KURL& url); @@ -80,7 +81,7 @@ protected: * Draws the icon of the selected URL as content of the URL * selector. */ - virtual void drawButton(QPainter* painter); + virtual void drawButton(TQPainter* painter); private slots: /** @@ -92,7 +93,7 @@ private slots: private: int m_selectedIndex; - QPopupMenu* m_bookmarksMenu; + TQPopupMenu* m_bookmarksMenu; }; #endif -- cgit v1.2.1