diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmblendmapmodifiersedit.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-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/pmblendmapmodifiersedit.cpp')
-rw-r--r-- | kpovmodeler/pmblendmapmodifiersedit.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kpovmodeler/pmblendmapmodifiersedit.cpp b/kpovmodeler/pmblendmapmodifiersedit.cpp index 8e8ff150..fd443623 100644 --- a/kpovmodeler/pmblendmapmodifiersedit.cpp +++ b/kpovmodeler/pmblendmapmodifiersedit.cpp @@ -24,20 +24,20 @@ #include "pmlineedits.h" #include "pmvector.h" -#include <qwidget.h> -#include <qlayout.h> -#include <qcombobox.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qcheckbox.h> -#include <qpushbutton.h> +#include <tqwidget.h> +#include <tqlayout.h> +#include <tqcombobox.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqcheckbox.h> +#include <tqpushbutton.h> #include <ktabctl.h> #include <klocale.h> #include <kmessagebox.h> #include <kdialog.h> #include <kfiledialog.h> -PMBlendMapModifiersEdit::PMBlendMapModifiersEdit( QWidget* parent, const char* name ) +PMBlendMapModifiersEdit::PMBlendMapModifiersEdit( TQWidget* parent, const char* name ) : Base( parent, name ) { m_pDisplayedObject = 0; @@ -45,27 +45,27 @@ PMBlendMapModifiersEdit::PMBlendMapModifiersEdit( QWidget* parent, const char* n void PMBlendMapModifiersEdit::createTopWidgets( ) { - QHBoxLayout* hl; + TQHBoxLayout* hl; Base::createTopWidgets( ); - hl = new QHBoxLayout( topLayout( ) ); - m_pEnableFrequencyEdit = new QCheckBox( i18n( "Frequency:" ), this ); + hl = new TQHBoxLayout( topLayout( ) ); + m_pEnableFrequencyEdit = new TQCheckBox( i18n( "Frequency:" ), this ); m_pFrequencyEdit = new PMFloatEdit( this ); hl->addWidget( m_pEnableFrequencyEdit ); hl->addWidget( m_pFrequencyEdit ); hl->addStretch( 1 ); - hl = new QHBoxLayout( topLayout( ) ); - m_pEnablePhaseEdit = new QCheckBox( i18n( "Phase:" ), this ); + hl = new TQHBoxLayout( topLayout( ) ); + m_pEnablePhaseEdit = new TQCheckBox( i18n( "Phase:" ), this ); m_pPhaseEdit = new PMFloatEdit( this ); hl->addWidget( m_pEnablePhaseEdit ); hl->addWidget( m_pPhaseEdit ); hl->addStretch( 1 ); - hl = new QHBoxLayout( topLayout( ) ); - m_pEnableWaveFormEdit = new QCheckBox( i18n( "Wave form:" ), this ); - m_pWaveTypeCombo = new QComboBox( this ); + hl = new TQHBoxLayout( topLayout( ) ); + m_pEnableWaveFormEdit = new TQCheckBox( i18n( "Wave form:" ), this ); + m_pWaveTypeCombo = new TQComboBox( this ); m_pWaveTypeCombo->insertItem( i18n( "Ramp" ) ); m_pWaveTypeCombo->insertItem( i18n( "Triangle" ) ); m_pWaveTypeCombo->insertItem( i18n( "Sine" ) ); @@ -76,25 +76,25 @@ void PMBlendMapModifiersEdit::createTopWidgets( ) hl->addWidget( m_pWaveTypeCombo ); hl->addStretch( 1 ); - hl = new QHBoxLayout( topLayout( ) ); - m_pWaveExponentLabel = new QLabel( i18n( "Exponent:" ), this ); + hl = new TQHBoxLayout( topLayout( ) ); + m_pWaveExponentLabel = new TQLabel( i18n( "Exponent:" ), this ); m_pWaveExponentEdit = new PMFloatEdit( this ); hl->addWidget( m_pWaveExponentLabel ); hl->addWidget( m_pWaveExponentEdit ); hl->addStretch( 1 ); - connect( m_pEnableFrequencyEdit, SIGNAL( clicked( ) ), SLOT( slotFrequencyClicked( ) ) ); - connect( m_pFrequencyEdit, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pEnablePhaseEdit, SIGNAL( clicked( ) ), SLOT( slotPhaseClicked( ) ) ); - connect( m_pPhaseEdit, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pEnableWaveFormEdit, SIGNAL( clicked( ) ), SLOT( slotWaveFormClicked( ) ) ); - connect( m_pWaveExponentEdit, SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); - connect( m_pWaveTypeCombo, SIGNAL( activated( int ) ), SLOT( slotTypeComboChanged( int ) ) ); + connect( m_pEnableFrequencyEdit, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotFrequencyClicked( ) ) ); + connect( m_pFrequencyEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pEnablePhaseEdit, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotPhaseClicked( ) ) ); + connect( m_pPhaseEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pEnableWaveFormEdit, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotWaveFormClicked( ) ) ); + connect( m_pWaveExponentEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); + connect( m_pWaveTypeCombo, TQT_SIGNAL( activated( int ) ), TQT_SLOT( slotTypeComboChanged( int ) ) ); } void PMBlendMapModifiersEdit::displayObject( PMObject* o ) { - QString str; + TQString str; if( o->isA( "BlendMapModifiers" ) ) { |