remove fontMetrics()

This commit is contained in:
Marco Martin 2013-03-11 16:08:37 +01:00
parent d0b4b462f0
commit f07387267a
2 changed files with 0 additions and 11 deletions

View File

@ -859,12 +859,6 @@ QFont Theme::font(FontRole role) const
return d->generalFont;
}
QFontMetrics Theme::fontMetrics() const
{
//TODO: allow this to be overridden with a plasma specific font?
return QFontMetrics(d->generalFont);
}
bool Theme::windowTranslucencyEnabled() const
{
return d->compositingActive;

View File

@ -170,11 +170,6 @@ class PLASMA_EXPORT Theme : public QObject
*/
QFont font(FontRole role) const;
/**
* @return the font metrics for the font to be used by themed items
*/
QFontMetrics fontMetrics() const;
/**
* @return true if the window manager effects (e.g. translucency, compositing) is active or not
*/