Diffstat (limited to 'core/pim/addressbook/addressbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h index e2a7100..31c4660 100644 --- a/core/pim/addressbook/addressbook.h +++ b/core/pim/addressbook/addressbook.h | |||
@@ -22,24 +22,25 @@ | |||
22 | 22 | ||
23 | #include <qmainwindow.h> | 23 | #include <qmainwindow.h> |
24 | 24 | ||
25 | class ContactEditor; | 25 | class ContactEditor; |
26 | class AbLabel; | 26 | class AbLabel; |
27 | class AbTable; | 27 | class AbTable; |
28 | class QPEToolBar; | 28 | class QPEToolBar; |
29 | class QPopupMenu; | 29 | class QPopupMenu; |
30 | class QToolButton; | 30 | class QToolButton; |
31 | class QDialog; | 31 | class QDialog; |
32 | class Ir; | 32 | class Ir; |
33 | class QAction; | 33 | class QAction; |
34 | class LetterPicker; | ||
34 | 35 | ||
35 | class AddressbookWindow: public QMainWindow | 36 | class AddressbookWindow: public QMainWindow |
36 | { | 37 | { |
37 | Q_OBJECT | 38 | Q_OBJECT |
38 | public: | 39 | public: |
39 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 40 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
40 | ~AddressbookWindow(); | 41 | ~AddressbookWindow(); |
41 | 42 | ||
42 | protected: | 43 | protected: |
43 | void resizeEvent( QResizeEvent * e ); | 44 | void resizeEvent( QResizeEvent * e ); |
44 | void showList(); | 45 | void showList(); |
45 | void showView(); | 46 | void showView(); |
@@ -60,40 +61,42 @@ private slots: | |||
60 | void slotListView(); | 61 | void slotListView(); |
61 | void slotListDelete(); | 62 | void slotListDelete(); |
62 | void slotViewBack(); | 63 | void slotViewBack(); |
63 | void slotViewEdit(); | 64 | void slotViewEdit(); |
64 | void slotPersonalView(); | 65 | void slotPersonalView(); |
65 | void listIsEmpty( bool ); | 66 | void listIsEmpty( bool ); |
66 | void slotSettings(); | 67 | void slotSettings(); |
67 | void writeMail(); | 68 | void writeMail(); |
68 | void slotBeam(); | 69 | void slotBeam(); |
69 | void beamDone( Ir * ); | 70 | void beamDone( Ir * ); |
70 | void slotFind(); | 71 | void slotFind(); |
71 | void slotSetCategory( int ); | 72 | void slotSetCategory( int ); |
73 | void slotSetLetter( char ); | ||
72 | void slotUpdateToolbar(); | 74 | void slotUpdateToolbar(); |
73 | void slotSetFont(int); | 75 | void slotSetFont(int); |
74 | private: | 76 | private: |
75 | void initFields();// inititialize our fields... | 77 | void initFields();// inititialize our fields... |
76 | AbLabel *abView(); | 78 | AbLabel *abView(); |
77 | void populateCategories(); | 79 | void populateCategories(); |
78 | 80 | ||
79 | QPopupMenu *catMenu, *fontMenu; | 81 | QPopupMenu *catMenu, *fontMenu; |
80 | QPEToolBar *listTools; | 82 | QPEToolBar *listTools; |
81 | QToolButton *deleteButton; | 83 | QToolButton *deleteButton; |
82 | QValueList<int> allFields, | 84 | QValueList<int> allFields, |
83 | orderedFields; | 85 | orderedFields; |
84 | QStringList slOrderedFields; | 86 | QStringList slOrderedFields; |
85 | enum Panes { paneList=0, paneView, paneEdit }; | 87 | enum Panes { paneList=0, paneView, paneEdit }; |
86 | ContactEditor *abEditor; | 88 | ContactEditor *abEditor; |
87 | AbLabel *mView; | 89 | AbLabel *mView; |
90 | LetterPicker *pLabel; | ||
88 | AbTable *abList; | 91 | AbTable *abList; |
89 | 92 | ||
90 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, | 93 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, |
91 | *actionPersonal, *actionMail; | 94 | *actionPersonal, *actionMail; |
92 | 95 | ||
93 | bool bAbEditFirstTime; | 96 | bool bAbEditFirstTime; |
94 | int viewMargin; | 97 | int viewMargin; |
95 | 98 | ||
96 | bool syncing; | 99 | bool syncing; |
97 | QFont *defaultFont; | 100 | QFont *defaultFont; |
98 | int startFontSize; | 101 | int startFontSize; |
99 | }; | 102 | }; |