summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kpartplugin/plugin_app.h
blob: 2ff1c4392877fa06be0fda4d1375d58f2db98438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo "Creating $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.h...";
cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.h
#ifndef PLUGIN_${APP_NAME_UC}_H
#define PLUGIN_${APP_NAME_UC}_H

#include <kparts/plugin.h>

class Plugin${APP_NAME} : public KParts::Plugin
{
  Q_OBJECT
  TQ_OBJECT
public:
  Plugin${APP_NAME}( TQObject* parent = 0, const char* name = 0, 
                     const TQStringList &args = TQStringList() );
  virtual ~Plugin${APP_NAME}();

public slots:
  void slotAction();
};

#endif // PLUGIN_${APP_NAME_UC}_H