korganizer

#include <koattendeeeditor.h>

Inherits TQWidget.

Inherited by KOEditorDetails, and KOEditorFreeBusy.

Public Slots

void acceptForMe ()
 
void declineForMe ()
 

Signals

void updateAttendeeSummary (int count)
 

Public Member Functions

 KOAttendeeEditor (TQWidget *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 (TQWidget *parent, TQBoxLayout *layout)
 
void initEditWidgets (TQWidget *parent, TQBoxLayout *layout)
 
void insertAttendeeFromAddressee (const TDEABC::Addressee &a, const KCal::Attendee *at=0)
 
void fillOrganizerCombo ()
 
virtual TQListViewItem * 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 (TQObject *, TQEvent *)
 

Protected Attributes

KPIM::AddresseeLineEdit * mNameEdit
 
TQString mUid
 
TQComboBox * mRoleCombo
 
TQCheckBox * mRsvpButton
 
TQComboBox * mStatusCombo
 
TQHBox * mOrganizerHBox
 
TQComboBox * mOrganizerCombo
 
TQLabel * mOrganizerLabel
 
TQLabel * mDelegateLabel
 
TQPushButton * mAddButton
 
TQPushButton * mRemoveButton
 
TQPushButton * mAddressBookButton
 
TQPtrList< KCal::AttendeemdelAttendees
 
TQPtrList< KCal::AttendeemnewAttendees
 

Detailed Description

Common base class for attendee editor and free busy view.

Definition at line 47 of file koattendeeeditor.h.

Constructor & Destructor Documentation

◆ KOAttendeeEditor()

KOAttendeeEditor::KOAttendeeEditor ( TQWidget *  parent,
const char *  name = 0 
)

Definition at line 58 of file koattendeeeditor.cpp.

Member Function Documentation

◆ acceptForMe

void KOAttendeeEditor::acceptForMe ( )
slot

Definition at line 528 of file koattendeeeditor.cpp.

◆ addNewAttendee

void KOAttendeeEditor::addNewAttendee ( )
protectedslot

Definition at line 259 of file koattendeeeditor.cpp.

◆ cancelAttendeeEvent()

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.

◆ clearAttendeeInput

void KOAttendeeEditor::clearAttendeeInput ( )
protectedslot

Definition at line 367 of file koattendeeeditor.cpp.

◆ declineForMe

void KOAttendeeEditor::declineForMe ( )
slot

Definition at line 533 of file koattendeeeditor.cpp.

◆ eventFilter()

bool KOAttendeeEditor::eventFilter ( TQObject *  watched,
TQEvent *  ev 
)
protectedvirtual

Definition at line 538 of file koattendeeeditor.cpp.

◆ expandAttendee

void KOAttendeeEditor::expandAttendee ( )
protectedslot

Definition at line 378 of file koattendeeeditor.cpp.

◆ fillAttendeeInput

void KOAttendeeEditor::fillAttendeeInput ( KCal::Attendee a)
protectedslot

Definition at line 439 of file koattendeeeditor.cpp.

◆ fillOrganizerCombo()

void KOAttendeeEditor::fillOrganizerCombo ( )
protected

Definition at line 245 of file koattendeeeditor.cpp.

◆ initEditWidgets()

void KOAttendeeEditor::initEditWidgets ( TQWidget *  parent,
TQBoxLayout *  layout 
)
protected

Definition at line 94 of file koattendeeeditor.cpp.

◆ initOrganizerWidgets()

void KOAttendeeEditor::initOrganizerWidgets ( TQWidget *  parent,
TQBoxLayout *  layout 
)
protected

Definition at line 64 of file koattendeeeditor.cpp.

◆ insertAttendeeFromAddressee()

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

Reads values from a TDEABC::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.

◆ isExampleAttendee()

bool KOAttendeeEditor::isExampleAttendee ( const KCal::Attendee attendee) const
protected

Definition at line 548 of file koattendeeeditor.cpp.

◆ openAddressBook

void KOAttendeeEditor::openAddressBook ( )
protectedslot

Definition at line 205 of file koattendeeeditor.cpp.

◆ readEvent()

void KOAttendeeEditor::readEvent ( KCal::Incidence incidence)
virtual

Definition at line 283 of file koattendeeeditor.cpp.

◆ setEnableAttendeeInput

void KOAttendeeEditor::setEnableAttendeeInput ( bool  enabled)
protectedslot

Definition at line 357 of file koattendeeeditor.cpp.

◆ updateAttendee

void KOAttendeeEditor::updateAttendee ( )
protectedslot

Definition at line 391 of file koattendeeeditor.cpp.

◆ updateAttendeeInput

void KOAttendeeEditor::updateAttendeeInput ( )
protectedslot

Definition at line 491 of file koattendeeeditor.cpp.

◆ writeEvent()

void KOAttendeeEditor::writeEvent ( KCal::Incidence incidence)
virtual

Definition at line 349 of file koattendeeeditor.cpp.

Member Data Documentation

◆ mAddButton

TQPushButton* KOAttendeeEditor::mAddButton
protected

Definition at line 117 of file koattendeeeditor.h.

◆ mAddressBookButton

TQPushButton* KOAttendeeEditor::mAddressBookButton
protected

Definition at line 119 of file koattendeeeditor.h.

◆ mdelAttendees

TQPtrList<KCal::Attendee> KOAttendeeEditor::mdelAttendees
protected

Definition at line 121 of file koattendeeeditor.h.

◆ mDelegateLabel

TQLabel* KOAttendeeEditor::mDelegateLabel
protected

Definition at line 115 of file koattendeeeditor.h.

◆ mNameEdit

KPIM::AddresseeLineEdit* KOAttendeeEditor::mNameEdit
protected

Definition at line 105 of file koattendeeeditor.h.

◆ mnewAttendees

TQPtrList<KCal::Attendee> KOAttendeeEditor::mnewAttendees
protected

Definition at line 122 of file koattendeeeditor.h.

◆ mOrganizerCombo

TQComboBox* KOAttendeeEditor::mOrganizerCombo
protected

Definition at line 112 of file koattendeeeditor.h.

◆ mOrganizerHBox

TQHBox* KOAttendeeEditor::mOrganizerHBox
protected

Definition at line 111 of file koattendeeeditor.h.

◆ mOrganizerLabel

TQLabel* KOAttendeeEditor::mOrganizerLabel
protected

Definition at line 113 of file koattendeeeditor.h.

◆ mRemoveButton

TQPushButton* KOAttendeeEditor::mRemoveButton
protected

Definition at line 118 of file koattendeeeditor.h.

◆ mRoleCombo

TQComboBox* KOAttendeeEditor::mRoleCombo
protected

Definition at line 107 of file koattendeeeditor.h.

◆ mRsvpButton

TQCheckBox* KOAttendeeEditor::mRsvpButton
protected

Definition at line 108 of file koattendeeeditor.h.

◆ mStatusCombo

TQComboBox* KOAttendeeEditor::mStatusCombo
protected

Definition at line 109 of file koattendeeeditor.h.

◆ mUid

TQString KOAttendeeEditor::mUid
protected

Definition at line 106 of file koattendeeeditor.h.


The documentation for this class was generated from the following files: