-rw-r--r-- | core/pim/osearch/adresssearch.cpp | 3 | ||||
-rw-r--r-- | core/pim/osearch/contactitem.cpp | 2 | ||||
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 24 |
3 files changed, 16 insertions, 13 deletions
diff --git a/core/pim/osearch/adresssearch.cpp b/core/pim/osearch/adresssearch.cpp index 252fb40..2cd545f 100644 --- a/core/pim/osearch/adresssearch.cpp +++ b/core/pim/osearch/adresssearch.cpp @@ -14,6 +14,7 @@ -#include <opie/ocontactaccess.h> #include <qstring.h> #include <qiconset.h> +#include <qwhatsthis.h> #include <qpe/resource.h> +#include <opie/ocontactaccess.h> diff --git a/core/pim/osearch/contactitem.cpp b/core/pim/osearch/contactitem.cpp index 68e0cd4..c4738ae 100644 --- a/core/pim/osearch/contactitem.cpp +++ b/core/pim/osearch/contactitem.cpp @@ -44,4 +44,2 @@ void ContactItem::setIcon() case Qtopia::DefaultEmail: - icon = Resource::loadPixmap( "addressbook/email" ); - break; case Qtopia::Emails: diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 2936b17..c6934db 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -12,13 +12,3 @@ -#include "mainwindow.h" -#include <qpe/qpemenubar.h> -#include <qpe/qpemessagebox.h> -#include <qpe/resource.h> -#include <qpe/config.h> -#include <qpe/qpetoolbar.h> -#include <qpe/qpeapplication.h> -#include <qpe/config.h> -#include <qpe/global.h> -#include <opie/owait.h> #include <qaction.h> @@ -37,2 +27,12 @@ #include <qregexp.h> +#include <qwhatsthis.h> +#include <qpe/qpemenubar.h> +#include <qpe/qpemessagebox.h> +#include <qpe/resource.h> +#include <qpe/config.h> +#include <qpe/qpetoolbar.h> +#include <qpe/qpeapplication.h> +#include <qpe/config.h> +#include <qpe/global.h> +#include <opie/owait.h> @@ -46,2 +46,3 @@ #include "doclnksearch.h" +#include "mainwindow.h" @@ -68,2 +69,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : richEdit = new QTextView( detailsFrame ); + QWhatsThis::add( richEdit, tr("The details of the current result") ); richEdit->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); @@ -136,2 +138,3 @@ void MainWindow::makeMenu() SearchAllAction->setIconSet( Resource::loadIconSet( "find" ) ); + // QWhatsThis::add( SearchAllAction, tr("Search everything...") ); connect( SearchAllAction, SIGNAL(activated()), this, SLOT(searchAll()) ); @@ -151,2 +154,3 @@ void MainWindow::makeMenu() QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); + QWhatsThis::add( searchEdit, tr("Enter your search terms here") ); searchEdit->setFocus(); |