diff options
Diffstat (limited to 'src/bookmarkselector.h')
| -rw-r--r-- | src/bookmarkselector.h | 5 |
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: /** |
