equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
340 bool QS60StylePrivate::hasSliderGrooveGraphic() |
340 bool QS60StylePrivate::hasSliderGrooveGraphic() |
341 { |
341 { |
342 return false; |
342 return false; |
343 } |
343 } |
344 |
344 |
345 QFont QS60StylePrivate::s60Font_specific(QS60StyleEnums::FontCategories fontCategory, int pointSize) |
345 QFont QS60StylePrivate::s60Font_specific( |
|
346 QS60StyleEnums::FontCategories fontCategory, |
|
347 int pointSize, bool resolveFontSize) |
346 { |
348 { |
347 QFont result; |
349 QFont result; |
348 result.setPointSize(pointSize); |
350 if (resolveFontSize) |
|
351 result.setPointSize(pointSize); |
349 switch (fontCategory) { |
352 switch (fontCategory) { |
350 case QS60StyleEnums::FC_Primary: |
353 case QS60StyleEnums::FC_Primary: |
351 result.setBold(true); |
354 result.setBold(true); |
352 break; |
355 break; |
353 case QS60StyleEnums::FC_Secondary: |
356 case QS60StyleEnums::FC_Secondary: |