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

DatebookPlugin Class Reference

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

Inheritance diagram for DatebookPlugin:

Inheritance graph
[legend]
Collaboration diagram for DatebookPlugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DatebookPlugin ()
 ~DatebookPlugin ()
QString pluginName () const
double versionNumber () const
QString pixmapNameWidget () const
QWidget * widget (QWidget *)
QString pixmapNameConfig () const
TodayConfigWidgetconfigWidget (QWidget *)
QString appName () const
bool excludeFromRefresh () const
void refresh ()
void reinitialize ()

Private Attributes

DatebookPluginWidgetm_widget

Constructor & Destructor Documentation

DatebookPlugin::DatebookPlugin  ) 
 

Definition at line 21 of file datebookplugin.cpp.

DatebookPlugin::~DatebookPlugin  ) 
 

Definition at line 24 of file datebookplugin.cpp.


Member Function Documentation

QString DatebookPlugin::appName  )  const [virtual]
 

The application that should be assigned to the button (pixmap) Today will show the plugin icon. On click it tries to execute the plugin related application.

Implements TodayPluginObject.

Definition at line 52 of file datebookplugin.cpp.

TodayConfigWidget * DatebookPlugin::configWidget QWidget *   )  [virtual]
 

Config plugin widget - optional If the plugin has a config widget, it _needs_ a parent here. may return 0 if no config widget is needed

Note: Always create a new Widget on this call and ownership is transfered

Implements TodayPluginObject.

Definition at line 48 of file datebookplugin.cpp.

bool DatebookPlugin::excludeFromRefresh  )  const [virtual]
 

If the plugin should take part in the periodic refresh

Implements TodayPluginObject.

Definition at line 56 of file datebookplugin.cpp.

QString DatebookPlugin::pixmapNameConfig  )  const [virtual]
 

Pixmap used in the config widget

Implements TodayPluginObject.

Definition at line 44 of file datebookplugin.cpp.

QString DatebookPlugin::pixmapNameWidget  )  const [virtual]
 

Returns:
the pixmap name widget?! -- FIXME

Implements TodayPluginObject.

Definition at line 35 of file datebookplugin.cpp.

QString DatebookPlugin::pluginName  )  const [virtual]
 

The name if the plugin

Returns:
The plugin should return its name here

Implements TodayPluginObject.

Definition at line 27 of file datebookplugin.cpp.

References tr.

void DatebookPlugin::refresh  )  [virtual]
 

Refresh that plugins view. For updating the plugins

Reimplemented from TodayPluginObject.

Definition at line 60 of file datebookplugin.cpp.

References m_widget, and DatebookPluginWidget::refresh().

void DatebookPlugin::reinitialize  )  [virtual]
 

reread the plugins config and act apropiate This is for example used when returning from the config dialog

Reimplemented from TodayPluginObject.

Definition at line 66 of file datebookplugin.cpp.

References m_widget, and DatebookPluginWidget::reinitialize().

double DatebookPlugin::versionNumber  )  const [virtual]
 

Version numbering

Returns:
The plugin should return the version number

Implements TodayPluginObject.

Definition at line 31 of file datebookplugin.cpp.

QWidget * DatebookPlugin::widget QWidget *   )  [virtual]
 

widget for the today view It _needs_ a parent here. Plugin authors need to take parent as parent!

Note that you always need to create a new QWidget on this call and the ownership is transfered to the caller.

Parameters:
The parent of your to be created widget

Implements TodayPluginObject.

Definition at line 39 of file datebookplugin.cpp.

References m_widget.


Member Data Documentation

DatebookPluginWidget* DatebookPlugin::m_widget [private]
 

Definition at line 43 of file datebookplugin.h.

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


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