summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmconeedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmconeedit.cpp')
-rw-r--r--kpovmodeler/pmconeedit.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kpovmodeler/pmconeedit.cpp b/kpovmodeler/pmconeedit.cpp
index 2dbcfc7c..9969e4d7 100644
--- a/kpovmodeler/pmconeedit.cpp
+++ b/kpovmodeler/pmconeedit.cpp
@@ -21,12 +21,12 @@
#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>
-PMConeEdit::PMConeEdit( QWidget* parent, const char* name )
+PMConeEdit::PMConeEdit( TQWidget* parent, const char* name )
: Base( parent, name )
{
m_pDisplayedObject = 0;
@@ -36,36 +36,36 @@ void PMConeEdit::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_pRadius1 = new PMFloatEdit( this );
m_pRadius2 = new PMFloatEdit( this );
- m_pOpen = new QCheckBox( i18n( "type of the object", "Open" ), this );
+ m_pOpen = new TQCheckBox( i18n( "type of the object", "Open" ), 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 1:" ), this ), 0, 0 );
+ layout = new TQHBoxLayout( topLayout( ) );
+ gl = new TQGridLayout( layout, 2, 2 );
+ gl->addWidget( new TQLabel( i18n( "Radius 1:" ), this ), 0, 0 );
gl->addWidget( m_pRadius1, 0, 1 );
- gl->addWidget( new QLabel( i18n( "Radius 2:" ), this ), 1, 0 );
+ gl->addWidget( new TQLabel( i18n( "Radius 2:" ), this ), 1, 0 );
gl->addWidget( m_pRadius2, 1, 1 );
layout->addStretch( 1 );
topLayout( )->addWidget( m_pOpen );
- connect( m_pEnd1, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pEnd2, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pRadius1, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pRadius2, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pOpen, SIGNAL( clicked( ) ), SIGNAL( dataChanged( ) ) );
+ connect( m_pEnd1, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pEnd2, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pRadius1, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pRadius2, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pOpen, TQT_SIGNAL( clicked( ) ), TQT_SIGNAL( dataChanged( ) ) );
}
void PMConeEdit::displayObject( PMObject* o )