summaryrefslogtreecommitdiffstats
path: root/kchart/kchartConfigDialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartConfigDialog.cc')
-rw-r--r--kchart/kchartConfigDialog.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kchart/kchartConfigDialog.cc b/kchart/kchartConfigDialog.cc
index 9724a92c..4eadac39 100644
--- a/kchart/kchartConfigDialog.cc
+++ b/kchart/kchartConfigDialog.cc
@@ -41,7 +41,7 @@
#include <klocale.h>
#include <kdebug.h>
-#include <qradiobutton.h>
+#include <tqradiobutton.h>
#include "kchart_params.h"
@@ -49,9 +49,9 @@ namespace KChart
{
KChartConfigDialog::KChartConfigDialog( KChartParams* params,
- QWidget* parent, int flags,
+ TQWidget* tqparent, int flags,
KDChartTableData *dat ) :
- QTabDialog( parent, "Chart config dialog", true ),
+ TQTabDialog( tqparent, "Chart config dialog", true ),
m_params( params ),
m_dataPage(0),
@@ -187,12 +187,12 @@ KChartConfigDialog::KChartConfigDialog( KChartParams* params,
#if 0
setDefaultButton( i18n( "&Defaults" ) );
#else
- setDefaultButton( QString::null );
+ setDefaultButton( TQString() );
#endif
setCancelButton( i18n( "&Cancel" ) );
- connect( this, SIGNAL( applyButtonPressed() ), this, SLOT( apply() ) );
- connect( this, SIGNAL( defaultButtonPressed() ), this, SLOT( defaults() ) );
+ connect( this, TQT_SIGNAL( applyButtonPressed() ), this, TQT_SLOT( apply() ) );
+ connect( this, TQT_SIGNAL( defaultButtonPressed() ), this, TQT_SLOT( defaults() ) );
}
@@ -316,16 +316,16 @@ void KChartConfigDialog::apply()
if( _colorpage->xTitleColor().isValid() )
m_params->setAxisTitleColor( KDChartAxisParams::AxisPosBottom, _colorpage->xTitleColor() );
else
- m_params->setAxisTitleColor( KDChartAxisParams::AxisPosBottom, QColor() );
+ m_params->setAxisTitleColor( KDChartAxisParams::AxisPosBottom, TQColor() );
if( _colorpage->yTitleColor().isValid() )
m_params->setAxisTitleColor( KDChartAxisParams::AxisPosLeft, _colorpage->yTitleColor() );
else
- m_params->setAxisTitleColor( KDChartAxisParams::AxisPosLeft, QColor() );
+ m_params->setAxisTitleColor( KDChartAxisParams::AxisPosLeft, TQColor() );
#if 0
if( _colorpage->yTitle2Color().isValid() )
rightparams.setAxisLineColor( _colorpage->yTitle2Color() );
else
- rightparams.setAxisLineColor( QColor() );
+ rightparams.setAxisLineColor( TQColor() );
#endif
bottomparams.setAxisLabelsColor( _colorpage->xLabelColor() );