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/qalculateprecisiondialog.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/qalculateprecisiondialog.cpp')
-rw-r--r-- | src/qalculateprecisiondialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/qalculateprecisiondialog.cpp b/src/qalculateprecisiondialog.cpp index d1f6741..7aae1d3 100644 --- a/src/qalculateprecisiondialog.cpp +++ b/src/qalculateprecisiondialog.cpp @@ -19,31 +19,31 @@ ***************************************************************************/ #include "qalculateprecisiondialog.h" -#include <qlabel.h> -#include <qspinbox.h> +#include <tqlabel.h> +#include <tqspinbox.h> #include <klocale.h> -#include <qhbox.h> +#include <tqhbox.h> #include <kguiitem.h> -#include <qlayout.h> +#include <tqlayout.h> #include <kpushbutton.h> #include <kdeversion.h> -QalculatePrecisionDialog::QalculatePrecisionDialog(QWidget *parent, const char *name) : KDialogBase(parent, name, false, i18n("Precision"), Apply | Close, Close, true) { +QalculatePrecisionDialog::QalculatePrecisionDialog(TQWidget *parent, const char *name) : KDialogBase(parent, name, false, i18n("Precision"), Apply | Close, Close, true) { #if KDE_VERSION_MAJOR < 4 && KDE_VERSION_MINOR < 2 setButtonApplyText(i18n("Recalculate")); #else setButtonApply(KGuiItem(i18n("Recalculate"))); #endif - setMainWidget(new QWidget(this)); - QHBoxLayout *box = new QHBoxLayout(mainWidget()); + setMainWidget(new TQWidget(this)); + TQHBoxLayout *box = new TQHBoxLayout(mainWidget()); box->setSpacing(spacingHint()); - box->addWidget(new QLabel(i18n("Precision:"), mainWidget())); - precisionBox = new QSpinBox(1, 100000, 1, mainWidget()); - precisionBox->setButtonSymbols(QSpinBox::PlusMinus); + box->addWidget(new TQLabel(i18n("Precision:"), mainWidget())); + precisionBox = new TQSpinBox(1, 100000, 1, mainWidget()); + precisionBox->setButtonSymbols(TQSpinBox::PlusMinus); box->addWidget(precisionBox); - resize(QSize(300, minimumSizeHint().height()).expandedTo(minimumSizeHint())); + resize(TQSize(300, minimumSizeHint().height()).expandedTo(minimumSizeHint())); } |