languages/python/pydoc.h
Go to the documentation of this file.00001 #ifndef _PYDOC_H_ 00002 #define _PYDOC_H_ 00003 00004 #include <qobject.h> 00005 #include <kio/slavebase.h> 00006 00007 00008 class PydocProtocol : public KIO::SlaveBase 00009 { 00010 public: 00011 PydocProtocol(const QCString &pool, const QCString &app); 00012 virtual ~PydocProtocol(); 00013 00014 virtual void get(const KURL& url); 00015 virtual void stat(const KURL& url); 00016 virtual void mimetype(const KURL& url); 00017 virtual void listDir(const KURL& url); 00018 00019 protected: 00020 void decodeURL(const KURL &url); 00021 void decodePath(QString path); 00022 QCString errorMessage(); 00023 00024 private: 00025 QString python; 00026 QString script; 00027 QString key; 00028 }; 00029 00030 #endif