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 bool QS60StylePrivate::isSingleClickUi() |
|
346 { |
|
347 return false; |
|
348 } |
|
349 |
|
350 QFont QS60StylePrivate::s60Font_specific( |
|
351 QS60StyleEnums::FontCategories fontCategory, |
|
352 int pointSize, bool resolveFontSize) |
346 { |
353 { |
347 QFont result; |
354 QFont result; |
348 result.setPointSize(pointSize); |
355 if (resolveFontSize) |
|
356 result.setPointSize(pointSize); |
349 switch (fontCategory) { |
357 switch (fontCategory) { |
350 case QS60StyleEnums::FC_Primary: |
358 case QS60StyleEnums::FC_Primary: |
351 result.setBold(true); |
359 result.setBold(true); |
352 break; |
360 break; |
353 case QS60StyleEnums::FC_Secondary: |
361 case QS60StyleEnums::FC_Secondary: |
357 case QS60StyleEnums::FC_Undefined: |
365 case QS60StyleEnums::FC_Undefined: |
358 default: |
366 default: |
359 break; |
367 break; |
360 } |
368 } |
361 return result; |
369 return result; |
|
370 } |
|
371 |
|
372 int QS60StylePrivate::currentAnimationFrame(QS60StyleEnums::SkinParts part) |
|
373 { |
|
374 return 0; |
362 } |
375 } |
363 |
376 |
364 /*! |
377 /*! |
365 Constructs a QS60Style object. |
378 Constructs a QS60Style object. |
366 */ |
379 */ |