summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdiscedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmdiscedit.cpp')
-rw-r--r--kpovmodeler/pmdiscedit.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kpovmodeler/pmdiscedit.cpp b/kpovmodeler/pmdiscedit.cpp
index 109c3d66..0197a806 100644
--- a/kpovmodeler/pmdiscedit.cpp
+++ b/kpovmodeler/pmdiscedit.cpp
@@ -21,13 +21,13 @@
#include "pmvectoredit.h"
#include "pmlineedits.h"
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
#include <klocale.h>
#include <kmessagebox.h>
-PMDiscEdit::PMDiscEdit( QWidget* parent, const char* name )
+PMDiscEdit::PMDiscEdit( TQWidget* parent, const char* name )
: Base( parent, name )
{
m_pDisplayedObject = 0;
@@ -37,8 +37,8 @@ void PMDiscEdit::createTopWidgets( )
{
Base::createTopWidgets( );
- QHBoxLayout* layout;
- QGridLayout* gl;
+ TQHBoxLayout* layout;
+ TQGridLayout* gl;
m_pCenter = new PMVectorEdit( "x", "y", "z", this );
m_pNormal = new PMVectorEdit( "x", "y", "z", this );
@@ -47,30 +47,30 @@ void PMDiscEdit::createTopWidgets( )
m_pRadius = new PMFloatEdit( this );
m_pRadius->setValidation( true, 0.0, false, 0.0 );
- gl = new QGridLayout( topLayout( ), 2, 2 );
- gl->addWidget( new QLabel( i18n( "Center:" ), this ), 0, 0 );
+ gl = new TQGridLayout( topLayout( ), 2, 2 );
+ gl->addWidget( new TQLabel( i18n( "Center:" ), this ), 0, 0 );
gl->addWidget( m_pCenter, 0, 1 );
- gl->addWidget( new QLabel( i18n( "Normal:" ), this ), 1, 0 );
+ gl->addWidget( new TQLabel( i18n( "Normal:" ), this ), 1, 0 );
gl->addWidget( m_pNormal, 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( "Hole radius:" ), this ), 1, 0 );
+ gl->addWidget( new TQLabel( i18n( "Hole radius:" ), this ), 1, 0 );
gl->addWidget( m_pHRadius, 1, 1 );
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_pCenter, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pNormal, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pRadius, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pHRadius, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( nb, SIGNAL( clicked( ) ), SLOT( slotNormalize( ) ) );
+ connect( m_pCenter, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pNormal, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pRadius, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pHRadius, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( nb, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotNormalize( ) ) );
}
void PMDiscEdit::slotNormalize( )