Fix digikam FTBFS under gcc4.6

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/digikam@1244228 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent bf9d53bc58
commit 63c25ca8e5

@ -144,9 +144,9 @@ BorderTool::BorderTool(TQObject* tqparent)
// -------------------------------------------------------------------
m_labelForeground = new TQLabel(m_gboxSettings->plainPage());
m_firstColorButton = new KColorButton( TQColor::TQColor( 192, 192, 192 ), m_gboxSettings->plainPage() );
m_firstColorButton = new KColorButton( TQColor( 192, 192, 192 ), m_gboxSettings->plainPage() );
m_labelBackground = new TQLabel(m_gboxSettings->plainPage());
m_secondColorButton = new KColorButton( TQColor::TQColor( 128, 128, 128 ), m_gboxSettings->plainPage() );
m_secondColorButton = new KColorButton( TQColor( 128, 128, 128 ), m_gboxSettings->plainPage() );
// -------------------------------------------------------------------

@ -148,9 +148,9 @@ ImageEffect_Border::ImageEffect_Border(TQWidget* tqparent)
// -------------------------------------------------------------------
m_labelForeground = new TQLabel(gboxSettings);
m_firstColorButton = new KColorButton( TQColor::TQColor( 192, 192, 192 ), gboxSettings );
m_firstColorButton = new KColorButton( TQColor( 192, 192, 192 ), gboxSettings );
m_labelBackground = new TQLabel(gboxSettings);
m_secondColorButton = new KColorButton( TQColor::TQColor( 128, 128, 128 ), gboxSettings );
m_secondColorButton = new KColorButton( TQColor( 128, 128, 128 ), gboxSettings );
// -------------------------------------------------------------------

@ -61,7 +61,7 @@ DirSelectWidget::DirSelectWidget(TQWidget* tqparent, const char* name, TQString
if ( headerLabel.isNull() )
header()->hide();
setAlternateBackground(TQColor::TQColor());
setAlternateBackground(TQColor());
}
DirSelectWidget::DirSelectWidget(KURL rootUrl, KURL currentUrl,
@ -75,7 +75,7 @@ DirSelectWidget::DirSelectWidget(KURL rootUrl, KURL currentUrl,
if ( headerLabel.isNull() )
header()->hide();
setAlternateBackground(TQColor::TQColor());
setAlternateBackground(TQColor());
setRootPath(rootUrl, currentUrl);
}

@ -83,7 +83,7 @@ TQColor DColor::getTQColor() const
return eightBit.getTQColor();
}
return (TQColor::TQColor(m_red, m_green, m_blue));
return (TQColor(m_red, m_green, m_blue));
}
void DColor::convertToSixteenBit()

Loading…
Cancel
Save