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.
33 lines
502 B
33 lines
502 B
15 years ago
|
%{H_TEMPLATE}
|
||
|
|
||
|
#ifndef MAINCLASS_H
|
||
|
#define MAINCLASS_H
|
||
|
|
||
|
#include "%{APPNAMELC}_iface.h"
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author %{AUTHOR}
|
||
|
**/
|
||
|
class MainClass : virtual public DCOPDemoIface
|
||
|
{
|
||
|
public:
|
||
|
MainClass();
|
||
|
|
||
|
~MainClass();
|
||
|
|
||
|
|
||
|
// Here is the implementation of the example DCOP interface methods.
|
||
|
virtual void setStrVal(const QString &);
|
||
|
virtual void setIntVal(int);
|
||
|
virtual QString strVal() const;
|
||
|
virtual int intVal() const;
|
||
|
|
||
|
private:
|
||
|
QString m_strValue;
|
||
|
int m_intValue;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|