summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrObjectProperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrObjectProperties.cpp')
-rw-r--r--kpresenter/KPrObjectProperties.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpresenter/KPrObjectProperties.cpp b/kpresenter/KPrObjectProperties.cpp
index ede72009..c0c8d581 100644
--- a/kpresenter/KPrObjectProperties.cpp
+++ b/kpresenter/KPrObjectProperties.cpp
@@ -31,10 +31,10 @@
#include "KPrBezierCurveObject.h"
#include "KPrTextObject.h"
-KPrObjectProperties::KPrObjectProperties( const QPtrList<KPrObject> &objects )
+KPrObjectProperties::KPrObjectProperties( const TQPtrList<KPrObject> &objects )
: m_objects( objects )
, m_flags( 0 )
-, m_pen( KoPen( Qt::black, 1.0, Qt::SolidLine ), L_NORMAL, L_NORMAL )
+, m_pen( KoPen( TQt::black, 1.0, Qt::SolidLine ), L_NORMAL, L_NORMAL )
, m_protectContent( STATE_UNDEF )
{
getProperties( m_objects );
@@ -46,9 +46,9 @@ KPrObjectProperties::~KPrObjectProperties()
}
-void KPrObjectProperties::getProperties( const QPtrList<KPrObject> &objects )
+void KPrObjectProperties::getProperties( const TQPtrList<KPrObject> &objects )
{
- QPtrListIterator<KPrObject> it( objects );
+ TQPtrListIterator<KPrObject> it( objects );
for ( ; it.current() ; ++it )
{
switch ( it.current()->getType() )
@@ -56,7 +56,7 @@ void KPrObjectProperties::getProperties( const QPtrList<KPrObject> &objects )
case OT_LINE:
case OT_FREEHAND:
case OT_POLYLINE:
- case OT_QUADRICBEZIERCURVE:
+ case OT_TQUADRICBEZIERCURVE:
case OT_CUBICBEZIERCURVE:
getPenProperties( it.current() );
getLineEndsProperties( it.current() );
@@ -117,7 +117,7 @@ void KPrObjectProperties::getPenProperties( KPrObject *object )
if ( !( m_flags & PtPenWidth ) )
{
KPrShadowObject *obj = dynamic_cast<KPrShadowObject*>( object );
- if ( obj && obj->getPen().style() != Qt::NoPen )
+ if ( obj && obj->getPen().style() != TQt::NoPen )
{
m_flags |= PtPenWidth;
}
@@ -145,7 +145,7 @@ void KPrObjectProperties::getLineEndsProperties( KPrObject *object )
}
case OT_FREEHAND:
case OT_POLYLINE:
- case OT_QUADRICBEZIERCURVE:
+ case OT_TQUADRICBEZIERCURVE:
case OT_CUBICBEZIERCURVE:
{
KPrPointObject *obj = dynamic_cast<KPrPointObject*>( object );