summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_resize2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_resize2.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_resize2.cc44
1 files changed, 22 insertions, 22 deletions
diff --git a/kspread/dialogs/kspread_dlg_resize2.cc b/kspread/dialogs/kspread_dlg_resize2.cc
index 43e9cd4d..d287ee4f 100644
--- a/kspread/dialogs/kspread_dlg_resize2.cc
+++ b/kspread/dialogs/kspread_dlg_resize2.cc
@@ -25,8 +25,8 @@
#include <float.h>
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <knuminput.h>
@@ -47,22 +47,22 @@
using namespace KSpread;
-ResizeRow::ResizeRow( View* parent, const char* name )
- : KDialogBase( parent, name, true, i18n("Resize Row"), Ok|Cancel|Default )
+ResizeRow::ResizeRow( View* tqparent, const char* name )
+ : KDialogBase( tqparent, name, true, i18n("Resize Row"), Ok|Cancel|Default )
{
- m_pView = parent;
+ m_pView = tqparent;
- QWidget *page = new QWidget( this );
+ TQWidget *page = new TQWidget( this );
setMainWidget( page );
- QVBoxLayout *vLay = new QVBoxLayout( page, 0, spacingHint() );
- QHBoxLayout *hLay = new QHBoxLayout( vLay );
+ TQVBoxLayout *vLay = new TQVBoxLayout( page, 0, spacingHint() );
+ TQHBoxLayout *hLay = new TQHBoxLayout( vLay );
- QRect selection( m_pView->selectionInfo()->selection() );
+ TQRect selection( m_pView->selectionInfo()->selection() );
RowFormat* rl = m_pView->activeSheet()->rowFormat( selection.top() );
rowHeight = rl->dblHeight();
- QLabel * label1 = new QLabel( page, "label1" );
+ TQLabel * label1 = new TQLabel( page, "label1" );
label1->setText( i18n( "Height:" ) );
hLay->addWidget( label1 );
@@ -72,11 +72,11 @@ ResizeRow::ResizeRow( View* parent, const char* name )
hLay->addWidget( m_pHeight );
- QWidget *hSpacer = new QWidget( page );
+ TQWidget *hSpacer = new TQWidget( page );
hSpacer->setMinimumSize( spacingHint(), spacingHint() );
hLay->addWidget( hSpacer );
- QWidget *vSpacer = new QWidget( page );
+ TQWidget *vSpacer = new TQWidget( page );
vSpacer->setMinimumSize( spacingHint(), spacingHint() );
vLay->addWidget( vSpacer );
@@ -113,22 +113,22 @@ void ResizeRow::slotDefault()
m_pHeight->setValue(KoUnit::toUserValue(points, m_pView->doc()->unit()));
}
-ResizeColumn::ResizeColumn( View* parent, const char* name )
- : KDialogBase( parent, name, true, i18n("Resize Column"), Ok|Cancel|Default )
+ResizeColumn::ResizeColumn( View* tqparent, const char* name )
+ : KDialogBase( tqparent, name, true, i18n("Resize Column"), Ok|Cancel|Default )
{
- m_pView = parent;
+ m_pView = tqparent;
- QWidget *page = new QWidget( this );
+ TQWidget *page = new TQWidget( this );
setMainWidget(page);
- QVBoxLayout *vLay = new QVBoxLayout( page, 0, spacingHint() );
- QHBoxLayout *hLay = new QHBoxLayout( vLay );
+ TQVBoxLayout *vLay = new TQVBoxLayout( page, 0, spacingHint() );
+ TQHBoxLayout *hLay = new TQHBoxLayout( vLay );
- QRect selection( m_pView->selectionInfo()->selection() );
+ TQRect selection( m_pView->selectionInfo()->selection() );
ColumnFormat* cl = m_pView->activeSheet()->columnFormat( selection.left() );
columnWidth = cl->dblWidth();
- QLabel * label1 = new QLabel( page, "label1" );
+ TQLabel * label1 = new TQLabel( page, "label1" );
label1->setText( i18n( "Width:" ) );
hLay->addWidget( label1 );
@@ -138,11 +138,11 @@ ResizeColumn::ResizeColumn( View* parent, const char* name )
hLay->addWidget( m_pWidth );
- QWidget *hSpacer = new QWidget( page );
+ TQWidget *hSpacer = new TQWidget( page );
hSpacer->setMinimumSize( spacingHint(), spacingHint() );
hLay->addWidget( hSpacer );
- QWidget *vSpacer = new QWidget( page );
+ TQWidget *vSpacer = new TQWidget( page );
vSpacer->setMinimumSize( spacingHint(), spacingHint() );
vLay->addWidget( vSpacer );