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/pmpovrayoutputwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpovmodeler/pmpovrayoutputwidget.cpp') diff --git a/kpovmodeler/pmpovrayoutputwidget.cpp b/kpovmodeler/pmpovrayoutputwidget.cpp index f7eb9da4..af56b62f 100644 --- a/kpovmodeler/pmpovrayoutputwidget.cpp +++ b/kpovmodeler/pmpovrayoutputwidget.cpp @@ -30,15 +30,15 @@ TQSize PMPovrayOutputWidget::s_size = TQSize( 400, 400 ); -PMPovrayOutputWidget::PMPovrayOutputWidget( TQWidget* parent, const char* name ) - : KDialog( parent, name ) +PMPovrayOutputWidget::PMPovrayOutputWidget( TQWidget* tqparent, const char* name ) + : KDialog( tqparent, name ) { TQVBoxLayout* topLayout = new TQVBoxLayout( this, KDialog::marginHint( ), KDialog::spacingHint( ) ); m_pTextView = new TQTextEdit( this ); topLayout->addWidget( m_pTextView, 1 ); m_pTextView->setFont( KGlobalSettings::fixedFont( ) ); - m_pTextView->setTextFormat( Qt::PlainText ); + m_pTextView->setTextFormat( TQt::PlainText ); m_pTextView->setReadOnly( true ); TQHBoxLayout* buttonLayout = new TQHBoxLayout( topLayout ); @@ -60,7 +60,7 @@ PMPovrayOutputWidget::~PMPovrayOutputWidget( ) void PMPovrayOutputWidget::slotClear( ) { - m_output = TQString::null; + m_output = TQString(); m_startOfLastLine = 0; m_pTextView->clear( ); } -- cgit v1.2.1