summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-10 23:47:57 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-10 23:47:57 +0200
commit8b6d7ed54e48940bc98d26fc1b67547ca12993ce (patch)
tree17fd3694356020dc41454815b3b4f97b4e8afc41 /src/findbar.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
parentFix comments (diff)
downloadrekonq-8b6d7ed54e48940bc98d26fc1b67547ca12993ce.tar.xz
Merge commit 'refs/merge-requests/159' of git://gitorious.org/rekonq/mainline into m159
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp
index 10b63186..5d88dc1b 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -185,3 +185,16 @@ void FindBar::hide()
QWidget::hide();
emit(searchString(m_lineEdit->text()));
}
+
+
+void FindBar::setVisible(bool visible)
+{
+ emit visibilityChanged(visible);
+ QWidget::setVisible(visible);
+}
+
+
+void FindBar::toggleVisibility()
+{
+ setVisible(!isVisible());
+}