summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmplaneedit.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/pmplaneedit.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/pmplaneedit.cpp')
-rw-r--r--kpovmodeler/pmplaneedit.cpp30
1 files changed, 15 insertions, 15 deletions
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 <qlayout.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qcheckbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqcheckbox.h>
#include <klocale.h>
#include <kmessagebox.h>
-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( )