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/pmsoredit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpovmodeler/pmsoredit.cpp') diff --git a/kpovmodeler/pmsoredit.cpp b/kpovmodeler/pmsoredit.cpp index 127015df..7bd7eb73 100644 --- a/kpovmodeler/pmsoredit.cpp +++ b/kpovmodeler/pmsoredit.cpp @@ -32,8 +32,8 @@ #include #include -PMSurfaceOfRevolutionEdit::PMSurfaceOfRevolutionEdit( TQWidget* parent, const char* name ) - : Base( parent, name ) +PMSurfaceOfRevolutionEdit::PMSurfaceOfRevolutionEdit( TQWidget* tqparent, const char* name ) + : Base( tqparent, name ) { m_pDisplayedObject = 0; } @@ -160,7 +160,7 @@ bool PMSurfaceOfRevolutionEdit::isDataValid( ) { m_pPoints->setCurrentCell( pnr, 1 ); KMessageBox::error( this, i18n( "The v coordinate of point %1 and %2 must be different." ) - .arg( pnr + 1 ).arg( pnr + 3 ), + .tqarg( pnr + 1 ).tqarg( pnr + 3 ), i18n( "Error" ) ); return false; } -- cgit v1.2.1