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 /kchart/kchartWizardSelectChartSubTypePage.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 'kchart/kchartWizardSelectChartSubTypePage.cc')
-rw-r--r-- | kchart/kchartWizardSelectChartSubTypePage.cc | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kchart/kchartWizardSelectChartSubTypePage.cc b/kchart/kchartWizardSelectChartSubTypePage.cc index 925a5a64..34751d1f 100644 --- a/kchart/kchartWizardSelectChartSubTypePage.cc +++ b/kchart/kchartWizardSelectChartSubTypePage.cc @@ -3,15 +3,15 @@ #include "kchart_view.h" #include "kchart_part.h" -#include <qbuttongroup.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qptrcollection.h> -#include <qobjectlist.h> -#include <qlayout.h> -#include <qhbox.h> +#include <tqbuttongroup.h> +#include <tqpushbutton.h> +#include <tqradiobutton.h> +#include <tqspinbox.h> +#include <tqlabel.h> +#include <tqptrcollection.h> +#include <tqobjectlist.h> +#include <tqlayout.h> +#include <tqhbox.h> #include <kdebug.h> #include <kiconloader.h> @@ -25,34 +25,34 @@ namespace KChart { -KChartWizardSelectChartSubTypePage::KChartWizardSelectChartSubTypePage( QWidget* parent, +KChartWizardSelectChartSubTypePage::KChartWizardSelectChartSubTypePage( TQWidget* tqparent, KChartPart* chart ) : - QWidget( parent ), + TQWidget( tqparent ), m_chart( chart ) { // FIXME: Use KChartPart::chartType() instead, when implemented. m_charttype = (KChartParams::ChartType) m_chart->params()->chartType(); chartSubType = true; - QGridLayout *grid1 = new QGridLayout(this, 3, 2, KDialog::marginHint(), + TQGridLayout *grid1 = new TQGridLayout(this, 3, 2, KDialog::marginHint(), KDialog::spacingHint()); - QVBoxLayout *lay1 = new QVBoxLayout( ); + TQVBoxLayout *lay1 = new TQVBoxLayout( ); lay1->setMargin( KDialog::marginHint() ); lay1->setSpacing( KDialog::spacingHint() ); - QButtonGroup *grp = new QButtonGroup( 1, QGroupBox::Horizontal, + TQButtonGroup *grp = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Chart Sub Type" ), this ); grp->setRadioButtonExclusive( true ); - grp->layout(); + grp->tqlayout(); lay1->addWidget(grp); - m_normal = new QRadioButton( i18n( "Normal" ), grp ); - m_stacked = new QRadioButton( i18n( "Stacked" ), grp ); - m_percent = new QRadioButton( i18n( "Percent" ), grp ); + m_normal = new TQRadioButton( i18n( "Normal" ), grp ); + m_stacked = new TQRadioButton( i18n( "Stacked" ), grp ); + m_percent = new TQRadioButton( i18n( "Percent" ), grp ); - QHBox *hbox = new QHBox( this ); - /*QLabel *lbl =*/ new QLabel( i18n( "Number of lines: "), hbox ); - m_numLines = new QSpinBox( hbox ); + TQHBox *hbox = new TQHBox( this ); + /*TQLabel *lbl =*/ new TQLabel( i18n( "Number of lines: "), hbox ); + m_numLines = new TQSpinBox( hbox ); if( ( m_chart->chartType() == KChartParams::Bar && m_chart->params()->barChartSubType() == KDChartParams::BarNormal ) |