diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmpalettevalueedit.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmpalettevalueedit.cpp')
-rw-r--r-- | kpovmodeler/pmpalettevalueedit.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpovmodeler/pmpalettevalueedit.cpp b/kpovmodeler/pmpalettevalueedit.cpp index ca029887..b81caa78 100644 --- a/kpovmodeler/pmpalettevalueedit.cpp +++ b/kpovmodeler/pmpalettevalueedit.cpp @@ -35,25 +35,25 @@ #include <kdialog.h> #include <kfiledialog.h> -PMPaletteValueEdit::PMPaletteValueEdit( TQWidget* parent, const char* name ) - : TQWidget( parent, name ) +PMPaletteValueEdit::PMPaletteValueEdit( TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { TQLabel* lbl; - TQHBoxLayout* layout; + TQHBoxLayout* tqlayout; m_pIndexEdit = new PMIntEdit( this ); m_pValueEdit = new PMFloatEdit( this ); - layout = new TQHBoxLayout( this ); + tqlayout = new TQHBoxLayout( this ); lbl = new TQLabel( i18n( "Index" ), this ); - layout->addWidget( lbl ); - layout->addSpacing( KDialog::spacingHint( ) ); - layout->addWidget( m_pIndexEdit ); - layout->addSpacing( KDialog::spacingHint( ) ); + tqlayout->addWidget( lbl ); + tqlayout->addSpacing( KDialog::spacingHint( ) ); + tqlayout->addWidget( m_pIndexEdit ); + tqlayout->addSpacing( KDialog::spacingHint( ) ); lbl = new TQLabel( i18n( "Value" ), this ); - layout->addWidget( lbl ); - layout->addSpacing( KDialog::spacingHint( ) ); - layout->addWidget( m_pValueEdit ); + tqlayout->addWidget( lbl ); + tqlayout->addSpacing( KDialog::spacingHint( ) ); + tqlayout->addWidget( m_pValueEdit ); connect( m_pIndexEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); connect( m_pValueEdit, TQT_SIGNAL( dataChanged( ) ), TQT_SIGNAL( dataChanged( ) ) ); |