diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_insert.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_insert.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kspread/dialogs/kspread_dlg_insert.cc b/kspread/dialogs/kspread_dlg_insert.cc index 3685c1a6..1cca23ca 100644 --- a/kspread/dialogs/kspread_dlg_insert.cc +++ b/kspread/dialogs/kspread_dlg_insert.cc @@ -24,10 +24,10 @@ * Boston, MA 02110-1301, USA. */ -#include <qbuttongroup.h> -#include <qradiobutton.h> -#include <qcheckbox.h> -#include <qlayout.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> +#include <tqcheckbox.h> +#include <tqlayout.h> #include <kbuttonbox.h> #include <kdebug.h> @@ -42,36 +42,36 @@ using namespace KSpread; -InsertDialog::InsertDialog( View* parent, const char* name,const QRect &_rect,Mode _mode) - : KDialogBase( parent, name, TRUE,"",Ok|Cancel ) +InsertDialog::InsertDialog( View* tqparent, const char* name,const TQRect &_rect,Mode _mode) + : KDialogBase( tqparent, name, TRUE,"",Ok|Cancel ) { - m_pView = parent; + m_pView = tqparent; rect=_rect; insRem=_mode; - QWidget *page = new QWidget( this ); + TQWidget *page = new TQWidget( this ); setMainWidget(page); - QVBoxLayout *lay1 = new QVBoxLayout( page, 0, spacingHint() ); + TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() ); - QButtonGroup *grp = new QButtonGroup( 1, QGroupBox::Horizontal, i18n("Insert"),page); + TQButtonGroup *grp = new TQButtonGroup( 1, Qt::Horizontal, i18n("Insert"),page); grp->setRadioButtonExclusive( TRUE ); - grp->layout(); + grp->tqlayout(); lay1->addWidget(grp); if( insRem==Insert) { - rb1 = new QRadioButton( i18n("Move towards right"), grp ); - rb2 = new QRadioButton( i18n("Move towards bottom"), grp ); - rb3 = new QRadioButton( i18n("Insert rows"), grp ); - rb4 = new QRadioButton( i18n("Insert columns"), grp ); + rb1 = new TQRadioButton( i18n("Move towards right"), grp ); + rb2 = new TQRadioButton( i18n("Move towards bottom"), grp ); + rb3 = new TQRadioButton( i18n("Insert rows"), grp ); + rb4 = new TQRadioButton( i18n("Insert columns"), grp ); setCaption( i18n("Insert Cells") ); } else if(insRem==Remove) { grp->setTitle(i18n("Remove")); - rb1 = new QRadioButton( i18n("Move towards left"), grp ); - rb2 = new QRadioButton( i18n("Move towards top"), grp ); - rb3 = new QRadioButton( i18n("Remove rows"), grp ); - rb4 = new QRadioButton( i18n("Remove columns"), grp ); + rb1 = new TQRadioButton( i18n("Move towards left"), grp ); + rb2 = new TQRadioButton( i18n("Move towards top"), grp ); + rb3 = new TQRadioButton( i18n("Remove rows"), grp ); + rb4 = new TQRadioButton( i18n("Remove columns"), grp ); setCaption( i18n("Remove Cells") ); } else @@ -80,7 +80,7 @@ InsertDialog::InsertDialog( View* parent, const char* name,const QRect &_rect,Mo rb1->setChecked(true); - connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) ); + connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) ); } void InsertDialog::slotOk() |