Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DateBookEvent Class Reference

#include </home/clem/local/src/opie/core/pim/today/plugins/datebook/datebookevent.h>

Inheritance diagram for DateBookEvent:

Inheritance graph
[legend]
Collaboration diagram for DateBookEvent:

Collaboration graph
[legend]
List of all members.

Signals

void editEvent (const Event &e)

Public Member Functions

 DateBookEvent (const EffectiveEvent &ev, QWidget *parent=0, bool show_location=0, bool show_notes=0, bool timeExtraLine=0, int maxCharClip=0, const char *name=0, WFlags fl=0)
 ~DateBookEvent ()

Private Slots

void editEventSlot (const Event &e)
void editMe ()

Private Member Functions

QString ampmTime (QTime)
QString differDate (QDate date)

Private Attributes

const EffectiveEvent event
bool ampm

Constructor & Destructor Documentation

DateBookEvent::DateBookEvent const EffectiveEvent ev,
QWidget *  parent = 0,
bool  show_location = 0,
bool  show_notes = 0,
bool  timeExtraLine = 0,
int  maxCharClip = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 28 of file datebookevent.cpp.

References ampm, ampmTime(), Opie::Ui::OClickableLabel::clicked(), QDate::currentDate(), differDate(), editMe(), end, event, Config::readBoolEntry(), Config::setGroup(), start, TimeString::timeString(), tr, and TRUE.

DateBookEvent::~DateBookEvent  ) 
 

Definition at line 88 of file datebookevent.cpp.


Member Function Documentation

QString DateBookEvent::ampmTime QTime  tm  )  [private]
 

AM/PM timestring conversion.

Parameters:
tm the timestring  
Returns:
formatted to am/pm is system is set to it

Definition at line 96 of file datebookevent.cpp.

References ampm, QTime::hour(), QTime::minute(), s, and QString::sprintf().

Referenced by DateBookEvent().

QString DateBookEvent::differDate QDate  date  )  [private]
 

Definition at line 115 of file datebookevent.cpp.

References QDate::dayOfWeek(), and Calendar::nameOfDay().

Referenced by DateBookEvent().

void DateBookEvent::editEvent const Event e  )  [signal]
 

Referenced by editMe().

void DateBookEvent::editEventSlot const Event e  )  [private, slot]
 

starts the edit dialog as known from datebook

Definition at line 136 of file datebookevent.cpp.

References Opie::Core::ODevice::inst(), Opie::Core::System_Zaurus, and Qtopia::Record::uid().

void DateBookEvent::editMe  )  [private, slot]
 

Definition at line 147 of file datebookevent.cpp.

References editEvent(), EffectiveEvent::event(), and event.

Referenced by DateBookEvent().


Member Data Documentation

bool DateBookEvent::ampm [private]
 

Definition at line 51 of file datebookevent.h.

Referenced by ampmTime(), and DateBookEvent().

const EffectiveEvent DateBookEvent::event [private]
 

Definition at line 50 of file datebookevent.h.

Referenced by DateBookEvent(), and editMe().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:30:22 2005 for OPIE by  doxygen 1.4.2