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 // 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 KDEUI_EXPORT Test : public MyNamespace::MyParentClass, virtual public DCOPObject,
00034              public QValueList<QString>
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 QPoint& point );
00049 
00050     SomeForwardFooPrivate *d;
00051     static const int AUDIO_CD = 1;
00052     static const int AUDIO_CD = 1 << 6;
00053     enum { Enum1, Enum2 };
00054     enum NamedEnum { Enum3, Enum4 };
00055 k_dcop:
00056     virtual QString url();
00057     virtual QString constTest() const;
00058     virtual DCOPRef firstView();
00059     virtual DCOPRef nextView();
00060     virtual int getNumObjects();
00061     virtual DCOPRef getObject( int num );
00062     virtual int getNumPages();
00063     virtual DCOPRef getPage( int num );
00068     int getPageOfObj( int obj );
00069     void setCell( const int& point = 3 );
00070     QValueList<DCOPRef> getWindows();
00071 
00072 k_dcop_signals:
00073     void blah_signal();
00074 
00075 private:
00076     Test3 *doc();
00077 
00078     struct KIODownload;
00079     typedef QMap<KIO::Job *, KIODownload> KIODownloadMap;
00080 };
00081 
00082 class Test2 : public DCOPObject
00083 {
00084     K_DCOP
00085 public:
00086 k_dcop_signals:
00087     void fooSignal(int arg);
00088 };
00089 
00090 namespace TheNameSpace {
00091 
00092   class Test3;
00093 
00094   class Test3 : public DCOPObject
00095   {
00096       K_DCOP
00097   public:
00098       void yadda();
00099   };
00100 
00101 };
00102 
00103 #endif // end of line comment
00104 
00105 /* Test for line numbers */
00106 
00107 
KDE Logo
This file is part of the documentation for dcop Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 06:46:02 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003