summaryrefslogtreecommitdiffstats
path: root/kuser/editDefaults.cpp
diff options
context:
space:
mode:
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 = "";