Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

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

@ -76,7 +76,7 @@ TopLevel::TopLevel() : KSystemTray(), ticketWatch(0), m_refreshTimer(0), notifyE
menu = new TQPopupMenu();
connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuAction(int)));
KHelpMenu* help = new KHelpMenu(this, KGlobal::instance()->aboutData(), false);
KHelpMenu* help = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false);
KPopupMenu* helpMnu = help->menu();
menu->insertSeparator();
@ -117,7 +117,7 @@ TopLevel::~TopLevel()
}
void TopLevel::load() {
KConfig* config = KGlobal::instance()->config();
KConfig* 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 = KGlobal::instance()->config();
KConfig* config = TDEGlobal::instance()->config();
config->setGroup(NULL);
config->writeEntry("Autostart", autostart);
config->writeEntry("notifyExpiry", notifyExpiry);

Loading…
Cancel
Save