summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdedcop/app_iface.h
blob: 57bfb059cfa2f78a9e7eba7c74866214c5e9d2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%{H_TEMPLATE}

#include <dcopobject.h>

class DCOPDemoIface : virtual public DCOPObject
{
    K_DCOP
    k_dcop:


    // Here you should place your DCOP interface.
    // Below are four example methods.
    virtual QString strVal() const = 0;
    virtual int intVal() const = 0;

    virtual void setIntVal( int num ) = 0;
    virtual void setStrVal( const QString &str ) = 0;

};