#include </home/clem/local/src/opie/core/pim/datebook2/view.h>
Collaboration diagram for Datebook::View:

Public Member Functions | |
| View (MainWindow *window, QWidget *parent) | |
| virtual | ~View () |
| virtual QPixmap | pixmap () const =0 |
| virtual QCString | type () const =0 |
| virtual QString | name () const =0 |
| virtual QString | description () const =0 |
| virtual int | currentItem () const =0 |
| void | loadConfig (Config *) |
| void | saveConfig (Config *) |
| virtual void | currentRange (const QDateTime &src, const QDateTime &from)=0 |
| virtual void | clockChanged ()=0 |
| virtual void | dayChanged ()=0 |
| virtual void | showDay (const QDate &date)=0 |
| virtual QWidget * | widget ()=0 |
| virtual void | reschedule ()=0 |
Static Public Member Functions | |
| static QDate | dateFromWeek (int week, int year, bool startOnMonda) |
| static bool | calcWeek (const QDate &d, int &week, int &year, bool startOnMonday=false) |
Protected Member Functions | |
| void | popup (int uid) |
| QString | toShortText (const OEffectiveEvent &eff) const |
| QString | toText (const OEffectiveEvent &eff) const |
| virtual void | doLoadConfig (Config *)=0 |
| virtual void | doSaveConfig (Config *)=0 |
| void | add (const QDate &start) |
| void | add (const QDateTime &start, const QDateTime &end) |
| void | edit (int uid) |
| void | remove (int uid) |
| ODateBookAccess::List | allEvents () const |
| OEffectiveEvent::ValueList | events (const QDate &start, const QDate &end) |
| OEvent | event (int uid) const |
| bool | isAP () const |
| bool | weekStartOnMonday () const |
| QList< OPimRecord > | records (const QDate &on) |
| QList< OPimRecord > | records (const QDate &start, const QDate &to) |
Private Attributes | |
| MainWindow * | m_win |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
create a new event in a given range |
|
|
create a new event starting on start |
|
|
give access to all events |
|
||||||||||||||||||||
|
|
|
|
the clock format changed |
|
|
return the uid of the current item or 0 |
|
||||||||||||
|
the current range
|
|
||||||||||||||||
|
|
|
|
the day change means that either monday or sunday is the week start |
|
|
|
|
|
Referenced by View::loadConfig(). |
|
|
Referenced by View::saveConfig(). |
|
|
will make the MainWindow to open the editor |
|
|
return an Event |
|
||||||||||||
|
return events |
|
|
Is the clock AP/PM or 24h? |
|
|
loadConfig saveConfig |
|
|
shown to the user |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
return related records for days |
|
|
remove item with uid |
|
|
the view needs an update! |
|
|
|
|
|
show date in your view!! make the date visible in the current view |
|
|
|
|
|
|
|
|
non translatable name or type |
|
|
if the week starts on monday? |
|
|
return the widget |
|
|
Definition at line 139 of file view.h. Referenced by View::add(), View::allEvents(), View::edit(), View::event(), View::events(), View::isAP(), View::popup(), View::records(), View::remove(), View::View(), and View::weekStartOnMonday(). |
1.4.2