diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-10 23:47:57 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-10 23:47:57 +0200 |
commit | 8b6d7ed54e48940bc98d26fc1b67547ca12993ce (patch) | |
tree | 17fd3694356020dc41454815b3b4f97b4e8afc41 /src/findbar.cpp | |
parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
parent | Fix comments (diff) | |
download | rekonq-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.cpp | 13 |
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()); +} |