summaryrefslogtreecommitdiffstats
path: root/kuser/kuserldap.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:28:32 -0600
commit555ea1c7f342582df2985a7c02e880174877526e (patch)
treeeeab8a68eb4f5b0689daada659450ffadc7f428b /kuser/kuserldap.cpp
parent5f444a9ea966b68991cef44d2711378ef9ff406d (diff)
downloadtdeadmin-555ea1c7f342582df2985a7c02e880174877526e.tar.gz
tdeadmin-555ea1c7f342582df2985a7c02e880174877526e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kuser/kuserldap.cpp')
-rw-r--r--kuser/kuserldap.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kuser/kuserldap.cpp b/kuser/kuserldap.cpp
index 74ee465..de3aa9d 100644
--- a/kuser/kuserldap.cpp
+++ b/kuser/kuserldap.cpp
@@ -76,7 +76,7 @@ KUserLDAP::~KUserLDAP()
mUsers.clear();
}
-void KUserLDAP::result( KIO::Job *job )
+void KUserLDAP::result( TDEIO::Job *job )
{
delete mProg;
mCancel = false;
@@ -94,7 +94,7 @@ void KUserLDAP::result( KIO::Job *job )
}
}
-void KUserLDAP::data( KIO::Job *, const TQByteArray& data )
+void KUserLDAP::data( TDEIO::Job *, const TQByteArray& data )
{
if ( data.size() ) {
mParser.setLDIF( data );
@@ -247,11 +247,11 @@ bool KUserLDAP::reload()
mAdv = 1;
ldif = "";
- KIO::Job *job = KIO::get( mUrl, true, false );
- connect( job, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ),
- this, TQT_SLOT( data( KIO::Job*, const TQByteArray& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job* ) ),
- this, TQT_SLOT( result( KIO::Job* ) ) );
+ TDEIO::Job *job = TDEIO::get( mUrl, true, false );
+ connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ),
+ this, TQT_SLOT( data( TDEIO::Job*, const TQByteArray& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQT_SLOT( result( TDEIO::Job* ) ) );
// job->addMetaData( "SERVER_CTRL0", "1.2.840.113556.1.4.473 true: uidNumber");
mProg->exec();
if ( mCancel ) job->kill();
@@ -609,16 +609,16 @@ bool KUserLDAP::dbcommit()
mAddUser = 0; mDelUser = 0; mUser = 0;
mProg = new KProgressDialog( 0, "", i18n("LDAP Operation"), "", true );
- KIO::Job *job = KIO::put( mUrl, -1, false, false, false );
- connect( job, TQT_SIGNAL( dataReq( KIO::Job*, TQByteArray& ) ),
- this, TQT_SLOT( putData( KIO::Job*, TQByteArray& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job* ) ),
- this, TQT_SLOT( result( KIO::Job* ) ) );
+ TDEIO::Job *job = TDEIO::put( mUrl, -1, false, false, false );
+ connect( job, TQT_SIGNAL( dataReq( TDEIO::Job*, TQByteArray& ) ),
+ this, TQT_SLOT( putData( TDEIO::Job*, TQByteArray& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQT_SLOT( result( TDEIO::Job* ) ) );
mProg->exec();
return( mOk );
}
-void KUserLDAP::putData( KIO::Job *, TQByteArray& data )
+void KUserLDAP::putData( TDEIO::Job *, TQByteArray& data )
{
ModIt mit = mMod.begin();