diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/dialogs/kspread_dlg_pasteinsert.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/dialogs/kspread_dlg_pasteinsert.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_pasteinsert.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kspread/dialogs/kspread_dlg_pasteinsert.cc b/kspread/dialogs/kspread_dlg_pasteinsert.cc index 98a37296..83e8bce3 100644 --- a/kspread/dialogs/kspread_dlg_pasteinsert.cc +++ b/kspread/dialogs/kspread_dlg_pasteinsert.cc @@ -20,13 +20,13 @@ * Boston, MA 02110-1301, USA. */ -#include <qlayout.h> +#include <tqlayout.h> #include <klocale.h> #include <kbuttonbox.h> -#include <qbuttongroup.h> +#include <tqbuttongroup.h> #include <kdebug.h> -#include <qradiobutton.h> -#include <qcheckbox.h> +#include <tqradiobutton.h> +#include <tqcheckbox.h> #include "kspread_dlg_pasteinsert.h" #include "kspread_canvas.h" @@ -37,25 +37,25 @@ using namespace KSpread; -PasteInsertDialog::PasteInsertDialog( View* parent, const char* name,const QRect &_rect) - : KDialogBase( parent, name, TRUE,i18n("Paste Inserting Cells"),Ok|Cancel ) +PasteInsertDialog::PasteInsertDialog( View* tqparent, const char* name,const TQRect &_rect) + : KDialogBase( tqparent, name, TRUE,i18n("Paste Inserting Cells"),Ok|Cancel ) { - m_pView = parent; + m_pView = tqparent; rect=_rect; - 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); - rb1 = new QRadioButton( i18n("Move towards right"), grp ); - rb2 = new QRadioButton( i18n("Move towards bottom"), grp ); + rb1 = new TQRadioButton( i18n("Move towards right"), grp ); + rb2 = new TQRadioButton( i18n("Move towards bottom"), grp ); rb1->setChecked(true); - connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) ); + connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) ); } void PasteInsertDialog::slotOk() |