summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opietoday/examplepluginwidget.h
blob: f5e35d4ec168dd2be8d7293bec8677e8b89b89ef (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
29
#ifndef %{APPNAME}_PLUGIN_WIDGET_H
#define %{APPNAME}_PLUGIN_WIDGET_H

#include <tqlayout.h>

#include <opie/oclickablelabel.h>

class %{APPNAME}Widget : public TQWidget {

    Q_OBJECT
  TQ_OBJECT

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

private slots:
   void slotClicked();

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

#endif