summaryrefslogtreecommitdiffstats
path: root/kget/kget_plug_in/kget_plug_in.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
commitbcb704366cb5e333a626c18c308c7e0448a8e69f (patch)
treef0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kget/kget_plug_in/kget_plug_in.h
downloadtdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz
tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.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/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget/kget_plug_in/kget_plug_in.h')
-rw-r--r--kget/kget_plug_in/kget_plug_in.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/kget/kget_plug_in/kget_plug_in.h b/kget/kget_plug_in/kget_plug_in.h
new file mode 100644
index 00000000..75888b10
--- /dev/null
+++ b/kget/kget_plug_in/kget_plug_in.h
@@ -0,0 +1,58 @@
+/***************************************************************************
+ kget_plug_in.h - description
+ -------------------
+ begin : Wed Jul 3 22:09:28 CEST 2002
+ copyright : (C) 2002 by Patrick
+ email : pch@valleeurpe.net
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+#ifndef __plugin_kget_plug_in_h
+#define __plugin_kget_plug_in_h
+
+#include <kparts/plugin.h>
+#include <klibloader.h>
+#include <dcopclient.h>
+#include <kurl.h>
+
+class KInstance;
+
+class KGet_plug_in : public KParts::Plugin
+{
+ Q_OBJECT
+public:
+ KGet_plug_in( QObject* parent = 0, const char* name = 0 );
+ KToggleAction *m_paToggleDropTarget ;
+ DCOPClient* p_dcopServer;
+ virtual ~KGet_plug_in();
+
+private slots:
+ void slotShowDrop();
+ void slotShowLinks();
+ void showPopup();
+};
+
+
+class KPluginFactory : public KLibFactory
+{
+ Q_OBJECT
+public:
+ KPluginFactory( QObject *parent = 0, const char *name = 0 );
+ ~KPluginFactory() ;
+
+ virtual QObject* createObject( QObject* parent = 0, const char* pname = 0,
+ const char* name = "QObject",
+ const QStringList &args = QStringList() );
+
+private:
+ static KInstance* s_instance;
+};
+
+#endif