summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui/opimmainwindow.h
authordrw <drw>2005-02-02 01:07:14 (UTC)
committer drw <drw>2005-02-02 01:07:14 (UTC)
commit9c9c35ab1c0366b69ba1be63a4b7ba7b847fb66a (patch) (side-by-side diff)
tree88d42e3fee67021735890852bf73e53c209bac6f /libopie2/opiepim/ui/opimmainwindow.h
parent7500adc8443f9044da7773e32742dbae51391bef (diff)
downloadopie-9c9c35ab1c0366b69ba1be63a4b7ba7b847fb66a.zip
opie-9c9c35ab1c0366b69ba1be63a4b7ba7b847fb66a.tar.gz
opie-9c9c35ab1c0366b69ba1be63a4b7ba7b847fb66a.tar.bz2
Change the way categories can be selected, combo box is much more useful than a menu for many different categories
Diffstat (limited to 'libopie2/opiepim/ui/opimmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/opimmainwindow.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/libopie2/opiepim/ui/opimmainwindow.h b/libopie2/opiepim/ui/opimmainwindow.h
index 4aed8b8..ffc7feb 100644
--- a/libopie2/opiepim/ui/opimmainwindow.h
+++ b/libopie2/opiepim/ui/opimmainwindow.h
@@ -40,2 +40,3 @@ class QAction;
class QActionGroup;
+class QComboBox;
class QCopChannel;
@@ -109,3 +110,3 @@ protected slots:
virtual void slotItemBeam() = 0;
- virtual void slotItemFind() = 0;
+ //virtual void slotItemFind() = 0;
virtual void slotConfigure() = 0;
@@ -123,3 +124,3 @@ protected:
QPopupMenu *itemContextMenu();
-
+
void insertItemMenuItems( QActionGroup *items );
@@ -129,3 +130,3 @@ protected:
void reloadCategories();
-
+
private slots:
@@ -135,4 +136,4 @@ private slots:
/** UI-related slots */
- void slotViewCategory( QAction *category );
-
+ void slotViewCategory( const QString &category );
+
private:
@@ -162,3 +163,2 @@ private:
QActionGroup *m_viewMenuGroup; // Action group containing default items in View menu
- QActionGroup *m_viewMenuCategories; // Pointer to action group containing categories in View menu
QAction *m_itemEditAction; // Edit current item action
@@ -167,2 +167,4 @@ private:
+ QComboBox *m_catSelect; // Category selection combo box
+
/* I would love to do this as a template