• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

dcop

dcopidl_test.h

Go to the documentation of this file.
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     static const int m_number0[ 20 ];
00054     enum { Enum1, Enum2 };
00055     enum NamedEnum { Enum3, Enum4 };
00056 k_dcop:
00057     virtual QString url();
00058     virtual QString 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     QValueList<DCOPRef> getWindows();
00072     const QStringList 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 QMap<KIO::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
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal