summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-06-12 12:22:53 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-06-12 12:22:53 +0200
commit13711f34491e2f6fb0b85809d4511a30884b95fd (patch)
treee6bcaa10edf480921a1a7d011c03f1437b52baa5 /src/urlbar/urlbar.h
parentFix tabbar code with large icons (diff)
downloadrekonq-13711f34491e2f6fb0b85809d4511a30884b95fd.tar.xz
Clean up urlbar code by removing duplicated code
Diffstat (limited to 'src/urlbar/urlbar.h')
-rw-r--r--src/urlbar/urlbar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.h b/src/urlbar/urlbar.h
index 4f2586bc..fadd2f95 100644
--- a/src/urlbar/urlbar.h
+++ b/src/urlbar/urlbar.h
@@ -131,6 +131,11 @@ protected:
void resizeEvent(QResizeEvent *);
private:
+ /**
+ * Updates right icon position, given its number in the right icons list
+ * and considering rekonq window position/dimension
+ */
+ void updateRightIconPosition(IconButton *, int);
IconButton *addRightIcon(UrlBar::icon);
QWeakPointer<CompletionWidget> _box;