author | tille <tille> | 2003-05-16 19:36:33 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-16 19:36:33 (UTC) |
commit | 87051a7ba4834aed152bc09aad7f4935c9729ccb (patch) (unidiff) | |
tree | 85c2b2274efede684b1914a4e4a1b2c87bddf6b3 /core/pim | |
parent | 1ac65aca5d1219e537238330501bc441dd2a3324 (diff) | |
download | opie-87051a7ba4834aed152bc09aad7f4935c9729ccb.zip opie-87051a7ba4834aed152bc09aad7f4935c9729ccb.tar.gz opie-87051a7ba4834aed152bc09aad7f4935c9729ccb.tar.bz2 |
and some whatsthis
-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 | |||
@@ -13,8 +13,9 @@ | |||
13 | #include "adresssearch.h" | 13 | #include "adresssearch.h" |
14 | 14 | ||
15 | #include <opie/ocontactaccess.h> | ||
16 | #include <qstring.h> | 15 | #include <qstring.h> |
17 | #include <qiconset.h> | 16 | #include <qiconset.h> |
17 | #include <qwhatsthis.h> | ||
18 | #include <qpe/resource.h> | 18 | #include <qpe/resource.h> |
19 | #include <opie/ocontactaccess.h> | ||
19 | 20 | ||
20 | #include "contactitem.h" | 21 | #include "contactitem.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 | |||
@@ -43,6 +43,4 @@ void ContactItem::setIcon() | |||
43 | break; | 43 | break; |
44 | case Qtopia::DefaultEmail: | 44 | case Qtopia::DefaultEmail: |
45 | icon = Resource::loadPixmap( "addressbook/email" ); | ||
46 | break; | ||
47 | case Qtopia::Emails: | 45 | case Qtopia::Emails: |
48 | icon = Resource::loadPixmap( "addressbook/email" ); | 46 | icon = Resource::loadPixmap( "addressbook/email" ); |
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 | |||
@@ -11,15 +11,5 @@ | |||
11 | 11 | ||
12 | 12 | ||
13 | #include "mainwindow.h" | ||
14 | 13 | ||
15 | #include <qpe/qpemenubar.h> | ||
16 | #include <qpe/qpemessagebox.h> | ||
17 | #include <qpe/resource.h> | ||
18 | #include <qpe/config.h> | ||
19 | #include <qpe/qpetoolbar.h> | ||
20 | #include <qpe/qpeapplication.h> | ||
21 | #include <qpe/config.h> | ||
22 | #include <qpe/global.h> | ||
23 | #include <opie/owait.h> | ||
24 | #include <qaction.h> | 14 | #include <qaction.h> |
25 | #include <qmessagebox.h> | 15 | #include <qmessagebox.h> |
@@ -36,4 +26,14 @@ | |||
36 | #include <qtextbrowser.h> | 26 | #include <qtextbrowser.h> |
37 | #include <qregexp.h> | 27 | #include <qregexp.h> |
28 | #include <qwhatsthis.h> | ||
29 | #include <qpe/qpemenubar.h> | ||
30 | #include <qpe/qpemessagebox.h> | ||
31 | #include <qpe/resource.h> | ||
32 | #include <qpe/config.h> | ||
33 | #include <qpe/qpetoolbar.h> | ||
34 | #include <qpe/qpeapplication.h> | ||
35 | #include <qpe/config.h> | ||
36 | #include <qpe/global.h> | ||
37 | #include <opie/owait.h> | ||
38 | 38 | ||
39 | #include "olistview.h" | 39 | #include "olistview.h" |
@@ -45,4 +45,5 @@ | |||
45 | #include "applnksearch.h" | 45 | #include "applnksearch.h" |
46 | #include "doclnksearch.h" | 46 | #include "doclnksearch.h" |
47 | #include "mainwindow.h" | ||
47 | 48 | ||
48 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | 49 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : |
@@ -67,4 +68,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | |||
67 | QVBoxLayout *detailsLayout = new QVBoxLayout( detailsFrame ); | 68 | QVBoxLayout *detailsLayout = new QVBoxLayout( detailsFrame ); |
68 | richEdit = new QTextView( detailsFrame ); | 69 | richEdit = new QTextView( detailsFrame ); |
70 | QWhatsThis::add( richEdit, tr("The details of the current result") ); | ||
69 | richEdit->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); | 71 | richEdit->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); |
70 | detailsLayout->addWidget( richEdit ); | 72 | detailsLayout->addWidget( richEdit ); |
@@ -135,4 +137,5 @@ void MainWindow::makeMenu() | |||
135 | SearchAllAction = new QAction( tr("Search all"),QString::null, 0, this, 0 ); | 137 | SearchAllAction = new QAction( tr("Search all"),QString::null, 0, this, 0 ); |
136 | SearchAllAction->setIconSet( Resource::loadIconSet( "find" ) ); | 138 | SearchAllAction->setIconSet( Resource::loadIconSet( "find" ) ); |
139 | // QWhatsThis::add( SearchAllAction, tr("Search everything...") ); | ||
137 | connect( SearchAllAction, SIGNAL(activated()), this, SLOT(searchAll()) ); | 140 | connect( SearchAllAction, SIGNAL(activated()), this, SLOT(searchAll()) ); |
138 | SearchAllAction->addTo( searchMenu ); | 141 | SearchAllAction->addTo( searchMenu ); |
@@ -150,4 +153,5 @@ void MainWindow::makeMenu() | |||
150 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); | 153 | addToolBar( searchBar, "Search", QMainWindow::Top, TRUE ); |
151 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); | 154 | QLineEdit *searchEdit = new QLineEdit( searchBar, "seachEdit" ); |
155 | QWhatsThis::add( searchEdit, tr("Enter your search terms here") ); | ||
152 | searchEdit->setFocus(); | 156 | searchEdit->setFocus(); |
153 | searchBar->setHorizontalStretchable( TRUE ); | 157 | searchBar->setHorizontalStretchable( TRUE ); |