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/pmblobcylinderedit.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kpovmodeler/pmblobcylinderedit.cpp') diff --git a/kpovmodeler/pmblobcylinderedit.cpp b/kpovmodeler/pmblobcylinderedit.cpp index 9313b8af..34910df0 100644 --- a/kpovmodeler/pmblobcylinderedit.cpp +++ b/kpovmodeler/pmblobcylinderedit.cpp @@ -21,12 +21,12 @@ #include "pmvectoredit.h" #include "pmlineedits.h" -#include -#include +#include +#include #include -#include +#include -PMBlobCylinderEdit::PMBlobCylinderEdit( QWidget* parent, const char* name ) +PMBlobCylinderEdit::PMBlobCylinderEdit( TQWidget* parent, const char* name ) : Base( parent, name ) { m_pDisplayedObject = 0; @@ -36,32 +36,32 @@ void PMBlobCylinderEdit::createTopWidgets( ) { Base::createTopWidgets( ); - QHBoxLayout* layout; - QGridLayout* gl; + TQHBoxLayout* layout; + TQGridLayout* gl; m_pEnd1 = new PMVectorEdit( "x", "y", "z", this ); m_pEnd2 = new PMVectorEdit( "x", "y", "z", this ); m_pRadius = new PMFloatEdit( this ); m_pStrength = new PMFloatEdit( this ); - gl = new QGridLayout( topLayout( ), 2, 2 ); - gl->addWidget( new QLabel( i18n( "End 1:" ), this ), 0, 0 ); + gl = new TQGridLayout( topLayout( ), 2, 2 ); + gl->addWidget( new TQLabel( i18n( "End 1:" ), this ), 0, 0 ); gl->addWidget( m_pEnd1, 0, 1 ); - gl->addWidget( new QLabel( i18n( "End 2:" ), this ), 1, 0 ); + gl->addWidget( new TQLabel( i18n( "End 2:" ), this ), 1, 0 ); gl->addWidget( m_pEnd2, 1, 1 ); - layout = new QHBoxLayout( topLayout( ) ); - gl = new QGridLayout( layout, 2, 2 ); - gl->addWidget( new QLabel( i18n( "Radius:" ), this ), 0, 0 ); + layout = new TQHBoxLayout( topLayout( ) ); + gl = new TQGridLayout( layout, 2, 2 ); + gl->addWidget( new TQLabel( i18n( "Radius:" ), this ), 0, 0 ); gl->addWidget( m_pRadius, 0, 1 ); - gl->addWidget( new QLabel( i18n( "Strength:" ), this ), 1, 0 ); + gl->addWidget( new TQLabel( i18n( "Strength:" ), this ), 1, 0 ); gl->addWidget( m_pStrength, 1, 1 ); layout->addStretch( 1 ); - connect( m_pEnd1, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pEnd2, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pRadius, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pStrength, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); + connect( m_pEnd1, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pEnd2, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pRadius, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pStrength, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); } void PMBlobCylinderEdit::displayObject( PMObject* o ) -- cgit v1.2.1