KDE PIM / Developers / API Docs / korganizer

KOEventEditor Class Reference

This class provides a dialog for editing an event. More...

#include <koeventeditor.h>

Inherits KOIncidenceEditor.

List of all members.

Signals

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

This class provides a dialog for editing an event.


Constructor & Destructor Documentation

KOEventEditor::KOEventEditor (  Calendar *  calendar,
QWidget *  parent
) 
 

Construct new event editor.


Member Function Documentation

void KOEventEditor::init (   )  [virtual]
 

Initialize editor.

This function creates the tab widgets.

Implements KOIncidenceEditor.

void KOEventEditor::modified (  int  change = 0  )  [virtual]
 

This event has been modified externally.

Reimplemented from KOIncidenceEditor.

void KOEventEditor::newEvent (  const QDateTime &  from,
const QDateTime &  to,
bool  allDay = false
) 
 

Clear eventwin for new event, and preset the dates and times with hint.

void KOEventEditor::newEvent (  const QString &   ) 
 

Edit new event.

Set summary and description from given text.

void KOEventEditor::newEvent (  const QString &  summary,
const QString &  description,
const QString &  attachment
) 
 

Edit new event.

void KOEventEditor::newEvent (  const QString &  summary,
const QString &  description,
const QString &  attachment,
const QStringList &  attendees
) 
 

Edit new event.

void KOEventEditor::editIncidence (  Incidence *   )  [virtual]
 

Edit an existing event.

Implements KOIncidenceEditor.

void KOEventEditor::setDefaults (  const QDateTime &  from,
const QDateTime &  to,
bool  allDay
) 
 

Set widgets to default values.

void KOEventEditor::readEvent (  Event *  ,
bool  tmpl = false
) 
 

Read event object and setup widgets accordingly.

If tmpl is true, the event is read as template, i.e. the time and date information isn't set.

void KOEventEditor::writeEvent (  Event *   ) 
 

Write event settings to event object.

bool KOEventEditor::validateInput (   )  [protected]
 

Check if the input is valid.

bool KOEventEditor::processInput (   )  [protected, virtual]
 

Process user input and create or update event.

Returns false if input is not valid

Reimplemented from KOIncidenceEditor.


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