diff options
Diffstat (limited to 'kdcop/kdcopwindow.h')
-rw-r--r-- | kdcop/kdcopwindow.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kdcop/kdcopwindow.h b/kdcop/kdcopwindow.h new file mode 100644 index 000000000..bf0fe532e --- /dev/null +++ b/kdcop/kdcopwindow.h @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2000 by Matthias Kalle Dalheimer <[email protected]> + * + * Licensed under the Artistic License. + */ + +#ifndef __KDCOPWINDOW_H__ +#define __KDCOPWINDOW_H__ + +class DCOPClient; +class TQListViewItem; +class TDEAction; +class TDESelectAction; +class TQWidgetStack; +class TQLabel; +class KDCOPListView; + +#include <tdemainwindow.h> +#include "kdcoplistview.h" +#include "kdcopview.h" + +class KDCOPWindow : public TDEMainWindow +{ + Q_OBJECT + + public: + + KDCOPWindow( TQWidget* parent = 0, const char* name = 0 ); + + protected slots: + + void slotCurrentChanged( TQListViewItem* item ); + void slotCallFunction(); + void slotCallFunction( TQListViewItem* item ); + void slotApplicationRegistered(const TQCString &); + void slotApplicationUnregistered(const TQCString &); + void slotFillApplications(); + void slotCopy(); + void slotMode(); + void slotReload(); + private: + void fillObjects( DCOPBrowserItem*, const char* app ); + void fillFunctions( DCOPBrowserItem*, const char* app, const char* obj ); + + bool getParameters + ( + const TQString & unNormalisedSignature, + TQString & normalisedSignature, + TQStringList & types, + TQStringList & names + ); + + bool demarshal(TQCString & replyType, TQDataStream & reply, TQListBox *theList); + + DCOPClient * dcopClient; + TDEAction * exeaction; + TDESelectAction * langmode; + kdcopview * mainView; + TQVBoxLayout * mainLayout; +}; + + + +#endif |