summaryrefslogtreecommitdiffstats
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
parent5f444a9ea966b68991cef44d2711378ef9ff406d (diff)
downloadtdeadmin-555ea1c7f342582df2985a7c02e880174877526e.tar.gz
tdeadmin-555ea1c7f342582df2985a7c02e880174877526e.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
-rw-r--r--kcron/ktapp.h2
-rw-r--r--kdat/KDatMainWindow.cpp4
-rw-r--r--kdat/KDatMainWindow.h4
-rw-r--r--kdat/Options.h4
-rw-r--r--knetworkconf/knetworkconf/knetworkconfmodule.cpp6
-rw-r--r--knetworkconf/knetworkconf/knetworkconfmodule.h2
-rw-r--r--knetworkconf/knetworkconf/main.cpp2
-rw-r--r--kpackage/kio.cpp40
-rw-r--r--kpackage/kio.h6
-rw-r--r--kpackage/kpackage.cpp10
-rw-r--r--kpackage/kpackage.h14
-rw-r--r--kpackage/kplview.cpp6
-rw-r--r--kpackage/managementWidget.cpp4
-rw-r--r--kpackage/options.cpp6
-rw-r--r--kpackage/pkgOptions.cpp4
-rw-r--r--kpackage/updateLoc.cpp12
-rw-r--r--ksysv/ksv_conf.h4
-rw-r--r--kuser/editDefaults.cpp20
-rw-r--r--kuser/editDefaults.h10
-rw-r--r--kuser/kgroupldap.cpp26
-rw-r--r--kuser/kgroupldap.h6
-rw-r--r--kuser/kuser.cpp4
-rw-r--r--kuser/kuserldap.cpp26
-rw-r--r--kuser/kuserldap.h6
-rw-r--r--kuser/kuserprefs.kcfgc2
-rw-r--r--lilo-config/kde/kcontrol.cpp4
-rw-r--r--lilo-config/kde/kcontrol.h2
27 files changed, 118 insertions, 118 deletions
diff --git a/kcron/ktapp.h b/kcron/ktapp.h
index ff1cf6c..b4e1d38 100644
--- a/kcron/ktapp.h
+++ b/kcron/ktapp.h
@@ -251,7 +251,7 @@ private:
/**
* Configuration object of the application.
*/
- KConfig* config;
+ TDEConfig* config;
/**
* Main GUI view/working area.
diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp
index 343652a..37d1715 100644
--- a/kdat/KDatMainWindow.cpp
+++ b/kdat/KDatMainWindow.cpp
@@ -1309,14 +1309,14 @@ void KDatMainWindow::configureUI( Tape* tape )
_fileMenu->setItemEnabled( _fileMenu->idAt( 10 ), TapeManager::instance()->getMountedTape() && !TapeDrive::instance()->isReadOnly() );
}
-void KDatMainWindow::readProperties( KConfig* config )
+void KDatMainWindow::readProperties( TDEConfig* config )
{
TQValueList<int> sizes;
sizes << config->readNumEntry( "panner", 50 );
_panner->setSizes( sizes );
}
-void KDatMainWindow::saveProperties( KConfig* config )
+void KDatMainWindow::saveProperties( TDEConfig* config )
{
config->writeEntry( "panner", _panner->sizes().first());
}
diff --git a/kdat/KDatMainWindow.h b/kdat/KDatMainWindow.h
index 9f7d46f..76ae941 100644
--- a/kdat/KDatMainWindow.h
+++ b/kdat/KDatMainWindow.h
@@ -133,8 +133,8 @@ private slots:
// 2002-01-24 LEW
protected:
- virtual void readProperties( KConfig* config );
- virtual void saveProperties( KConfig* config );
+ virtual void readProperties( TDEConfig* config );
+ virtual void saveProperties( TDEConfig* config );
public:
/**
diff --git a/kdat/Options.h b/kdat/Options.h
index 522abd8..7543897 100644
--- a/kdat/Options.h
+++ b/kdat/Options.h
@@ -21,7 +21,7 @@
#include <tqobject.h>
-class KConfig;
+class TDEConfig;
/**
* @short The central repository for user preferences.
@@ -29,7 +29,7 @@ class KConfig;
class Options : public TQObject {
Q_OBJECT
- KConfig* _config;
+ TDEConfig* _config;
int _defaultTapeSize;
int _tapeBlockSize;
TQString _tapeDevice;
diff --git a/knetworkconf/knetworkconf/knetworkconfmodule.cpp b/knetworkconf/knetworkconf/knetworkconfmodule.cpp
index 6fe99f9..2d269e6 100644
--- a/knetworkconf/knetworkconf/knetworkconfmodule.cpp
+++ b/knetworkconf/knetworkconf/knetworkconfmodule.cpp
@@ -24,7 +24,7 @@
KNetworkConfModule::KNetworkConfModule(TQWidget* parent, const char *name/*, TQStringList list*/)
- : KCModule(parent,name)
+ : TDECModule(parent,name)
{
TQVBoxLayout *top = new TQVBoxLayout(this);
@@ -40,7 +40,7 @@ KNetworkConfModule::KNetworkConfModule(TQWidget* parent, const char *name/*, TQS
}
connect(conf,TQT_SIGNAL(networkStateChanged(bool)),TQT_SLOT(configChanged(bool)));
- setButtons(KCModule::Apply|KCModule::Help);
+ setButtons(TDECModule::Apply|TDECModule::Help);
}
KNetworkConfModule::~KNetworkConfModule()
@@ -66,7 +66,7 @@ void KNetworkConfModule::save()
/*
int KNetworkConfModule::buttons()
{
- return KCModule::Ok|KCModule::Apply|KCModule::Help;
+ return TDECModule::Ok|TDECModule::Apply|TDECModule::Help;
}
*/
bool KNetworkConfModule::useRootOnlyMsg() const
diff --git a/knetworkconf/knetworkconf/knetworkconfmodule.h b/knetworkconf/knetworkconf/knetworkconfmodule.h
index c1f9e49..fd245f6 100644
--- a/knetworkconf/knetworkconf/knetworkconfmodule.h
+++ b/knetworkconf/knetworkconf/knetworkconfmodule.h
@@ -22,7 +22,7 @@
#include <kaboutdata.h>
#include <kcmodule.h>
-class KNetworkConfModule : public KCModule
+class KNetworkConfModule : public TDECModule
{
Q_OBJECT
diff --git a/knetworkconf/knetworkconf/main.cpp b/knetworkconf/knetworkconf/main.cpp
index 8af3252..710d977 100644
--- a/knetworkconf/knetworkconf/main.cpp
+++ b/knetworkconf/knetworkconf/main.cpp
@@ -40,7 +40,7 @@ K_EXPORT_COMPONENT_FACTORY( knetworkconfmodule, KDEDFactory( "kcm_knetworkconfmo
extern "C"
{
- KDE_EXPORT KCModule *create_knetworkconfmodule(TQWidget *parent, const char *name)
+ KDE_EXPORT TDECModule *create_knetworkconfmodule(TQWidget *parent, const char *name)
{
TDEGlobal::locale()->insertCatalogue("knetworkconf");
return new KNetworkConfModule(parent, name);
diff --git a/kpackage/kio.cpp b/kpackage/kio.cpp
index f11ed53..89e2100 100644
--- a/kpackage/kio.cpp
+++ b/kpackage/kio.cpp
@@ -34,16 +34,16 @@ Kio::Kio()
bool Kio::download(const KURL & from, const TQString & to)
{
- KIO::Job *iojob = KIO::file_copy(from, to);
- connect( iojob, TQT_SIGNAL( result(KIO::Job*) ),
- TQT_SLOT( slotIOJobFinished( KIO::Job* )));
+ TDEIO::Job *iojob = TDEIO::file_copy(from, to);
+ connect( iojob, TQT_SIGNAL( result(TDEIO::Job*) ),
+ TQT_SLOT( slotIOJobFinished( TDEIO::Job* )));
// missing modal widget hack here.
- // I'd recommend using KIO::NetAccess instead (David).
+ // I'd recommend using TDEIO::NetAccess instead (David).
kapp->enter_loop();
return worked;
}
-void Kio::slotIOJobFinished( KIO::Job * job)
+void Kio::slotIOJobFinished( TDEIO::Job * job)
{
worked = (job->error() == 0);
kapp->exit_loop();
@@ -68,18 +68,18 @@ bool Kiod::listDir(const TQString &url, const TQString &fname, bool subdirs)
if (file->open(IO_WriteOnly)) {
delete fileT;
fileT = new TQTextStream(file);
- KIO::ListJob *job;
+ TDEIO::ListJob *job;
if (!subdirs)
- job = KIO::listDir( url );
+ job = TDEIO::listDir( url );
else
- job = KIO::listRecursive( url, false);
+ job = TDEIO::listRecursive( url, false);
kdDebug() << "started " << job << " " << subdirs << endl;
- TQObject::connect( job, TQT_SIGNAL( entries( KIO::Job*, const KIO::UDSEntryList& ) ),
- TQT_SLOT( slotListEntries( KIO::Job*, const KIO::UDSEntryList& ) ) );
- TQObject::connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotFinished( KIO::Job* ) ) );
+ TQObject::connect( job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
+ TQT_SLOT( slotListEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
+ TQObject::connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotFinished( TDEIO::Job* ) ) );
kapp->enter_loop();
@@ -92,21 +92,21 @@ bool Kiod::listDir(const TQString &url, const TQString &fname, bool subdirs)
return FALSE;
}
-void Kiod::slotListEntries( KIO::Job *, const KIO::UDSEntryList& entries )
+void Kiod::slotListEntries( TDEIO::Job *, const TDEIO::UDSEntryList& entries )
{
long size = 0;
TQString text;
- KIO::UDSEntryList::ConstIterator entryIt = entries.begin();
+ TDEIO::UDSEntryList::ConstIterator entryIt = entries.begin();
for (; entryIt != entries.end(); ++entryIt) {
- //kdDebug() << "listDir " << dynamic_cast<KIO::ListJob*>(job)->url() << endl;
- for (KIO::UDSEntry::ConstIterator it = (*entryIt).begin();
+ //kdDebug() << "listDir " << dynamic_cast<TDEIO::ListJob*>(job)->url() << endl;
+ for (TDEIO::UDSEntry::ConstIterator it = (*entryIt).begin();
it != (*entryIt).end(); it++ )
{
- if ( (*it).m_uds == KIO::UDS_SIZE )
+ if ( (*it).m_uds == TDEIO::UDS_SIZE )
size = (*it).m_long;
- else if ( (*it).m_uds == KIO::UDS_NAME )
+ else if ( (*it).m_uds == TDEIO::UDS_NAME )
text = (*it).m_str;
}
*fileT << text << "\n" << size << "\n";
@@ -114,9 +114,9 @@ void Kiod::slotListEntries( KIO::Job *, const KIO::UDSEntryList& entries )
}
}
-void Kiod::slotFinished( KIO::Job *job )
+void Kiod::slotFinished( TDEIO::Job *job )
{
- //kdDebug() << "finished" << " " << job << " " << dynamic_cast<KIO::ListJob*>(job)->url() << endl;
+ //kdDebug() << "finished" << " " << job << " " << dynamic_cast<TDEIO::ListJob*>(job)->url() << endl;
worked = (job->error() == 0);
kapp->exit_loop();
}
diff --git a/kpackage/kio.h b/kpackage/kio.h
index 3fae21c..6698d67 100644
--- a/kpackage/kio.h
+++ b/kpackage/kio.h
@@ -51,7 +51,7 @@ private:
bool worked;
private slots:
- void slotIOJobFinished( KIO::Job *job );
+ void slotIOJobFinished( TDEIO::Job *job );
};
class Kiod: public TQObject
@@ -71,7 +71,7 @@ private:
bool worked;
private slots:
- void slotListEntries( KIO::Job *, const KIO::UDSEntryList& );
- void slotFinished( KIO::Job *);
+ void slotListEntries( TDEIO::Job *, const TDEIO::UDSEntryList& );
+ void slotFinished( TDEIO::Job *);
};
#endif
diff --git a/kpackage/kpackage.cpp b/kpackage/kpackage.cpp
index 75aeabb..add161e 100644
--- a/kpackage/kpackage.cpp
+++ b/kpackage/kpackage.cpp
@@ -64,7 +64,7 @@
extern Opts *opts;
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-KPKG::KPKG(KConfig *_config)
+KPKG::KPKG(TDEConfig *_config)
: KMainWindow(0)
{
kpackage = new KPACKAGE(_config, this);
@@ -251,7 +251,7 @@ void KPKG::writeSettings(){
kpackage->management->writePSeparator();
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
@@ -279,13 +279,13 @@ void KPKG::clearDCache(){
cacheObj::clearDCache();
}
-void KPKG::saveProperties(KConfig *config )
+void KPKG::saveProperties(TDEConfig *config )
{
config->writePathEntry("Name", kpackage->save_url.url());
}
-void KPKG::readProperties(KConfig *config)
+void KPKG::readProperties(TDEConfig *config)
{
TQString entry = config->readPathEntry("Name"); // no default
if (entry.isNull())
@@ -302,7 +302,7 @@ bool KPKG::queryClose() {
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-KPACKAGE::KPACKAGE(KConfig *_config, TQWidget *parent)
+KPACKAGE::KPACKAGE(TDEConfig *_config, TQWidget *parent)
: TQWidget(parent)
{
diff --git a/kpackage/kpackage.h b/kpackage/kpackage.h
index 5eecc38..18e6e85 100644
--- a/kpackage/kpackage.h
+++ b/kpackage/kpackage.h
@@ -43,7 +43,7 @@
class KFileDialog;
class KProgress;
class TQFrame;
-class KConfig;
+class TDEConfig;
class TQLabel;
class Search;
class FindF;
@@ -67,7 +67,7 @@ class KPACKAGE : public TQWidget
///////////// METHODS ------------------------------------------------------
public:
- KPACKAGE(KConfig *_config, TQWidget *parent);
+ KPACKAGE(TDEConfig *_config, TQWidget *parent);
// Constructor
~KPACKAGE();
@@ -182,7 +182,7 @@ public:
enum { Management, Installation } ;
// Widget modes
- KConfig *config;
+ TDEConfig *config;
// pointer to kconfig object
managementWidget *management;
@@ -237,7 +237,7 @@ class KPKG : public KMainWindow
public:
- KPKG(KConfig *_config);
+ KPKG(TDEConfig *_config);
// Constructor
void add_recent_file(const TQString &newfile);
@@ -246,8 +246,8 @@ public:
void writeSettings();
// write config settings
- void saveProperties(KConfig *config);
- void readProperties(KConfig *config);
+ void saveProperties(TDEConfig *config);
+ void readProperties(TDEConfig *config);
// save and read restart sstate
void disableMenu();
@@ -260,7 +260,7 @@ public:
Options *optiondialog;
// Options dialog
- KConfig *config ;
+ TDEConfig *config ;
// Saved config information
void disableNext();
diff --git a/kpackage/kplview.cpp b/kpackage/kplview.cpp
index f7d25cc..b5ca8f1 100644
--- a/kpackage/kplview.cpp
+++ b/kpackage/kplview.cpp
@@ -525,7 +525,7 @@ void KpTreeList::stackRemove(KpTreeListItem *pack)
////////////////////////////////////////////////////////////////
void KpTreeList::writeTreeType()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
@@ -534,7 +534,7 @@ void KpTreeList::writeTreeType()
void KpTreeList::readTreeType()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
@@ -551,7 +551,7 @@ void KpTreeList::writeTreeConfig()
void KpTreeList::readTreeConfig()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
restoreLayout(config, "Tree");
diff --git a/kpackage/managementWidget.cpp b/kpackage/managementWidget.cpp
index cdd7f45..b50dcee 100644
--- a/kpackage/managementWidget.cpp
+++ b/kpackage/managementWidget.cpp
@@ -218,7 +218,7 @@ void managementWidget::setupWidgets()
////////////////////////////////////////////////////////////////
void managementWidget::writePSeparator()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
@@ -228,7 +228,7 @@ void managementWidget::writePSeparator()
void managementWidget::readPSeparator()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
diff --git a/kpackage/options.cpp b/kpackage/options.cpp
index 8d86470..837c51c 100644
--- a/kpackage/options.cpp
+++ b/kpackage/options.cpp
@@ -389,7 +389,7 @@ Opts::~Opts()
void Opts::readSettings(const TQString &initHost)
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
@@ -428,7 +428,7 @@ void Opts::readSettings(const TQString &initHost)
void Opts::readLaterSettings()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
int i;
@@ -442,7 +442,7 @@ void Opts::readLaterSettings()
void Opts::writeSettings()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
diff --git a/kpackage/pkgOptions.cpp b/kpackage/pkgOptions.cpp
index 67d2a7a..4c68366 100644
--- a/kpackage/pkgOptions.cpp
+++ b/kpackage/pkgOptions.cpp
@@ -322,7 +322,7 @@ void pkgOptions::keepToggle(bool kp)
{
// kdDebug() << "KEEP " << kp << "\n";
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
config->writeEntry("keepIWin", kp);
@@ -332,7 +332,7 @@ void pkgOptions::keepToggle(bool kp)
void pkgOptions::getKeep()
{
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup("Kpackage");
keep = config->readBoolEntry("keepIWin", true);
kdDebug() << "getKEEP " << keep << "\n";
diff --git a/kpackage/updateLoc.cpp b/kpackage/updateLoc.cpp
index c662da8..0cc5d89 100644
--- a/kpackage/updateLoc.cpp
+++ b/kpackage/updateLoc.cpp
@@ -432,7 +432,7 @@ void pdUpdateLoc::applyS(LcacheObj *slist)
{
TQString t,pn,cn,pv,prev,opts;
cacheObj *CObj;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
cn = interface->head;
@@ -466,7 +466,7 @@ void pdUpdateLoc::readSettings()
{
TQString pv, pn;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
@@ -489,7 +489,7 @@ void pdUpdateLoc::writeSettings()
{
TQString pv, pn;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
if (haveBase) {
@@ -577,7 +577,7 @@ cUpdateLoc::~cUpdateLoc()
{
TQString t,pn,cn,pv,prev,opts;
cacheObj *CObj;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
cn = interface->head;
@@ -601,7 +601,7 @@ void cUpdateLoc::readSettings()
{
TQString pv, pn;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
@@ -623,7 +623,7 @@ void cUpdateLoc::writeSettings()
{
TQString pv, pn;
- KConfig *config = kapp->config();
+ TDEConfig *config = kapp->config();
config->setGroup(interName);
diff --git a/ksysv/ksv_conf.h b/ksysv/ksv_conf.h
index a676270..6752cc6 100644
--- a/ksysv/ksv_conf.h
+++ b/ksysv/ksv_conf.h
@@ -23,7 +23,7 @@
#include "ksv_core.h"
-class KConfig;
+class TDEConfig;
class KSVConfig
{
@@ -125,7 +125,7 @@ private:
TQString mRunlevelPath;
bool mShowLog;
bool mConfigured;
- KConfig* mConfig;
+ TDEConfig* mConfig;
int mPanningFactor;
TQColor mNewNormalColor, mNewSelectedColor;
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 = "";
diff --git a/kuser/editDefaults.h b/kuser/editDefaults.h
index 0deea58..954ae80 100644
--- a/kuser/editDefaults.h
+++ b/kuser/editDefaults.h
@@ -29,7 +29,7 @@
class LdapSamba;
namespace KABC { class LdapConfigWidget; }
-namespace KIO { class Job; }
+namespace TDEIO { class Job; }
typedef struct SambaDomain {
TQString name;
@@ -37,11 +37,11 @@ typedef struct SambaDomain {
uint ridbase;
};
-class editDefaults : public KConfigDialog {
+class editDefaults : public TDEConfigDialog {
Q_OBJECT
public:
- editDefaults( KConfigSkeleton *config, TQWidget* parent, const char * name = 0 );
+ editDefaults( TDEConfigSkeleton *config, TQWidget* parent, const char * name = 0 );
private:
KProgressDialog *mProg;
LdapSamba *page3c;
@@ -53,8 +53,8 @@ private:
SambaDomain mDomain;
private slots:
void slotQueryClicked();
- void loadData( KIO::Job*, const TQByteArray& d );
- void loadResult( KIO::Job* job);
+ void loadData( TDEIO::Job*, const TQByteArray& d );
+ void loadResult( TDEIO::Job* job);
};
#endif // _KU_EDITDEFAULTS_H_
diff --git a/kuser/kgroupldap.cpp b/kuser/kgroupldap.cpp
index 2f66b27..80e6cf8 100644
--- a/kuser/kgroupldap.cpp
+++ b/kuser/kgroupldap.cpp
@@ -82,7 +82,7 @@ TQString KGroupLDAP::getRDN( KU::KGroup *group )
}
}
-void KGroupLDAP::result( KIO::Job *job )
+void KGroupLDAP::result( TDEIO::Job *job )
{
delete mProg;
mCancel = false;
@@ -100,7 +100,7 @@ void KGroupLDAP::result( KIO::Job *job )
}
}
-void KGroupLDAP::data( KIO::Job*, const TQByteArray& data )
+void KGroupLDAP::data( TDEIO::Job*, const TQByteArray& data )
{
if ( data.size() ) {
mParser.setLDIF( data );
@@ -169,11 +169,11 @@ bool KGroupLDAP::reload()
mCancel = true;
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* ) ) );
mProg->exec();
if ( mCancel ) job->kill();
@@ -192,16 +192,16 @@ bool KGroupLDAP::dbcommit()
ldif = "";
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 KGroupLDAP::putData( KIO::Job*, TQByteArray& data )
+void KGroupLDAP::putData( TDEIO::Job*, TQByteArray& data )
{
ModIt mit = mMod.begin();
diff --git a/kuser/kgroupldap.h b/kuser/kgroupldap.h
index a9dd21b..acb2ba9 100644
--- a/kuser/kgroupldap.h
+++ b/kuser/kgroupldap.h
@@ -43,9 +43,9 @@ public:
virtual bool dbcommit();
private slots:
- void data( KIO::Job*, const TQByteArray& );
- void putData( KIO::Job *job, TQByteArray& data );
- void result( KIO::Job* );
+ void data( TDEIO::Job*, const TQByteArray& );
+ void putData( TDEIO::Job *job, TQByteArray& data );
+ void result( TDEIO::Job* );
private:
KABC::LDIF mParser;
KABC::LDAPUrl mUrl;
diff --git a/kuser/kuser.cpp b/kuser/kuser.cpp
index fb4ffdc..c903500 100644
--- a/kuser/kuser.cpp
+++ b/kuser/kuser.cpp
@@ -748,9 +748,9 @@ int KU::KUser::removeHome()
if (!stat(TQFile::encodeName(p_dir), &sb))
if (S_ISDIR(sb.st_mode) && sb.st_uid == p_uid) {
- if (!KIO::NetAccess::del(KURL::fromPathOrURL(p_dir))) {
+ if (!TDEIO::NetAccess::del(KURL::fromPathOrURL(p_dir))) {
KMessageBox::error( 0, i18n("Cannot remove home folder %1.\nError: %2")
- .arg(p_dir).arg(KIO::NetAccess::lastErrorString()) );
+ .arg(p_dir).arg(TDEIO::NetAccess::lastErrorString()) );
}
} else {
KMessageBox::error( 0, i18n("Removal of home folder %1 failed (uid = %2, gid = %3).").arg(p_dir).arg(sb.st_uid).arg(sb.st_gid) );
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();
diff --git a/kuser/kuserldap.h b/kuser/kuserldap.h
index 57c97b8..d60227d 100644
--- a/kuser/kuserldap.h
+++ b/kuser/kuserldap.h
@@ -43,9 +43,9 @@ public:
virtual bool dbcommit();
private slots:
- void data( KIO::Job*, const TQByteArray& );
- void putData( KIO::Job *job, TQByteArray& data );
- void result( KIO::Job* );
+ void data( TDEIO::Job*, const TQByteArray& );
+ void putData( TDEIO::Job *job, TQByteArray& data );
+ void result( TDEIO::Job* );
private:
KABC::LDIF mParser;
KABC::LDAPUrl mUrl;
diff --git a/kuser/kuserprefs.kcfgc b/kuser/kuserprefs.kcfgc
index 252d4e1..923cb4d 100644
--- a/kuser/kuserprefs.kcfgc
+++ b/kuser/kuserprefs.kcfgc
@@ -5,7 +5,7 @@ SetUserTexts=true
#
# Singleton=false
#
-# Inherits=KConfigSkeleton
+# Inherits=TDEConfigSkeleton
#
# IncludeFiles=libtdepim/kpimprefs.h
#
diff --git a/lilo-config/kde/kcontrol.cpp b/lilo-config/kde/kcontrol.cpp
index 0c38f47..9b443b1 100644
--- a/lilo-config/kde/kcontrol.cpp
+++ b/lilo-config/kde/kcontrol.cpp
@@ -36,7 +36,7 @@
#include <unistd.h>
KControl::KControl(TQWidget *parent, const char *name)
- : KCModule(parent, name)
+ : TDECModule(parent, name)
{
TQVBoxLayout *layout=new TQVBoxLayout(this);
m=new MainWidget(this, name);
@@ -79,7 +79,7 @@ void KControl::configChanged() // SLOT
extern "C"
{
- KDE_EXPORT KCModule *create_lilo(TQWidget *parent, const char *name)
+ KDE_EXPORT TDECModule *create_lilo(TQWidget *parent, const char *name)
{
return new KControl(parent, "kcmlilo");
}
diff --git a/lilo-config/kde/kcontrol.h b/lilo-config/kde/kcontrol.h
index b9c1073..8d18fa5 100644
--- a/lilo-config/kde/kcontrol.h
+++ b/lilo-config/kde/kcontrol.h
@@ -36,7 +36,7 @@
class TDEAboutData;
-class KControl: public KCModule {
+class KControl: public TDECModule {
Q_OBJECT
public: