mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kstyles: adjust to recent Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
ecbc98b6d9
commit
6956ac804a
2 changed files with 16 additions and 0 deletions
|
@ -7502,7 +7502,11 @@ namespace Oxygen
|
|||
}
|
||||
|
||||
//____________________________________________________________________
|
||||
#ifndef QT_KATIE
|
||||
QIcon Style::standardIconImplementation(
|
||||
#else
|
||||
QIcon Style::standardIcon(
|
||||
#endif
|
||||
StandardPixmap standardIcon,
|
||||
const QStyleOption *option,
|
||||
const QWidget *widget ) const
|
||||
|
@ -7730,7 +7734,11 @@ namespace Oxygen
|
|||
}
|
||||
|
||||
default:
|
||||
#ifndef QT_KATIE
|
||||
return QCommonStyle::standardIconImplementation( standardIcon, option, widget );
|
||||
#else
|
||||
return QCommonStyle::standardIcon( standardIcon, option, widget );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -197,13 +197,21 @@ namespace Oxygen
|
|||
void globalPaletteChanged( void );
|
||||
|
||||
//! copied from kstyle
|
||||
#ifndef QT_KATIE
|
||||
int layoutSpacingImplementation(
|
||||
#else
|
||||
virtual int layoutSpacing(
|
||||
#endif
|
||||
QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation,
|
||||
const QStyleOption* option, const QWidget* widget ) const
|
||||
{ return pixelMetric(PM_DefaultLayoutSpacing, option, widget); }
|
||||
|
||||
//! standard icons
|
||||
#ifndef QT_KATIE
|
||||
virtual QIcon standardIconImplementation(
|
||||
#else
|
||||
virtual QIcon standardIcon(
|
||||
#endif
|
||||
StandardPixmap standardIcon,
|
||||
const QStyleOption *option,
|
||||
const QWidget *widget) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue