diff options
Diffstat (limited to 'libksirtet/base/settings.cpp')
-rw-r--r-- | libksirtet/base/settings.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/libksirtet/base/settings.cpp b/libksirtet/base/settings.cpp index 1ea3b16a..a695d746 100644 --- a/libksirtet/base/settings.cpp +++ b/libksirtet/base/settings.cpp @@ -1,11 +1,11 @@ #include "settings.h" #include "settings.moc" -#include <qlabel.h> -#include <qhbox.h> -#include <qlayout.h> -#include <qcheckbox.h> -#include <qhgroupbox.h> +#include <tqlabel.h> +#include <tqhbox.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqhgroupbox.h> #include <klocale.h> #include <knuminput.h> @@ -19,35 +19,35 @@ //----------------------------------------------------------------------------- BaseAppearanceConfig::BaseAppearanceConfig() - : QWidget(0, "appearance_config") + : TQWidget(0, "appearance_config") { - QVBoxLayout *top = new QVBoxLayout(this); + TQVBoxLayout *top = new TQVBoxLayout(this); // upper part - _main = new QWidget(this); + _main = new TQWidget(this); top->addWidget(_main); - _grid = new QGridLayout(_main, 3, 2, 0, KDialog::spacingHint()); + _grid = new TQGridLayout(_main, 3, 2, 0, KDialog::spacingHint()); _grid->setColStretch(1, 1); - QCheckBox *chb = - new QCheckBox(i18n("Enable animations"), _main, "kcfg_AnimationsEnabled"); + TQCheckBox *chb = + new TQCheckBox(i18n("Enable animations"), _main, "kcfg_AnimationsEnabled"); _grid->addMultiCellWidget(chb, 2, 2, 0, 1); top->addSpacing(KDialog::spacingHint()); // lower part - QHGroupBox *gbox = new QHGroupBox(i18n("Background"), this); + TQHGroupBox *gbox = new TQHGroupBox(i18n("Background"), this); top->addWidget(gbox); - QWidget *widget = new QWidget(gbox); - QGridLayout *grid = - new QGridLayout(widget, 2, 3, 0, KDialog::spacingHint()); + TQWidget *widget = new TQWidget(gbox); + TQGridLayout *grid = + new TQGridLayout(widget, 2, 3, 0, KDialog::spacingHint()); grid->setColStretch(2, 1); - QLabel *label = new QLabel(i18n("Color:"), widget); + TQLabel *label = new TQLabel(i18n("Color:"), widget); grid->addWidget(label, 0, 0); KColorButton *cob = new KColorButton(widget, "kcfg_FadeColor"); cob->setFixedWidth(100); grid->addWidget(cob, 0, 1); - label = new QLabel(i18n("Opacity:"), widget); + label = new TQLabel(i18n("Opacity:"), widget); grid->addWidget(label, 1, 0); KDoubleNumInput *dn = new KDoubleNumInput(widget, "kcfg_FadeIntensity"); dn->setRange(0.0, 1.0, 0.01); @@ -58,15 +58,15 @@ BaseAppearanceConfig::BaseAppearanceConfig() //----------------------------------------------------------------------------- ColorConfig::ColorConfig() - : QWidget(0, "color_config") + : TQWidget(0, "color_config") { const GPieceInfo &info = Piece::info(); - QVBoxLayout *top = new QVBoxLayout(this); + TQVBoxLayout *top = new TQVBoxLayout(this); uint nb = info.nbColors(); - QGridLayout *grid = new QGridLayout(top, nb+1, 3, KDialog::spacingHint()); + TQGridLayout *grid = new TQGridLayout(top, nb+1, 3, KDialog::spacingHint()); grid->setColStretch(2, 1); for (uint i=0; i<nb; i++) { - QLabel *label = new QLabel(info.colorLabel(i), this); + TQLabel *label = new TQLabel(info.colorLabel(i), this); grid->addWidget(label, i, 0); KColorButton *cob = new KColorButton(this, colorKey(i)); cob->setFixedWidth(100); @@ -75,9 +75,9 @@ ColorConfig::ColorConfig() grid->setRowStretch(nb, 1); } -QCString ColorConfig::colorKey(uint i) +TQCString ColorConfig::colorKey(uint i) { - QCString s; + TQCString s; s.setNum(i); return "kcfg_Color" + s; } |