author | drw <drw> | 2004-05-27 14:35:16 (UTC) |
---|---|---|
committer | drw <drw> | 2004-05-27 14:35:16 (UTC) |
commit | 26d09a968a56e0d779e12e0f281c1a0f2b8b541f (patch) (unidiff) | |
tree | 1452bf6217d85da369e1e7bdfb0d0aeedd47129c /noncore/apps/dagger/searchbar.cpp | |
parent | d643ab62b5d08afba2e5d0c1440cf21666e75286 (diff) | |
download | opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.zip opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.tar.gz opie-26d09a968a56e0d779e12e0f281c1a0f2b8b541f.tar.bz2 |
Added QWhatsThis help text
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/searchbar.cpp | 6 |
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., | |||
28 | #include <qlineedit.h> | 28 | #include <qlineedit.h> |
29 | #include <qwhatsthis.h> | ||
29 | 30 | ||
@@ -45,2 +46,3 @@ SearchBar::SearchBar( QMainWindow *parent ) | |||
45 | setStretchableWidget( m_searchText ); | 46 | setStretchableWidget( m_searchText ); |
47 | QWhatsThis::add( m_searchText, tr( "Enter text to search for here." ) ); | ||
46 | connect(m_searchText, SIGNAL(textChanged(const QString &)), | 48 | connect(m_searchText, SIGNAL(textChanged(const QString &)), |
@@ -52,2 +54,3 @@ SearchBar::SearchBar( QMainWindow *parent ) | |||
52 | m_actionFind->addTo( this ); | 54 | m_actionFind->addTo( this ); |
55 | m_actionFind->setWhatsThis( tr( "Tap here search the current module for the text entered to the left." ) ); | ||
53 | connect( m_actionFind, SIGNAL(activated()), this, SLOT(slotFind()) ); | 56 | connect( m_actionFind, SIGNAL(activated()), this, SLOT(slotFind()) ); |
@@ -60,2 +63,3 @@ SearchBar::SearchBar( QMainWindow *parent ) | |||
60 | m_actionPrev->addTo( this ); | 63 | m_actionPrev->addTo( this ); |
64 | m_actionPrev->setWhatsThis( tr( "Tap here to view the previous search result." ) ); | ||
61 | connect( m_actionPrev, SIGNAL(activated()), this, SLOT(slotPrev()) ); | 65 | connect( m_actionPrev, SIGNAL(activated()), this, SLOT(slotPrev()) ); |
@@ -64,2 +68,3 @@ SearchBar::SearchBar( QMainWindow *parent ) | |||
64 | m_resultList->setEnabled( false ); | 68 | m_resultList->setEnabled( false ); |
69 | QWhatsThis::add( m_resultList, tr( "Select the desired search result here." ) ); | ||
65 | connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) ); | 70 | connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) ); |
@@ -70,2 +75,3 @@ SearchBar::SearchBar( QMainWindow *parent ) | |||
70 | m_actionNext->addTo( this ); | 75 | m_actionNext->addTo( this ); |
76 | m_actionNext->setWhatsThis( tr( "Tap here to view the next search result." ) ); | ||
71 | connect( m_actionNext, SIGNAL(activated()), this, SLOT(slotNext()) ); | 77 | connect( m_actionNext, SIGNAL(activated()), this, SLOT(slotNext()) ); |