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

DatebookPluginWidget Class Reference

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

Collaboration diagram for DatebookPluginWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DatebookPluginWidget (QWidget *parent, const char *name)
 ~DatebookPluginWidget ()
void refresh ()
void reinitialize ()

Private Member Functions

void readConfig ()
void getDates ()

Private Attributes

DateBookDBdb
QGuardedPtr< QVBoxLayout > m_layoutDates
QList< QWidget > m_eventsList
int m_max_lines_meet
bool m_show_location
bool m_show_notes
bool m_onlyLater
int m_moreDays
bool m_timeExtraLine
int m_maxCharClip

Constructor & Destructor Documentation

DatebookPluginWidget::DatebookPluginWidget QWidget *  parent,
const char *  name
 

Definition at line 24 of file datebookpluginwidget.cpp.

References db, getDates(), l, m_eventsList, m_layoutDates, and readConfig().

DatebookPluginWidget::~DatebookPluginWidget  ) 
 

Definition at line 42 of file datebookpluginwidget.cpp.

References db, and m_layoutDates.


Member Function Documentation

void DatebookPluginWidget::getDates  )  [private]
 

Get all events that are in the datebook xml file for today

Definition at line 80 of file datebookpluginwidget.cpp.

References QDate::addDays(), QDate::currentDate(), QDateTime::currentDateTime(), QTime::currentTime(), QDate::dayOfWeek(), db, DateBookDB::getEffectiveEvents(), l, list, m_eventsList, m_max_lines_meet, m_maxCharClip, m_moreDays, m_onlyLater, m_show_location, m_show_notes, m_timeExtraLine, Event::NoRepeat, qBubbleSort(), and tr.

Referenced by DatebookPluginWidget(), and refresh().

void DatebookPluginWidget::readConfig  )  [private]
 

Definition at line 48 of file datebookpluginwidget.cpp.

References m_max_lines_meet, m_maxCharClip, m_moreDays, m_onlyLater, m_show_location, m_show_notes, m_timeExtraLine, Config::readNumEntry(), and Config::setGroup().

Referenced by DatebookPluginWidget(), and reinitialize().

void DatebookPluginWidget::refresh  ) 
 

Definition at line 65 of file datebookpluginwidget.cpp.

References getDates(), m_eventsList, and m_layoutDates.

Referenced by DatebookPlugin::refresh(), and reinitialize().

void DatebookPluginWidget::reinitialize  ) 
 

Definition at line 60 of file datebookpluginwidget.cpp.

References readConfig(), and refresh().

Referenced by DatebookPlugin::reinitialize().


Member Data Documentation

DateBookDB* DatebookPluginWidget::db [private]
 

Definition at line 42 of file datebookpluginwidget.h.

Referenced by DatebookPluginWidget(), getDates(), and ~DatebookPluginWidget().

QList<QWidget> DatebookPluginWidget::m_eventsList [private]
 

Definition at line 44 of file datebookpluginwidget.h.

Referenced by DatebookPluginWidget(), getDates(), and refresh().

QGuardedPtr<QVBoxLayout> DatebookPluginWidget::m_layoutDates [private]
 

Definition at line 43 of file datebookpluginwidget.h.

Referenced by DatebookPluginWidget(), refresh(), and ~DatebookPluginWidget().

int DatebookPluginWidget::m_max_lines_meet [private]
 

Definition at line 50 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

int DatebookPluginWidget::m_maxCharClip [private]
 

Definition at line 61 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

int DatebookPluginWidget::m_moreDays [private]
 

Definition at line 57 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

bool DatebookPluginWidget::m_onlyLater [private]
 

Definition at line 56 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

bool DatebookPluginWidget::m_show_location [private]
 

Definition at line 52 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

bool DatebookPluginWidget::m_show_notes [private]
 

Definition at line 54 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().

bool DatebookPluginWidget::m_timeExtraLine [private]
 

Definition at line 59 of file datebookpluginwidget.h.

Referenced by getDates(), and readConfig().


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