summaryrefslogtreecommitdiffstats
path: root/kioslave/finger/kio_finger.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 /kioslave/finger/kio_finger.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 'kioslave/finger/kio_finger.h')
-rw-r--r--kioslave/finger/kio_finger.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/kioslave/finger/kio_finger.h b/kioslave/finger/kio_finger.h
new file mode 100644
index 000000000..8d63236d4
--- /dev/null
+++ b/kioslave/finger/kio_finger.h
@@ -0,0 +1,64 @@
+
+/***************************************************************************
+ kio_finger.h - description
+ -------------------
+ begin : Sun Aug 12 2000
+ copyright : (C) 2000 by Andreas Schlapbach
+ email : schlpbch@iam.unibe.ch
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 __kio_finger_h__
+#define __kio_finger_h__
+
+#include <qstring.h>
+#include <qcstring.h>
+
+#include <kurl.h>
+#include <kprocess.h>
+#include <kio/global.h>
+#include <kio/slavebase.h>
+
+class FingerProtocol : public QObject, public KIO::SlaveBase
+{
+ Q_OBJECT
+
+public:
+
+ FingerProtocol(const QCString &pool_socket, const QCString &app_socket);
+ virtual ~FingerProtocol();
+
+ virtual void mimetype(const KURL& url);
+ virtual void get(const KURL& url);
+
+private slots:
+ void slotGetStdOutput(KProcess*, char*, int);
+
+private:
+ KURL *myURL;
+
+ QString *myPerlPath;
+ QString *myFingerPath;
+ QString *myFingerPerlScript;
+ QString *myFingerCSSFile;
+
+ QString *myStdStream;
+
+
+ KProcess *myKProcess;
+
+ void getProgramPath();
+ void parseCommandLine(const KURL& url);
+};
+
+
+#endif