Changeset 846 for trunk/src/gui/image/qiconengine.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/image/qiconengine.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) … … 183 183 that should be filled with icon sizes. Engines that work in terms 184 184 of a scalable, vectorial format normally return an empty list. 185 186 \value IconNameHook Allows to query the name used to create the 187 icon, for example when instantiating an icon using 188 QIcon::fromTheme(). 185 189 186 190 \sa virtual_hook() … … 302 306 } 303 307 308 /*! 309 \since 4.7 310 311 Returns the name used to create the engine, if available. 312 313 \note This is a helper method and the actual work is done by 314 virtual_hook() method, hence this method depends on icon engine support 315 and may not work with all icon engines. 316 */ 317 QString QIconEngineV2::iconName() 318 { 319 QString name; 320 virtual_hook(QIconEngineV2::IconNameHook, reinterpret_cast<void*>(&name)); 321 return name; 322 } 323 304 324 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.