summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrObject2DIface.cpp
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 /kpresenter/KPrObject2DIface.cpp
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 'kpresenter/KPrObject2DIface.cpp')
-rw-r--r--kpresenter/KPrObject2DIface.cpp20
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 );
}