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 
00020 class Test : public MyNamespace::MyParentClass, virtual public DCOPObject,
00021              public QValueList<QString>
00022 {
00023     K_DCOP
00024 
00025 public:
00026     struct Bar {
00027       int i;
00028     };
00029     class SomeForwardFooPrivate;
00030     Test();
00031     ~Test();
00032     int getPageOfObj( int obj );
00033     void setCell( KSpreadTable *table,
00034           const QPoint& point );
00035 
00036     SomeForwardFooPrivate *d;
00037     static const int AUDIO_CD = 1;
00038     static const int AUDIO_CD = 1 << 6;
00039 k_dcop:
00040     virtual QString url();
00041     virtual DCOPRef firstView();
00042     virtual DCOPRef nextView();
00043     virtual int getNumObjects();
00044     virtual DCOPRef getObject( int num );
00045     virtual int getNumPages();
00046     virtual DCOPRef getPage( int num );
00047     int getPageOfObj( int obj );
00048     void setCell( const int& point = 3 );
00049     QValueList<DCOPRef> getWindows();
00050 
00051 k_dcop_signals:
00052     void blah_signal();
00053 
00054 private:
00055     Test3 *doc();
00056 
00057     struct KIODownload;
00058     typedef QMap<KIO::Job *, KIODownload> KIODownloadMap;
00059 };
00060 
00061 class Test2 : public DCOPObject
00062 {
00063     K_DCOP
00064 public:
00065 k_dcop_signals:
00066     void fooSignal(int arg);
00067 };
00068 
00069 class Test3 : public DCOPObject
00070 {
00071     K_DCOP
00072 public:
00073     void yadda();
00074 };
00075 
00076 #endif // end
00077 
00078 /* Test for line numbers */
00079 
00080 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.4.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 27 22:14:34 2005 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001