From ae2f0b5ac8e4d9118868fb66d6494641a9b7e00a Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 31 Aug 2011 04:15:04 +0000 Subject: Fix remaining instances of tqStatus embedded in user visible strings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1250385 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- apps/ktorrent/ktorrent.cpp | 6 +++--- apps/ktorrent/leaktrace.cpp | 2 +- libktorrent/pluginmanagerprefpage.cpp | 2 +- plugins/webinterface/php_interface.cpp | 2 +- plugins/webinterface/www/mobile/interface.php | 2 +- plugins/webinterface/www/mobile/torrent.php | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/ktorrent/ktorrent.cpp b/apps/ktorrent/ktorrent.cpp index 46da5c3..2e9760d 100644 --- a/apps/ktorrent/ktorrent.cpp +++ b/apps/ktorrent/ktorrent.cpp @@ -214,8 +214,8 @@ KTorrent::KTorrent() addToolWidget(m_group_view,"player_playlist",i18n("Groups"),DOCK_LEFT); - setAutoSaveSettings("WindowtqStatus",true); - KGlobal::config()->setGroup("WindowtqStatus"); + setAutoSaveSettings("WindowStatus",true); + KGlobal::config()->setGroup("WindowStatus"); bool hidden_on_exit = KGlobal::config()->readBoolEntry("hidden_on_exit",false); if (Settings::showSystemTrayIcon()) { @@ -598,7 +598,7 @@ bool KTorrent::queryExit() // stop timers to prevent update m_gui_update_timer.stop(); - KGlobal::config()->setGroup("WindowtqStatus"); + KGlobal::config()->setGroup("WindowStatus"); KGlobal::config()->writeEntry("hidden_on_exit",this->isHidden()); KGlobal::config()->writeEntry("menubar_hidden",menuBar()->isHidden()); KGlobal::config()->writeEntry("statusbar_hidden",statusBar()->isHidden()); diff --git a/apps/ktorrent/leaktrace.cpp b/apps/ktorrent/leaktrace.cpp index b6c3304..ae41d3f 100644 --- a/apps/ktorrent/leaktrace.cpp +++ b/apps/ktorrent/leaktrace.cpp @@ -147,7 +147,7 @@ static void RegisterAlloc(void* ptr,Uint32 size) static void DeregisterAlloc(void* ptr) { if (print_status_done) - printf("PrinttqStatus already happened !!!!!!!!!!\n"); + printf("PrintStatus already happened !!!!!!!!!!\n"); Uint32 b = ADDR_HASH(ptr); MemAlloc* p = mtree.buckets[b]; diff --git a/libktorrent/pluginmanagerprefpage.cpp b/libktorrent/pluginmanagerprefpage.cpp index 66b1166..70a8777 100644 --- a/libktorrent/pluginmanagerprefpage.cpp +++ b/libktorrent/pluginmanagerprefpage.cpp @@ -51,7 +51,7 @@ namespace kt { setTitle("

" + p->getGuiName() + "

"); setDescription( - i18n("%1
tqStatus: %2
Author: %3").tqarg(p->getDescription()) + i18n("%1
Status: %2
Author: %3").tqarg(p->getDescription()) .tqarg(p->isLoaded() ? i18n("Loaded") : i18n("Not loaded")) .tqarg(p->getAuthor())); } diff --git a/plugins/webinterface/php_interface.cpp b/plugins/webinterface/php_interface.cpp index fe98c00..9e2a577 100644 --- a/plugins/webinterface/php_interface.cpp +++ b/plugins/webinterface/php_interface.cpp @@ -82,7 +82,7 @@ namespace kt TorrentStats stats; //Priority file_priority; TQString status; - out << "function downloadtqStatus()\n{\nreturn array("; + out << "function downloadStatus()\n{\nreturn array("; TQPtrList::iterator i= core->getQueueManager()->begin(); for(int k=0; i != core->getQueueManager()->end(); i++, k++) diff --git a/plugins/webinterface/www/mobile/interface.php b/plugins/webinterface/www/mobile/interface.php index d2fdea9..3f5e88b 100644 --- a/plugins/webinterface/www/mobile/interface.php +++ b/plugins/webinterface/www/mobile/interface.php @@ -59,7 +59,7 @@ echo "Checking Data"; break; default: - echo "Not supported tqStatus"; + echo "Not supported Status"; } echo "$perc%"; $a=$a+1; diff --git a/plugins/webinterface/www/mobile/torrent.php b/plugins/webinterface/www/mobile/torrent.php index 31d980e..b041d3f 100644 --- a/plugins/webinterface/www/mobile/torrent.php +++ b/plugins/webinterface/www/mobile/torrent.php @@ -31,7 +31,7 @@ "; - echo "tqStatus: "; + echo "Status: "; switch ($t['status']) { case 0: echo "NOT_STARTED"; @@ -67,7 +67,7 @@ echo "CHECKING_DATA"; break; default: - echo "Not supported tqStatus"; + echo "Not supported Status"; } echo ""; echo ""; -- cgit v1.2.1