From 4ff8dbf5e9628c4ccc24ab1215ae30d2e68ed83d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 24 Nov 2006 18:34:52 +0000 Subject: 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 --- src/bookmarkselector.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/bookmarkselector.h') 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: /** -- cgit v1.3