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

dcop

dcopidl_test.h
00001 /* This is a comment */
00002 
00003 #ifndef TEST_H
00004 #define TEST_H
00005 
00006 // some comment
00007 #include <dcopobject.h>
00008 #include <dcopref.h>
00009 
00010 /* We never use it, but it's a test after all :)
00011  */
00012 class Test2;
00013 
00014 // this has to work too
00015 #include <tqstring.h>
00016 
00017 typedef TQMap<TDEIO::Job *, KIODownload> KIODownloadMap;
00018 class Test3;
00019 
00020 // Those namespaces are opened and closed, so they should be just ignored
00021 namespace Kpgp {
00022       class Config;
00023 }
00024 namespace KMail {
00025       class IdentityDialog;
00026 }
00027 
00033 class TDEUI_EXPORT Test : public MyNamespace::MyParentClass, virtual public DCOPObject,
00034              public TQValueList<TQString>
00035 {
00036     K_DCOP
00037 
00038 public:
00039     struct Bar {
00040       int i;
00041     };
00042     class SomeForwardFooPrivate;
00043     Test();
00044     Test() : DCOPObject("name") {}
00045     ~Test();
00046     int getPageOfObj( int obj );
00047     void setCell( KSpreadTable *table,
00048           const TQPoint& point );
00049 
00050     SomeForwardFooPrivate *d;
00051     static const int AUDIO_CD = 1;
00052     static const int AUDIO_CD = 1 << 6;
00053     static const int m_number0[ 20 ];
00054     enum { Enum1, Enum2 };
00055     enum NamedEnum { Enum3, Enum4 };
00056 k_dcop:
00057     virtual TQString url();
00058     virtual TQString constTest() const;
00059     virtual DCOPRef firstView();
00060     virtual DCOPRef nextView();
00061     virtual int getNumObjects();
00062     virtual DCOPRef getObject( int num );
00063     virtual int getNumPages();
00064     virtual DCOPRef getPage( int num );
00069     int getPageOfObj( int obj );
00070     void setCell( const int& point = 3 );
00071     TQValueList<DCOPRef> getWindows();
00072     const TQStringList remotes(); // returns const type, but shouldn't use const var for it in stub
00073 
00074 k_dcop_signals:
00075     void blah_signal();
00076 
00077 private:
00078     Test3 *doc();
00079 
00080     struct KIODownload;
00081     typedef TQMap<TDEIO::Job *, KIODownload> KIODownloadMap;
00082 };
00083 
00084 class Test2 : public DCOPObject
00085 {
00086     K_DCOP
00087 public:
00088 k_dcop_signals:
00089     void fooSignal(int arg);
00090 };
00091 
00092 namespace TheNameSpace {
00093 
00094   class Test3;
00095 
00096   class Test3 : public DCOPObject
00097   {
00098       K_DCOP
00099   public:
00100       void yadda();
00101   };
00102 
00103 };
00104 
00105 #endif // end of line comment
00106 
00107 /* Test for line numbers */
00108 
00109 

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
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for dcop by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.