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

Today Class Reference

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

Inheritance diagram for Today:

Inheritance graph
[legend]
Collaboration diagram for Today:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Today (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~Today ()

Static Public Member Functions

static QString appName ()

Private Slots

void startConfig ()
void startApplication ()
void editCard ()
void refresh ()
void channelReceived (const QCString &msg, const QByteArray &data)
void loadPlugins ()

Private Member Functions

void setOwnerField ()
void setOwnerField (QString &string)
void setRefreshTimer (int)
void clearPluginWidgets ()
void loadPluginWidgets ()
void loadShellContent ()

Private Attributes

TodayConfigconf
QStringList m_excludeApplets
QStringList m_allApplets
QScrollView * m_sv
QWidget * m_big_box
QVBoxLayout * m_bblayout
QLabel * m_informationLabel
Opie::Core::OPluginLoaderm_pluginLoader
Opie::Core::OPluginManagerm_manager
QTimer * m_refreshTimer
bool m_refreshTimerEnabled
int m_newStart
int m_iconSize
int m_maxCharClip
int m_hideBanner

Constructor & Destructor Documentation

Today::Today QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 68 of file today.cpp.

References channelReceived(), TodayBase::ConfigButton, editCard(), l, TodayBase::layout, loadPlugins(), loadPluginWidgets(), loadShellContent(), m_bblayout, m_big_box, m_informationLabel, m_refreshTimer, m_sv, TodayBase::OwnerField, refresh(), setOwnerField(), startConfig(), and tr.

Today::~Today  ) 
 

Definition at line 315 of file today.cpp.

References clearPluginWidgets(), m_manager, and m_pluginLoader.


Member Function Documentation

static QString Today::appName  )  [inline, static]
 

Definition at line 63 of file today.h.

References QString::fromLatin1().

void Today::channelReceived const QCString msg,
const QByteArray data
[private, slot]
 

Qcop receive method.

Definition at line 113 of file today.cpp.

References IO_ReadOnly, message, setOwnerField(), and stream.

Referenced by Today().

void Today::clearPluginWidgets  )  [private]
 

Definition at line 322 of file today.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::clear(), QMap< Key, T >::end(), m_bblayout, and m_big_box.

Referenced by startConfig(), and ~Today().

void Today::editCard  )  [private, slot]
 

launch addressbook (personal card)

Definition at line 310 of file today.cpp.

Referenced by Today().

void Today::loadPlugins  )  [private, slot]
 

Load the plugins

Definition at line 162 of file today.cpp.

References Opie::Core::OPluginManager::load(), m_manager, m_pluginLoader, and Opie::Core::OGenericPluginLoader::setAutoDelete().

Referenced by Today().

void Today::loadPluginWidgets  )  [private]
 

Definition at line 193 of file today.cpp.

References add, TodayPluginObject::appName(), Opie::Core::OPluginManager::crashedPlugin(), TodayPluginObject::excludeFromRefresh(), TodayPlugin::excludeRefresh, Opie::Core::OGenericPluginLoader::filtered(), TodayPlugin::guiBox, TodayPlugin::guiPart, TodayPlugin::iface, IID_TodayPluginInterface, QMap< Key, T >::insert(), Opie::Core::OGenericPluginLoader::isInSafeMode(), Opie::Core::OPluginLoader::load(), Opie::Core::OResource::loadImage(), m_bblayout, m_big_box, m_iconSize, m_informationLabel, m_manager, m_pluginLoader, m_sv, TodayPlugin::name, TodayPlugin::oplugin, TodayPluginObject::pixmapNameWidget(), startApplication(), tr, and TodayPluginObject::widget().

Referenced by startConfig(), and Today().

void Today::loadShellContent  )  [private]
 

Definition at line 170 of file today.cpp.

References QDate::currentDate(), TodayBase::DateLabel, TimeString::longDateString(), m_hideBanner, m_iconSize, TodayBase::Opiezilla, Config::readNumEntry(), Config::setGroup(), setRefreshTimer(), and TodayBase::TodayLabel.

Referenced by startConfig(), and Today().

void Today::refresh  )  [private, slot]
 

Refresh for the view. Reload all applets

Definition at line 289 of file today.cpp.

References QMap< Key, T >::begin(), QDate::currentDate(), TodayBase::DateLabel, QMap< Key, T >::end(), and TimeString::longDateString().

Referenced by setRefreshTimer(), startConfig(), and Today().

void Today::setOwnerField QString message  )  [private]
 

Set the owner field with a given QString, for example per qcop.

Definition at line 152 of file today.cpp.

References QString::isEmpty(), and TodayBase::OwnerField.

void Today::setOwnerField  )  [private]
 

Initialises the owner field with the default value, the username

Definition at line 136 of file today.cpp.

References Opie::OPimAccessTemplate< T >::allRecords(), Global::applicationFileName(), Opie::OPimContact::fullName(), Opie::OPimAccessTemplate< T >::load(), TodayBase::OwnerField, and tr.

Referenced by channelReceived(), and Today().

void Today::setRefreshTimer int   )  [private]
 

Definition at line 122 of file today.cpp.

References m_refreshTimer, and refresh().

Referenced by loadShellContent().

void Today::startApplication  )  [private, slot]
 

Definition at line 301 of file today.cpp.

References name.

Referenced by loadPluginWidgets().

void Today::startConfig  )  [private, slot]
 

The method for the configuration dialog.

Definition at line 265 of file today.cpp.

References clearPluginWidgets(), conf, QPEApplication::execDialog(), loadPluginWidgets(), loadShellContent(), m_manager, m_pluginLoader, m_refreshTimer, refresh(), and TodayConfig::setUpPlugins().

Referenced by Today().


Member Data Documentation

TodayConfig* Today::conf [private]
 

Definition at line 89 of file today.h.

Referenced by startConfig().

QStringList Today::m_allApplets [private]
 

Definition at line 91 of file today.h.

QVBoxLayout* Today::m_bblayout [private]
 

Definition at line 95 of file today.h.

Referenced by clearPluginWidgets(), loadPluginWidgets(), and Today().

QWidget* Today::m_big_box [private]
 

Definition at line 94 of file today.h.

Referenced by clearPluginWidgets(), loadPluginWidgets(), and Today().

QStringList Today::m_excludeApplets [private]
 

Definition at line 90 of file today.h.

int Today::m_hideBanner [private]
 

Definition at line 107 of file today.h.

Referenced by loadShellContent().

int Today::m_iconSize [private]
 

Definition at line 105 of file today.h.

Referenced by loadPluginWidgets(), and loadShellContent().

QLabel* Today::m_informationLabel [private]
 

Definition at line 96 of file today.h.

Referenced by loadPluginWidgets(), and Today().

Opie::Core::OPluginManager* Today::m_manager [private]
 

Definition at line 99 of file today.h.

Referenced by loadPlugins(), loadPluginWidgets(), startConfig(), and ~Today().

int Today::m_maxCharClip [private]
 

Definition at line 106 of file today.h.

int Today::m_newStart [private]
 

Definition at line 104 of file today.h.

Opie::Core::OPluginLoader* Today::m_pluginLoader [private]
 

Definition at line 98 of file today.h.

Referenced by loadPlugins(), loadPluginWidgets(), startConfig(), and ~Today().

QTimer* Today::m_refreshTimer [private]
 

Definition at line 101 of file today.h.

Referenced by setRefreshTimer(), startConfig(), and Today().

bool Today::m_refreshTimerEnabled [private]
 

Definition at line 103 of file today.h.

QScrollView* Today::m_sv [private]
 

Definition at line 93 of file today.h.

Referenced by loadPluginWidgets(), and Today().


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