summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdedcop/app_iface.h
blob: 7049c712d366af2e1a0deb40bbb24393f3a3bfd5 (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 TQString strVal() const = 0;
    virtual int intVal() const = 0;

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

};