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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%{H_TEMPLATE}
 
2
 
 
3
#ifndef MAINCLASS_H
 
4
#define MAINCLASS_H
 
5
 
 
6
#include "%{APPNAMELC}_iface.h"
 
7
 
 
8
/**
 
9
 *
 
10
 * @author %{AUTHOR}
 
11
 **/
 
12
class MainClass : virtual public DCOPDemoIface
 
13
{
 
14
public:
 
15
    MainClass();
 
16
 
 
17
    ~MainClass();
 
18
 
 
19
 
 
20
    // Here is the implementation of the example DCOP interface methods.
 
21
    virtual void setStrVal(const QString &);
 
22
    virtual void setIntVal(int);
 
23
    virtual QString strVal() const;
 
24
    virtual int intVal() const;
 
25
 
 
26
private:
 
27
    QString m_strValue;
 
28
    int m_intValue;
 
29
 
 
30
};
 
31
 
 
32
#endif