diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
commit | 91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch) | |
tree | c842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculatedecimalsdialog.cpp | |
parent | 4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff) | |
download | qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.tar.gz qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculatedecimalsdialog.cpp')
-rw-r--r-- | src/qalculatedecimalsdialog.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/qalculatedecimalsdialog.cpp b/src/qalculatedecimalsdialog.cpp index 2039b93..8e5ba98 100644 --- a/src/qalculatedecimalsdialog.cpp +++ b/src/qalculatedecimalsdialog.cpp @@ -19,32 +19,32 @@ ***************************************************************************/ #include "qalculatedecimalsdialog.h" -#include <qlabel.h> -#include <qspinbox.h> +#include <tqlabel.h> +#include <tqspinbox.h> #include <klocale.h> -#include <qgrid.h> +#include <tqgrid.h> -QalculateDecimalsDialog::QalculateDecimalsDialog(QWidget *parent, const char *name) : KDialogBase(parent, name, false, i18n("Decimals"), Close, Close, true) { +QalculateDecimalsDialog::QalculateDecimalsDialog(TQWidget *parent, const char *name) : KDialogBase(parent, name, false, i18n("Decimals"), Close, Close, true) { - QGrid *grid = makeGridMainWidget(2, Qt::Horizontal); + TQGrid *grid = makeGridMainWidget(2, TQt::Horizontal); - new QLabel(i18n("Max decimals:"), grid); + new TQLabel(i18n("Max decimals:"), grid); - maxDecimalsBox = new QSpinBox(grid); - maxDecimalsBox->setButtonSymbols(QSpinBox::PlusMinus); + maxDecimalsBox = new TQSpinBox(grid); + maxDecimalsBox->setButtonSymbols(TQSpinBox::PlusMinus); maxDecimalsBox->setMinValue(-1); maxDecimalsBox->setValue(-1); maxDecimalsBox->setSpecialValueText(i18n( "Off" )); - new QLabel(i18n("Min decimals:"), grid); + new TQLabel(i18n("Min decimals:"), grid); - minDecimalsBox = new QSpinBox(grid); - minDecimalsBox->setButtonSymbols(QSpinBox::PlusMinus); + minDecimalsBox = new TQSpinBox(grid); + minDecimalsBox->setButtonSymbols(TQSpinBox::PlusMinus); minDecimalsBox->setMinValue(0); minDecimalsBox->setValue(0); minDecimalsBox->setSpecialValueText(i18n( "Off" )); - resize(QSize(300, minimumSizeHint().height()).expandedTo(minimumSizeHint())); + resize(TQSize(300, minimumSizeHint().height()).expandedTo(minimumSizeHint())); } |