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/pmcoloredit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kpovmodeler/pmcoloredit.cpp') diff --git a/kpovmodeler/pmcoloredit.cpp b/kpovmodeler/pmcoloredit.cpp index 9695f9eb..1c282f78 100644 --- a/kpovmodeler/pmcoloredit.cpp +++ b/kpovmodeler/pmcoloredit.cpp @@ -24,8 +24,8 @@ #include #include -PMColorEdit::PMColorEdit( bool filterAndTransmit, TQWidget* parent, const char* name ) - : TQWidget( parent, name ) +PMColorEdit::PMColorEdit( bool filterAndTransmit, TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { m_bFilterAndTransmit = filterAndTransmit; @@ -106,7 +106,7 @@ void PMColorEdit::updateButton( ) { bool b = m_pButton->signalsBlocked( ); m_pButton->blockSignals( true ); - m_pButton->setColor( m_color.toQColor( ) ); + m_pButton->setColor( m_color.toTQColor( ) ); m_pButton->blockSignals( b ); } -- cgit v1.2.1