Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent c688369447
commit bc1a5cb57b

@ -63,7 +63,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
{ {
setBackgroundMode(X11ParentRelative); // what for? setBackgroundMode(X11ParentRelative); // what for?
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
config->setGroup("Kerberos"); config->setGroup("Kerberos");
getNewTGTAct = new KAction(i18n("&Obtain New Ticket Granting Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewTGT()), actionCollection(), "getnewtgt"); getNewTGTAct = new KAction(i18n("&Obtain New Ticket Granting Ticket"), "add_user", 0, TQT_TQOBJECT(this), TQT_SLOT(getNewTGT()), actionCollection(), "getnewtgt");
@ -100,7 +100,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
/* (not currently needed) /* (not currently needed)
void TopLevel::queryExit() void TopLevel::queryExit()
{ {
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
// config->sync(); // config->sync();
} }
*/ */
@ -117,7 +117,7 @@ TopLevel::~TopLevel()
} }
void TopLevel::load() { void TopLevel::load() {
KConfig* config = TDEGlobal::instance()->config(); TDEConfig* config = TDEGlobal::instance()->config();
config->setGroup(NULL); config->setGroup(NULL);
autostart = config->readBoolEntry("Autostart", true); autostart = config->readBoolEntry("Autostart", true);
notifyExpiry = config->readBoolEntry("notifyExpiry", true); notifyExpiry = config->readBoolEntry("notifyExpiry", true);
@ -125,7 +125,7 @@ void TopLevel::load() {
} }
void TopLevel::save() { void TopLevel::save() {
KConfig* config = TDEGlobal::instance()->config(); TDEConfig* config = TDEGlobal::instance()->config();
config->setGroup(NULL); config->setGroup(NULL);
config->writeEntry("Autostart", autostart); config->writeEntry("Autostart", autostart);
config->writeEntry("notifyExpiry", notifyExpiry); config->writeEntry("notifyExpiry", notifyExpiry);

Loading…
Cancel
Save