⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qpeapplication.html

📁 qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人员可以用来资料查询.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
            ...        }    }</pre> <p> Note that messages received here may be processed by qpe applicationand emitted as signals, such as flush() and reload().<h3 class=fn>void <a name="categoriesChanged"></a>QPEApplication::categoriesChanged ()<tt> [signal]</tt></h3><p> This signal is emitted whenever a category is added, removed or edited.Note, on Qtopia 1.5.0, this signal is never emitted.<h3 class=fn>void <a name="clockChanged"></a>QPEApplication::clockChanged ( bool&nbsp;ampm )<tt> [signal]</tt></h3><p> This signal is emitted when the user changes the clock's style. If<em>ampm</em> is TRUE, the user wants a 12-hour AM/PM clock, otherwise,they want a 24-hour clock.<p> <b>Warning:</b> if you use the TimeString functions, you should useTimeString::connectChange() instead.<p> <p>See also <a href="#dateFormatChanged">dateFormatChanged</a>().<h3 class=fn>void <a name="dateFormatChanged"></a>QPEApplication::dateFormatChanged ( DateFormat )<tt> [signal]</tt></h3><p> This signal is emitted whenever the date format is changed.<p> <b>Warning:</b> if you use the TimeString functions, you should useTimeString::connectChange() instead.<p> <p>See also <a href="#clockChanged">clockChanged</a>().<h3 class=fn>QString <a name="documentDir"></a>QPEApplication::documentDir ()<tt> [static]</tt></h3>Returns the user's current Document directory. There is a trailing "/".<h3 class=fn>void <a name="grabKeyboard"></a>QPEApplication::grabKeyboard ()<tt> [static]</tt></h3>Grabs the physical keyboard keys, e.g. the application's launchingkeys. Instead of launching applications when these keys are pressedthe signals emitted are sent to this application instead. Some gamesprograms take over the launch keys in this way to make interactioneasier.<p> Under Qtopia Phone Edition this function does nothing.  It is notpossible to grab the keyboard under Qtopia Phone Edition.<p> <p>See also <a href="#ungrabKeyboard">ungrabKeyboard</a>().<h3 class=fn><a href="qpeapplication.html#InputMethodHint-enum">InputMethodHint</a> <a name="inputMethodHint"></a>QPEApplication::inputMethodHint ( QWidget&nbsp;*&nbsp;w )<tt> [static]</tt></h3>Returns the currently set hint to the system as to whetherwidget <em>w</em> has any use for text input methods.<p> <p>See also <a href="#setInputMethodHint">setInputMethodHint</a>() and <a href="#InputMethodHint-enum">InputMethodHint</a>.<h3 class=fn>QString <a name="inputMethodHintParam"></a>QPEApplication::inputMethodHintParam ( QWidget&nbsp;*&nbsp;w )<tt> [static]</tt></h3>Returns the currently set hint parameter forwidget <em>w</em>.<p> <p>See also <a href="#setInputMethodHint">setInputMethodHint</a>() and <a href="#InputMethodHint-enum">InputMethodHint</a>.<h3 class=fn>bool <a name="isMenuLike"></a>QPEApplication::isMenuLike ( const&nbsp;QDialog&nbsp;*&nbsp;diag )<tt> [static]</tt></h3>Returns true if the dialog <em>diag</em> is set to have Menu Like behaviour when executed.Otherwise returns FALSE<p> <p>See also <a href="#setMenuLike">setMenuLike</a>().<h3 class=fn>bool <a name="keepRunning"></a>QPEApplication::keepRunning () const</h3>Returns TRUE if the application will quit after processing thecurrent list of qcop messages; otherwise returns FALSE.<p> <p>See also <a href="#setKeepRunning">setKeepRunning</a>().<h3 class=fn>void <a name="linkChanged"></a>QPEApplication::linkChanged ( const&nbsp;QString&nbsp;&amp;&nbsp;linkFile )<tt> [signal]</tt></h3><p> This signal is emitted whenever an <a href="applnk.html">AppLnk</a> or <a href="doclnk.html">DocLnk</a> is stored, removed or edited.<em>linkFile</em> contains the name of the link that is being modified.<h3 class=fn>QString <a name="qpeDir"></a>QPEApplication::qpeDir ()<tt> [static]</tt></h3>Returns <tt>$QPEDIR/</tt>.<h3 class=fn>bool <a name="qwsEventFilter"></a>QPEApplication::qwsEventFilter ( QWSEvent&nbsp;*&nbsp;e )<tt> [protected]</tt></h3>Filters Qt event <em>e</em> to implement Qtopia-specific functionality.<h3 class=fn>void <a name="setInputMethodHint"></a>QPEApplication::setInputMethodHint ( QWidget&nbsp;*&nbsp;w, <a href="qpeapplication.html#InputMethodHint-enum">InputMethodHint</a>&nbsp;mode, const&nbsp;QString&nbsp;&amp;&nbsp;param = QString::null )<tt> [static]</tt></h3>Hints to the system that widget <em>w</em> has use for text input methodsas specified by <em>mode</em>.<p> <p>See also <a href="#inputMethodHint">inputMethodHint</a>() and <a href="#InputMethodHint-enum">InputMethodHint</a>.<h3 class=fn>void <a name="setKeepRunning"></a>QPEApplication::setKeepRunning ()<tt> [static]</tt></h3>If an application is started via a <a href="qcop.html">QCop</a>message, the application will process the <a href="qcop.html">QCop</a> message and then quit. If the application calls thisfunction while processing a <a href="qcop.html">QCop</a> message,after processing its outstanding <a href="qcop.html">QCop</a>messages the application will start 'properly' and show itself.<p> <p>See also <a href="#keepRunning">keepRunning</a>().<h3 class=fn>void <a name="setMenuLike"></a>QPEApplication::setMenuLike ( QDialog&nbsp;*&nbsp;diag, bool&nbsp;b )<tt> [static]</tt></h3>If <em>b</em> is true sets the dialog <em>diag</em> to have Menu Like behaviour when executed.Otherwise sets dialog to have default dialog behaviour.<p> Menu Like dialogs typically have a single list of options, andshould accept the dialog when the select key is pressed on the appropriate item.Menu Like dialogs should only have one widget accepting key focus.<p> By marking a dialog as Menu Like Qtopia will map the Back key to reject the dialogand will not map any key to accept the dialog.<p> The default dialog behaviour is to include a cancel menu option in the contextmenu to reject the dialog and to map the Back key to accept the dialog.<p> Only modal dialogs can be Menu Like.<p> <p>See also <a href="#isMenuLike">isMenuLike</a>().<h3 class=fn>void <a name="setStylusOperation"></a>QPEApplication::setStylusOperation ( QWidget&nbsp;*&nbsp;w, <a href="qpeapplication.html#StylusMode-enum">StylusMode</a>&nbsp;mode )<tt> [static]</tt></h3>Causes widget <em>w</em> to receive mouse events according to the stylus<em>mode</em>.<p> <p>See also <a href="#stylusOperation">stylusOperation</a>() and <a href="#StylusMode-enum">StylusMode</a>.<h3 class=fn>void <a name="setTempScreenSaverMode"></a>QPEApplication::setTempScreenSaverMode ( <a href="qpeapplication.html#screenSaverHint-enum">screenSaverHint</a>&nbsp;hint )<tt> [static]</tt></h3><p> This method temporarily overrides the current global screen saver withthe screenSaverHint <em>hint</em>, allowing applications to control screensaveractivation during their execution.<p> First availability: Qtopia 1.6<p> <p>See also <a href="#screenSaverHint-enum">screenSaverHint</a>.<h3 class=fn>void <a name="showDialog"></a>QPEApplication::showDialog ( QDialog&nbsp;*&nbsp;dialog, bool&nbsp;nomax = FALSE )<tt> [static]</tt></h3><p> Shows <em>dialog</em>. An heuristic approach is taken todetermine the size and maximization of the dialog.<p> <em>nomax</em> forces it to not be maximized.<h3 class=fn>void <a name="showMainDocumentWidget"></a>QPEApplication::showMainDocumentWidget ( QWidget&nbsp;*&nbsp;mw, bool&nbsp;nomaximize = FALSE )</h3>Sets widget <em>mw</em> as the mainWidget() and shows it. For small windows,consider passing TRUE for <em>nomaximize</em> rather than the default FALSE.<p> This calls designates the application asa <a href="docwidget.html">document-oriented</a> application.<p> The <em>mw</em> widget <em>must</em> have this slot: setDocument(const QString&).<p> <p>See also <a href="#showMainWidget">showMainWidget</a>().<h3 class=fn>void <a name="showMainWidget"></a>QPEApplication::showMainWidget ( QWidget&nbsp;*&nbsp;mw, bool&nbsp;nomaximize = FALSE )</h3>Sets widget <em>mw</em> as the mainWidget() and shows it. For small windows,consider passing TRUE for <em>nomaximize</em> rather than the default FALSE.<p> <p>See also <a href="#showMainDocumentWidget">showMainDocumentWidget</a>().<h3 class=fn><a href="qpeapplication.html#StylusMode-enum">StylusMode</a> <a name="stylusOperation"></a>QPEApplication::stylusOperation ( QWidget&nbsp;*&nbsp;w )<tt> [static]</tt></h3>Returns the current StylusMode for widget <em>w</em>.<p> <p>See also <a href="#setStylusOperation">setStylusOperation</a>() and <a href="#StylusMode-enum">StylusMode</a>.<h3 class=fn>void <a name="timeChanged"></a>QPEApplication::timeChanged ()<tt> [signal]</tt></h3><p> This signal is emitted when the time changes outside the normalpassage of time, i.e. if the time is set backwards or forwards.<p> If the application offers the TimeMonitor service, it will getthe QCop message that causes this signal even if it is not running,thus allowing it to update any alarms or other time-related records.<h3 class=fn>void <a name="ungrabKeyboard"></a>QPEApplication::ungrabKeyboard ()<tt> [static]</tt></h3>Reverses the effect of <a href="#grabKeyboard">grabKeyboard</a>(). This is called automaticallyon program exit.<h3 class=fn>void <a name="volumeChanged"></a>QPEApplication::volumeChanged ( bool&nbsp;muted )<tt> [signal]</tt></h3><p> This signal is emitted whenever the mute state is changed. If <em>muted</em> is TRUE, then sound output has been muted.<h3 class=fn>void <a name="weekChanged"></a>QPEApplication::weekChanged ( bool&nbsp;startOnMonday )<tt> [signal]</tt></h3><p> This signal is emitted if the week start day is changed. If <em>startOnMonday</em> is TRUE then the first day of the week is Monday; if<em>startOnMonday</em> is FALSE then the first day of the week isSunday.<!-- eof --><hr><p>This file is part of the <a href="../index.html">Qtopia</a> platform,copyright &copy; 1995-2004<a href="http://www.trolltech.com/">Trolltech</a>, all rights reserved.<p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright &copy; 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -