summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/searchbar.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/searchbar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/dagger/searchbar.cpp b/noncore/apps/dagger/searchbar.cpp
index ff434dd..9953e8f 100644
--- a/noncore/apps/dagger/searchbar.cpp
+++ b/noncore/apps/dagger/searchbar.cpp
@@ -28,2 +28,3 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
#include <qlineedit.h>
+#include <qwhatsthis.h>
@@ -45,2 +46,3 @@ SearchBar::SearchBar( QMainWindow *parent )
setStretchableWidget( m_searchText );
+ QWhatsThis::add( m_searchText, tr( "Enter text to search for here." ) );
connect(m_searchText, SIGNAL(textChanged(const QString &)),
@@ -52,2 +54,3 @@ SearchBar::SearchBar( QMainWindow *parent )
m_actionFind->addTo( this );
+ m_actionFind->setWhatsThis( tr( "Tap here search the current module for the text entered to the left." ) );
connect( m_actionFind, SIGNAL(activated()), this, SLOT(slotFind()) );
@@ -60,2 +63,3 @@ SearchBar::SearchBar( QMainWindow *parent )
m_actionPrev->addTo( this );
+ m_actionPrev->setWhatsThis( tr( "Tap here to view the previous search result." ) );
connect( m_actionPrev, SIGNAL(activated()), this, SLOT(slotPrev()) );
@@ -64,2 +68,3 @@ SearchBar::SearchBar( QMainWindow *parent )
m_resultList->setEnabled( false );
+ QWhatsThis::add( m_resultList, tr( "Select the desired search result here." ) );
connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) );
@@ -70,2 +75,3 @@ SearchBar::SearchBar( QMainWindow *parent )
m_actionNext->addTo( this );
+ m_actionNext->setWhatsThis( tr( "Tap here to view the next search result." ) );
connect( m_actionNext, SIGNAL(activated()), this, SLOT(slotNext()) );