summaryrefslogtreecommitdiffstats
path: root/kdcop/kdcopwindow.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kdcop/kdcopwindow.h
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdcop/kdcopwindow.h')
-rw-r--r--kdcop/kdcopwindow.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/kdcop/kdcopwindow.h b/kdcop/kdcopwindow.h
new file mode 100644
index 000000000..18e4ecfb6
--- /dev/null
+++ b/kdcop/kdcopwindow.h
@@ -0,0 +1,64 @@
+/*
+ * Copyright (C) 2000 by Matthias Kalle Dalheimer <kalle@kde.org>
+ *
+ * Licensed under the Artistic License.
+ */
+
+#ifndef __KDCOPWINDOW_H__
+#define __KDCOPWINDOW_H__
+
+class DCOPClient;
+class QListViewItem;
+class KAction;
+class KSelectAction;
+class QWidgetStack;
+class QLabel;
+class KDCOPListView;
+
+#include <kmainwindow.h>
+#include "kdcoplistview.h"
+#include "kdcopview.h"
+
+class KDCOPWindow : public KMainWindow
+{
+ Q_OBJECT
+
+ public:
+
+ KDCOPWindow( QWidget* parent = 0, const char* name = 0 );
+
+ protected slots:
+
+ void slotCurrentChanged( QListViewItem* item );
+ void slotCallFunction();
+ void slotCallFunction( QListViewItem* item );
+ void slotApplicationRegistered(const QCString &);
+ void slotApplicationUnregistered(const QCString &);
+ 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 QString & unNormalisedSignature,
+ QString & normalisedSignature,
+ QStringList & types,
+ QStringList & names
+ );
+
+ bool demarshal(QCString & replyType, QDataStream & reply, QListBox *theList);
+
+ DCOPClient * dcopClient;
+ KAction * exeaction;
+ KSelectAction * langmode;
+ kdcopview * mainView;
+ QVBoxLayout * mainLayout;
+};
+
+
+
+#endif