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

AddressBookPluginWidget Class Reference

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

Collaboration diagram for AddressBookPluginWidget:

Collaboration graph
[legend]
List of all members.

Public Slots

void reinitialize ()
void refresh (const Opie::OPimContactAccess *db)

Public Member Functions

 AddressBookPluginWidget (QWidget *parent, const char *name)
 ~AddressBookPluginWidget ()

Protected Slots

void startAddressBook ()

Private Member Functions

void readConfig ()
void getAddress ()

Private Attributes

Opie::Ui::OClickableLabeladdressLabel
QVBoxLayout * layoutTodo
Opie::OPimContactAccessm_contactdb
Opie::OPimContactAccess::List m_list
Opie::OPimContactAccess::List::Iterator m_it
int m_maxLinesTask
int m_maxCharClip
int m_daysLookAhead
int m_urgentDays
QString m_entryColor
QString m_headlineColor
QString m_urgentColor
bool m_showBirthdays
bool m_showAnniversaries

Constructor & Destructor Documentation

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

Definition at line 26 of file addresspluginwidget.cpp.

References addressLabel, getAddress(), l, layoutTodo, m_contactdb, readConfig(), and refresh().

AddressBookPluginWidget::~AddressBookPluginWidget  ) 
 

Definition at line 43 of file addresspluginwidget.cpp.

References m_contactdb.


Member Function Documentation

void AddressBookPluginWidget::getAddress  )  [private]
 

Get the addresss

Definition at line 77 of file addresspluginwidget.cpp.

References addressLabel, QDate::currentDate(), Opie::OPimBase::DateDiff, QDate::day(), Opie::OPimBase::FilterOff, Opie::OPimAccessTemplate< T >::hasQuerySettings(), layoutTodo, m_contactdb, m_daysLookAhead, m_entryColor, m_headlineColor, m_it, m_list, m_maxLinesTask, m_showAnniversaries, m_showBirthdays, m_urgentColor, m_urgentDays, QDate::month(), QString::number(), oendl, output, owarn, Opie::OPimAccessTemplate< T >::queryByExample(), Opie::OPimContact::setAnniversary(), Opie::OPimContact::setBirthday(), QDate::setYMD(), Opie::OPimContactAccess::SortAnniversaryWithoutYear, Opie::OPimContactAccess::SortBirthdayWithoutYear, Opie::OPimAccessTemplate< T >::sorted(), startAddressBook(), QDate::toString(), and tr.

Referenced by AddressBookPluginWidget(), refresh(), and reinitialize().

void AddressBookPluginWidget::readConfig  )  [private]
 

Definition at line 59 of file addresspluginwidget.cpp.

References Qt::black, m_daysLookAhead, m_entryColor, m_headlineColor, m_maxCharClip, m_maxLinesTask, m_showAnniversaries, m_showBirthdays, m_urgentColor, m_urgentDays, name, Config::readBoolEntry(), Config::readEntry(), Config::readNumEntry(), Qt::red, and Config::setGroup().

Referenced by AddressBookPluginWidget(), and reinitialize().

void AddressBookPluginWidget::refresh const Opie::OPimContactAccess db  )  [slot]
 

Definition at line 47 of file addresspluginwidget.cpp.

References getAddress(), m_contactdb, oendl, owarn, and Opie::OPimAccessTemplate< T >::reload().

Referenced by AddressBookPluginWidget(), and AddressBookPlugin::refresh().

void AddressBookPluginWidget::reinitialize  )  [slot]
 

Definition at line 54 of file addresspluginwidget.cpp.

References getAddress(), and readConfig().

Referenced by AddressBookPlugin::reinitialize().

void AddressBookPluginWidget::startAddressBook  )  [protected, slot]
 

start the todolist

Definition at line 222 of file addresspluginwidget.cpp.

Referenced by getAddress().


Member Data Documentation

Opie::Ui::OClickableLabel* AddressBookPluginWidget::addressLabel [private]
 

Definition at line 45 of file addresspluginwidget.h.

Referenced by AddressBookPluginWidget(), and getAddress().

QVBoxLayout* AddressBookPluginWidget::layoutTodo [private]
 

Definition at line 46 of file addresspluginwidget.h.

Referenced by AddressBookPluginWidget(), and getAddress().

Opie::OPimContactAccess* AddressBookPluginWidget::m_contactdb [private]
 

Definition at line 47 of file addresspluginwidget.h.

Referenced by AddressBookPluginWidget(), getAddress(), refresh(), and ~AddressBookPluginWidget().

int AddressBookPluginWidget::m_daysLookAhead [private]
 

Definition at line 56 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

QString AddressBookPluginWidget::m_entryColor [private]
 

Definition at line 58 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

QString AddressBookPluginWidget::m_headlineColor [private]
 

Definition at line 59 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

Opie::OPimContactAccess::List::Iterator AddressBookPluginWidget::m_it [private]
 

Definition at line 50 of file addresspluginwidget.h.

Referenced by getAddress().

Opie::OPimContactAccess::List AddressBookPluginWidget::m_list [private]
 

Definition at line 49 of file addresspluginwidget.h.

Referenced by getAddress().

int AddressBookPluginWidget::m_maxCharClip [private]
 

Definition at line 55 of file addresspluginwidget.h.

Referenced by readConfig().

int AddressBookPluginWidget::m_maxLinesTask [private]
 

Definition at line 54 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

bool AddressBookPluginWidget::m_showAnniversaries [private]
 

Definition at line 62 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

bool AddressBookPluginWidget::m_showBirthdays [private]
 

Definition at line 61 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

QString AddressBookPluginWidget::m_urgentColor [private]
 

Definition at line 60 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().

int AddressBookPluginWidget::m_urgentDays [private]
 

Definition at line 57 of file addresspluginwidget.h.

Referenced by getAddress(), and readConfig().


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