summaryrefslogtreecommitdiffstats
path: root/kchart/kchartLegendConfigPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartLegendConfigPage.cpp')
-rw-r--r--kchart/kchartLegendConfigPage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kchart/kchartLegendConfigPage.cpp b/kchart/kchartLegendConfigPage.cpp
index dc18d7176..1187cafbc 100644
--- a/kchart/kchartLegendConfigPage.cpp
+++ b/kchart/kchartLegendConfigPage.cpp
@@ -52,7 +52,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
TQGridLayout* layout = new TQGridLayout( this, 3, 2, KDialog::marginHint(), KDialog::spacingHint() );
//1. Block: General settings
- TQButtonGroup* gb = new TQButtonGroup( 0, Qt::Vertical, i18n("General"), this );
+ TQButtonGroup* gb = new TQButtonGroup( 0, TQt::Vertical, i18n("General"), this );
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
layout->addWidget( gb, 0, 0 );
@@ -67,7 +67,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
grid2->addWidget( title, 0, 1 );
// 2. Block: Legend position
- gb = new TQButtonGroup( 0, Qt::Vertical, i18n("Legend Position"), this );
+ gb = new TQButtonGroup( 0, TQt::Vertical, i18n("Legend Position"), this );
TQWhatsThis::add(gb, i18n("<qt>Choose the location of the legend on the chart by "
"clicking a location button.\nUse the central button to <b>hide</b> the legend.</qt>"));
gb->layout()->setSpacing(KDialog::spacingHint());
@@ -102,7 +102,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
layout->addMultiCellWidget( gb, 1,2, 0,0 );
// 3. Block: Font
- gb = new TQButtonGroup( 0, Qt::Vertical, i18n("Font"), this );
+ gb = new TQButtonGroup( 0, TQt::Vertical, i18n("Font"), this );
TQWhatsThis::add(gb, i18n("This Font box can be used to set different fonts for the legend title and the individual entries."));
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
@@ -130,7 +130,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
connect( textLegendFontButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(changeTextLegendFont()));
- // 4. Block: Qt::Orientation
+ // 4. Block: Orientation
orientationGroup = new TQVButtonGroup( i18n("Orientation"), this );
TQWhatsThis::add(orientationGroup, i18n("Select, if the legend's items should be drawn next to each other, or below each other."));
orientationGroup->setRadioButtonExclusive(true);
@@ -143,7 +143,7 @@ KChartLegendConfigPage::KChartLegendConfigPage( KChartParams* params,
Q_UNUSED(orientation);
// 5. Block: Text Colors
- gb = new TQButtonGroup( 0, Qt::Vertical, i18n("Color"), this );
+ gb = new TQButtonGroup( 0, TQt::Vertical, i18n("Color"), this );
TQWhatsThis::add(gb, i18n("This Color box can be used to set different colors for the legend title and text."));
gb->layout()->setSpacing(KDialog::spacingHint());
gb->layout()->setMargin(KDialog::marginHint());
@@ -259,7 +259,7 @@ void KChartLegendConfigPage::init()
}
legendFrameColor->setColor(frameColor);
- if( _params->legendOrientation() == Qt::Vertical )
+ if( _params->legendOrientation() == TQt::Vertical )
orientationGroup->setButton(0);
else
orientationGroup->setButton(1);
@@ -335,9 +335,9 @@ void KChartLegendConfigPage::apply()
_params->setLegendPosition( KDChartParams::LegendRight );
if( orientationGroup->selectedId() == 0 )
- _params->setLegendOrientation( Qt::Vertical );
+ _params->setLegendOrientation( TQt::Vertical );
else
- _params->setLegendOrientation( Qt::Horizontal );
+ _params->setLegendOrientation( TQt::Horizontal );
_params->setLegendTitleText(title->text());
_params->setLegendTitleTextColor(legendTitleColor->color());