From bc1a5cb57b39003a80eab65009e3e20be1cfd817 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:07:31 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/toplevel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/toplevel.cpp') diff --git a/src/toplevel.cpp b/src/toplevel.cpp index 807c43b..6344c94 100644 --- a/src/toplevel.cpp +++ b/src/toplevel.cpp @@ -63,7 +63,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE { setBackgroundMode(X11ParentRelative); // what for? - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Kerberos"); 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) void TopLevel::queryExit() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); // config->sync(); } */ @@ -117,7 +117,7 @@ TopLevel::~TopLevel() } void TopLevel::load() { - KConfig* config = TDEGlobal::instance()->config(); + TDEConfig* config = TDEGlobal::instance()->config(); config->setGroup(NULL); autostart = config->readBoolEntry("Autostart", true); notifyExpiry = config->readBoolEntry("notifyExpiry", true); @@ -125,7 +125,7 @@ void TopLevel::load() { } void TopLevel::save() { - KConfig* config = TDEGlobal::instance()->config(); + TDEConfig* config = TDEGlobal::instance()->config(); config->setGroup(NULL); config->writeEntry("Autostart", autostart); config->writeEntry("notifyExpiry", notifyExpiry); -- cgit v1.2.1