diff options
Diffstat (limited to 'kpresenter/KPrDuplicateObjDia.cpp')
-rw-r--r-- | kpresenter/KPrDuplicateObjDia.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kpresenter/KPrDuplicateObjDia.cpp b/kpresenter/KPrDuplicateObjDia.cpp index 4b72e1de..3396e438 100644 --- a/kpresenter/KPrDuplicateObjDia.cpp +++ b/kpresenter/KPrDuplicateObjDia.cpp @@ -19,23 +19,23 @@ */ #include <klocale.h> -#include <qvbox.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qbuttongroup.h> +#include <tqvbox.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqbuttongroup.h> #include "KPrDuplicateObjDia.h" #include "KPrPage.h" #include <knuminput.h> -#include <qlineedit.h> +#include <tqlineedit.h> #include <KoUnit.h> #include <knumvalidator.h> #include "KPrDocument.h" #include <kseparator.h> #include <KoUnitWidgets.h> -KPrDuplicatObjDia::KPrDuplicatObjDia( QWidget *parent, KPrDocument * _doc, const char *name) - : KDialogBase( parent, name, true, "", Ok | Cancel, Ok, true ) +KPrDuplicatObjDia::KPrDuplicatObjDia( TQWidget *tqparent, KPrDocument * _doc, const char *name) + : KDialogBase( tqparent, name, true, "", Ok | Cancel, Ok, true ) { m_doc=_doc; KoUnit::Unit unit = m_doc->unit(); @@ -44,28 +44,28 @@ KPrDuplicatObjDia::KPrDuplicatObjDia( QWidget *parent, KPrDocument * _doc, const setCaption( i18n("Duplicate Object") ); - QVBox *page = makeVBoxMainWidget(); - QLabel *lab=new QLabel(i18n("Number of copies:"), page); + TQVBox *page = makeVBoxMainWidget(); + TQLabel *lab=new TQLabel(i18n("Number of copies:"), page); m_nbCopy = new KIntNumInput( 1, page ); m_nbCopy->setRange( 1 , 10, 1); KSeparator *tmp=new KSeparator(page); - lab=new QLabel(i18n("Rotation angle:"), page); + lab=new TQLabel(i18n("Rotation angle:"), page); m_rotation = new KDoubleNumInput( page, "customInput" ); m_rotation->setRange(0.0, 360, 1, false); tmp=new KSeparator(page); - lab=new QLabel(i18n("Increase width:"), page); + lab=new TQLabel(i18n("Increase width:"), page); m_increaseX= new KoUnitDoubleSpinBox( page ); m_increaseX->setMinValue(0.0); m_increaseX->setMaxValue(pageRect.width()); m_increaseX->changeValue( 1 ); m_increaseX->setUnit(unit); - lab=new QLabel(i18n("Increase height:"), page); + lab=new TQLabel(i18n("Increase height:"), page); m_increaseY= new KoUnitDoubleSpinBox( page ); m_increaseY->setMinValue(0.0); m_increaseY->setMaxValue(pageRect.height()); @@ -73,7 +73,7 @@ KPrDuplicatObjDia::KPrDuplicatObjDia( QWidget *parent, KPrDocument * _doc, const m_increaseY->setUnit(unit); tmp=new KSeparator(page); - lab=new QLabel(i18n("Move X:"), page); + lab=new TQLabel(i18n("Move X:"), page); m_moveX= new KoUnitDoubleSpinBox( page ); m_moveX->setMinValue(0.0); m_moveX->setMaxValue(pageRect.width()); @@ -81,7 +81,7 @@ KPrDuplicatObjDia::KPrDuplicatObjDia( QWidget *parent, KPrDocument * _doc, const m_moveX->setUnit(unit); - lab=new QLabel(i18n("Move Y:"), page); + lab=new TQLabel(i18n("Move Y:"), page); m_moveY= new KoUnitDoubleSpinBox( page ); m_moveY->setMinValue(0.0); m_moveY->setMaxValue(pageRect.height()); @@ -103,22 +103,22 @@ double KPrDuplicatObjDia::angle() const double KPrDuplicatObjDia::increaseX() const { - return QMAX(0, m_increaseX->value()); + return TQMAX(0, m_increaseX->value()); } double KPrDuplicatObjDia::increaseY() const { - return QMAX(0, m_increaseY->value()); + return TQMAX(0, m_increaseY->value()); } double KPrDuplicatObjDia::moveX() const { - return QMAX(0, m_moveX->value()); + return TQMAX(0, m_moveX->value()); } double KPrDuplicatObjDia::moveY() const { - return QMAX(0, m_moveY->value()); + return TQMAX(0, m_moveY->value()); } |