From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmplaneedit.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kpovmodeler/pmplaneedit.cpp') diff --git a/kpovmodeler/pmplaneedit.cpp b/kpovmodeler/pmplaneedit.cpp index 62e7e08e..13e28aab 100644 --- a/kpovmodeler/pmplaneedit.cpp +++ b/kpovmodeler/pmplaneedit.cpp @@ -21,14 +21,14 @@ #include "pmvectoredit.h" #include "pmlineedits.h" -#include -#include -#include -#include +#include +#include +#include +#include #include #include -PMPlaneEdit::PMPlaneEdit( QWidget* parent, const char* name ) +PMPlaneEdit::PMPlaneEdit( TQWidget* parent, const char* name ) : Base( parent, name ) { m_pDisplayedObject = 0; @@ -38,28 +38,28 @@ void PMPlaneEdit::createTopWidgets( ) { Base::createTopWidgets( ); - QHBoxLayout* layout; + TQHBoxLayout* layout; m_pNormal = new PMVectorEdit( "x", "y", "z", this ); m_pDistance = new PMFloatEdit( this ); - layout = new QHBoxLayout( topLayout( ) ); - layout->addWidget( new QLabel( i18n( "Normal:" ), this ) ); + layout = new TQHBoxLayout( topLayout( ) ); + layout->addWidget( new TQLabel( i18n( "Normal:" ), this ) ); layout->addWidget( m_pNormal ); - layout = new QHBoxLayout( topLayout( ) ); - layout->addWidget( new QLabel( i18n( "Distance:" ), this ) ); + layout = new TQHBoxLayout( topLayout( ) ); + layout->addWidget( new TQLabel( i18n( "Distance:" ), this ) ); layout->addWidget( m_pDistance ); layout->addStretch( 1 ); - QPushButton* nb = new QPushButton( i18n( "Normalize" ), this ); - layout = new QHBoxLayout( topLayout( ) ); + TQPushButton* nb = new TQPushButton( i18n( "Normalize" ), this ); + layout = new TQHBoxLayout( topLayout( ) ); layout->addWidget( nb ); layout->addStretch( 1 ); - connect( m_pNormal, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pDistance, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( nb, SIGNAL( clicked( ) ), SLOT( slotNormalize( ) ) ); + connect( m_pNormal, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pDistance, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( nb, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotNormalize( ) ) ); } void PMPlaneEdit::slotNormalize( ) -- cgit v1.2.1