dcop Library API Documentation

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 <qstring.h>
00016 
00017 typedef QMap<KIO::Job *, KIODownload> KIODownloadMap;
00018 class Test3;
00019 
00025 class Test : public MyNamespace::MyParentClass, virtual public DCOPObject,
00026              public QValueList<QString>
00027 {
00028     K_DCOP
00029 
00030 public:
00031     struct Bar {
00032       int i;
00033     };
00034     class SomeForwardFooPrivate;
00035     Test();
00036     Test() : DCOPObject("name") {}
00037     ~Test();
00038     int getPageOfObj( int obj );
00039     void setCell( KSpreadTable *table,
00040           const QPoint& point );
00041 
00042     SomeForwardFooPrivate *d;
00043     static const int AUDIO_CD = 1;
00044     static const int AUDIO_CD = 1 << 6;
00045 k_dcop:
00046     virtual QString url();
00047     virtual QString constTest() const;
00048     virtual DCOPRef firstView();
00049     virtual DCOPRef nextView();
00050     virtual int getNumObjects();
00051     virtual DCOPRef getObject( int num );
00052     virtual int getNumPages();
00053     virtual DCOPRef getPage( int num );
00058     int getPageOfObj( int obj );
00059     void setCell( const int& point = 3 );
00060     QValueList<DCOPRef> getWindows();
00061 
00062 k_dcop_signals:
00063     void blah_signal();
00064 
00065 private:
00066     Test3 *doc();
00067 
00068     struct KIODownload;
00069     typedef QMap<KIO::Job *, KIODownload> KIODownloadMap;
00070 };
00071 
00072 class Test2 : public DCOPObject
00073 {
00074     K_DCOP
00075 public:
00076 k_dcop_signals:
00077     void fooSignal(int arg);
00078 };
00079 
00080 class Test3 : public DCOPObject
00081 {
00082     K_DCOP
00083 public:
00084     void yadda();
00085 };
00086 
00087 #endif // end of line comment
00088 
00089 /* Test for line numbers */
00090 
00091 
KDE Logo
This file is part of the documentation for dcop Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Apr 21 18:42:40 2004 by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2003