Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 196

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:47 CEST 2007 -->
<TITLE>
QTimeLine
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.core.QTimeLine class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QTimeLine";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTime.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QTimeLine.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QTimeLine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.core</FONT>
<BR>
Class QTimeLine</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QObject</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QTimeLine</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QTimeLine</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></DL>
</PRE>

<P>
<p>The <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> class provides a timeline for controlling animations.</p>
<p>It's most commonly used to animate a GUI control by calling a slot periodically. You can construct a timeline by passing its duration in milliseconds to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s constructor. The timeline's duration describes for how long the animation will run. Then you set a suitable frame range by calling <a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a>. Finally connect the <a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a> signal to a suitable slot in the widget you wish to animate (e.g&#x2e;, setValue() in <a href="%2E%2E/gui/QProgressBar.html"><tt>QProgressBar</tt></a>). When you proceed to calling <a href="QTimeLine.html#start()"><tt>start</tt></a>, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will enter Running state, and start emitting <a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a> at regular intervals, causing your widget's connected property's value to grow from the lower end to the upper and of your frame range, at a steady rate. You can specify the update interval by calling <a href="QTimeLine.html#setUpdateInterval(int)"><tt>setUpdateInterval</tt></a>. When done, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> enters <a href="QTimeLine.html#State-enum"><tt>NotRunning</tt></a> state, and emits <a href="QTimeLine.html#finished()"><tt>finished</tt></a>.</p>
<p>Example:</p>
<pre>    ...
    progressBar = new QProgressBar(this);
    progressBar-&gt;setRange(0, 100);

<span class="comment">    // Construct a 1-second timeline with a frame range of 0 - 100</span>
    QTimeLine *timeLine = new QTimeLine(1000, this);
    timeLine-&gt;setFrameRange(0, 100);
    connect(timeLine, SIGNAL(frameChanged(int)), progressBar, SLOT(setValue(int)));

<span class="comment">    // Clicking the push button will start the progress bar animation</span>
    pushButton = new QPushButton(tr(&quot;Start animation&quot;), this);
    connect(pushButton, SIGNAL(clicked()), timeLine, SLOT(start()));
    ...</pre>
<p>You can also use <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> with the <a href="%2E%2E/graphicsview.html#graphics-view">Graphics View framework</tt></a> for animations. The <a href="%2E%2E/gui/QGraphicsItemAnimation.html"><tt>QGraphicsItemAnimation</tt></a> class implements animation of <a href="%2E%2E/gui/QGraphicsItem.html">QGraphicsItems</a> with a timeline.</p>
<p>By default the timeline runs once, from the beginning and towards the end, upon which you must call <a href="QTimeLine.html#start()"><tt>start</tt></a> again to restart from the beginning. To make the timeline loop, you can call <a href="QTimeLine.html#setLoopCount(int)"><tt>setLoopCount</tt></a>, passing the number of times the timeline should run before finishing. The direction can also be changed, causing the timeline to run backward, by calling <a href="QTimeLine.html#setDirection(com.trolltech.qt.core.QTimeLine.Direction)"><tt>setDirection</tt></a>. You can also pause and unpause the timeline while it's running by calling <a href="QTimeLine.html#setPaused(boolean)"><tt>setPaused</tt></a>. For interactive control, the <a href="QTimeLine.html#setCurrentTime(int)"><tt>setCurrentTime</tt></a> function is provided, which sets the time position of the time line directly. Although most useful in <a href="QTimeLine.html#State-enum"><tt>NotRunning</tt></a> state, (e.g&#x2e;, connected to a <a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a> signal in a <a href="%2E%2E/gui/QSlider.html"><tt>QSlider</tt></a>,) this function can be called at any time.</p>
<p>The frame interface is useful for standard widgets, but <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> can be used to control any type of animation. The heart of <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> lies in the <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a> function, which generates a <i>value</i> between 0 and 1 for a given time. This value is typically used to describe the steps of an animation, where 0 is the first step of an animation, and 1 is the last step. When running, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> generates values between 0 and 1 by calling <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a> and emitting <a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a>. By default, <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a> applies an interpolation algorithm to generate these value. You can choose from a set of predefined timeline algorithms by calling <a href="QTimeLine.html#setCurveShape(com.trolltech.qt.core.QTimeLine.CurveShape)"><tt>setCurveShape</tt></a>. By default, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> uses the EaseInOut curve shape, which provides a value that grows slowly, then grows steadily, and finally grows slowly. For a custom timeline, you can reimplement <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>, in which case <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s <a href="QTimeLine.html#curveShape()"><tt>curveShape</tt></a> property is ignored.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/gui/QProgressBar.html"><tt>QProgressBar</tt></a>, 
<a href="%2E%2E/gui/QProgressDialog.html"><tt>QProgressDialog</tt></a>, 
<a href="%2E%2E/gui/QGraphicsItemAnimation.html"><tt>QGraphicsItemAnimation</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core">QTimeLine.CurveShape</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the default shape of <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s value curve.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.Direction.html" title="enum in com.trolltech.qt.core">QTimeLine.Direction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the direction of the timeline when in <a href="QTimeLine.html#State-enum">Running</tt></a> state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.State.html" title="enum in com.trolltech.qt.core">QTimeLine.State</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the state of the timeline.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#finished">finished</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> finishes (i.e&#x2e;, reaches the end of its time line), and does not loop.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#frameChanged">frameChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> emits this signal at regular intervals when in <a href="QTimeLine.html#State-enum">Running</tt></a> state, but only if the current frame changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.State.html" title="enum in com.trolltech.qt.core">QTimeLine.State</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#stateChanged">stateChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted whenever <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s state changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Double&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#valueChanged">valueChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> emits this signal at regular intervals when in <a href="QTimeLine.html#State-enum">Running</tt></a> state, but only if the current value changes.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#QTimeLine()">QTimeLine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>(1000, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#QTimeLine(int)">QTimeLine</A></B>(int&nbsp;duration)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>(<tt>duration</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)">QTimeLine</A></B>(int&nbsp;duration,
          <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a timeline with a duration of <tt>duration</tt> milliseconds.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#currentFrame()">currentFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the frame corresponding to the current time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#currentTime()">currentTime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current time of the time line..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#currentValue()">currentValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value corresponding to the current time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core">QTimeLine.CurveShape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#curveShape()">curveShape</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the shape of the timeline curve..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.Direction.html" title="enum in com.trolltech.qt.core">QTimeLine.Direction</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#direction()">direction</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the direction of the timeline when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in <a href="QTimeLine.html#State-enum">Running</tt></a> state..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#duration()">duration</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the total duration of the timeline in milliseconds..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#endFrame()">endFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the end frame, which is the frame corresponding to the end of the timeline (i.e&#x2e;, the frame for which the current value is 1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#frameForTime(int)">frameForTime</A></B>(int&nbsp;msec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the frame corresponding to the time <tt>msec</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.html" title="class in com.trolltech.qt.core">QTimeLine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QTimeLine instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#loopCount()">loopCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of times the timeline should loop before it's finished..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#resume()">resume</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resumes the timeline from the current time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setCurrentTime(int)">setCurrentTime</A></B>(int&nbsp;msec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current time of the time line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setCurveShape(com.trolltech.qt.core.QTimeLine.CurveShape)">setCurveShape</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core">QTimeLine.CurveShape</A>&nbsp;shape)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shape of the timeline curve.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setDirection(com.trolltech.qt.core.QTimeLine.Direction)">setDirection</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTimeLine.Direction.html" title="enum in com.trolltech.qt.core">QTimeLine.Direction</A>&nbsp;direction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the direction of the timeline when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in <a href="QTimeLine.html#State-enum">Running</tt></a> state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setDuration(int)">setDuration</A></B>(int&nbsp;duration)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the total duration of the timeline in milliseconds.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setEndFrame(int)">setEndFrame</A></B>(int&nbsp;frame)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the end frame, which is the frame corresponding to the end of the timeline (i.e&#x2e;, the frame for which the current value is 1), to <tt>frame</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setFrameRange(int, int)">setFrameRange</A></B>(int&nbsp;startFrame,
              int&nbsp;endFrame)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the timeline's frame counter to start at <tt>startFrame</tt>, and end and <tt>endFrame</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setLoopCount(int)">setLoopCount</A></B>(int&nbsp;count)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of times the timeline should loop before it's finished.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setPaused(boolean)">setPaused</A></B>(boolean&nbsp;paused)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <tt>paused</tt> is true, the timeline is paused, causing <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> to enter Paused state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setStartFrame(int)">setStartFrame</A></B>(int&nbsp;frame)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the start frame, which is the frame corresponding to the start of the timeline (i.e&#x2e;, the frame for which the current value is 0), to <tt>frame</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#setUpdateInterval(int)">setUpdateInterval</A></B>(int&nbsp;interval)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the time in milliseconds between each time <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> updates its current time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#start()">start</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts or restarts the timeline.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#startFrame()">startFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the start frame, which is the frame corresponding to the start of the timeline (i.e&#x2e;, the frame for which the current value is 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.State.html" title="enum in com.trolltech.qt.core">QTimeLine.State</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#state()">state</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the state of the timeline.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#stop()">stop</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stops the timeline, causing <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> to enter <a href="QTimeLine.html#State-enum"><tt>NotRunning</tt></a> state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTimerEvent.html" title="class in com.trolltech.qt.core">QTimerEvent</A>&nbsp;event)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#toggleDirection()">toggleDirection</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Toggles the direction of the timeline.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#updateInterval()">updateInterval</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the time in milliseconds between each time <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> updates its current time..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTimeLine.html#valueForTime(int)">valueForTime</A></B>(int&nbsp;msec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the timeline value for the time <tt>msec</tt>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#childEvent(com.trolltech.qt.core.QChildEvent)">childEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#children()">children</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#connectSlotsByName()">connectSlotsByName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#customEvent(com.trolltech.qt.core.QEvent)">customEvent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#disposeLater()">disposeLater</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectInfo()">dumpObjectInfo</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dumpObjectTree()">dumpObjectTree</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#dynamicPropertyNames()">dynamicPropertyNames</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#event(com.trolltech.qt.core.QEvent)">event</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#eventFilter(com.trolltech.qt.core.QObject, com.trolltech.qt.core.QEvent)">eventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild()">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String)">findChild</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren()">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, com.trolltech.qt.core.QRegExp)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#findChildren(java.lang.Class, java.lang.String)">findChildren</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#installEventFilter(com.trolltech.qt.core.QObject)">installEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#isWidgetType()">isWidgetType</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#killTimer(int)">killTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#moveToThread(java.lang.Thread)">moveToThread</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#objectName()">objectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#parent()">parent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#property(java.lang.String)">property</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#removeEventFilter(com.trolltech.qt.core.QObject)">removeEventFilter</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setObjectName(java.lang.String)">setObjectName</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setParent(com.trolltech.qt.core.QObject)">setParent</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#startTimer(int)">startTimer</A>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="finished"><!-- --></A><H3>
finished</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>finished</B></PRE>
<DL>
<DD><p>This signal is emitted when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> finishes (i.e&#x2e;, reaches the end of its time line), and does not loop.</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="frameChanged"><!-- --></A><H3>
frameChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Integer&gt; <B>frameChanged</B></PRE>
<DL>
<DD><p><a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> emits this signal at regular intervals when in <a href="QTimeLine.html#State-enum">Running</tt></a> state, but only if the current frame changes. <tt>arg__1</tt> is the current frame number.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int arg__1)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QTimeLine::setFrameRange</tt>, <tt>QTimeLine::updateInterval</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="stateChanged"><!-- --></A><H3>
stateChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.State.html" title="enum in com.trolltech.qt.core">QTimeLine.State</A>&gt; <B>stateChanged</B></PRE>
<DL>
<DD><p>This signal is emitted whenever <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s state changes. The new state is <tt>newState</tt>.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QTimeLine.State newState)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="valueChanged"><!-- --></A><H3>
valueChanged</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;java.lang.Double&gt; <B>valueChanged</B></PRE>
<DL>
<DD><p><a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> emits this signal at regular intervals when in <a href="QTimeLine.html#State-enum">Running</tt></a> state, but only if the current value changes. <tt>x</tt> is the current value. <tt>x</tt> is a number between 0.0 and 1.0</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(double x)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QTimeLine::setDuration</tt>, <tt>QTimeLine::valueForTime</tt>, <tt>QTimeLine::updateInterval</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QTimeLine(int)"><!-- --></A><H3>
QTimeLine</H3>
<PRE>
public <B>QTimeLine</B>(int&nbsp;duration)</PRE>
<DL>
<DD><p>Equivalent to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>(<tt>duration</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QTimeLine()"><!-- --></A><H3>
QTimeLine</H3>
<PRE>
public <B>QTimeLine</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>(1000, 0).
<P>
</DL>
<HR>

<A NAME="QTimeLine(int, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QTimeLine</H3>
<PRE>
public <B>QTimeLine</B>(int&nbsp;duration,
                 <A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A>&nbsp;parent)</PRE>
<DL>
<DD><p>Constructs a timeline with a duration of <tt>duration</tt> milliseconds. <tt>parent</tt> is passed to <a href="QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor. The default duration is 1000 milliseconds.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="currentFrame()"><!-- --></A><H3>
currentFrame</H3>
<PRE>
public final int <B>currentFrame</B>()</PRE>
<DL>
<DD><p>Returns the frame corresponding to the current time.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#currentTime()"><tt>currentTime</tt></a>, 
<a href="QTimeLine.html#frameForTime(int)"><tt>frameForTime</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentTime()"><!-- --></A><H3>
currentTime</H3>
<PRE>
public final int <B>currentTime</B>()</PRE>
<DL>
<DD><p>Returns the current time of the time line..</p>
<p>When <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in Running state, this value is updated continuously as a function of the duration and direction of the timeline. Otherwise, it is value that was current when <a href="QTimeLine.html#stop()"><tt>stop</tt></a> was called last, or the value set by <a href="QTimeLine.html#setCurrentTime(int)"><tt>setCurrentTime</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setCurrentTime(int)"><tt>setCurrentTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentValue()"><!-- --></A><H3>
currentValue</H3>
<PRE>
public final double <B>currentValue</B>()</PRE>
<DL>
<DD><p>Returns the value corresponding to the current time.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>, 
<a href="QTimeLine.html#currentFrame()"><tt>currentFrame</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="curveShape()"><!-- --></A><H3>
curveShape</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core">QTimeLine.CurveShape</A> <B>curveShape</B>()</PRE>
<DL>
<DD><p>Returns the shape of the timeline curve..</p>
<p>The curve shape describes the relation between the time and value for the base implementation of <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>.</p>
<p>If you have reimplemented <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>, this value is ignored.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setCurveShape(com.trolltech.qt.core.QTimeLine.CurveShape)"><tt>setCurveShape</tt></a>, 
<a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="direction()"><!-- --></A><H3>
direction</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QTimeLine.Direction.html" title="enum in com.trolltech.qt.core">QTimeLine.Direction</A> <B>direction</B>()</PRE>
<DL>
<DD><p>Returns the direction of the timeline when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in <a href="QTimeLine.html#State-enum">Running</tt></a> state..</p>
<p>This direction indicates whether the time moves from 0 towards the timeline duration, or from the value of the duration and towards 0 after <a href="QTimeLine.html#start()"><tt>start</tt></a> has been called.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setDirection(com.trolltech.qt.core.QTimeLine.Direction)"><tt>setDirection</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="duration()"><!-- --></A><H3>
duration</H3>
<PRE>
public final int <B>duration</B>()</PRE>
<DL>
<DD><p>Returns the total duration of the timeline in milliseconds..</p>
<p>By default, this value is 1000 (i.e&#x2e;, 1 second), but you can change this by either passing a duration to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s constructor, or by calling <a href="QTimeLine.html#setDuration(int)"><tt>setDuration</tt></a>. The duration must be larger than 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setDuration(int)"><tt>setDuration</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="endFrame()"><!-- --></A><H3>
endFrame</H3>
<PRE>
public final int <B>endFrame</B>()</PRE>
<DL>
<DD><p>Returns the end frame, which is the frame corresponding to the end of the timeline (i.e&#x2e;, the frame for which the current value is 1).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setEndFrame(int)"><tt>setEndFrame</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="frameForTime(int)"><!-- --></A><H3>
frameForTime</H3>
<PRE>
public final int <B>frameForTime</B>(int&nbsp;msec)</PRE>
<DL>
<DD><p>Returns the frame corresponding to the time <tt>msec</tt>. This value is calculated using a linear interpolation of the start and end frame, based on the value returned by <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="loopCount()"><!-- --></A><H3>
loopCount</H3>
<PRE>
public final int <B>loopCount</B>()</PRE>
<DL>
<DD><p>Returns the number of times the timeline should loop before it's finished..</p>
<p>A loop count of of 0 means that the timeline will loop forever.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setLoopCount(int)"><tt>setLoopCount</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resume()"><!-- --></A><H3>
resume</H3>
<PRE>
public final void <B>resume</B>()</PRE>
<DL>
<DD><p>Resumes the timeline from the current time. <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will reenter Running state, and once it enters the event loop, it will update its current time, frame and value at regular intervals.</p>
<p>In contrast to <a href="QTimeLine.html#start()"><tt>start</tt></a>, this function does not restart the timeline before is resumes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#start()"><tt>start</tt></a>, 
<a href="QTimeLine.html#updateInterval()"><tt>updateInterval</tt></a>, 
<a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a>, 
<a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentTime(int)"><!-- --></A><H3>
setCurrentTime</H3>
<PRE>
public final void <B>setCurrentTime</B>(int&nbsp;msec)</PRE>
<DL>
<DD><p>Sets the current time of the time line. to <tt>msec</tt>.</p>
<p>When <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in Running state, this value is updated continuously as a function of the duration and direction of the timeline. Otherwise, it is value that was current when <a href="QTimeLine.html#stop()"><tt>stop</tt></a> was called last, or the value set by <a href="QTimeLine.html#setCurrentTime(int)"><tt>setCurrentTime</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#currentTime()"><tt>currentTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCurveShape(com.trolltech.qt.core.QTimeLine.CurveShape)"><!-- --></A><H3>
setCurveShape</H3>
<PRE>
public final void <B>setCurveShape</B>(<A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core">QTimeLine.CurveShape</A>&nbsp;shape)</PRE>
<DL>
<DD><p>Sets the shape of the timeline curve. to <tt>shape</tt>.</p>
<p>The curve shape describes the relation between the time and value for the base implementation of <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>.</p>
<p>If you have reimplemented <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>, this value is ignored.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#curveShape()"><tt>curveShape</tt></a>, 
<a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDirection(com.trolltech.qt.core.QTimeLine.Direction)"><!-- --></A><H3>
setDirection</H3>
<PRE>
public final void <B>setDirection</B>(<A HREF="../../../../com/trolltech/qt/core/QTimeLine.Direction.html" title="enum in com.trolltech.qt.core">QTimeLine.Direction</A>&nbsp;direction)</PRE>
<DL>
<DD><p>Sets the direction of the timeline when <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> is in <a href="QTimeLine.html#State-enum">Running</tt></a> state. to <tt>direction</tt>.</p>
<p>This direction indicates whether the time moves from 0 towards the timeline duration, or from the value of the duration and towards 0 after <a href="QTimeLine.html#start()"><tt>start</tt></a> has been called.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#direction()"><tt>direction</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDuration(int)"><!-- --></A><H3>
setDuration</H3>
<PRE>
public final void <B>setDuration</B>(int&nbsp;duration)</PRE>
<DL>
<DD><p>Sets the total duration of the timeline in milliseconds. to <tt>duration</tt>.</p>
<p>By default, this value is 1000 (i.e&#x2e;, 1 second), but you can change this by either passing a duration to <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a>'s constructor, or by calling <a href="QTimeLine.html#setDuration(int)"><tt>setDuration</tt></a>. The duration must be larger than 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#duration()"><tt>duration</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEndFrame(int)"><!-- --></A><H3>
setEndFrame</H3>
<PRE>
public final void <B>setEndFrame</B>(int&nbsp;frame)</PRE>
<DL>
<DD><p>Sets the end frame, which is the frame corresponding to the end of the timeline (i.e&#x2e;, the frame for which the current value is 1), to <tt>frame</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#endFrame()"><tt>endFrame</tt></a>, 
<a href="QTimeLine.html#startFrame()"><tt>startFrame</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFrameRange(int, int)"><!-- --></A><H3>
setFrameRange</H3>
<PRE>
public final void <B>setFrameRange</B>(int&nbsp;startFrame,
                                int&nbsp;endFrame)</PRE>
<DL>
<DD><p>Sets the timeline's frame counter to start at <tt>startFrame</tt>, and end and <tt>endFrame</tt>. For each time value, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will find the corresponding frame when you call <a href="QTimeLine.html#currentFrame()"><tt>currentFrame</tt></a> or <a href="QTimeLine.html#frameForTime(int)"><tt>frameForTime</tt></a> by interpolating, using the return value of <a href="QTimeLine.html#valueForTime(int)"><tt>valueForTime</tt></a>.</p>
<p>When in Running state, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> also emits the <a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a> signal when the frame changes.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#startFrame()"><tt>startFrame</tt></a>, 
<a href="QTimeLine.html#endFrame()"><tt>endFrame</tt></a>, 
<a href="QTimeLine.html#start()"><tt>start</tt></a>, 
<a href="QTimeLine.html#currentFrame()"><tt>currentFrame</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setLoopCount(int)"><!-- --></A><H3>
setLoopCount</H3>
<PRE>
public final void <B>setLoopCount</B>(int&nbsp;count)</PRE>
<DL>
<DD><p>Sets the number of times the timeline should loop before it's finished. to <tt>count</tt>.</p>
<p>A loop count of of 0 means that the timeline will loop forever.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#loopCount()"><tt>loopCount</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setPaused(boolean)"><!-- --></A><H3>
setPaused</H3>
<PRE>
public final void <B>setPaused</B>(boolean&nbsp;paused)</PRE>
<DL>
<DD><p>If <tt>paused</tt> is true, the timeline is paused, causing <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> to enter Paused state. No updates will be signaled until either <a href="QTimeLine.html#start()"><tt>start</tt></a> or <a href="QTimeLine.html#setPaused(boolean)"><tt>setPaused</tt></a>(false) is called. If <tt>paused</tt> is false, the timeline is resumed and continues where it left.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#state()"><tt>state</tt></a>, 
<a href="QTimeLine.html#start()"><tt>start</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setStartFrame(int)"><!-- --></A><H3>
setStartFrame</H3>
<PRE>
public final void <B>setStartFrame</B>(int&nbsp;frame)</PRE>
<DL>
<DD><p>Sets the start frame, which is the frame corresponding to the start of the timeline (i.e&#x2e;, the frame for which the current value is 0), to <tt>frame</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#startFrame()"><tt>startFrame</tt></a>, 
<a href="QTimeLine.html#endFrame()"><tt>endFrame</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setUpdateInterval(int)"><!-- --></A><H3>
setUpdateInterval</H3>
<PRE>
public final void <B>setUpdateInterval</B>(int&nbsp;interval)</PRE>
<DL>
<DD><p>Sets the time in milliseconds between each time <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> updates its current time. to <tt>interval</tt>.</p>
<p>When updating the current time, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will emit <a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a> if the current value changed, and <a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a> if the frame changed.</p>
<p>By default, the interval is 40 ms, which corresponds to a rate of 25 updates per second.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#updateInterval()"><tt>updateInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="start()"><!-- --></A><H3>
start</H3>
<PRE>
public final void <B>start</B>()</PRE>
<DL>
<DD><p>Starts or restarts the timeline. <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will enter Running state, and once it enters the event loop, it will update its current time, frame and value at regular intervals. The default interval is 40 ms (i.e&#x2e;, 25 times per second). You can change the update interval by calling <a href="QTimeLine.html#setUpdateInterval(int)"><tt>setUpdateInterval</tt></a>.</p>
<p>If you want to resume a stopped timeline without restarting, you can call <a href="QTimeLine.html#resume()"><tt>resume</tt></a> instead.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#resume()"><tt>resume</tt></a>, 
<a href="QTimeLine.html#updateInterval()"><tt>updateInterval</tt></a>, 
<a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a>, 
<a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="startFrame()"><!-- --></A><H3>
startFrame</H3>
<PRE>
public final int <B>startFrame</B>()</PRE>
<DL>
<DD><p>Returns the start frame, which is the frame corresponding to the start of the timeline (i.e&#x2e;, the frame for which the current value is 0).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setStartFrame(int)"><tt>setStartFrame</tt></a>, 
<a href="QTimeLine.html#setFrameRange(int, int)"><tt>setFrameRange</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="state()"><!-- --></A><H3>
state</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QTimeLine.State.html" title="enum in com.trolltech.qt.core">QTimeLine.State</A> <B>state</B>()</PRE>
<DL>
<DD><p>Returns the state of the timeline.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#start()"><tt>start</tt></a>, 
<a href="QTimeLine.html#setPaused(boolean)"><tt>setPaused</tt></a>, 
<a href="QTimeLine.html#stop()"><tt>stop</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="stop()"><!-- --></A><H3>
stop</H3>
<PRE>
public final void <B>stop</B>()</PRE>
<DL>
<DD><p>Stops the timeline, causing <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> to enter <a href="QTimeLine.html#State-enum"><tt>NotRunning</tt></a> state.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#start()"><tt>start</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toggleDirection()"><!-- --></A><H3>
toggleDirection</H3>
<PRE>
public final void <B>toggleDirection</B>()</PRE>
<DL>
<DD><p>Toggles the direction of the timeline. If the direction was Forward, it becomes Backward, and vice verca.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setDirection(com.trolltech.qt.core.QTimeLine.Direction)"><tt>setDirection</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="updateInterval()"><!-- --></A><H3>
updateInterval</H3>
<PRE>
public final int <B>updateInterval</B>()</PRE>
<DL>
<DD><p>Returns the time in milliseconds between each time <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> updates its current time..</p>
<p>When updating the current time, <a href="QTimeLine.html#QTimeLine(int, com.trolltech.qt.core.QObject)"><tt>QTimeLine</tt></a> will emit <a href="QTimeLine.html#valueChanged(double)"><tt>valueChanged</tt></a> if the current value changed, and <a href="QTimeLine.html#frameChanged(int)"><tt>frameChanged</tt></a> if the frame changed.</p>
<p>By default, the interval is 40 ms, which corresponds to a rate of 25 updates per second.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#setUpdateInterval(int)"><tt>setUpdateInterval</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="timerEvent(com.trolltech.qt.core.QTimerEvent)"><!-- --></A><H3>
timerEvent</H3>
<PRE>
protected void <B>timerEvent</B>(<A HREF="../../../../com/trolltech/qt/core/QTimerEvent.html" title="class in com.trolltech.qt.core">QTimerEvent</A>&nbsp;event)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QObject.html" title="class in com.trolltech.qt.core">QObject</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QObject.html#startTimer(int)"><tt>startTimer</tt></a>, 
<a href="QObject.html#killTimer(int)"><tt>killTimer</tt></a>, 
<a href="QObject.html#event(com.trolltech.qt.core.QEvent)"><tt>event</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="valueForTime(int)"><!-- --></A><H3>
valueForTime</H3>
<PRE>
public double <B>valueForTime</B>(int&nbsp;msec)</PRE>
<DL>
<DD><p>Returns the timeline value for the time <tt>msec</tt>. The returned value, which varies depending on the curve shape, is always between 0 and 1. If <tt>msec</tt> is 0, the default implementation always returns 0.</p>
<p>Reimplement this function to provide a custom curve shape for your timeline.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTimeLine.html#CurveShape-enum"><tt>CurveShape</tt></a>, 
<a href="QTimeLine.html#frameForTime(int)"><tt>frameForTime</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QTimeLine.html" title="class in com.trolltech.qt.core">QTimeLine</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QTimeLine instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTime.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTimeLine.CurveShape.html" title="enum in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QTimeLine.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QTimeLine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>