From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: 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 --- kpovmodeler/pmpalettevalueedit.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kpovmodeler/pmpalettevalueedit.cpp') 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 #include -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( ) ) ); -- cgit v1.2.1