korganizer

KOAttendeeEditor Class Reference

#include <koattendeeeditor.h>

Inherits QWidget.

Inherited by KOEditorDetails, and KOEditorFreeBusy.

List of all members.


Detailed Description

Common base class for attendee editor and free busy view.

Definition at line 47 of file koattendeeeditor.h.


Public Slots

void acceptForMe ()
void declineForMe ()

Signals

void updateAttendeeSummary (int count)

Public Member Functions

 KOAttendeeEditor (QWidget *parent, const char *name=0)
virtual void insertAttendee (KCal::Attendee *attendee, bool fetchFB=true)=0
virtual void removeAttendee (KCal::Attendee *attendee)=0
virtual void readEvent (KCal::Incidence *incidence)
virtual void writeEvent (KCal::Incidence *incidence)
void cancelAttendeeEvent (KCal::Incidence *incidence)

Protected Slots

void addNewAttendee ()
void openAddressBook ()
void setEnableAttendeeInput (bool enabled)
void updateAttendeeInput ()
void clearAttendeeInput ()
void fillAttendeeInput (KCal::Attendee *a)
void expandAttendee ()
void updateAttendee ()

Protected Member Functions

void initOrganizerWidgets (QWidget *parent, QBoxLayout *layout)
void initEditWidgets (QWidget *parent, QBoxLayout *layout)
void insertAttendeeFromAddressee (const KABC::Addressee &a, const KCal::Attendee *at=0)
void fillOrganizerCombo ()
virtual QListViewItem * hasExampleAttendee () const =0
bool isExampleAttendee (const KCal::Attendee *) const
virtual KCal::AttendeecurrentAttendee () const =0
virtual void updateCurrentItem ()=0
virtual void setSelected (int index)=0
virtual int selectedIndex ()=0
virtual void changeStatusForMe (KCal::Attendee::PartStat status)=0
virtual bool eventFilter (QObject *, QEvent *)

Protected Attributes

KPIM::AddresseeLineEdit * mNameEdit
QString mUid
QComboBox * mRoleCombo
QCheckBox * mRsvpButton
QComboBox * mStatusCombo
QHBox * mOrganizerHBox
QComboBox * mOrganizerCombo
QLabel * mOrganizerLabel
QLabel * mDelegateLabel
QPushButton * mAddButton
QPushButton * mRemoveButton
QPushButton * mAddressBookButton
QPtrList< KCal::AttendeemdelAttendees
QPtrList< KCal::AttendeemnewAttendees

Member Function Documentation

void KOAttendeeEditor::cancelAttendeeEvent ( KCal::Incidence incidence  ) 

return a clone of the event with attendees to be canceld

Definition at line 502 of file koattendeeeditor.cpp.

void KOAttendeeEditor::insertAttendeeFromAddressee ( const KABC::Addressee &  a,
const KCal::Attendee at = 0 
) [protected]

Reads values from a KABC::Addressee and inserts a new Attendee item into the listview with those items.

Used when adding attendees from the addressbook and expanding distribution lists. The optional Attendee parameter can be used to pass in default values to be used by the new Attendee.

Definition at line 223 of file koattendeeeditor.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys