summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmobject.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmobject.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmobject.cpp')
-rw-r--r--kpovmodeler/pmobject.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmobject.cpp b/kpovmodeler/pmobject.cpp
index d6bb94b3..94907482 100644
--- a/kpovmodeler/pmobject.cpp
+++ b/kpovmodeler/pmobject.cpp
@@ -142,7 +142,7 @@ bool PMObject::takeChild( uint )
return false;
}
-PMDialogEditBase* PMObject::editWidget( QWidget* parent ) const
+PMDialogEditBase* PMObject::editWidget( TQWidget* parent ) const
{
return new PMDialogEditBase( parent );
// return 0;
@@ -193,9 +193,9 @@ PMMatrix PMObject::transformedWith( ) const
return result;
}
-QDomElement PMObject::serialize( QDomDocument& doc ) const
+TQDomElement PMObject::serialize( TQDomDocument& doc ) const
{
- QDomElement e = doc.createElement( className( ).lower( ) );
+ TQDomElement e = doc.createElement( className( ).lower( ) );
serialize( e, doc );
return e;
}
@@ -213,7 +213,7 @@ void PMObject::cleanUp( ) const
}
}
-bool PMObject::setProperty( const QString& name, const PMVariant& v )
+bool PMObject::setProperty( const TQString& name, const PMVariant& v )
{
PMPropertyBase* p = metaObject( )->property( name );
if( !p )
@@ -221,9 +221,9 @@ bool PMObject::setProperty( const QString& name, const PMVariant& v )
return p->setProperty( this, v );
}
-QStringList PMObject::properties( ) const
+TQStringList PMObject::properties( ) const
{
- QStringList lst;
+ TQStringList lst;
PMPropertyIterator it = metaObject( )->properties( );
for( ; it.current( ); ++it )
@@ -232,7 +232,7 @@ QStringList PMObject::properties( ) const
return lst;
}
-PMVariant PMObject::property( const QString& name ) const
+PMVariant PMObject::property( const TQString& name ) const
{
PMPropertyBase* p = metaObject( )->property( name );
if( !p )
@@ -240,19 +240,19 @@ PMVariant PMObject::property( const QString& name ) const
return p->getProperty( this );
}
-bool PMObject::isA( const QString& className ) const
+bool PMObject::isA( const TQString& className ) const
{
if( !m_pPart )
return false;
return m_pPart->prototypeManager( )->isA( metaObject( ), className );
}
-QString PMObject::type( ) const
+TQString PMObject::type( ) const
{
return metaObject( )->className( );
}
-bool PMObject::canInsert( const QString& className, const PMObject* after,
+bool PMObject::canInsert( const TQString& className, const PMObject* after,
const PMObjectList* objectsBetween ) const
{
if( !m_pPart )
@@ -275,7 +275,7 @@ int PMObject::canInsert( const PMObjectList& list, const PMObject* after ) const
return m_pPart->insertRuleSystem( )->canInsert( this, list, after );
}
-int PMObject::canInsert( const QStringList& classes, const PMObject* after ) const
+int PMObject::canInsert( const TQStringList& classes, const PMObject* after ) const
{
if( !m_pPart )
return false;