summaryrefslogtreecommitdiffstats
path: root/kchart/kchartConfigDialog.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 /kchart/kchartConfigDialog.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 '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() );