Branding cleanup: KDE -> TDE

pull/1/head
Darrell Anderson 12 years ago
parent 7ef6109c34
commit 50d27a5f40

@ -55,11 +55,11 @@ IRKick::IRKick(const TQCString &obj) : TQObject(), DCOPObject(obj), npApp(TQStri
theTrayIcon = new IRKTrayIcon(); theTrayIcon = new IRKTrayIcon();
if(theClient->isConnected()) if(theClient->isConnected())
{ theTrayIcon->setPixmap(SmallIcon("irkick")); { theTrayIcon->setPixmap(SmallIcon("irkick"));
TQToolTip::add(theTrayIcon, i18n("KDE Lirc Server: Ready.")); TQToolTip::add(theTrayIcon, i18n("TDE Lirc Server: Ready."));
} }
else else
{ theTrayIcon->setPixmap(SmallIcon("irkickoff")); { theTrayIcon->setPixmap(SmallIcon("irkickoff"));
TQToolTip::add(theTrayIcon, i18n("KDE Lirc Server: No infra-red remote controls found.")); TQToolTip::add(theTrayIcon, i18n("TDE Lirc Server: No infra-red remote controls found."));
TQTimer::singleShot(10000, this, TQT_SLOT(checkLirc())); TQTimer::singleShot(10000, this, TQT_SLOT(checkLirc()));
} }
theFlashOff = new TQTimer(theTrayIcon); theFlashOff = new TQTimer(theTrayIcon);
@ -115,7 +115,7 @@ void IRKick::doQuit()
{ {
KSimpleConfig theConfig("irkickrc"); KSimpleConfig theConfig("irkickrc");
theConfig.setGroup("General"); theConfig.setGroup("General");
switch(KMessageBox::questionYesNoCancel(0, i18n("Should the Infrared Remote Control server start automatically when you begin KDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start"))) switch(KMessageBox::questionYesNoCancel(0, i18n("Should the Infrared Remote Control server start automatically when you begin TDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start")))
{ case KMessageBox::No: theConfig.writeEntry("AutoStart", false); break; { case KMessageBox::No: theConfig.writeEntry("AutoStart", false); break;
case KMessageBox::Yes: theConfig.writeEntry("AutoStart", true); break; case KMessageBox::Yes: theConfig.writeEntry("AutoStart", true); break;
case KMessageBox::Cancel: return; case KMessageBox::Cancel: return;

@ -63,7 +63,7 @@ KCMLirc::KCMLirc(TQWidget *parent, const char *name, TQStringList /*args*/) : DC
KSimpleConfig theConfig("irkickrc"); KSimpleConfig theConfig("irkickrc");
theConfig.setGroup("General"); theConfig.setGroup("General");
if(theConfig.readBoolEntry("AutoStart", true) == false) if(theConfig.readBoolEntry("AutoStart", true) == false)
if(KMessageBox::questionYesNo(this, i18n("Would you like the infrared remote control software to start automatically when you begin KDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start")) == KMessageBox::Yes) if(KMessageBox::questionYesNo(this, i18n("Would you like the infrared remote control software to start automatically when you begin TDE?"), i18n("Automatically Start?"), i18n("Start Automatically"), i18n("Do Not Start")) == KMessageBox::Yes)
theConfig.writeEntry("AutoStart", true); theConfig.writeEntry("AutoStart", true);
} }

Loading…
Cancel
Save