Changeset 846 for trunk/src/gui/styles/qstyle.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/styles/qstyle.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 326 326 327 327 \sa QStyleOption, QStylePainter, {Styles Example}, 328 { ImplementingStyles and Style Aware Widgets}, QStyledItemDelegate328 {Styles and Style Aware Widgets}, QStyledItemDelegate 329 329 */ 330 330 … … 368 368 actions in this function might be to call the 369 369 QWidget::setBackgroundMode() function for the widget. Do not use 370 the function to set, for example, the geometry ; reimplementing371 this function do providea back-door through which the appearance372 of a widget can be changed, but with Qt 4.0's style engine there373 is rarely necessary to implement this function; reimplement the370 the function to set, for example, the geometry. Reimplementing 371 this function provides a back-door through which the appearance 372 of a widget can be changed, but with Qt's style engine it is 373 rarely necessary to implement this function; reimplement 374 374 drawItemPixmap(), drawItemText(), drawPrimitive(), etc. instead. 375 375 … … 2422 2422 QT_END_INCLUDE_NAMESPACE 2423 2423 2424 #if !defined(QT_NO_DEBUG_STREAM) 2424 2425 QDebug operator<<(QDebug debug, QStyle::State state) 2425 2426 { 2426 #if !defined(QT_NO_DEBUG) && !defined(QT_NO_DEBUG_STREAM)2427 #if !defined(QT_NO_DEBUG) 2427 2428 debug << "QStyle::State("; 2428 2429 … … 2456 2457 debug << states.join(QLatin1String(" | ")); 2457 2458 debug << ')'; 2459 #else 2460 Q_UNUSED(state); 2458 2461 #endif 2459 2462 return debug; 2460 2463 } 2464 #endif 2461 2465 2462 2466 /*!
Note:
See TracChangeset
for help on using the changeset viewer.