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/tdescreensaver/tdescreensaver.h

38 lines
585 B

%{CPP_TEMPLATE}
#ifndef %{APPNAME}_H__
#define %{APPNAME}_H__
#include "tdescreensaver.h"
#include "%{APPNAMELC}ui.h"
class %{APPNAME} : public KScreenSaver
{
Q_OBJECT
public:
%{APPNAME}( WId drawable );
virtual ~%{APPNAME}();
private:
void readSettings();
void blank();
};
class %{APPNAME}Setup : public %{APPNAME}UI
{
Q_OBJECT
public:
%{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL );
private slots:
void slotOkPressed();
void slotCancelPressed();
private:
void readSettings();
%{APPNAME} *saver;
};
#endif