From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmoutputdevice.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpovmodeler/pmoutputdevice.cpp') diff --git a/kpovmodeler/pmoutputdevice.cpp b/kpovmodeler/pmoutputdevice.cpp index abad0e36..1ee91b52 100644 --- a/kpovmodeler/pmoutputdevice.cpp +++ b/kpovmodeler/pmoutputdevice.cpp @@ -55,22 +55,22 @@ void PMOutputDevice::callSerialization( const PMObject* o, const PMMetaObject* m info->call( o, mo, this ); else { - if( mo == o->metaObject( ) ) + if( mo == o->tqmetaObject( ) ) { printError( i18n( "The object \"%1\" doesn't support %2." ) - .arg( o->description( ) ).arg( description( ) ) ); + .tqarg( o->description( ) ).tqarg( description( ) ) ); } else { printError( i18n( "The class \"%1\" doesn't support %2." ) - .arg( o->description( ) ).arg( mo->className( ) ) ); + .tqarg( o->description( ) ).tqarg( mo->className( ) ) ); } } } void PMOutputDevice::serialize( PMObject* o ) { - callSerialization( o, o->metaObject( ) ); + callSerialization( o, o->tqmetaObject( ) ); } void PMOutputDevice::close( ) -- cgit v1.2.1