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 @@ -14,23 +14,23 @@ #include <qmainwindow.h> #include <qdialog.h> #include <qaction.h> +#include <qlist.h> #include <qtimer.h> #include <qpopupmenu.h> class QPEToolBar; class QVBoxLayout; +class QHBoxLayout; class QTextView; class QFrame; class QListViewItem; class OListView; class OListViewItem; -class AdressSearch; -class TodoSearch; -class DatebookSearch; -class AppLnkSearch; -class DocLnkSearch; +class QHButtonGroup; + +class SearchGroup; class MainWindow : public QMainWindow { Q_OBJECT @@ -47,26 +47,23 @@ public slots: void stopTimer( QListViewItem* ); void setSearch( const QString& ); protected slots: - void showItem(); - void editItem(); + void slotAction(int); private: OListView *resultsList; QTextView *richEdit; OListViewItem *_currentItem; 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(); }; #endif |