summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/settings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /libksirtet/common/settings.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-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 'libksirtet/common/settings.cpp')
-rw-r--r--libksirtet/common/settings.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libksirtet/common/settings.cpp b/libksirtet/common/settings.cpp
index 902d1e56..058de034 100644
--- a/libksirtet/common/settings.cpp
+++ b/libksirtet/common/settings.cpp
@@ -1,10 +1,10 @@
#include "settings.h"
#include "settings.moc"
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qwhatsthis.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqwhatsthis.h>
#include <klocale.h>
#include <knuminput.h>
@@ -18,26 +18,26 @@ AppearanceConfig::AppearanceConfig()
int row = _grid->numRows();
int col = _grid->numCols();
- QCheckBox *cb = new QCheckBox(i18n("Show piece's shadow"), _main, "kcfg_ShowPieceShadow");
+ TQCheckBox *cb = new TQCheckBox(i18n("Show piece's shadow"), _main, "kcfg_ShowPieceShadow");
_grid->addMultiCellWidget(cb, row, row, 0, col-1);
- cb = new QCheckBox(i18n("Show next piece"), _main, "kcfg_ShowNextPiece");
+ cb = new TQCheckBox(i18n("Show next piece"), _main, "kcfg_ShowNextPiece");
_grid->addMultiCellWidget(cb, row+1, row+1, 0, col-1);
- cb = new QCheckBox(i18n("Show detailed \"removed lines\" field"), _main, "kcfg_ShowDetailedRemoved");
+ cb = new TQCheckBox(i18n("Show detailed \"removed lines\" field"), _main, "kcfg_ShowDetailedRemoved");
_grid->addMultiCellWidget(cb, row+2, row+2, 0, col-1);
}
//-----------------------------------------------------------------------------
GameConfig::GameConfig()
- : QWidget(0, "game config")
+ : TQWidget(0, "game config")
{
- QVBoxLayout *top = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQVBoxLayout *top = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- _grid = new QGridLayout(top, 3, 2);
+ _grid = new TQGridLayout(top, 3, 2);
_grid->setColStretch(1, 1);
- QLabel *label = new QLabel(i18n("Initial level:"), this);
+ TQLabel *label = new TQLabel(i18n("Initial level:"), this);
_grid->addWidget(label, 0, 0);
KIntNumInput *in = new KIntNumInput(this, "kcfg_InitialGameLevel");
in->setRange(1, 20, 1, true);
@@ -45,8 +45,8 @@ GameConfig::GameConfig()
_grid->addRowSpacing(1, KDialog::spacingHint());
- QCheckBox *cb = new QCheckBox(i18n("Direct drop down"), this, "kcfg_DirectDropDownEnabled");
- QWhatsThis::add(cb, i18n("Drop down is not stopped when drop down key is released."));
+ TQCheckBox *cb = new TQCheckBox(i18n("Direct drop down"), this, "kcfg_DirectDropDownEnabled");
+ TQWhatsThis::add(cb, i18n("Drop down is not stopped when drop down key is released."));
_grid->addMultiCellWidget(cb, 2, 2, 0, 1);
top->addStretch(1);