• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • dcop
 

dcop

  • dcop
  • dcopidl
dcopidl_test.h
1 /* This is a comment */
2 
3 #ifndef TEST_H
4 #define TEST_H
5 
6 // some comment
7 #include <dcopobject.h>
8 #include <dcopref.h>
9 
10 /* We never use it, but it's a test after all :)
11  */
12 class Test2;
13 
14 // this has to work too
15 #include <tqstring.h>
16 
17 typedef TQMap<KIO::Job *, KIODownload> KIODownloadMap;
18 class Test3;
19 
20 // Those namespaces are opened and closed, so they should be just ignored
21 namespace Kpgp {
22  class Config;
23 }
24 namespace KMail {
25  class IdentityDialog;
26 }
27 
33 class KDEUI_EXPORT Test : public MyNamespace::MyParentClass, virtual public DCOPObject,
34  public TQValueList<TQString>
35 {
36  K_DCOP
37 
38 public:
39  struct Bar {
40  int i;
41  };
42  class SomeForwardFooPrivate;
43  Test();
44  Test() : DCOPObject("name") {}
45  ~Test();
46  int getPageOfObj( int obj );
47  void setCell( KSpreadTable *table,
48  const TQPoint& point );
49 
50  SomeForwardFooPrivate *d;
51  static const int AUDIO_CD = 1;
52  static const int AUDIO_CD = 1 << 6;
53  static const int m_number0[ 20 ];
54  enum { Enum1, Enum2 };
55  enum NamedEnum { Enum3, Enum4 };
56 k_dcop:
57  virtual TQString url();
58  virtual TQString constTest() const;
59  virtual DCOPRef firstView();
60  virtual DCOPRef nextView();
61  virtual int getNumObjects();
62  virtual DCOPRef getObject( int num );
63  virtual int getNumPages();
64  virtual DCOPRef getPage( int num );
69  int getPageOfObj( int obj );
70  void setCell( const int& point = 3 );
71  TQValueList<DCOPRef> getWindows();
72  const TQStringList remotes(); // returns const type, but shouldn't use const var for it in stub
73 
74 k_dcop_signals:
75  void blah_signal();
76 
77 private:
78  Test3 *doc();
79 
80  struct KIODownload;
81  typedef TQMap<KIO::Job *, KIODownload> KIODownloadMap;
82 };
83 
84 class Test2 : public DCOPObject
85 {
86  K_DCOP
87 public:
88 k_dcop_signals:
89  void fooSignal(int arg);
90 };
91 
92 namespace TheNameSpace {
93 
94  class Test3;
95 
96  class Test3 : public DCOPObject
97  {
98  K_DCOP
99  public:
100  void yadda();
101  };
102 
103 };
104 
105 #endif // end of line comment
106 
107 /* Test for line numbers */
108 
109 
DCOPRef
A DCOPRef(erence) encapsulates a remote DCOP object as a triple <app,obj,type> where type is optional...
Definition: dcopref.h:278
Test
This is a stupid comment that might help geiseri at some point in the near future.
Definition: dcopidl_test.h:33
DCOPObject
Provides an interface for receiving DCOP messages.
Definition: dcopobject.h:67
DCOPObject::DCOPObject
DCOPObject()
Creates a DCOPObject and calculates the object id using its physical memory address.
Definition: dcopobject.cpp:47

dcop

Skip menu "dcop"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

dcop

Skip menu "dcop"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for dcop by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |