~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/opietoday/exampleplugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef %{APPNAME}_PLUGIN_H
2
 
#define %{APPNAME}_PLUGIN_H
3
 
 
4
 
#include <qwidget.h>
5
 
#include <qguardedptr.h>
6
 
 
7
 
#include <opie/todayplugininterface.h>
8
 
#include <opie/todayconfigwidget.h>
9
 
 
10
 
#include "%{APPNAMELC}widget.h"
11
 
 
12
 
// implementation of the today plugin interface
13
 
class %{APPNAME} : public TodayPluginObject {
14
 
 
15
 
public:
16
 
    %{APPNAME}();
17
 
    ~%{APPNAME}();
18
 
 
19
 
    QString pluginName()  const;
20
 
    double versionNumber() const;
21
 
    QString pixmapNameWidget() const;
22
 
    QWidget* widget(QWidget *);
23
 
    QString pixmapNameConfig() const;
24
 
    TodayConfigWidget* configWidget(QWidget *);
25
 
    QString appName() const;
26
 
    bool excludeFromRefresh() const;
27
 
    void refresh();
28
 
    void reinitialize();
29
 
 
30
 
 private:
31
 
   QGuardedPtr<%{APPNAME}Widget> m_widget;
32
 
};
33
 
 
34
 
#endif