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/kcmodule/module.h

34 lines
605 B

%{H_TEMPLATE}
#ifndef _%{APPNAMEUC}_H_
#define _%{APPNAMEUC}_H_
#include <kcmodule.h>
#include <kaboutdata.h>
class %{APPNAME}: public KCModule
{
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 KAboutData *aboutData()const
{ return myAboutData; };
public slots:
void configChanged();
private:
KAboutData *myAboutData;
};
#endif