diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /ksirtet/ksirtet/field.cpp | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirtet/ksirtet/field.cpp')
-rw-r--r-- | ksirtet/ksirtet/field.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksirtet/ksirtet/field.cpp b/ksirtet/ksirtet/field.cpp index e3384a9e..46f5c4de 100644 --- a/ksirtet/ksirtet/field.cpp +++ b/ksirtet/ksirtet/field.cpp @@ -1,7 +1,7 @@ #include "field.h" #include "field.moc" -#include <qwhatsthis.h> +#include <tqwhatsthis.h> #include <klocale.h> #include <kgamelcd.h> @@ -11,11 +11,11 @@ #include "piece.h" //----------------------------------------------------------------------------- -KSField::KSField(QWidget *parent) +KSField::KSField(TQWidget *parent) : Field(parent) { const Board *b = static_cast<Board *>(board); - QWhatsThis::add(b->giftPool(), i18n("Indicate the number of garbage lines you received from your opponent.")); + TQWhatsThis::add(b->giftPool(), i18n("Indicate the number of garbage lines you received from your opponent.")); } void KSField::removedUpdated() @@ -41,9 +41,9 @@ void KSField::settingsChanged() static_cast<KSPieceInfo &>(Piece::info()).setOldRotationStyle(b); removedList->clear(); - QWhatsThis::remove(removedList); + TQWhatsThis::remove(removedList); KGameLCD *lcd = new KGameLCD(5, removedList); - QString s = (Prefs::showDetailedRemoved() ? i18n("Total:") : QString::null); + TQString s = (Prefs::showDetailedRemoved() ? i18n("Total:") : TQString::null); removedList->append(s, lcd); lcd->displayInt( board->nbRemoved() ); lcd->show(); @@ -51,7 +51,7 @@ void KSField::settingsChanged() if ( Prefs::showDetailedRemoved() ) { for (uint i=0; i<4; i++) { KGameLCD *lcd = new KGameLCD(5, removedList); - QString s = i18n("1 Line:", "%n Lines:", i+1); + TQString s = i18n("1 Line:", "%n Lines:", i+1); removedList->append(s, lcd); uint nb = static_cast<const KSBoard *>(board)->nbRemovedLines(i); lcd->displayInt(nb); |