diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:07:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:07:31 -0600 |
commit | bc1a5cb57b39003a80eab65009e3e20be1cfd817 (patch) | |
tree | 931bc72196946e38bf66ec972341d059479b2bca /src/toplevel.cpp | |
parent | c688369447b544335c61ffdec4b1c1156b0a0158 (diff) | |
download | kerberostray-bc1a5cb57b39003a80eab65009e3e20be1cfd817.tar.gz kerberostray-bc1a5cb57b39003a80eab65009e3e20be1cfd817.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/toplevel.cpp')
-rw-r--r-- | src/toplevel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |