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/pmcommentedit.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'kpovmodeler/pmcommentedit.cpp') diff --git a/kpovmodeler/pmcommentedit.cpp b/kpovmodeler/pmcommentedit.cpp index 28e98ed3..b9f5daac 100644 --- a/kpovmodeler/pmcommentedit.cpp +++ b/kpovmodeler/pmcommentedit.cpp @@ -23,8 +23,8 @@ #include #include -PMCommentEdit::PMCommentEdit( TQWidget* parent, const char* name ) - : Base( parent, name ) +PMCommentEdit::PMCommentEdit( TQWidget* tqparent, const char* name ) + : Base( tqparent, name ) { m_pDisplayedObject = 0; } @@ -34,10 +34,8 @@ void PMCommentEdit::createTopWidgets( ) Base::createTopWidgets( ); m_pEdit = new TQMultiLineEdit( this ); -#if ( QT_VERSION >= 300 ) - m_pEdit->setTextFormat( Qt::PlainText ); + m_pEdit->setTextFormat( TQt::PlainText ); m_pEdit->setWordWrap( TQTextEdit::NoWrap ); -#endif m_pEdit->setFont( KGlobalSettings::fixedFont( ) ); topLayout( )->addWidget( m_pEdit, 2 ); -- cgit v1.2.3