1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<HTML>
<HEAD>
<TITLE>class toTimer</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class toTimer</h1>
</TD>
<TD valign="top" align="right" colspan="1"> A timer descendant which also keep track of the last timer setting sent to it. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Definition</TH><TD><code>#include <<A HREF="tobackground_h.html">tobackground.h</A>></code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="http://doc.trolltech.com/qtimer.html">QTimer</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
<TR><TH>Inherited by</TH><TD><A HREF="toBackground.html">toBackground</A></TD></TR>
<TR><TH><A HREF="full-list-toTimer.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref2">toTimer</A></b> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *parent=0,const char * name=0)
</LI>
<LI>int <b><A HREF="#ref3">start</A></b> (int msec,bool sshot=false)
</LI>
<LI>int <b><A HREF="#ref4">lastTimer</A></b> (void)
</LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> A timer descendant which also keep track of the last timer setting sent to it.
</p>
<A NAME="toTimer"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toTimer</strong> (<A HREF="http://doc.trolltech.com/qobject.html">QObject</A> *parent=0,const char * name=0)
<br></td><td align="right"><h3><strong>toTimer</strong></h3></td></tr></table><p></p><p> Create timer.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent object of timer.
</TD></TR>
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of timer.
</TD></TR>
</TABLE></P>
<A NAME="start"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>start</strong> (int msec,bool sshot=false)
<br></td><td align="right"><h3><strong>start</strong></h3></td></tr></table><p></p><p> Start timer.
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>msec</i></TD><TD align="left" valign="top">Milliseconds to timeout.
</TD></TR>
<TR><TD align="left" valign="top"><i>sshot</i></TD><TD align="left" valign="top">Set to true if only timeout once.
</TD></TR>
</TABLE></P>
<p>Reimplemented from <A HREF="http://doc.trolltech.com/qtimer.html#3aafb5">QTimer</A>.</p>
<A NAME="lastTimer"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>lastTimer</strong> (void)
<br></td><td align="right"><h3><strong>lastTimer</strong></h3></td></tr></table><p></p><p> Get last timer start timeout.
</p>
<p><b>Returns</b>: Last timeout in millisecond.
</p>
<HR>
<table>
</table>
</BODY>
</HTML>
|