summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kaddressbookmain.h
Unidiff
Diffstat (limited to 'kaddressbook/kaddressbookmain.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kaddressbookmain.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/kaddressbook/kaddressbookmain.h b/kaddressbook/kaddressbookmain.h
index 81ae09c..cf6f899 100644
--- a/kaddressbook/kaddressbookmain.h
+++ b/kaddressbook/kaddressbookmain.h
@@ -49,52 +49,48 @@ class KConfig;
49 @author Don Sanders <dsanders@kde.org> 49 @author Don Sanders <dsanders@kde.org>
50 @version 0.1 50 @version 0.1
51 */ 51 */
52#ifdef KAB_EMBEDDED 52#ifdef KAB_EMBEDDED
53class KAddressBookMain : public KMainWindow 53class KAddressBookMain : public KMainWindow
54#else //KAB_EMBEDDED 54#else //KAB_EMBEDDED
55//MOC_SKIP_BEGIN 55//MOC_SKIP_BEGIN
56class KAddressBookMain : public KMainWindow, virtual public KAddressBookIface 56class KAddressBookMain : public KMainWindow, virtual public KAddressBookIface
57//MOC_SKIP_END 57//MOC_SKIP_END
58#endif //KAB_EMBEDDED 58#endif //KAB_EMBEDDED
59{ 59{
60 Q_OBJECT 60 Q_OBJECT
61 61
62 public: 62 public:
63 KAddressBookMain(); 63 KAddressBookMain();
64 virtual ~KAddressBookMain(); 64 virtual ~KAddressBookMain();
65 65
66#ifdef KAB_EMBEDDED 66#ifdef KAB_EMBEDDED
67// QPEToolBar * getIconToolBar(); 67// QPEToolBar * getIconToolBar();
68 // QToolBar * getIconToolBar(); 68 // QToolBar * getIconToolBar();
69#endif //KAB_EMBEDDED 69#endif //KAB_EMBEDDED
70 70
71 71
72 public slots: 72 public slots:
73#ifndef DESKTOP_VERSION
74 void show();
75#endif
76
77 void showMinimized () ; 73 void showMinimized () ;
78 virtual void addEmail( QString addr ); 74 virtual void addEmail( QString addr );
79#ifndef KAB_EMBEDDED 75#ifndef KAB_EMBEDDED
80//MOC_SKIP_BEGIN 76//MOC_SKIP_BEGIN
81 virtual ASYNC showContactEditor( QString uid ); 77 virtual ASYNC showContactEditor( QString uid );
82//MOC_SKIP_END 78//MOC_SKIP_END
83#endif //KAB_EMBEDDED 79#endif //KAB_EMBEDDED
84 virtual void newContact(); 80 virtual void newContact();
85 virtual QString getNameByPhone( QString phone ); 81 virtual QString getNameByPhone( QString phone );
86 virtual void save(); 82 virtual void save();
87 virtual void exit(); 83 virtual void exit();
88 84
89 protected: 85 protected:
90 void initActions(); 86 void initActions();
91#ifdef KAB_EMBEDDED 87#ifdef KAB_EMBEDDED
92 //US new method to setup menues and toolbars on embedded systems 88 //US new method to setup menues and toolbars on embedded systems
93 void createGUI(); 89 void createGUI();
94#endif //KAB_EMBEDDED 90#endif //KAB_EMBEDDED
95 91
96 /** 92 /**
97 This function is called when it is time for the app to save its 93 This function is called when it is time for the app to save its
98 properties for session management purposes. 94 properties for session management purposes.
99 */ 95 */
100 void saveProperties( KConfig* ); 96 void saveProperties( KConfig* );