summaryrefslogtreecommitdiffstats
path: root/kword/KWSplitCellDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWSplitCellDia.cpp')
-rw-r--r--kword/KWSplitCellDia.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kword/KWSplitCellDia.cpp b/kword/KWSplitCellDia.cpp
index 0a29d4385..c753f4df7 100644
--- a/kword/KWSplitCellDia.cpp
+++ b/kword/KWSplitCellDia.cpp
@@ -21,34 +21,34 @@
#include "KWSplitCellDia.moc"
#include "KWTableDia.h"
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qspinbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqspinbox.h>
#include <klocale.h>
-KWSplitCellDia::KWSplitCellDia( QWidget* parent, const char* name, unsigned int columns, unsigned int rows)
- : KDialogBase( Plain, i18n("Split Cell"), Ok | Cancel, Ok, parent, name, true)
+KWSplitCellDia::KWSplitCellDia( TQWidget* tqparent, const char* name, unsigned int columns, unsigned int rows)
+ : KDialogBase( Plain, i18n("Split Cell"), Ok | Cancel, Ok, tqparent, name, true)
{
m_cols = columns;
m_rows = rows;
- setInitialSize( QSize(400, 300) );
+ setInitialSize( TQSize(400, 300) );
- QWidget *page = plainPage();
- QGridLayout *grid = new QGridLayout( page, 4, 2, KDialog::marginHint(), KDialog::spacingHint() );
+ TQWidget *page = plainPage();
+ TQGridLayout *grid = new TQGridLayout( page, 4, 2, KDialog::marginHint(), KDialog::spacingHint() );
- QLabel *lRows = new QLabel( i18n( "Number of rows:" ), page );
+ TQLabel *lRows = new TQLabel( i18n( "Number of rows:" ), page );
grid->addWidget( lRows, 0, 0 );
- nRows = new QSpinBox( 1, 128, 1, page );
+ nRows = new TQSpinBox( 1, 128, 1, page );
nRows->setValue( m_rows );
grid->addWidget( nRows, 1, 0 );
- QLabel *lCols = new QLabel( i18n( "Number of columns:" ), page );
+ TQLabel *lCols = new TQLabel( i18n( "Number of columns:" ), page );
grid->addWidget( lCols, 2, 0 );
- nCols = new QSpinBox( 1, 128, 1, page );
+ nCols = new TQSpinBox( 1, 128, 1, page );
nCols->setValue( m_cols );
grid->addWidget( nCols, 3, 0 );
@@ -78,8 +78,8 @@ KWSplitCellDia::KWSplitCellDia( QWidget* parent, const char* name, unsigned int
grid->activate();
enableButtonOK( !(m_rows==1 && m_cols==1) );
- connect( nRows, SIGNAL( valueChanged( int ) ), this, SLOT( rowsChanged( int ) ) );
- connect( nCols, SIGNAL( valueChanged( int ) ), this, SLOT( colsChanged( int ) ) );
+ connect( nRows, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( rowsChanged( int ) ) );
+ connect( nCols, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( colsChanged( int ) ) );
setFocus();
}