summaryrefslogtreecommitdiffabout
path: root/korganizer/koeditordetails.h
authorulf69 <ulf69>2004-08-17 00:15:05 (UTC)
committer ulf69 <ulf69>2004-08-17 00:15:05 (UTC)
commit7d15927b7e7957a80da335587598e7b62dece1a4 (patch) (unidiff)
tree607b15062fa09b278c764afbc221736a68dbd2c8 /korganizer/koeditordetails.h
parentf3875aba68f175e8da32462f64b12fc46bc31102 (diff)
downloadkdepimpi-7d15927b7e7957a80da335587598e7b62dece1a4.zip
kdepimpi-7d15927b7e7957a80da335587598e7b62dece1a4.tar.gz
kdepimpi-7d15927b7e7957a80da335587598e7b62dece1a4.tar.bz2
added listener to access Ka/pi via QCop
Diffstat (limited to 'korganizer/koeditordetails.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditordetails.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/koeditordetails.h b/korganizer/koeditordetails.h
index 930b296..0cc807f 100644
--- a/korganizer/koeditordetails.h
+++ b/korganizer/koeditordetails.h
@@ -20,12 +20,13 @@
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23#ifndef _KOEDITORDETAILS_H 23#ifndef _KOEDITORDETAILS_H
24#define _KOEDITORDETAILS_H 24#define _KOEDITORDETAILS_H
25 25
26#include <qmap.h>
26#include <qframe.h> 27#include <qframe.h>
27#include <qlabel.h> 28#include <qlabel.h>
28#include <qcheckbox.h> 29#include <qcheckbox.h>
29#include <qpushbutton.h> 30#include <qpushbutton.h>
30#include <qgroupbox.h> 31#include <qgroupbox.h>
31#include <qlineedit.h> 32#include <qlineedit.h>
@@ -67,12 +68,16 @@ class KOEditorDetails : public QWidget
67 void cancelAttendeeEvent(Incidence *); 68 void cancelAttendeeEvent(Incidence *);
68 /** Check if the input is valid. */ 69 /** Check if the input is valid. */
69 bool validateInput(); 70 bool validateInput();
70 71
71 public slots: 72 public slots:
72 void insertAttendee(Attendee *); 73 void insertAttendee(Attendee *);
74 // called when the app recieves a list of name/email/uid (=addresses) from another app. Usually Ka/Pi
75 // The first parameter is a uniqueid. It can be used to identify if event
76 void insertAttendees(const QString&, const QStringList& namelist, const QStringList& emaillist, const QStringList& uidlist);
77
73 78
74 protected slots: 79 protected slots:
75 void addNewAttendee(); 80 void addNewAttendee();
76 void removeAttendee(); 81 void removeAttendee();
77 void openAddressBook(); 82 void openAddressBook();
78 void updateAttendeeInput(); 83 void updateAttendeeInput();
@@ -93,11 +98,11 @@ class KOEditorDetails : public QWidget
93 QComboBox* mStatusCombo; 98 QComboBox* mStatusCombo;
94 QLabel *mOrganizerLabel; 99 QLabel *mOrganizerLabel;
95 100
96 QPushButton* mAddButton; 101 QPushButton* mAddButton;
97 QPushButton* mRemoveButton; 102 QPushButton* mRemoveButton;
98 QPushButton* mAddressBookButton; 103 QPushButton* mAddressBookButton;
99 104
100 QPtrList<Attendee> mdelAttendees; 105 QPtrList<Attendee> mdelAttendees;
101}; 106};
102 107
103#endif 108#endif