From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmdeclare.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kpovmodeler/pmdeclare.cpp') diff --git a/kpovmodeler/pmdeclare.cpp b/kpovmodeler/pmdeclare.cpp index 2b698f0e..3f290e2f 100644 --- a/kpovmodeler/pmdeclare.cpp +++ b/kpovmodeler/pmdeclare.cpp @@ -22,7 +22,7 @@ #include "pmprototypemanager.h" #include "pmpart.h" -#include +#include #include PMDefinePropertyClass( PMDeclare, PMDeclareProperty ); @@ -73,16 +73,16 @@ PMDeclare::~PMDeclare( ) { } -QString PMDeclare::description( ) const +TQString PMDeclare::description( ) const { PMPart* pPart = part( ); - QString d = i18n( "declaration" ); + TQString d = i18n( "declaration" ); if( m_pDeclareType && pPart ) { - const QValueList& descriptions + const TQValueList& descriptions = pPart->prototypeManager( )->declarationTypes( ); - QValueList::const_iterator it; + TQValueList::const_iterator it; bool found = false; for( it = descriptions.begin( ); it != descriptions.end( ) && !found; ++it ) { @@ -96,16 +96,16 @@ QString PMDeclare::description( ) const return d; } -QString PMDeclare::pixmap( ) const +TQString PMDeclare::pixmap( ) const { PMPart* pPart = part( ); - QString d = "pmdeclare"; + TQString d = "pmdeclare"; if( m_pDeclareType && pPart ) { - const QValueList& descriptions + const TQValueList& descriptions = pPart->prototypeManager( )->declarationTypes( ); - QValueList::const_iterator it; + TQValueList::const_iterator it; bool found = false; for( it = descriptions.begin( ); it != descriptions.end( ) && !found; ++it ) { @@ -119,7 +119,7 @@ QString PMDeclare::pixmap( ) const return d; } -void PMDeclare::serialize( QDomElement& e, QDomDocument& doc ) const +void PMDeclare::serialize( TQDomElement& e, TQDomDocument& doc ) const { e.setAttribute( "id", m_id ); Base::serialize( e, doc ); @@ -131,12 +131,12 @@ void PMDeclare::readAttributes( const PMXMLHelper& h ) Base::readAttributes( h ); } -PMDialogEditBase* PMDeclare::editWidget( QWidget* parent ) const +PMDialogEditBase* PMDeclare::editWidget( TQWidget* parent ) const { return new PMDeclareEdit( parent ); } -void PMDeclare::setID( const QString& newID ) +void PMDeclare::setID( const TQString& newID ) { if( newID != m_id ) { @@ -150,10 +150,10 @@ void PMDeclare::setID( const QString& newID ) } } -QString PMDeclare::declareType( ) const +TQString PMDeclare::declareType( ) const { if( !m_pDeclareType ) - return QString( "None" ); + return TQString( "None" ); return m_pDeclareType->className( ); } -- cgit v1.2.1