summaryrefslogtreecommitdiffstats
path: root/kioslave/info/info.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/info/info.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/info/info.h')
-rw-r--r--kioslave/info/info.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/kioslave/info/info.h b/kioslave/info/info.h
new file mode 100644
index 000000000..ccf41fc5e
--- /dev/null
+++ b/kioslave/info/info.h
@@ -0,0 +1,36 @@
+#ifndef __info_h__
+#define __info_h__
+
+#include <qobject.h>
+
+#include <kio/slavebase.h>
+
+class KProcess;
+
+class InfoProtocol : public KIO::SlaveBase
+{
+public:
+
+ InfoProtocol( const QCString &pool, const QCString &app );
+ virtual ~InfoProtocol();
+
+ virtual void get( const KURL& url );
+ virtual void stat( const KURL& url );
+ virtual void mimetype( const KURL& url );
+
+protected:
+
+ void decodeURL( const KURL &url );
+ void decodePath( QString path );
+
+private:
+
+ QString m_page;
+ QString m_node;
+
+ QString m_perl;
+ QString m_infoScript;
+ QString m_infoConf;
+};
+
+#endif // __info_h__