summaryrefslogtreecommitdiffstats
path: root/kuser/editDefaults.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/editDefaults.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/editDefaults.cpp')
-rw-r--r--kuser/editDefaults.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kuser/editDefaults.cpp b/kuser/editDefaults.cpp
index 75ca1e7..5b4b7c8 100644
--- a/kuser/editDefaults.cpp
+++ b/kuser/editDefaults.cpp
@@ -37,8 +37,8 @@
#include "passwordpolicy.h"
#include "misc.h"
-editDefaults::editDefaults( KConfigSkeleton *config, TQWidget *parent, const char *name ) :
- KConfigDialog( parent, name, config, IconList,
+editDefaults::editDefaults( TDEConfigSkeleton *config, TQWidget *parent, const char *name ) :
+ TDEConfigDialog( parent, name, config, IconList,
Default|Ok|Apply|Cancel|Help, Ok, true )
{
KTabWidget *page1 = new KTabWidget( this );
@@ -105,12 +105,12 @@ void editDefaults::slotQueryClicked()
kdDebug() << "sendQuery url: " << _url.prettyURL() << endl;
mLdif.startParsing();
- KIO::Job *job = KIO::get( _url, true, false );
+ TDEIO::Job *job = TDEIO::get( _url, true, false );
// job->addMetaData("no-auth-prompt","true");
- connect( job, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ),
- this, TQT_SLOT( loadData( KIO::Job*, const TQByteArray& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job* ) ),
- this, TQT_SLOT( loadResult( KIO::Job* ) ) );
+ connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ),
+ this, TQT_SLOT( loadData( TDEIO::Job*, const TQByteArray& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQT_SLOT( loadResult( TDEIO::Job* ) ) );
mProg = new KProgressDialog( this, 0, i18n("LDAP Query"), _url.prettyURL(), true );
mProg->progressBar()->setValue( 0 );
@@ -135,7 +135,7 @@ void editDefaults::slotQueryClicked()
kdDebug() << "domQueryx" << endl;
}
-void editDefaults::loadData( KIO::Job*, const TQByteArray& d )
+void editDefaults::loadData( TDEIO::Job*, const TQByteArray& d )
{
KABC::LDIF::ParseVal ret;
@@ -168,10 +168,10 @@ void editDefaults::loadData( KIO::Job*, const TQByteArray& d )
} while ( ret != KABC::LDIF::MoreData );
}
-void editDefaults::loadResult( KIO::Job* job)
+void editDefaults::loadResult( TDEIO::Job* job)
{
int error = job->error();
- if ( error && error != KIO::ERR_USER_CANCELED )
+ if ( error && error != TDEIO::ERR_USER_CANCELED )
mErrorMsg = job->errorString();
else
mErrorMsg = "";