21 #ifndef KOATTENDEEEDITOR_H
22 #define KOATTENDEEEDITOR_H
25 #include <libkcal/attendee.h>
26 #include <tdeabc/addressee.h>
37 class AddresseeLineEdit;
54 virtual void insertAttendee(
KCal::Attendee *attendee,
bool fetchFB =
true ) = 0;
68 void updateAttendeeSummary(
int count );
71 void initOrganizerWidgets( TQWidget *parent, TQBoxLayout *layout );
72 void initEditWidgets( TQWidget *parent, TQBoxLayout *layout );
81 void fillOrganizerCombo();
82 virtual TQListViewItem* hasExampleAttendee()
const = 0;
85 virtual void updateCurrentItem() = 0;
87 virtual void setSelected (
int index ) = 0;
88 virtual int selectedIndex() = 0;
89 virtual void changeStatusForMe( KCal::Attendee::PartStat status ) = 0;
91 virtual bool eventFilter( TQObject *, TQEvent *);
94 void addNewAttendee();
95 void openAddressBook();
97 void setEnableAttendeeInput(
bool enabled );
98 void updateAttendeeInput();
99 void clearAttendeeInput();
101 void expandAttendee();
102 void updateAttendee();
105 KPIM::AddresseeLineEdit *mNameEdit;
107 TQComboBox* mRoleCombo;
108 TQCheckBox* mRsvpButton;
109 TQComboBox* mStatusCombo;
111 TQHBox* mOrganizerHBox;
112 TQComboBox *mOrganizerCombo;
113 TQLabel *mOrganizerLabel;
115 TQLabel* mDelegateLabel;
117 TQPushButton* mAddButton;
118 TQPushButton* mRemoveButton;
119 TQPushButton* mAddressBookButton;
121 TQPtrList<KCal::Attendee> mdelAttendees;
122 TQPtrList<KCal::Attendee> mnewAttendees;
125 TDEABC::Addressee::List expandDistList(
const TQString &text )
const;
126 bool mDisableItemUpdate;
Common base class for attendee editor and free busy view.
void insertAttendeeFromAddressee(const TDEABC::Addressee &a, const KCal::Attendee *at=0)
Reads values from a TDEABC::Addressee and inserts a new Attendee item into the listview with those it...
void cancelAttendeeEvent(KCal::Incidence *incidence)
return a clone of the event with attendees to be canceld