summaryrefslogtreecommitdiffstats
path: root/kioslave/pop3
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kioslave/pop3
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kioslave/pop3')
-rw-r--r--kioslave/pop3/pop3.cc12
-rw-r--r--kioslave/pop3/pop3.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/kioslave/pop3/pop3.cc b/kioslave/pop3/pop3.cc
index f4a061521..e950f79c1 100644
--- a/kioslave/pop3/pop3.cc
+++ b/kioslave/pop3/pop3.cc
@@ -73,7 +73,7 @@ extern "C" {
int KDE_EXPORT kdemain(int argc, char **argv);
}
-using namespace KIO;
+using namespace TDEIO;
#ifdef HAVE_LIBSASL2
static sasl_callback_t callbacks[] = {
@@ -349,7 +349,7 @@ void POP3Protocol::closeConnection()
opened = false;
}
-int POP3Protocol::loginAPOP( char *challenge, KIO::AuthInfo &ai )
+int POP3Protocol::loginAPOP( char *challenge, TDEIO::AuthInfo &ai )
{
char buf[512];
@@ -457,7 +457,7 @@ bool POP3Protocol::saslInteract( void *in, AuthInfo &ai )
error(ERR_COULD_NOT_AUTHENTICATE, i18n("An error occured during authentication: %1").arg \
( TQString::fromUtf8( sasl_errdetail( conn ) ))); \
-int POP3Protocol::loginSASL( KIO::AuthInfo &ai )
+int POP3Protocol::loginSASL( TDEIO::AuthInfo &ai )
{
#ifdef HAVE_LIBSASL2
char buf[512];
@@ -606,7 +606,7 @@ int POP3Protocol::loginSASL( KIO::AuthInfo &ai )
#endif
}
-bool POP3Protocol::loginPASS( KIO::AuthInfo &ai )
+bool POP3Protocol::loginPASS( TDEIO::AuthInfo &ai )
{
char buf[512];
@@ -749,7 +749,7 @@ bool POP3Protocol::pop3_open()
return false;
}
- KIO::AuthInfo authInfo;
+ TDEIO::AuthInfo authInfo;
authInfo.username = m_sUser;
authInfo.password = m_sPass;
authInfo.prompt = i18n("Username and password for your POP3 account:");
@@ -1191,7 +1191,7 @@ void POP3Protocol::listDir(const KURL &)
atom.m_long = realGetSize(i + 1);
entry.append(atom);
- atom.m_uds = KIO::UDS_ACCESS;
+ atom.m_uds = TDEIO::UDS_ACCESS;
atom.m_long = S_IRUSR | S_IXUSR | S_IWUSR;
entry.append (atom);
diff --git a/kioslave/pop3/pop3.h b/kioslave/pop3/pop3.h
index 9c6ca9185..60b23c3e8 100644
--- a/kioslave/pop3/pop3.h
+++ b/kioslave/pop3/pop3.h
@@ -39,7 +39,7 @@
#define MAX_PACKET_LEN 4096
-class POP3Protocol:public KIO::TCPSlaveBase {
+class POP3Protocol:public TDEIO::TCPSlaveBase {
public:
POP3Protocol(const TQCString & pool, const TQCString & app, bool SSL);
virtual ~ POP3Protocol();
@@ -107,17 +107,17 @@ protected:
/**
* Authenticate via APOP
*/
- int loginAPOP( char *challenge, KIO::AuthInfo &ai );
+ int loginAPOP( char *challenge, TDEIO::AuthInfo &ai );
- bool saslInteract( void *in, KIO::AuthInfo &ai );
+ bool saslInteract( void *in, TDEIO::AuthInfo &ai );
/**
* Authenticate via SASL
*/
- int loginSASL( KIO::AuthInfo &ai );
+ int loginSASL( TDEIO::AuthInfo &ai );
/**
* Authenticate via traditional USER/PASS
*/
- bool loginPASS( KIO::AuthInfo &ai );
+ bool loginPASS( TDEIO::AuthInfo &ai );
int m_cmd;
unsigned short int m_iOldPort;