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/pmpovraymatrixedit.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/pmpovraymatrixedit.cpp')
-rw-r--r-- | kpovmodeler/pmpovraymatrixedit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmpovraymatrixedit.cpp b/kpovmodeler/pmpovraymatrixedit.cpp index 0d78c226..1e0f7833 100644 --- a/kpovmodeler/pmpovraymatrixedit.cpp +++ b/kpovmodeler/pmpovraymatrixedit.cpp @@ -20,12 +20,12 @@ #include "pmpovraymatrix.h" #include "pmlineedits.h" -#include <qlayout.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqlabel.h> #include <klocale.h> -PMPovrayMatrixEdit::PMPovrayMatrixEdit( QWidget* parent, const char* name ) +PMPovrayMatrixEdit::PMPovrayMatrixEdit( TQWidget* parent, const char* name ) : Base( parent, name ) { m_pDisplayedObject = 0; @@ -36,21 +36,21 @@ void PMPovrayMatrixEdit::createTopWidgets( ) Base::createTopWidgets( ); int i, r, c; - QGridLayout* gl = new QGridLayout( topLayout( ), 4, 4 ); + TQGridLayout* gl = new TQGridLayout( topLayout( ), 4, 4 ); for( i = 0; i < 12; i++ ) { m_pValue[i] = new PMFloatEdit( this ); - connect( m_pValue[i], SIGNAL( dataChanged( ) ), SIGNAL( dataChanged( ) ) ); + connect( m_pValue[i], TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); } for( r = 0; r < 4; r++ ) for( c = 0; c < 3; c++ ) gl->addWidget( m_pValue[r*3+c], r, c ); - gl->addWidget( new QLabel( "0.0", this ), 0, 3 ); - gl->addWidget( new QLabel( "0.0", this ), 1, 3 ); - gl->addWidget( new QLabel( "0.0", this ), 2, 3 ); - gl->addWidget( new QLabel( "1.0", this ), 3, 3 ); + gl->addWidget( new TQLabel( "0.0", this ), 0, 3 ); + gl->addWidget( new TQLabel( "0.0", this ), 1, 3 ); + gl->addWidget( new TQLabel( "0.0", this ), 2, 3 ); + gl->addWidget( new TQLabel( "1.0", this ), 3, 3 ); } void PMPovrayMatrixEdit::displayObject( PMObject* o ) |