summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdedcop/mainclass.h
blob: 13504f82056817726deb60fe6a33215fa736cd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%{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 TQString &);
    virtual void setIntVal(int);
    virtual TQString strVal() const;
    virtual int intVal() const;

private:
    TQString m_strValue;
    int m_intValue;

};

#endif