Fix remaining instances of tqStatus embedded in user visible strings

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

@ -130,7 +130,7 @@ bool Manager::removeTemplate(const TQString& name_) {
// remove config entries even if unsuccessful
fileGroup.deleteEntry(name_);
KConfigGroup statusGroup(KGlobal::config(), "KNewStufftqStatus");
KConfigGroup statusGroup(KGlobal::config(), "KNewStuffStatus");
TQString entryName = statusGroup.readEntry(name_);
statusGroup.deleteEntry(name_);
statusGroup.deleteEntry(entryName);
@ -244,7 +244,7 @@ bool Manager::removeScript(const TQString& name_) {
// remove config entries even if unsuccessful
fileGroup.deleteEntry(name_);
KConfigGroup statusGroup(KGlobal::config(), "KNewStufftqStatus");
KConfigGroup statusGroup(KGlobal::config(), "KNewStuffStatus");
TQString entryName = statusGroup.readEntry(name_);
statusGroup.deleteEntry(name_);
statusGroup.deleteEntry(entryName);
@ -253,7 +253,7 @@ bool Manager::removeScript(const TQString& name_) {
}
Tellico::NewStuff::InstalltqStatus Manager::installtqStatus(KNS::Entry* entry_) {
KConfigGroup config(KGlobal::config(), "KNewStufftqStatus");
KConfigGroup config(KGlobal::config(), "KNewStuffStatus");
TQString datestring = config.readEntry(entry_->name());
if(datestring.isEmpty()) {
return NotInstalled;
@ -394,7 +394,7 @@ void Manager::slotInstallFinished() {
if(newScript && newScript->successfulInstall()) {
const TQString name = m_urlNameMap[newScript->url()];
KNS::Entry* entry = m_scriptEntryMap[newScript];
KConfigGroup config(KGlobal::config(), "KNewStufftqStatus");
KConfigGroup config(KGlobal::config(), "KNewStuffStatus");
// have to keep a config entry that maps the name of the file to the name
// of the newstuff entry, so we can track which entries are installed
// name and entry-name() are probably the same for scripts, but not a problem

Loading…
Cancel
Save