┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/bookmarkselector.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2006-11-24 18:34:52 +0000
committerPeter Penz <[email protected]>2006-11-24 18:34:52 +0000
commit4ff8dbf5e9628c4ccc24ab1215ae30d2e68ed83d (patch)
tree841425ce2bee05341d7d6381e54fb40b463dd96d /src/bookmarkselector.h
parent47fa21aff1e1b1226767c956953bc0517d52d42e (diff)
Get rid of using deprecated Q3Button::drawButton() interface. Now the URL navigator looks nearly as nice as within the Qt3version again :-)
svn path=/trunk/playground/utils/dolphin/; revision=607457
Diffstat (limited to 'src/bookmarkselector.h')
-rw-r--r--src/bookmarkselector.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bookmarkselector.h b/src/bookmarkselector.h
index 3a967b5dc..43c661815 100644
--- a/src/bookmarkselector.h
+++ b/src/bookmarkselector.h
@@ -70,6 +70,9 @@ public:
/** Returns the selected bookmark. */
KBookmark selectedBookmark() const;
+ /** @see QWidget::sizeHint() */
+ virtual QSize sizeHint() const;
+
signals:
/**
* Is send when a bookmark has been activated by the user.
@@ -82,7 +85,7 @@ protected:
* Draws the icon of the selected Url as content of the Url
* selector.
*/
- virtual void drawButton(QPainter* painter);
+ virtual void paintEvent(QPaintEvent* event);
private slots:
/**