summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdedcop/mainclass.h
blob: ca37f2ad4d8e5ead3948cc4e9f1c6dcae3999082 (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 QString &);
    virtual void setIntVal(int);
    virtual QString strVal() const;
    virtual int intVal() const;

private:
    QString m_strValue;
    int m_intValue;

};

#endif