src/gui/kernel/qaction.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
   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 {