307 lines
18 KiB
HTML
307 lines
18 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<!-- qs60mainappui.cpp -->
|
|
<title>Qt 4.8: QS60MainAppUi Class Reference</title>
|
|
<link rel="stylesheet" type="text/css" href="style/style.css" />
|
|
<script src="scripts/jquery.js" type="text/javascript"></script>
|
|
<script src="scripts/functions.js" type="text/javascript"></script>
|
|
<link rel="stylesheet" type="text/css" href="style/superfish.css" />
|
|
<link rel="stylesheet" type="text/css" href="style/narrow.css" />
|
|
<!--[if IE]>
|
|
<meta name="MSSmartTagsPreventParsing" content="true">
|
|
<meta http-equiv="imagetoolbar" content="no">
|
|
<![endif]-->
|
|
<!--[if lt IE 7]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
|
|
<![endif]-->
|
|
<!--[if IE 7]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
|
|
<![endif]-->
|
|
<!--[if IE 8]>
|
|
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
|
|
<![endif]-->
|
|
|
|
<script src="scripts/superfish.js" type="text/javascript"></script>
|
|
<script src="scripts/narrow.js" type="text/javascript"></script>
|
|
|
|
</head>
|
|
<body class="" onload="CheckEmptyAndLoadList();">
|
|
<div class="header" id="qtdocheader">
|
|
<div class="content">
|
|
<div id="nav-logo">
|
|
<a href="index.html">Home</a></div>
|
|
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
|
|
<div id="narrowsearch"></div>
|
|
<div id="nav-topright">
|
|
<ul>
|
|
<li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
|
|
<li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
|
|
<li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
|
|
DOC</a></li>
|
|
<li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="shortCut">
|
|
<ul>
|
|
<li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
|
|
<li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS </a></li>
|
|
</ul>
|
|
</div>
|
|
<ul class="sf-menu" id="narrowmenu">
|
|
<li><a href="#">API Lookup</a>
|
|
<ul>
|
|
<li><a href="classes.html">Class index</a></li>
|
|
<li><a href="functions.html">Function index</a></li>
|
|
<li><a href="modules.html">Modules</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="qtglobal.html">Global Declarations</a></li>
|
|
<li><a href="qdeclarativeelements.html">QML elements</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Qt Topics</a>
|
|
<ul>
|
|
<li><a href="qt-basic-concepts.html">Programming with Qt</a></li>
|
|
<li><a href="qtquick.html">Device UIs & Qt Quick</a></li>
|
|
<li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
|
|
<li><a href="supported-platforms.html">Supported Platforms</a></li>
|
|
<li><a href="technology-apis.html">Qt and Key Technologies</a></li>
|
|
<li><a href="best-practices.html">How-To's and Best Practices</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#">Examples</a>
|
|
<ul>
|
|
<li><a href="all-examples.html">Examples</a></li>
|
|
<li><a href="tutorials.html">Tutorials</a></li>
|
|
<li><a href="demos.html">Demos</a></li>
|
|
<li><a href="qdeclarativeexamples.html">QML Examples</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="wrapper">
|
|
<div class="hd">
|
|
<span></span>
|
|
</div>
|
|
<div class="bd group">
|
|
<div class="sidebar">
|
|
<div class="searchlabel">
|
|
Search index:</div>
|
|
<div class="search" id="sidebarsearch">
|
|
<form id="qtdocsearch" action="" onsubmit="return false;">
|
|
<fieldset>
|
|
<input type="text" name="searchstring" id="pageType" value="" />
|
|
<div id="resultdialog">
|
|
<a href="#" id="resultclose">Close</a>
|
|
<p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p>
|
|
<p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span> results:</p>
|
|
<ul id="resultlist" class="all">
|
|
</ul>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
<div class="box first bottombar" id="lookup">
|
|
<h2 title="API Lookup"><span></span>
|
|
API Lookup</h2>
|
|
<div id="list001" class="list">
|
|
<ul id="ul001" >
|
|
<li class="defaultLink"><a href="classes.html">Class index</a></li>
|
|
<li class="defaultLink"><a href="functions.html">Function index</a></li>
|
|
<li class="defaultLink"><a href="modules.html">Modules</a></li>
|
|
<li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
|
|
<li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
|
|
<li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="box bottombar" id="topics">
|
|
<h2 title="Qt Topics"><span></span>
|
|
Qt Topics</h2>
|
|
<div id="list002" class="list">
|
|
<ul id="ul002" >
|
|
<li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li>
|
|
<li class="defaultLink"><a href="qtquick.html">Device UIs & Qt Quick</a></li>
|
|
<li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
|
|
<li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>
|
|
<li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li>
|
|
<li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="box" id="examples">
|
|
<h2 title="Examples"><span></span>
|
|
Examples</h2>
|
|
<div id="list003" class="list">
|
|
<ul id="ul003">
|
|
<li class="defaultLink"><a href="all-examples.html">Examples</a></li>
|
|
<li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
|
|
<li class="defaultLink"><a href="demos.html">Demos</a></li>
|
|
<li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="wrap">
|
|
<div class="toolbar">
|
|
<div class="breadcrumb toolblock">
|
|
<ul>
|
|
<li class="first"><a href="index.html">Home</a></li>
|
|
<!-- Breadcrumbs go here -->
|
|
<li><a href="modules.html">Modules</a></li>
|
|
<li><a href="qtgui.html">QtGui</a></li>
|
|
<li>QS60MainAppUi</li>
|
|
</ul>
|
|
</div>
|
|
<div class="toolbuttons toolblock">
|
|
<ul>
|
|
<li id="smallA" class="t_button">A</li>
|
|
<li id="medA" class="t_button active">A</li>
|
|
<li id="bigA" class="t_button">A</li>
|
|
<li id="print" class="t_button"><a href="javascript:this.print();">
|
|
<span>Print</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="content mainContent">
|
|
<div class="toc">
|
|
<h3><a name="toc">Contents</a></h3>
|
|
<ul>
|
|
<li class="level1"><a href="#public-functions">Public Functions</a></li>
|
|
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
|
|
<li class="level1"><a href="#details">Detailed Description</a></li>
|
|
</ul>
|
|
</div>
|
|
<h1 class="title">QS60MainAppUi Class Reference</h1>
|
|
<!-- $$$QS60MainAppUi-brief -->
|
|
<p>The QS60MainAppUi class is a helper class for S60 migration. <a href="#details">More...</a></p>
|
|
<!-- @@@QS60MainAppUi -->
|
|
<pre class="cpp"> <span class="preprocessor">#include <QS60MainAppUi></span></pre><p>This class was introduced in Qt 4.6.</p>
|
|
<ul>
|
|
<li><a href="qs60mainappui-members.html">List of all members, including inherited members</a></li>
|
|
</ul>
|
|
<a name="public-functions"></a>
|
|
<h2>Public Functions</h2>
|
|
<table class="alignedsummary">
|
|
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#QS60MainAppUi">QS60MainAppUi</a></b> ()</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#dtor.QS60MainAppUi">~QS60MainAppUi</a></b> ()</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#ConstructL">ConstructL</a></b> ()</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#DynInitMenuBarL">DynInitMenuBarL</a></b> ( TInt <i>resourceId</i>, CEikMenuBar * <i>menuBar</i> )</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#DynInitMenuPaneL">DynInitMenuPaneL</a></b> ( TInt <i>resourceId</i>, CEikMenuPane * <i>menuPane</i> )</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#HandleCommandL">HandleCommandL</a></b> ( TInt <i>command</i> )</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#HandleResourceChangeL">HandleResourceChangeL</a></b> ( TInt <i>type</i> )</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#HandleStatusPaneSizeChange">HandleStatusPaneSizeChange</a></b> ()</td></tr>
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#RestoreMenuL">RestoreMenuL</a></b> ( CCoeControl * <i>menuWindow</i>, TInt <i>resourceId</i>, TMenuType <i>menuType</i> )</td></tr>
|
|
</table>
|
|
<a name="protected-functions"></a>
|
|
<h2>Protected Functions</h2>
|
|
<table class="alignedsummary">
|
|
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qs60mainappui.html#HandleWsEventL">HandleWsEventL</a></b> ( const TWsEvent & <i>wsEvent</i>, CCoeControl * <i>destination</i> )</td></tr>
|
|
</table>
|
|
<a name="details"></a>
|
|
<!-- $$$QS60MainAppUi-description -->
|
|
<div class="descr">
|
|
<h2>Detailed Description</h2>
|
|
<p>The QS60MainAppUi class is a helper class for S60 migration.</p>
|
|
<p><b>Warning:</b> This class is provided only to get access to S60 specific functionality in the application framework classes. It is not portable. We strongly recommend against using it in new applications.</p>
|
|
<p>The QS60MainAppUi provides a helper class for use in migrating from existing S60 based applications to Qt based applications. It is used in the exact same way as the <tt>CAknAppUi</tt> class from Symbian, but internally provides extensions used by Qt.</p>
|
|
<p>When modifying old S60 applications that rely on implementing functions in <tt>CAknAppUi</tt>, the class should be modified to inherit from this class instead of <tt>CAknAppUi</tt>. Then the application can choose to override only certain functions.</p>
|
|
<p>For more information on <tt>CAknAppUi</tt>, please see the S60 documentation.</p>
|
|
<p>Unlike other Qt classes, QS60MainAppUi behaves like an S60 class, and can throw Symbian leaves.</p>
|
|
</div>
|
|
<p><b>See also </b><a href="qs60maindocument.html">QS60MainDocument</a> and <a href="qs60mainapplication.html">QS60MainApplication</a>.</p>
|
|
<!-- @@@QS60MainAppUi -->
|
|
<div class="func">
|
|
<h2>Member Function Documentation</h2>
|
|
<!-- $$$QS60MainAppUi[overload1]$$$QS60MainAppUi -->
|
|
<h3 class="fn"><a name="QS60MainAppUi"></a>QS60MainAppUi::<span class="name">QS60MainAppUi</span> ()</h3>
|
|
<p>Contructs an instance of <a href="qs60mainappui.html">QS60MainAppUi</a>.</p>
|
|
<!-- @@@QS60MainAppUi -->
|
|
<!-- $$$~QS60MainAppUi[overload1]$$$~QS60MainAppUi -->
|
|
<h3 class="fn"><a name="dtor.QS60MainAppUi"></a>QS60MainAppUi::<span class="name">~QS60MainAppUi</span> ()<tt> [virtual]</tt></h3>
|
|
<p>Destroys the <a href="qs60mainappui.html">QS60MainAppUi</a>.</p>
|
|
<!-- @@@~QS60MainAppUi -->
|
|
<!-- $$$ConstructL[overload1]$$$ConstructL -->
|
|
<h3 class="fn"><a name="ConstructL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">ConstructL</span> ()<tt> [virtual]</tt></h3>
|
|
<p>Second phase Symbian constructor.</p>
|
|
<p>Constructs all the elements of the class that can cause a leave to happen.</p>
|
|
<p>If you override this function, you should call the base class implementation as well.</p>
|
|
<!-- @@@ConstructL -->
|
|
<!-- $$$DynInitMenuBarL[overload1]$$$DynInitMenuBarLTIntCEikMenuBar* -->
|
|
<h3 class="fn"><a name="DynInitMenuBarL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">DynInitMenuBarL</span> ( <span class="type">TInt</span> <i>resourceId</i>, <span class="type">CEikMenuBar</span> * <i>menuBar</i> )<tt> [virtual]</tt></h3>
|
|
<p>Dynamically initializes a menu bar.</p>
|
|
<p>The resource associated with the menu is given in <i>resourceId</i>, and the actual menu bar is passed in <i>menuBar</i>.</p>
|
|
<p>If you override this function, you should call the base class implementation as well.</p>
|
|
<!-- @@@DynInitMenuBarL -->
|
|
<!-- $$$DynInitMenuPaneL[overload1]$$$DynInitMenuPaneLTIntCEikMenuPane* -->
|
|
<h3 class="fn"><a name="DynInitMenuPaneL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">DynInitMenuPaneL</span> ( <span class="type">TInt</span> <i>resourceId</i>, <span class="type">CEikMenuPane</span> * <i>menuPane</i> )<tt> [virtual]</tt></h3>
|
|
<p>Dynamically initializes a menu pane.</p>
|
|
<p>The resource associated with the menu is given in <i>resourceId</i>, and the actual menu pane is passed in <i>menuPane</i>.</p>
|
|
<p>If you override this function, you should call the base class implementation as well.</p>
|
|
<!-- @@@DynInitMenuPaneL -->
|
|
<!-- $$$HandleCommandL[overload1]$$$HandleCommandLTInt -->
|
|
<h3 class="fn"><a name="HandleCommandL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">HandleCommandL</span> ( <span class="type">TInt</span> <i>command</i> )<tt> [virtual]</tt></h3>
|
|
<p>Handles commands produced by the S60 framework.</p>
|
|
<p><i>command</i> holds the ID of the command to handle, and is S60 specific.</p>
|
|
<p>If you override this function, you should call the base class implementation if you do not handle the command.</p>
|
|
<!-- @@@HandleCommandL -->
|
|
<!-- $$$HandleResourceChangeL[overload1]$$$HandleResourceChangeLTInt -->
|
|
<h3 class="fn"><a name="HandleResourceChangeL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">HandleResourceChangeL</span> ( <span class="type">TInt</span> <i>type</i> )<tt> [virtual]</tt></h3>
|
|
<p>Handles a resource change in the S60 framework.</p>
|
|
<p>Resource changes include layout switches. <i>type</i> holds the type of resource change that occurred.</p>
|
|
<p>If you override this function, you should call the base class implementation if you do not handle the resource change.</p>
|
|
<!-- @@@HandleResourceChangeL -->
|
|
<!-- $$$HandleStatusPaneSizeChange[overload1]$$$HandleStatusPaneSizeChange -->
|
|
<h3 class="fn"><a name="HandleStatusPaneSizeChange"></a><span class="type">void</span> QS60MainAppUi::<span class="name">HandleStatusPaneSizeChange</span> ()<tt> [virtual]</tt></h3>
|
|
<p>Handles changes to the status pane size.</p>
|
|
<p>Called by the framework when the application status pane size is changed.</p>
|
|
<p>If you override this function, you should call the base class implementation if you do not handle the size change.</p>
|
|
<!-- @@@HandleStatusPaneSizeChange -->
|
|
<!-- $$$HandleWsEventL[overload1]$$$HandleWsEventLconstTWsEvent&CCoeControl* -->
|
|
<h3 class="fn"><a name="HandleWsEventL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">HandleWsEventL</span> ( const <span class="type">TWsEvent</span> & <i>wsEvent</i>, <span class="type">CCoeControl</span> * <i>destination</i> )<tt> [virtual protected]</tt></h3>
|
|
<p>Handles raw window server events.</p>
|
|
<p>The event type and information is passed in <i>wsEvent</i>, while the receiving control is passed in <i>destination</i>.</p>
|
|
<p>If you override this function, you should call the base class implementation if you do not handle the event.</p>
|
|
<!-- @@@HandleWsEventL -->
|
|
<!-- $$$RestoreMenuL[overload1]$$$RestoreMenuLCCoeControl*TIntTMenuType -->
|
|
<h3 class="fn"><a name="RestoreMenuL"></a><span class="type">void</span> QS60MainAppUi::<span class="name">RestoreMenuL</span> ( <span class="type">CCoeControl</span> * <i>menuWindow</i>, <span class="type">TInt</span> <i>resourceId</i>, <span class="type">TMenuType</span> <i>menuType</i> )<tt> [virtual]</tt></h3>
|
|
<p>Restores a menu window.</p>
|
|
<p>The menu window to restore is given in <i>menuWindow</i>. The resource ID and type of menu is given in <i>resourceId</i> and <i>menuType</i>, respectively.</p>
|
|
<p>If you override this function, you should call the base class implementation as well.</p>
|
|
<!-- @@@RestoreMenuL -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ft">
|
|
<span></span>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<p>
|
|
<acronym title="Copyright">©</acronym> 2015 The Qt Company Ltd.
|
|
Documentation contributions included herein are the copyrights of
|
|
their respective owners.</p>
|
|
<br />
|
|
<p>
|
|
The documentation provided herein is licensed under the terms of the
|
|
<a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
|
|
License version 1.3</a> as published by the Free Software Foundation.</p>
|
|
<p>
|
|
Documentation sources may be obtained from <a href="http://www.qt-project.org">
|
|
www.qt-project.org</a>.</p>
|
|
<br />
|
|
<p>
|
|
Qt and respective logos are trademarks of The Qt Company Ltd
|
|
in Finland and/or other countries worldwide. All other trademarks are property
|
|
of their respective owners. <a title="Privacy Policy"
|
|
href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
|
|
</div>
|
|
|
|
<script src="scripts/functions.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|