summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opietoday/examplepluginwidget.h
blob: 26a721280cb7c3796f5320f7b6d9dd8528617e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef %{APPNAME}_PLUGIN_WIDGET_H
#define %{APPNAME}_PLUGIN_WIDGET_H

#include <qlayout.h>

#include <opie/oclickablelabel.h>

class %{APPNAME}Widget : public QWidget {

    Q_OBJECT

public:
    %{APPNAME}Widget( QWidget *parent,  const char *name );
    ~%{APPNAME}Widget();
    
    void refresh();

private slots:
   void slotClicked();

private:
    OClickableLabel* m_exampleLabel;
    QHBoxLayout* m_layout;
    void readConfig();
    void getInfo();
};

#endif