summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmtorusedit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmtorusedit.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmtorusedit.cpp')
-rw-r--r--kpovmodeler/pmtorusedit.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pmtorusedit.cpp b/kpovmodeler/pmtorusedit.cpp
index 01784e1d..e47301b9 100644
--- a/kpovmodeler/pmtorusedit.cpp
+++ b/kpovmodeler/pmtorusedit.cpp
@@ -20,13 +20,13 @@
#include "pmvectoredit.h"
#include "pmlineedits.h"
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
#include <klocale.h>
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
-PMTorusEdit::PMTorusEdit( QWidget* parent, const char* name )
+PMTorusEdit::PMTorusEdit( TQWidget* parent, const char* name )
: Base( parent, name )
{
m_pDisplayedObject = 0;
@@ -36,27 +36,27 @@ void PMTorusEdit::createTopWidgets( )
{
Base::createTopWidgets( );
- QGridLayout* gl;
- QHBoxLayout* hl;
+ TQGridLayout* gl;
+ TQHBoxLayout* hl;
m_pMinorRadius = new PMFloatEdit( this );
m_pMajorRadius = new PMFloatEdit( this );
- m_pSturm = new QCheckBox( i18n( "Sturm" ), this );
+ m_pSturm = new TQCheckBox( i18n( "Sturm" ), this );
- hl = new QHBoxLayout( topLayout( ) );
- gl = new QGridLayout( hl, 2, 2 );
- gl->addWidget( new QLabel( i18n( "Minor radius:" ), this ), 0, 0 );
+ hl = new TQHBoxLayout( topLayout( ) );
+ gl = new TQGridLayout( hl, 2, 2 );
+ gl->addWidget( new TQLabel( i18n( "Minor radius:" ), this ), 0, 0 );
gl->addWidget( m_pMinorRadius, 0, 1 );
- gl->addWidget( new QLabel( i18n( "Major radius:" ), this ), 1, 0 );
+ gl->addWidget( new TQLabel( i18n( "Major radius:" ), this ), 1, 0 );
gl->addWidget( m_pMajorRadius, 1, 1 );
hl->addStretch( 1 );
topLayout( )->addWidget( m_pSturm );
- connect( m_pMinorRadius, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pMajorRadius, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pSturm, SIGNAL( clicked( ) ), SIGNAL( dataChanged( ) ) );
+ connect( m_pMinorRadius, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pMajorRadius, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pSturm, TQT_SIGNAL( clicked( ) ), TQT_SIGNAL( dataChanged( ) ) );
}
void PMTorusEdit::displayObject( PMObject* o )