summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlistpatternedit.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/pmlistpatternedit.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/pmlistpatternedit.cpp')
-rw-r--r--kpovmodeler/pmlistpatternedit.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kpovmodeler/pmlistpatternedit.cpp b/kpovmodeler/pmlistpatternedit.cpp
index f9eb3cf7..dec87cb7 100644
--- a/kpovmodeler/pmlistpatternedit.cpp
+++ b/kpovmodeler/pmlistpatternedit.cpp
@@ -21,17 +21,17 @@
#include "pmvectoredit.h"
#include "pmvector.h"
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qcombobox.h>
-#include <qlabel.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
+#include <tqcombobox.h>
+#include <tqlabel.h>
#include "pmlineedits.h"
#include <ktabctl.h>
#include <klocale.h>
#include <kmessagebox.h>
-PMListPatternEdit::PMListPatternEdit( QWidget* parent, const char* name )
+PMListPatternEdit::PMListPatternEdit( TQWidget* parent, const char* name )
: Base( parent, name )
{
m_pDisplayedObject = 0;
@@ -41,12 +41,12 @@ void PMListPatternEdit::createTopWidgets( )
{
Base::createTopWidgets( );
- QVBoxLayout* vlayout = new QVBoxLayout( topLayout( ) );
+ TQVBoxLayout* vlayout = new TQVBoxLayout( topLayout( ) );
/* Field for Pattern List type */
- QHBoxLayout* layout = new QHBoxLayout( vlayout );
- QLabel* label = new QLabel( i18n( "Type:" ), this );
- m_pTypeCombo = new QComboBox( false, this );
+ TQHBoxLayout* layout = new TQHBoxLayout( vlayout );
+ TQLabel* label = new TQLabel( i18n( "Type:" ), this );
+ m_pTypeCombo = new TQComboBox( false, this );
m_pTypeCombo->insertItem( i18n( "Checkers" ) );
m_pTypeCombo->insertItem( i18n( "Brick" ) );
m_pTypeCombo->insertItem( i18n( "Hexagon" ) );
@@ -55,36 +55,36 @@ void PMListPatternEdit::createTopWidgets( )
layout->addStretch( 1 );
/* The depth field */
- layout = new QHBoxLayout( vlayout );
- m_pDepthLabel = new QLabel( i18n( "Depth:" ), this );
+ layout = new TQHBoxLayout( vlayout );
+ m_pDepthLabel = new TQLabel( i18n( "Depth:" ), this );
m_pDepth = new PMFloatEdit( this );
layout->addWidget( m_pDepthLabel );
layout->addWidget( m_pDepth );
layout->addStretch( 1 );
/* The brick information */
- QHBoxLayout* bricklayout = new QHBoxLayout( vlayout );
- m_pBrickSizeLabel = new QLabel( i18n( "Brick size:" ), this );
+ TQHBoxLayout* bricklayout = new TQHBoxLayout( vlayout );
+ m_pBrickSizeLabel = new TQLabel( i18n( "Brick size:" ), this );
m_pBrickSize = new PMVectorEdit( "x", "y", "z", this );
bricklayout->addWidget( m_pBrickSizeLabel );
bricklayout->addWidget( m_pBrickSize );
- layout = new QHBoxLayout( vlayout );
- m_pMortarLabel = new QLabel( i18n( "Mortar:" ), this );
+ layout = new TQHBoxLayout( vlayout );
+ m_pMortarLabel = new TQLabel( i18n( "Mortar:" ), this );
m_pMortar = new PMFloatEdit( this );
layout->addWidget( m_pMortarLabel );
layout->addWidget( m_pMortar );
layout->addStretch( 1 );
/* connect all signals to slots/signals */
- connect( m_pBrickSize, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pTypeCombo, SIGNAL( activated( int ) ), SLOT( slotComboChanged( int ) ) );
- connect( m_pMortar, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
- connect( m_pDepth, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) );
+ connect( m_pBrickSize, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pTypeCombo, TQT_SIGNAL( activated( int ) ), TQT_SLOT( slotComboChanged( int ) ) );
+ connect( m_pMortar, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
+ connect( m_pDepth, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) );
}
void PMListPatternEdit::displayObject( PMObject* o )
{
- QString str;
+ TQString str;
if( o->isA( "ListPattern" ) )
{