summaryrefslogtreecommitdiffstats
path: root/src/qalculatedecimalsdialog.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 20:52:09 +0200
commit91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch)
treec842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculatedecimalsdialog.cpp
parent4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff)
downloadqalculate-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.cpp24
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()));
}