Diffstat (limited to 'core/pim/addressbook/addressbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h index da43731..34ca85d 100644 --- a/core/pim/addressbook/addressbook.h +++ b/core/pim/addressbook/addressbook.h | |||
@@ -38,71 +38,71 @@ class LetterPicker; | |||
38 | class AddressbookWindow: public QMainWindow | 38 | class AddressbookWindow: public QMainWindow |
39 | { | 39 | { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | public: | 41 | public: |
42 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 42 | AddressbookWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
43 | ~AddressbookWindow(); | 43 | ~AddressbookWindow(); |
44 | 44 | ||
45 | protected: | 45 | protected: |
46 | void resizeEvent( QResizeEvent * e ); | 46 | void resizeEvent( QResizeEvent * e ); |
47 | void showList(); | 47 | void showList(); |
48 | void showView(); | 48 | void showView(); |
49 | enum EntryMode { NewEntry=0, EditEntry }; | 49 | enum EntryMode { NewEntry=0, EditEntry }; |
50 | void editPersonal(); | 50 | void editPersonal(); |
51 | void editEntry( EntryMode ); | 51 | void editEntry( EntryMode ); |
52 | void closeEvent( QCloseEvent *e ); | 52 | void closeEvent( QCloseEvent *e ); |
53 | bool save(); | 53 | bool save(); |
54 | 54 | ||
55 | public slots: | 55 | public slots: |
56 | void flush(); | 56 | void flush(); |
57 | void reload(); | 57 | void reload(); |
58 | void appMessage(const QCString &, const QByteArray &); | 58 | void appMessage(const QCString &, const QByteArray &); |
59 | void setDocument( const QString & ); | 59 | void setDocument( const QString & ); |
60 | 60 | ||
61 | private slots: | 61 | private slots: |
62 | void importvCard(); | 62 | void importvCard(); |
63 | void slotListNew(); | 63 | void slotListNew(); |
64 | void slotListView(); | 64 | void slotListView(); |
65 | void slotListDelete(); | 65 | void slotListDelete(); |
66 | void slotViewBack(); | 66 | void slotViewBack(); |
67 | void slotViewEdit(); | 67 | void slotViewEdit(); |
68 | void slotPersonalView(); | 68 | void slotPersonalView(); |
69 | void listIsEmpty( bool ); | 69 | void listIsEmpty( bool ); |
70 | void slotSettings(); | 70 | void slotSettings(); |
71 | void writeMail(); | 71 | void writeMail(); |
72 | void slotBeam(); | 72 | void slotBeam(); |
73 | void beamDone( Ir * ); | 73 | void beamDone( Ir * ); |
74 | void slotFind(); | 74 | void slotFind(); |
75 | void slotSetCategory( int ); | 75 | void slotSetCategory( int ); |
76 | void slotSetLetter( char ); | 76 | void slotSetLetter( char ); |
77 | void slotUpdateToolbar(); | 77 | void slotUpdateToolbar(); |
78 | void slotSetFont(int); | 78 | void slotSetFont(int); |
79 | private: | 79 | private: |
80 | void initFields(); // inititialize our fields... | 80 | void initFields(); // inititialize our fields... |
81 | AbLabel *abView(); | 81 | AbLabel *abView(); |
82 | void populateCategories(); | 82 | void populateCategories(); |
83 | 83 | ||
84 | QPopupMenu *catMenu, *fontMenu; | 84 | QPopupMenu *catMenu, *fontMenu; |
85 | QPEToolBar *listTools; | 85 | QPEToolBar *listTools; |
86 | QToolButton *deleteButton; | 86 | QToolButton *deleteButton; |
87 | QValueList<int> allFields, | 87 | QValueList<int> allFields, |
88 | orderedFields; | 88 | orderedFields; |
89 | QStringList slOrderedFields; | 89 | QStringList slOrderedFields; |
90 | enum Panes { paneList=0, paneView, paneEdit }; | 90 | enum Panes { paneList=0, paneView, paneEdit }; |
91 | ContactEditor *abEditor; | 91 | ContactEditor *abEditor; |
92 | AbLabel *mView; | 92 | AbLabel *mView; |
93 | LetterPicker *pLabel; | 93 | LetterPicker *pLabel; |
94 | AbTable *abList; | 94 | AbTable *abList; |
95 | QWidget *listContainer; | 95 | QWidget *listContainer; |
96 | 96 | ||
97 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, | 97 | QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, |
98 | *actionPersonal, *actionMail; | 98 | *actionPersonal, *actionMail; |
99 | 99 | ||
100 | bool bAbEditFirstTime; | 100 | bool bAbEditFirstTime; |
101 | int viewMargin; | 101 | int viewMargin; |
102 | 102 | ||
103 | bool syncing; | 103 | bool syncing; |
104 | QFont *defaultFont; | 104 | QFont *defaultFont; |
105 | int startFontSize; | 105 | int startFontSize; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | #endif | 108 | #endif |