diff options
Diffstat (limited to 'kpresenter/KPrObject2DIface.cpp')
-rw-r--r-- | kpresenter/KPrObject2DIface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/KPrObject2DIface.cpp b/kpresenter/KPrObject2DIface.cpp index 0849dfb9..729d8587 100644 --- a/kpresenter/KPrObject2DIface.cpp +++ b/kpresenter/KPrObject2DIface.cpp @@ -32,12 +32,12 @@ KPrObject2DIface::KPrObject2DIface(KPr2DObject *obj_) obj = obj_; } -QColor KPrObject2DIface::gradientColor1() const +TQColor KPrObject2DIface::gradientColor1() const { return obj->getGColor1(); } -QColor KPrObject2DIface::gradientColor2() const +TQColor KPrObject2DIface::gradientColor2() const { return obj->getGColor2(); } @@ -67,19 +67,19 @@ int KPrObject2DIface::yGradientFactor() const return obj->getGYFactor(); } -QString KPrObject2DIface::gradientFillType() const +TQString KPrObject2DIface::gradientFillType() const { switch(obj->getFillType()) { case FT_BRUSH: - return QString("BRUSH"); + return TQString("BRUSH"); case FT_GRADIENT: - return QString("GRADIENT"); + return TQString("GRADIENT"); } - return QString::null; + return TQString(); } -void KPrObject2DIface::setGradientType( const QString & type) +void KPrObject2DIface::setGradientType( const TQString & type) { if(type=="PLAIN") obj->setGType(BCT_PLAIN); @@ -103,7 +103,7 @@ void KPrObject2DIface::setGradientType( const QString & type) kdDebug(33001)<<"Error KPrObject2DIface::setGradientType\n"; } -void KPrObject2DIface::setFillType( const QString & type) +void KPrObject2DIface::setFillType( const TQString & type) { if(type=="BRUSH") obj->setFillType(FT_BRUSH); @@ -113,12 +113,12 @@ void KPrObject2DIface::setFillType( const QString & type) kdDebug(33001)<<"Error KPrObject2DIface::setFillType\n"; } -void KPrObject2DIface::setGradientColor1( const QColor &col ) +void KPrObject2DIface::setGradientColor1( const TQColor &col ) { obj->setGColor1( col ); } -void KPrObject2DIface::setGradientColor2( const QColor &col ) +void KPrObject2DIface::setGradientColor2( const TQColor &col ) { obj->setGColor2( col ); } |