summaryrefslogtreecommitdiffstats
path: root/kpat/gamestatsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/gamestatsimpl.cpp')
-rw-r--r--kpat/gamestatsimpl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpat/gamestatsimpl.cpp b/kpat/gamestatsimpl.cpp
index a3a67a43..11b95fee 100644
--- a/kpat/gamestatsimpl.cpp
+++ b/kpat/gamestatsimpl.cpp
@@ -2,18 +2,18 @@
#include "dealer.h"
#include "version.h"
-#include <qcombobox.h>
-#include <qlabel.h>
+#include <tqcombobox.h>
+#include <tqlabel.h>
#include <kapplication.h>
#include <kconfig.h>
#include <klocale.h>
-GameStatsImpl::GameStatsImpl(QWidget* aParent, const char* aname)
+GameStatsImpl::GameStatsImpl(TQWidget* aParent, const char* aname)
: GameStats(aParent, aname)
{
- QStringList list;
- QValueList<DealerInfo*>::ConstIterator it;
+ TQStringList list;
+ TQValueList<DealerInfo*>::ConstIterator it;
for (it = DealerInfoList::self()->games().begin();
it != DealerInfoList::self()->games().end(); ++it)
{
@@ -42,16 +42,16 @@ void GameStatsImpl::setGameType(int id)
languageChange();
KConfig *config = kapp->config();
KConfigGroupSaver kcs(config, scores_group);
- unsigned int t = config->readUnsignedNumEntry(QString("total%1").arg(id),0);
+ unsigned int t = config->readUnsignedNumEntry(TQString("total%1").arg(id),0);
Played->setText(Played->text().arg(t));
- unsigned int w = config->readUnsignedNumEntry(QString("won%1").arg(id),0);
+ unsigned int w = config->readUnsignedNumEntry(TQString("won%1").arg(id),0);
Won->setText(Won->text().arg(w));
if (t)
WonPerc->setText(WonPerc->text().arg(w*100/t));
else
WonPerc->setText(WonPerc->text().arg(0));
WinStreak->setText(
- WinStreak->text().arg(config->readUnsignedNumEntry(QString("maxwinstreak%1").arg(id),0)));
+ WinStreak->text().arg(config->readUnsignedNumEntry(TQString("maxwinstreak%1").arg(id),0)));
LooseStreak->setText(
- LooseStreak->text().arg(config->readUnsignedNumEntry(QString("maxloosestreak%1").arg(id),0)));
+ LooseStreak->text().arg(config->readUnsignedNumEntry(TQString("maxloosestreak%1").arg(id),0)));
}