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

WeatherPlugin Class Reference

#include </home/clem/local/src/opie/noncore/todayplugins/weather/weatherplugin.h>

Inheritance diagram for WeatherPlugin:

Inheritance graph
[legend]
Collaboration diagram for WeatherPlugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WeatherPlugin ()
 ~WeatherPlugin ()
QString pluginName () const
double versionNumber () const
QString pixmapNameWidget () const
QWidget * widget (QWidget *)
QString pixmapNameConfig () const
QString appName () const
bool excludeFromRefresh () const
TodayConfigWidgetconfigWidget (QWidget *)

Constructor & Destructor Documentation

WeatherPlugin::WeatherPlugin  ) 
 

Definition at line 33 of file weatherplugin.cpp.

WeatherPlugin::~WeatherPlugin  ) 
 

Definition at line 36 of file weatherplugin.cpp.


Member Function Documentation

QString WeatherPlugin::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 69 of file weatherplugin.cpp.

TodayConfigWidget * WeatherPlugin::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 64 of file weatherplugin.cpp.

bool WeatherPlugin::excludeFromRefresh  )  const [virtual]
 

If the plugin should take part in the periodic refresh

Implements TodayPluginObject.

Definition at line 74 of file weatherplugin.cpp.

QString WeatherPlugin::pixmapNameConfig  )  const [virtual]
 

Pixmap used in the config widget

Implements TodayPluginObject.

Definition at line 59 of file weatherplugin.cpp.

QString WeatherPlugin::pixmapNameWidget  )  const [virtual]
 

Returns:
the pixmap name widget?! -- FIXME

Implements TodayPluginObject.

Definition at line 49 of file weatherplugin.cpp.

QString WeatherPlugin::pluginName  )  const [virtual]
 

The name if the plugin

Returns:
The plugin should return its name here

Implements TodayPluginObject.

Definition at line 39 of file weatherplugin.cpp.

References tr.

double WeatherPlugin::versionNumber  )  const [virtual]
 

Version numbering

Returns:
The plugin should return the version number

Implements TodayPluginObject.

Definition at line 44 of file weatherplugin.cpp.

QWidget * WeatherPlugin::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 54 of file weatherplugin.cpp.


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