You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
753 B
35 lines
753 B
15 years ago
|
#ifndef %{APPNAME}_PLUGIN_H
|
||
|
#define %{APPNAME}_PLUGIN_H
|
||
|
|
||
|
#include <qwidget.h>
|
||
|
#include <qguardedptr.h>
|
||
|
|
||
|
#include <opie/todayplugininterface.h>
|
||
|
#include <opie/todayconfigwidget.h>
|
||
|
|
||
|
#include "%{APPNAMELC}widget.h"
|
||
|
|
||
|
// implementation of the today plugin interface
|
||
|
class %{APPNAME} : public TodayPluginObject {
|
||
|
|
||
|
public:
|
||
|
%{APPNAME}();
|
||
|
~%{APPNAME}();
|
||
|
|
||
|
QString pluginName() const;
|
||
|
double versionNumber() const;
|
||
|
QString pixmapNameWidget() const;
|
||
|
QWidget* widget(QWidget *);
|
||
|
QString pixmapNameConfig() const;
|
||
|
TodayConfigWidget* configWidget(QWidget *);
|
||
|
QString appName() const;
|
||
|
bool excludeFromRefresh() const;
|
||
|
void refresh();
|
||
|
void reinitialize();
|
||
|
|
||
|
private:
|
||
|
QGuardedPtr<%{APPNAME}Widget> m_widget;
|
||
|
};
|
||
|
|
||
|
#endif
|