~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to languages/cpp/app_templates/kdedcop/app_iface.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%{H_TEMPLATE}
2
 
 
3
 
#include <dcopobject.h>
4
 
 
5
 
class DCOPDemoIface : virtual public DCOPObject
6
 
{
7
 
    K_DCOP
8
 
    k_dcop:
9
 
 
10
 
 
11
 
    // Here you should place your DCOP interface.
12
 
    // Below are four example methods.
13
 
    virtual QString strVal() const = 0;
14
 
    virtual int intVal() const = 0;
15
 
 
16
 
    virtual void setIntVal( int num ) = 0;
17
 
    virtual void setStrVal( const QString &str ) = 0;
18
 
 
19
 
};