Hi, Extract from the documentation: void QMenuBar::setDefaultAction ( QAction * act ) Sets the default action to act. The default action is assigned to the left soft key. The menu is assigned to the right soft key. Currently there is only support for the default action on Windows Mobile. All other platforms ignore the default action. See also defaultAction().
Having developed an application that runs on both wince and linux platforms and uses the DefaultAction to set an action on the left softkey we were confronted with a compiler error when compiling on linux: "class 'QMenuBar' has no member named 'setDefaultAction'". We worked around the problem temporarily by adding an #IFDEF Q_OS_WINCE but we believe a definite fix is needed. It is also possible that QAction * QMenuBar::defaultAction () suffers from the same compiler error (untested). Kind Regards Matthias
_______________________________________________ Qtce-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qtce-preview-feedback
