author | tille <tille> | 2003-05-11 19:19:30 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-11 19:19:30 (UTC) |
commit | 43c18630840a98aed8deb96b454957c40f0a4344 (patch) (side-by-side diff) | |
tree | 60e5b68d1d172c77560d5af7bea83e81be7144a6 /core/pim/osearch/mainwindow.h | |
parent | 38dc2fd6258f11ba0507c7bd8f8dfd5b39bc0df5 (diff) | |
download | opie-43c18630840a98aed8deb96b454957c40f0a4344.zip opie-43c18630840a98aed8deb96b454957c40f0a4344.tar.gz opie-43c18630840a98aed8deb96b454957c40f0a4344.tar.bz2 |
improved applnk and doclnk searching
clean up:
- mainwindow: handling of searchgroups
- searchgroups: introduced load, search and insertItem functions
- flexible actions handling
- doclnksearch inherits applnksearch
Diffstat (limited to 'core/pim/osearch/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/core/pim/osearch/mainwindow.h b/core/pim/osearch/mainwindow.h index 424b4ba..f6ae0a4 100644 --- a/core/pim/osearch/mainwindow.h +++ b/core/pim/osearch/mainwindow.h @@ -17,2 +17,3 @@ #include <qaction.h> +#include <qlist.h> #include <qtimer.h> @@ -22,2 +23,3 @@ class QPEToolBar; class QVBoxLayout; +class QHBoxLayout; class QTextView; @@ -27,7 +29,5 @@ class OListView; class OListViewItem; -class AdressSearch; -class TodoSearch; -class DatebookSearch; -class AppLnkSearch; -class DocLnkSearch; +class QHButtonGroup; + +class SearchGroup; @@ -50,4 +50,3 @@ public slots: protected slots: - void showItem(); - void editItem(); + void slotAction(int); @@ -58,12 +57,10 @@ private: QVBoxLayout *mainLayout; + QHBoxLayout *buttonLayout; QFrame *detailsFrame; - OListViewItem *_item; +// OListViewItem *_item; QTimer *popupTimer; - AdressSearch *adrSearch; - TodoSearch *todoSearch; - DatebookSearch *datebookSearch; - AppLnkSearch *applnkSearch; - DocLnkSearch *doclnkSearch; - + QList<SearchGroup> searches; + QHButtonGroup *buttonGroupActions; + uint _buttonCount; void makeMenu(); |