Fix inadvertent "TQ" changes.

pull/1/head
Darrell Anderson 13 years ago
parent 4281ba8626
commit 445a515241

@ -17,8 +17,8 @@
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#ifndef KTQUEUEDDOWNLOADSGROUP_H #ifndef KQUEUEDDOWNLOADSGROUP_H
#define KTQUEUEDDOWNLOADSGROUP_H #define KQUEUEDDOWNLOADSGROUP_H
#include <group.h> #include <group.h>

@ -17,8 +17,8 @@
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#ifndef KTQUEUEDUPLOADSGROUP_H #ifndef KQUEUEDUPLOADSGROUP_H
#define KTQUEUEDUPLOADSGROUP_H #define KQUEUEDUPLOADSGROUP_H
#include <group.h> #include <group.h>

@ -72,7 +72,7 @@ static TQColor StatusToColor(TorrentStatus s,const TQColorGroup & cg)
return TQt::red; return TQt::red;
case kt::NOT_STARTED : case kt::NOT_STARTED :
case kt::STOPPED: case kt::STOPPED:
case kt::TQUEUED: case kt::QUEUED:
case kt::DOWNLOAD_COMPLETE : case kt::DOWNLOAD_COMPLETE :
case kt::SEEDING_COMPLETE : case kt::SEEDING_COMPLETE :
default: default:

@ -17,8 +17,8 @@
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#ifndef TQUEUEDIALOG_H #ifndef QUEUEDIALOG_H
#define TQUEUEDIALOG_H #define QUEUEDIALOG_H
#include "queuedlg.h" #include "queuedlg.h"
#include <interfaces/torrentinterface.h> #include <interfaces/torrentinterface.h>

@ -55,7 +55,7 @@ namespace kt
STOPPED, STOPPED,
ALLOCATING_DISKSPACE, ALLOCATING_DISKSPACE,
ERROR, ERROR,
TQUEUED, QUEUED,
CHECKING_DATA, CHECKING_DATA,
NO_SPACE_LEFT NO_SPACE_LEFT
}; };

@ -18,8 +18,8 @@
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/ ***************************************************************************/
#ifndef TQUEUEMANAGER_H #ifndef QUEUEMANAGER_H
#define TQUEUEMANAGER_H #define QUEUEMANAGER_H
#include <set> #include <set>
#include <tqobject.h> #include <tqobject.h>

@ -932,7 +932,7 @@ namespace bt
else if (!stats.started) else if (!stats.started)
stats.status = kt::NOT_STARTED; stats.status = kt::NOT_STARTED;
else if(!stats.running && !stats.user_controlled) else if(!stats.running && !stats.user_controlled)
stats.status = kt::TQUEUED; stats.status = kt::QUEUED;
else if (!stats.running && stats.completed && (overMaxRatio() || overMaxSeedTime())) else if (!stats.running && stats.completed && (overMaxRatio() || overMaxSeedTime()))
stats.status = kt::SEEDING_COMPLETE; stats.status = kt::SEEDING_COMPLETE;
else if (!stats.running && stats.completed) else if (!stats.running && stats.completed)
@ -1301,7 +1301,7 @@ namespace bt
istats.priority = p; istats.priority = p;
stats.user_controlled = p == 0 ? true : false; stats.user_controlled = p == 0 ? true : false;
if(p) if(p)
stats.status = kt::TQUEUED; stats.status = kt::QUEUED;
else else
updateStatusMsg(); updateStatusMsg();
@ -1378,7 +1378,7 @@ namespace bt
return i18n("Error: ") + getShortErrorMessage(); return i18n("Error: ") + getShortErrorMessage();
case kt::ALLOCATING_DISKSPACE: case kt::ALLOCATING_DISKSPACE:
return i18n("Allocating diskspace"); return i18n("Allocating diskspace");
case kt::TQUEUED: case kt::QUEUED:
return i18n("Queued"); return i18n("Queued");
case kt::CHECKING_DATA: case kt::CHECKING_DATA:
return i18n("Checking data"); return i18n("Checking data");

Loading…
Cancel
Save