summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmpovrayoutputwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmpovrayoutputwidget.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
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
Diffstat (limited to 'kpovmodeler/pmpovrayoutputwidget.cpp')
-rw-r--r--kpovmodeler/pmpovrayoutputwidget.cpp8
1 files changed, 4 insertions, 4 deletions
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( );
}