summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opietoday/examplepluginwidget.h
blob: 53a67b184c0804cb39b7cfd207a8eb515b071f18 (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 <tqlayout.h>

#include <opie/oclickablelabel.h>

class %{APPNAME}Widget : public TQWidget {

    Q_OBJECT

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

private slots:
   void slotClicked();

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

#endif