main.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __kcmshell_h__
00023 #define __kcmshell_h__
00024
00025 #include <dcopobject.h>
00026
00027 #include <kapplication.h>
00028 #include <kcmultidialog.h>
00029
00033 class KCMShell : public KApplication
00034 {
00035 Q_OBJECT
00036
00037 public:
00038
00046 void setDCOPName(const QCString &dcopName, bool rootMode );
00047
00052 void waitForExit();
00053
00057 bool isRunning();
00058
00059 private slots:
00060
00063 void appExit( const QCString &appId );
00064
00065 private:
00066
00071 QCString m_dcopName;
00072
00073 };
00074
00075
00082 class KCMShellMultiDialog : public KCMultiDialog, public DCOPObject
00083 {
00084 Q_OBJECT
00085 K_DCOP
00086
00087 public:
00088
00091 KCMShellMultiDialog( int dialogFace, const QString& caption,
00092 QWidget *parent=0, const char *name=0, bool modal=false);
00093
00094 k_dcop:
00095
00098 virtual void activate( QCString asn_id );
00099
00100 };
00101
00102
00103
00104 #endif //__kcmshell_h__
|