summaryrefslogtreecommitdiffstats
path: root/languages/python
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:38:54 -0600
commitda1522385e5367bae56b90fac55c4355e475905b (patch)
treebfa432864dbf322feb4ed3a878f1222ee8ea7727 /languages/python
parentb9e542d0c805e9adee3a67e44532d5321032e21e (diff)
downloadtdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz
tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'languages/python')
-rw-r--r--languages/python/pydoc.cpp6
-rw-r--r--languages/python/pydoc.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/python/pydoc.cpp b/languages/python/pydoc.cpp
index 1c07b404..760728c7 100644
--- a/languages/python/pydoc.cpp
+++ b/languages/python/pydoc.cpp
@@ -13,7 +13,7 @@
#include <kglobal.h>
#include <klocale.h>
-using namespace KIO;
+using namespace TDEIO;
PydocProtocol::PydocProtocol(const TQCString &pool, const TQCString &app)
@@ -75,7 +75,7 @@ TQCString PydocProtocol::errorMessage()
void PydocProtocol::stat(const KURL &/*url*/)
{
UDSAtom uds_atom;
- uds_atom.m_uds = KIO::UDS_FILE_TYPE;
+ uds_atom.m_uds = TDEIO::UDS_FILE_TYPE;
uds_atom.m_long = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;
UDSEntry uds_entry;
@@ -88,7 +88,7 @@ void PydocProtocol::stat(const KURL &/*url*/)
void PydocProtocol::listDir(const KURL &url)
{
- error( KIO::ERR_CANNOT_ENTER_DIRECTORY, url.path() );
+ error( TDEIO::ERR_CANNOT_ENTER_DIRECTORY, url.path() );
}
diff --git a/languages/python/pydoc.h b/languages/python/pydoc.h
index 9e848a04..f5e639d7 100644
--- a/languages/python/pydoc.h
+++ b/languages/python/pydoc.h
@@ -5,7 +5,7 @@
#include <kio/slavebase.h>
-class PydocProtocol : public KIO::SlaveBase
+class PydocProtocol : public TDEIO::SlaveBase
{
public:
PydocProtocol(const TQCString &pool, const TQCString &app);