Diffstat (limited to 'libopie2/opiepim/ui/opimmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.h | 14 |
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 | |||
@@ -37,8 +37,9 @@ | |||
37 | #include <qmainwindow.h> | 37 | #include <qmainwindow.h> |
38 | 38 | ||
39 | class QAction; | 39 | class QAction; |
40 | class QActionGroup; | 40 | class QActionGroup; |
41 | class QComboBox; | ||
41 | class QCopChannel; | 42 | class QCopChannel; |
42 | class QDateTime; | 43 | class QDateTime; |
43 | class QPopupMenu; | 44 | class QPopupMenu; |
44 | 45 | ||
@@ -106,9 +107,9 @@ protected slots: | |||
106 | virtual void slotItemEdit() = 0; | 107 | virtual void slotItemEdit() = 0; |
107 | virtual void slotItemDuplicate() = 0; | 108 | virtual void slotItemDuplicate() = 0; |
108 | virtual void slotItemDelete() = 0; | 109 | virtual void slotItemDelete() = 0; |
109 | virtual void slotItemBeam() = 0; | 110 | virtual void slotItemBeam() = 0; |
110 | virtual void slotItemFind() = 0; | 111 | //virtual void slotItemFind() = 0; |
111 | virtual void slotConfigure() = 0; | 112 | virtual void slotConfigure() = 0; |
112 | 113 | ||
113 | protected: | 114 | protected: |
114 | /** | 115 | /** |
@@ -120,22 +121,22 @@ protected: | |||
120 | void timerEvent( QTimerEvent* ); | 121 | void timerEvent( QTimerEvent* ); |
121 | 122 | ||
122 | /** UI-related functions */ | 123 | /** UI-related functions */ |
123 | QPopupMenu *itemContextMenu(); | 124 | QPopupMenu *itemContextMenu(); |
124 | 125 | ||
125 | void insertItemMenuItems( QActionGroup *items ); | 126 | void insertItemMenuItems( QActionGroup *items ); |
126 | void insertViewMenuItems( QActionGroup *items ); | 127 | void insertViewMenuItems( QActionGroup *items ); |
127 | 128 | ||
128 | void setViewCategory( const QString &category ); | 129 | void setViewCategory( const QString &category ); |
129 | void reloadCategories(); | 130 | void reloadCategories(); |
130 | 131 | ||
131 | private slots: | 132 | private slots: |
132 | void appMessage( const QCString&, const QByteArray& ); | 133 | void appMessage( const QCString&, const QByteArray& ); |
133 | void setDocument( const QString& ); | 134 | void setDocument( const QString& ); |
134 | 135 | ||
135 | /** UI-related slots */ | 136 | /** UI-related slots */ |
136 | void slotViewCategory( QAction *category ); | 137 | void slotViewCategory( const QString &category ); |
137 | 138 | ||
138 | private: | 139 | private: |
139 | class Private; | 140 | class Private; |
140 | Private* d; | 141 | Private* d; |
141 | 142 | ||
@@ -159,13 +160,14 @@ private: | |||
159 | QActionGroup *m_itemMenuGroup1; // Action group containing default items in Item menu | 160 | QActionGroup *m_itemMenuGroup1; // Action group containing default items in Item menu |
160 | QActionGroup *m_itemMenuGroup2; // Action group containing default items in Item menu | 161 | QActionGroup *m_itemMenuGroup2; // Action group containing default items in Item menu |
161 | QActionGroup *m_viewMenuAppGroup; // Action group containing application items in View menu | 162 | QActionGroup *m_viewMenuAppGroup; // Action group containing application items in View menu |
162 | QActionGroup *m_viewMenuGroup; // Action group containing default items in View menu | 163 | QActionGroup *m_viewMenuGroup; // Action group containing default items in View menu |
163 | QActionGroup *m_viewMenuCategories; // Pointer to action group containing categories in View menu | ||
164 | QAction *m_itemEditAction; // Edit current item action | 164 | QAction *m_itemEditAction; // Edit current item action |
165 | QAction *m_itemDuplicateAction; // Duplicate current item action | 165 | QAction *m_itemDuplicateAction; // Duplicate current item action |
166 | QAction *m_itemDeleteAction; // Delete current item action | 166 | QAction *m_itemDeleteAction; // Delete current item action |
167 | 167 | ||
168 | QComboBox *m_catSelect; // Category selection combo box | ||
169 | |||
168 | /* I would love to do this as a template | 170 | /* I would love to do this as a template |
169 | * but can't think of a right way | 171 | * but can't think of a right way |
170 | * because I need signal and slots -zecke | 172 | * because I need signal and slots -zecke |
171 | */ | 173 | */ |