Fix remaining instances of tqStatus embedded in user visible strings

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1250385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent fc58305a1a
commit 0a9b7cf52a

@ -644,7 +644,7 @@ void FloppyData::format(){
void FloppyData::formattqStatus(const TQString &s,int p)
{
kdDebug(2002) << "FloppyData::formattqStatus: " << s << " : " << p << endl;
kdDebug(2002) << "FloppyData::formatStatus: " << s << " : " << p << endl;
if (!s.isEmpty())
{
const TQString oldText ( frame->text() );

@ -140,7 +140,7 @@ BatteryConfig::BatteryConfig (TQWidget * parent, const char *name)
TQHBoxLayout *hl = new TQHBoxLayout();
top_layout->addLayout(hl);
TQHGroupBox *hb = new TQHGroupBox(i18n("Current Battery tqStatus"), this);
TQHGroupBox *hb = new TQHGroupBox(i18n("Current Battery Status"), this);
for (int i = 0; i < num_batteries; i++) {
TQWidget *wp;

@ -100,7 +100,7 @@ void KVaioModule::save()
config.writeEntry("Report_Unknown_Events",
mKVaioGeneral->cbReportUnknownEvents->isChecked());
config.writeEntry("PeriodicallyReportPowertqStatus",
config.writeEntry("PeriodicallyReportPowerStatus",
mKVaioGeneral->mCbPowerMsgs->isChecked() );
config.writeEntry("PowerStatusOnBackButton",
mKVaioGeneral->mCbBackButtonMsg->isChecked() );
@ -139,7 +139,7 @@ void KVaioModule::load(bool useDefaults)
mKVaioGeneral->cbReportUnknownEvents->setChecked
(config.readBoolEntry("Report_Unknown_Events", false));
mKVaioGeneral->mCbPowerMsgs->setChecked
(config.readBoolEntry("PeriodicallyReportPowertqStatus", false) );
(config.readBoolEntry("PeriodicallyReportPowerStatus", false) );
mKVaioGeneral->mCbBackButtonMsg->setChecked
(config.readBoolEntry("PowerStatusOnBackButton", true) );

@ -307,14 +307,14 @@ void KVaio::loadConfiguration(KConfig *k)
mReportUnknownEvents =
k->readBoolEntry("Report_Unknown_Events", false);
mReportPowertqStatus =
k->readBoolEntry("PeriodicallyReportPowertqStatus", false);
k->readBoolEntry("PeriodicallyReportPowerStatus", false);
mShowPowerStatusOnBackButton =
k->readBoolEntry("PowerStatusOnBackButton", true);
kdDebug() << "KVaio::loadConfiguration: " << endl
<< " mReportUnknownEvents: "
<< mReportUnknownEvents << endl
<< " mReportPowertqStatus: "
<< " mReportPowerStatus: "
<< mReportPowertqStatus << endl
<< "mShowPowerStatusOnBackButton: "
<< mShowPowerStatusOnBackButton << endl;

@ -181,7 +181,7 @@ bool KVaioDriverInterface::getBatterytqStatus(
bat2Avail = batFlags & SONYPI_BFLAGS_B2;
acConnected = batFlags & SONYPI_BFLAGS_AC;
// kdDebug() << "KVaioDriverInterface::getBatterytqStatus: battery 1: "
// kdDebug() << "KVaioDriverInterface::getBatteryStatus: battery 1: "
// << (bat1Avail ? "available" : "not available") << endl
// << " battery 2: "
// << (bat2Avail ? "available" : "not available") << endl

@ -222,7 +222,7 @@ void ThemesDlg::getNewStuff()
config->writePathEntry("ProvidersUrl",
TQString::tqfromLatin1("http://download.kde.org/khotnewstuff/karamba-providers.xml"));
config->sync();
m_newStufftqStatus = config->entryMap("KNewStufftqStatus").keys();
m_newStufftqStatus = config->entryMap("KNewStuffStatus").keys();
//This check is b/c KNewStuff will download, throw an error,
//and still have the entry in the config that it was successful
configSanityCheck();
@ -302,7 +302,7 @@ void ThemesDlg::writeNewStuffConfig(const TQString &file)
{
#ifdef HAVE_KNEWSTUFF
KConfig* config = KGlobal::config();
TQStringList keys = config->entryMap("KNewStufftqStatus").keys();
TQStringList keys = config->entryMap("KNewStuffStatus").keys();
for(TQStringList::Iterator it = m_newStufftqStatus.begin();
it != m_newStufftqStatus.end(); ++it)
@ -322,7 +322,7 @@ void ThemesDlg::configSanityCheck()
{
#ifdef HAVE_KNEWSTUFF
KConfig* config = KGlobal::config();
TQStringList statusKeys = config->entryMap("KNewStufftqStatus").keys();
TQStringList statusKeys = config->entryMap("KNewStuffStatus").keys();
TQStringList nameKeys = config->entryMap("KNewStuffNames").keys();
TQStringList removeList;
@ -345,7 +345,7 @@ void ThemesDlg::configSanityCheck()
if( removeKey )
{
kdDebug() << "sanityCheck() deleting entry " << keyName << endl;
config->setGroup("KNewStufftqStatus");
config->setGroup("KNewStuffStatus");
config->deleteEntry( keyName );
}
}
@ -486,8 +486,8 @@ void ThemesDlg::uninstall()
kdDebug() << "removing " << tempPath << " under KNewStuffNames from superkarambarc"
<< endl;
kapp->config()->deleteEntry(tempPath);
config->setGroup("KNewStufftqStatus");
kdDebug() << "removing " << name << " under KNewStufftqStatus from superkarambarc"
config->setGroup("KNewStuffStatus");
kdDebug() << "removing " << name << " under KNewStuffStatus from superkarambarc"
<< endl;
kapp->config()->deleteEntry(name);
kapp->config()->sync();
@ -515,7 +515,7 @@ void ThemesDlg::uninstall()
{
kdDebug() << "removing " << theme.path() << " from superkarambarc" << endl;
kapp->config()->deleteEntry(theme.path());
config->setGroup("KNewStufftqStatus");
config->setGroup("KNewStuffStatus");
kdDebug() << "removing " << name << " from superkarambarc" << endl;
kapp->config()->deleteEntry(name);
kapp->config()->sync();

Loading…
Cancel
Save