You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/tdecmodule/module.h

34 lines
615 B

%{H_TEMPLATE}
#ifndef _%{APPNAMEUC}_H_
#define _%{APPNAMEUC}_H_
#include <tdecmodule.h>
#include <tdeaboutdata.h>
class %{APPNAME}: public TDECModule
{
Q_OBJECT
public:
%{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
~%{APPNAME}();
virtual void load();
virtual void save();
virtual void defaults();
virtual int buttons();
virtual TQString quickHelp() const;
virtual const TDEAboutData *aboutData()const
{ return myAboutData; };
public slots:
void configChanged();
private:
TDEAboutData *myAboutData;
};
#endif