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/kchartWizardSelectDataFormatPage.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/kchartWizardSelectDataFormatPage.cc')
-rw-r--r-- | kchart/kchartWizardSelectDataFormatPage.cc | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/kchart/kchartWizardSelectDataFormatPage.cc b/kchart/kchartWizardSelectDataFormatPage.cc index 013b582e..cae8fddd 100644 --- a/kchart/kchartWizardSelectDataFormatPage.cc +++ b/kchart/kchartWizardSelectDataFormatPage.cc @@ -3,18 +3,18 @@ #include "kchart_view.h" #include "kchart_part.h" -#include <qhbox.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qlistbox.h> -#include <qbuttongroup.h> -#include <qvbuttongroup.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qlineedit.h> -#include <qpainter.h> +#include <tqhbox.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqlistbox.h> +#include <tqbuttongroup.h> +#include <tqvbuttongroup.h> +#include <tqpushbutton.h> +#include <tqradiobutton.h> +#include <tqlineedit.h> +#include <tqpainter.h> #include <kdebug.h> #include <kiconloader.h> @@ -27,38 +27,38 @@ namespace KChart { -KChartWizardSelectDataFormatPage::KChartWizardSelectDataFormatPage( QWidget* parent, +KChartWizardSelectDataFormatPage::KChartWizardSelectDataFormatPage( TQWidget* tqparent, KChartPart* chart ) : - QWidget( parent ), + TQWidget( tqparent ), m_chart( chart ) { - QGridLayout *grid1 = new QGridLayout(this, 6, 1, KDialog::marginHint(), + TQGridLayout *grid1 = new TQGridLayout(this, 6, 1, KDialog::marginHint(), KDialog::spacingHint()); // The Data Area - QButtonGroup *gb1 = new QVButtonGroup( i18n( "Data Area" ), this ); + TQButtonGroup *gb1 = new TQVButtonGroup( i18n( "Data Area" ), this ); - QHBox *hbox = new QHBox( gb1 ); - (void) new QLabel( i18n("Area: "), hbox); - m_dataArea = new QLineEdit( hbox ); + TQHBox *hbox = new TQHBox( gb1 ); + (void) new TQLabel( i18n("Area: "), hbox); + m_dataArea = new TQLineEdit( hbox ); grid1->addWidget(gb1, 0, 0); // The row/column as label checkboxes. - m_firstRowAsLabel = new QCheckBox( i18n( "First row as label" ), gb1); - m_firstColAsLabel = new QCheckBox( i18n( "First column as label" ), gb1); + m_firstRowAsLabel = new TQCheckBox( i18n( "First row as label" ), gb1); + m_firstColAsLabel = new TQCheckBox( i18n( "First column as label" ), gb1); // The Data Format button group - QButtonGroup *gb = new QVButtonGroup( i18n( "Data Format" ), this ); + TQButtonGroup *gb = new TQVButtonGroup( i18n( "Data Format" ), this ); - m_rowMajor = new QRadioButton( i18n( "Data in rows" ), gb ); - m_rowMajor->resize( m_rowMajor->sizeHint() ); + m_rowMajor = new TQRadioButton( i18n( "Data in rows" ), gb ); + m_rowMajor->resize( m_rowMajor->tqsizeHint() ); - m_colMajor = new QRadioButton( i18n( "Data in columns" ), gb ); - m_colMajor->resize( m_colMajor->sizeHint() ); + m_colMajor = new TQRadioButton( i18n( "Data in columns" ), gb ); + m_colMajor->resize( m_colMajor->tqsizeHint() ); grid1->addWidget(gb, 3, 0); - QLabel *lbl = new QLabel( i18n( + TQLabel *lbl = new TQLabel( i18n( "\n" "If the selected data area does not match the data you want,\n" "select the data now.\n" @@ -82,12 +82,12 @@ KChartWizardSelectDataFormatPage::KChartWizardSelectDataFormatPage( QWidget* par } -QString KChartWizardSelectDataFormatPage::dataArea() const +TQString KChartWizardSelectDataFormatPage::dataArea() const { return m_dataArea->text(); } -void KChartWizardSelectDataFormatPage::setDataArea( const QString &area ) +void KChartWizardSelectDataFormatPage::setDataArea( const TQString &area ) { m_dataArea->setText( area ); } |