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 ** |
713 |
713 |
714 In toolbars, the icon is used as the tool button icon; in menus, |
714 In toolbars, the icon is used as the tool button icon; in menus, |
715 it is displayed to the left of the menu text. There is no default |
715 it is displayed to the left of the menu text. There is no default |
716 icon. |
716 icon. |
717 |
717 |
|
718 On Symbian the icons which are passed to softkeys, i.e. to actions with |
|
719 softkey role, need to have pixmap alpha channel correctly set otherwise |
|
720 drawing artifacts will appear when softkey is pressed down. |
|
721 |
718 If a null icon (QIcon::isNull() is passed into this function, |
722 If a null icon (QIcon::isNull() is passed into this function, |
719 the icon of the action is cleared. |
723 the icon of the action is cleared. |
720 */ |
724 */ |
721 void QAction::setIcon(const QIcon &icon) |
725 void QAction::setIcon(const QIcon &icon) |
722 { |
726 { |