diff options
Diffstat (limited to 'lib/kformula/MatrixDialog.cc')
-rw-r--r-- | lib/kformula/MatrixDialog.cc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/kformula/MatrixDialog.cc b/lib/kformula/MatrixDialog.cc index 7f8ee9d5..a0536c1d 100644 --- a/lib/kformula/MatrixDialog.cc +++ b/lib/kformula/MatrixDialog.cc @@ -18,11 +18,11 @@ */ #include "MatrixDialog.h" -#include <qpushbutton.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qcheckbox.h> -#include <qlayout.h> +#include <tqpushbutton.h> +#include <tqspinbox.h> +#include <tqlabel.h> +#include <tqcheckbox.h> +#include <tqlayout.h> #include <klocale.h> KFORMULA_NAMESPACE_BEGIN @@ -30,34 +30,34 @@ KFORMULA_NAMESPACE_BEGIN const int DEFAULT_SIZE = 3; const int MAX_SIZE = 200; -MatrixDialog::MatrixDialog( QWidget *parent, int _width, int _height ) - : KDialogBase(parent, "Matrix Dialog", true,i18n("Add Matrix"),Ok|Cancel) +MatrixDialog::MatrixDialog( TQWidget *tqparent, int _width, int _height ) + : KDialogBase(tqparent, "Matrix Dialog", true,i18n("Add Matrix"),Ok|Cancel) { w = _width; h = _height; - QLabel *rows, *columns; - QWidget *page = new QWidget( this ); + TQLabel *rows, *columns; + TQWidget *page = new TQWidget( this ); setMainWidget(page); - QGridLayout *grid = new QGridLayout(page, 4, 2, 10); + TQGridLayout *grid = new TQGridLayout(page, 4, 2, 10); - rows = new QLabel(i18n("Rows:"), page); - columns = new QLabel(i18n("Columns:"), page); + rows = new TQLabel(i18n("Rows:"), page); + columns = new TQLabel(i18n("Columns:"), page); grid->addWidget(rows, 0, 0); grid->addWidget(columns, 0, 1); - QSpinBox *width, *height; + TQSpinBox *width, *height; - height = new QSpinBox(1, MAX_SIZE, 1, page); + height = new TQSpinBox(1, MAX_SIZE, 1, page); grid->addWidget(height, 1, 0); height->setValue(h); - connect(height, SIGNAL(valueChanged(int)), SLOT(setHeight(int))); + connect(height, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(setHeight(int))); - width = new QSpinBox(1, MAX_SIZE, 1, page); + width = new TQSpinBox(1, MAX_SIZE, 1, page); grid->addWidget(width, 1, 1); width->setValue(w); - connect(width, SIGNAL(valueChanged(int)), SLOT(setWidth(int))); + connect(width, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(setWidth(int))); height->setFocus(); } |