summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/addressbook.h
Unidiff
Diffstat (limited to 'core/pim/addressbook/addressbook.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/core/pim/addressbook/addressbook.h b/core/pim/addressbook/addressbook.h
index 7cc61bf..b04e2cc 100644
--- a/core/pim/addressbook/addressbook.h
+++ b/core/pim/addressbook/addressbook.h
@@ -25,3 +25,4 @@
25 25
26#include <qmainwindow.h> 26#include <opie2/opimmainwindow.h>
27
27#include <qvaluelist.h> 28#include <qvaluelist.h>
@@ -43,4 +44,5 @@ class QAction;
43class LetterPicker; 44class LetterPicker;
45class Opie::OPimRecord;
44 46
45class AddressbookWindow: public QMainWindow 47class AddressbookWindow: public Opie::OPimMainWindow
46{ 48{
@@ -71,23 +73,30 @@ public slots:
71 73
74protected slots:
75 int create();
76 bool remove( int uid );
77 void beam( int uid );
78 void show( int uid );
79 void edit( int uid );
80 void add( const Opie::OPimRecord& );
81
72private slots: 82private slots:
83 void slotItemNew();
84 void slotItemEdit();
85 void slotItemDuplicate();
86 void slotItemDelete();
87 void slotItemBeam();
88 void slotItemFind();
89 void slotConfigure();
90
73 void importvCard(); 91 void importvCard();
74 void exportvCard(); 92 void exportvCard();
75 void slotListNew();
76 /* void slotListView(); */
77 void slotListDelete();
78 void slotViewBack(); 93 void slotViewBack();
79 void slotViewEdit();
80 void slotPersonalView(); 94 void slotPersonalView();
81 void listIsEmpty( bool );
82 /* void slotSettings(); */
83 void writeMail(); 95 void writeMail();
84 void slotBeam();
85 void beamDone( Ir * ); 96 void beamDone( Ir * );
86 void slotSetCategory( int ); 97 void slotSetCategory( const QString &category );
87 void slotSetLetter( char ); 98 void slotSetLetter( char );
88 void slotUpdateToolbar();
89 void slotSetFont(int); 99 void slotSetFont(int);
90 100
91 void slotFindOpen(); 101 void slotShowFind( bool show );
92 void slotFindClose();
93 void slotFind(); 102 void slotFind();
@@ -100,10 +109,4 @@ private slots:
100 109
101 void slotConfig();
102
103private: 110private:
104 void populateCategories();
105
106 QPopupMenu *catMenu;
107 QToolBar *listTools; 111 QToolBar *listTools;
108 QToolButton *deleteButton;
109 enum Panes { paneList=0, paneView, paneEdit }; 112 enum Panes { paneList=0, paneView, paneEdit };
@@ -112,9 +115,9 @@ private:
112 AbView* m_abView; 115 AbView* m_abView;
113 QWidget *listContainer; 116 QWidget *m_listContainer;
114 117
115 // Searching stuff 118 // Searching stuff
116 OFloatBar* searchBar; 119 OFloatBar* m_searchBar;
117 QLineEdit* searchEdit; 120 QLineEdit* m_searchEdit;
118 121
119 QAction *actionNew, *actionEdit, *actionTrash, *actionFind, *actionBeam, *actionPersonal, *actionMail; 122 QAction *m_actionPersonal, *m_actionMail;
120 123
@@ -130,5 +133,2 @@ private:
130 133
131 QAction* m_tableViewButton;
132 QAction* m_cardViewButton;
133
134 int active_view; 134 int active_view;