author | tille <tille> | 2003-05-10 17:58:10 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-10 17:58:10 (UTC) |
commit | b7d34545193f39c146ab56b1127863279a3121ce (patch) (side-by-side diff) | |
tree | bd0d550af05c14689c5b527da0c5e8ae0e11ce7a /core/pim/osearch/mainwindow.cpp | |
parent | 797a10cb009d58366d8eb3e792e350f87be4d100 (diff) | |
download | opie-b7d34545193f39c146ab56b1127863279a3121ce.zip opie-b7d34545193f39c146ab56b1127863279a3121ce.tar.gz opie-b7d34545193f39c146ab56b1127863279a3121ce.tar.bz2 |
and doclnk search
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 41ce5b6..140d7bb 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -34,12 +34,13 @@ #include "olistviewitem.h" #include "resultitem.h" #include "adresssearch.h" #include "todosearch.h" #include "datebooksearch.h" #include "applnksearch.h" +#include "doclnksearch.h" MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : QMainWindow( parent, name, f ), _currentItem(0) { setCaption( tr("OSearch") ); @@ -75,12 +76,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : detailsFrame->hide(); adrSearch = new AdressSearch( resultsList, tr("adressbook") ); todoSearch = new TodoSearch( resultsList, tr("todo") ); datebookSearch = new DatebookSearch( resultsList, tr("datebook") ); applnkSearch = new AppLnkSearch( resultsList, tr("applications") ); + doclnkSearch = new DocLnkSearch( resultsList, tr("documents") ); makeMenu(); setCentralWidget( mainFrame ); popupTimer = new QTimer(); @@ -154,12 +156,13 @@ void MainWindow::showPopup() void MainWindow::setSearch( const QString &key ) { adrSearch->setSearch(key); todoSearch->setSearch(key); datebookSearch->setSearch(key); applnkSearch->setSearch(key); + doclnkSearch->setSearch(key); } void MainWindow::showItem() { if (_currentItem->rtti() == OListViewItem::Result){ |