summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_special.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/dialogs/kspread_dlg_special.cc
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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_special.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_special.cc56
1 files changed, 28 insertions, 28 deletions
diff --git a/kspread/dialogs/kspread_dlg_special.cc b/kspread/dialogs/kspread_dlg_special.cc
index 3c9426c7..192fea6d 100644
--- a/kspread/dialogs/kspread_dlg_special.cc
+++ b/kspread/dialogs/kspread_dlg_special.cc
@@ -20,9 +20,9 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
+#include <tqlayout.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
#include <klocale.h>
@@ -36,47 +36,47 @@
using namespace KSpread;
-SpecialDialog::SpecialDialog( View* parent, const char* name )
- : KDialogBase( parent, name, TRUE,i18n("Special Paste"),Ok|Cancel )
+SpecialDialog::SpecialDialog( View* tqparent, const char* name )
+ : KDialogBase( tqparent, name, TRUE,i18n("Special Paste"),Ok|Cancel )
{
- m_pView = parent;
- QWidget *page = new QWidget( this );
+ m_pView = tqparent;
+ 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( "Paste What" ),page );
+ TQButtonGroup *grp = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Paste What" ),page );
grp->setRadioButtonExclusive( TRUE );
- grp->layout();
+ grp->tqlayout();
lay1->addWidget(grp);
- rb1 = new QRadioButton( i18n("Everything"), grp );
- rb2 = new QRadioButton( i18n("Text"), grp );
- rb3 = new QRadioButton( i18n("Format"), grp );
- rb10 = new QRadioButton( i18n("Comment"), grp );
- rb11 = new QRadioButton( i18n("Result"), grp );
+ rb1 = new TQRadioButton( i18n("Everything"), grp );
+ rb2 = new TQRadioButton( i18n("Text"), grp );
+ rb3 = new TQRadioButton( i18n("Format"), grp );
+ rb10 = new TQRadioButton( i18n("Comment"), grp );
+ rb11 = new TQRadioButton( i18n("Result"), grp );
- rb4 = new QRadioButton( i18n("Everything without border"), grp );
+ rb4 = new TQRadioButton( i18n("Everything without border"), grp );
rb1->setChecked(true);
- grp = new QButtonGroup( 1, QGroupBox::Horizontal, i18n("Operation"),page);
+ grp = new TQButtonGroup( 1, Qt::Horizontal, i18n("Operation"),page);
grp->setRadioButtonExclusive( TRUE );
- grp->layout();
+ grp->tqlayout();
lay1->addWidget(grp);
- rb5 = new QRadioButton( i18n("Overwrite"), grp );
- rb6 = new QRadioButton( i18n("Addition"), grp );
- rb7 = new QRadioButton( i18n("Subtraction"), grp );
- rb8 = new QRadioButton( i18n("Multiplication"), grp );
- rb9 = new QRadioButton( i18n("Division"), grp );
+ rb5 = new TQRadioButton( i18n("Overwrite"), grp );
+ rb6 = new TQRadioButton( i18n("Addition"), grp );
+ rb7 = new TQRadioButton( i18n("Subtraction"), grp );
+ rb8 = new TQRadioButton( i18n("Multiplication"), grp );
+ rb9 = new TQRadioButton( i18n("Division"), grp );
rb5->setChecked(true);
- // cb = new QCheckBox(i18n("Transpose"),this);
- // cb->layout();
+ // cb = new TQCheckBox(i18n("Transpose"),this);
+ // cb->tqlayout();
// lay1->addWidget(cb);
- connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) );
- connect( rb3, SIGNAL( toggled( bool ) ), this, SLOT( slotToggled( bool ) ) );
- connect( rb10, SIGNAL( toggled( bool ) ), this, SLOT( slotToggled( bool ) ) );
+ connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( rb3, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotToggled( bool ) ) );
+ connect( rb10, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotToggled( bool ) ) );
}
void SpecialDialog::slotOk()