Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 647

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 17:02:49 CEST 2007 -->
<TITLE>
QMovie
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.gui.QMovie class">

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QMovie";
}
</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/gui/QMoveEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QMovie.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QMovie.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.gui</FONT>
<BR>
Class QMovie</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.gui.QMovie</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>QMovie</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="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> class is a convenience class for playing movies with <a href="QImageReader.html"><tt>QImageReader</tt></a>.</p>
<p>First, create a <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object by passing either the name of a file or a pointer to a <a href="%2E%2E/core/QIODevice.html"><tt>QIODevice</tt></a> containing an animated image format to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>'s constructor. You can call <a href="QMovie.html#isValid()"><tt>isValid</tt></a> to check if the image data is valid, before starting the movie. To start the movie, call <a href="QMovie.html#start()"><tt>start</tt></a>. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will enter <a href="QMovie.html#MovieState-enum">Running</tt></a> state, and emit <a href="QMovie.html#started()"><tt>started</tt></a> and <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>. To get the current state of the movie, call <a href="QMovie.html#state()"><tt>state</tt></a>.</p>
<p>To display the movie in your application, you can pass your <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object to QLabel::setMovie(). Example:</p>
<pre>    QLabel label;
    QMovie *movie = new QMovie(&quot;animations/fire.gif&quot;);

    label.setMovie(movie);
    movie-&gt;start();</pre>
<p>Whenever a new frame is available in the movie, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will emit <a href="QMovie.html#updated(com.trolltech.qt.core.QRect)"><tt>updated</tt></a>. If the size of the frame changes, <a href="QMovie.html#resized(com.trolltech.qt.core.QSize)"><tt>resized</tt></a> is emitted. You can call <a href="QMovie.html#currentImage()"><tt>currentImage</tt></a> or <a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a> to get a copy of the current frame. When the movie is done, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> emits <a href="QMovie.html#finished()"><tt>finished</tt></a>. If any error occurs during playback (i.e, the image file is corrupt), <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will emit <a href="QMovie.html#error(com.trolltech.qt.gui.QImageReader.ImageReaderError)"><tt>error</tt></a>.</p>
<p>You can control the speed of the movie playback by calling <a href="QMovie.html#setSpeed(int)"><tt>setSpeed</tt></a>, which takes the percentage of the original speed as an argument. Pause the movie by calling <a href="QMovie.html#setPaused(boolean)"><tt>setPaused</tt></a>(true). <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will then enter <a href="QMovie.html#MovieState-enum">Paused</tt></a> state and emit <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>. If you call <a href="QMovie.html#setPaused(boolean)"><tt>setPaused</tt></a>(false), <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will reenter <a href="QMovie.html#MovieState-enum">Running</tt></a> state and start the movie again. To stop the movie, call <a href="QMovie.html#stop()"><tt>stop</tt></a>.</p>
<p>Certain animation formats allow you to set the background color. You can call <a href="QMovie.html#setBackgroundColor(com.trolltech.qt.gui.QColor)"><tt>setBackgroundColor</tt></a> to set the color, or <a href="QMovie.html#backgroundColor()"><tt>backgroundColor</tt></a> to retrieve the current background color.</p>
<p><a href="QMovie.html#currentFrameNumber()"><tt>currentFrameNumber</tt></a> returns the sequence number of the current frame. The first frame in the animation has the sequence number 0. <a href="QMovie.html#frameCount()"><tt>frameCount</tt></a> returns the total number of frames in the animation, if the image format supports this. You can call <a href="QMovie.html#loopCount()"><tt>loopCount</tt></a> to get the number of times the movie should loop before finishing. <a href="QMovie.html#nextFrameDelay()"><tt>nextFrameDelay</tt></a> returns the number of milliseconds the current frame should be displayed.</p>
<p><a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> can be instructed to cache frames of an animation by calling <a href="QMovie.html#setCacheMode(com.trolltech.qt.gui.QMovie.CacheMode)"><tt>setCacheMode</tt></a>.</p>
<p>Call <a href="QMovie.html#supportedFormats()"><tt>supportedFormats</tt></a> for a list of formats that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> supports.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="QLabel.html"><tt>QLabel</tt></a>, 
<a href="QImageReader.html"><tt>QImageReader</tt></a>, 
<CODE>Example</tt></CODE></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/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui">QMovie.CacheMode</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the different cache modes of <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</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/gui/QMovie.MovieState.html" title="enum in com.trolltech.qt.gui">QMovie.MovieState</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum describes the different states of <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</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.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/gui/QImageReader.ImageReaderError.html" title="enum in com.trolltech.qt.gui">QImageReader.ImageReaderError</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#error">error</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted by <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> when the error <tt>error</tt> occurred during playback.</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.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#finished">finished</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the movie has finished.</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/gui/QMovie.html#frameChanged">frameChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the frame number has changed to <tt>frameNumber</tt>.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#resized">resized</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the current frame has been resized to <tt>size</tt>.</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.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#started">started</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted after QMovie::start() has been called, and <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> has entered QMovie::Running state.</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/gui/QMovie.MovieState.html" title="enum in com.trolltech.qt.gui">QMovie.MovieState</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#stateChanged">stateChanged</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted every time the state of the movie 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/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#updated">updated</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This signal is emitted when the rect <tt>rect</tt> in the current frame has been updated.</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/gui/QMovie.html#QMovie()">QMovie</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(com.trolltech.qt.core.QIODevice)">QMovie</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>device</tt>, QByteArray(), 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(com.trolltech.qt.core.QIODevice, com.trolltech.qt.core.QByteArray)">QMovie</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device,
       <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>device</tt>, <tt>format</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(com.trolltech.qt.core.QIODevice, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)">QMovie</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device,
       <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format,
       <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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(com.trolltech.qt.core.QObject)">QMovie</A></B>(<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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object, passing the <tt>parent</tt> object to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(java.lang.String)">QMovie</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>fileName</tt>, QByteArray(), 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray)">QMovie</A></B>(java.lang.String&nbsp;fileName,
       <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>fileName</tt>, <tt>format</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)">QMovie</A></B>(java.lang.String&nbsp;fileName,
       <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format,
       <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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object.</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;<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#backgroundColor()">backgroundColor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the background color of the movie.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui">QMovie.CacheMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#cacheMode()">cacheMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the movie's cache mode.</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/gui/QMovie.html#currentFrameNumber()">currentFrameNumber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the sequence number of the current frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#currentImage()">currentImage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current frame as a <a href="QImage.html"><tt>QImage</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#currentPixmap()">currentPixmap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current frame as a <a href="QPixmap.html"><tt>QPixmap</tt></a>.</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/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#device()">device</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the device <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#fileName()">fileName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the file that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from.</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/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#format()">format</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the format that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> uses when decoding image data.</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/gui/QMovie.html#frameCount()">frameCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of frames in the movie.</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#frameRect()">frameRect</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the rect of the last frame.</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/gui/QMovie.html" title="class in com.trolltech.qt.gui">QMovie</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.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 QMovie instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the movie is valid (e.g&#x2e;, the image data is readable and the image format is supported); otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#jumpToFrame(int)">jumpToFrame</A></B>(int&nbsp;frameNumber)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jumps to frame number <tt>frameNumber</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#jumpToNextFrame()">jumpToNextFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jumps to the next frame.</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/gui/QMovie.html#loopCount()">loopCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of times the movie will loop before it finishes.</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/gui/QMovie.html#nextFrameDelay()">nextFrameDelay</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of milliseconds <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will wait before updating the next frame in the animation.</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#scaledSize()">scaledSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the scaled size of frames.</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/gui/QMovie.html#setBackgroundColor(com.trolltech.qt.gui.QColor)">setBackgroundColor</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For image formats that support it, this function sets the background color to <tt>color</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/gui/QMovie.html#setCacheMode(com.trolltech.qt.gui.QMovie.CacheMode)">setCacheMode</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui">QMovie.CacheMode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the movie's cache mode to <tt>mode</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/gui/QMovie.html#setDevice(com.trolltech.qt.core.QIODevice)">setDevice</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current device to <tt>device</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/gui/QMovie.html#setFileName(java.lang.String)">setFileName</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the file that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from, to <tt>fileName</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/gui/QMovie.html#setFormat(com.trolltech.qt.core.QByteArray)">setFormat</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the format that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use when decoding image data, to <tt>format</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/gui/QMovie.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, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will enter <a href="QMovie.html#MovieState-enum">Paused</tt></a> state and emit <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>(Paused); otherwise it will enter <a href="QMovie.html#MovieState-enum">Running</tt></a> state and emit <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>(Running).</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/gui/QMovie.html#setScaledSize(com.trolltech.qt.core.QSize)">setScaledSize</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the scaled frame size to <tt>size</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/gui/QMovie.html#setSpeed(int)">setSpeed</A></B>(int&nbsp;percentSpeed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the movie's speed to <tt>percentSpeed</tt>.</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/gui/QMovie.html#speed()">speed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the movie's speed.</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/gui/QMovie.html#start()">start</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts the movie.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMovie.MovieState.html" title="enum in com.trolltech.qt.gui">QMovie.MovieState</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#state()">state</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current state of <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</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/gui/QMovie.html#stop()">stop</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stops the movie.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/gui/QMovie.html#supportedFormats()">supportedFormats</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of image formats supported by <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</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>, <A HREF="../../../../com/trolltech/qt/core/QObject.html#timerEvent(com.trolltech.qt.core.QTimerEvent)">timerEvent</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="error"><!-- --></A><H3>
error</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/gui/QImageReader.ImageReaderError.html" title="enum in com.trolltech.qt.gui">QImageReader.ImageReaderError</A>&gt; <B>error</B></PRE>
<DL>
<DD><p>This signal is emitted by <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> when the error <tt>error</tt> occurred during playback. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will stop the movie, and enter QMovie::NotRunning state.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.gui.QImageReader.ImageReaderError error)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<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 the movie has finished.</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QMovie::stop</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>This signal is emitted when the frame number has changed to <tt>frameNumber</tt>. You can call <a href="QMovie.html#currentImage()"><tt>currentImage</tt></a> or <a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a> to get a copy of the frame.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(int frameNumber)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="resized"><!-- --></A><H3>
resized</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/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&gt; <B>resized</B></PRE>
<DL>
<DD><p>This signal is emitted when the current frame has been resized to <tt>size</tt>. This effect is sometimes used in animations as an alternative to replacing the frame. You can call <a href="QMovie.html#currentImage()"><tt>currentImage</tt></a> or <a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a> to get a copy of the updated frame.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QSize size)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="started"><!-- --></A><H3>
started</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A> <B>started</B></PRE>
<DL>
<DD><p>This signal is emitted after QMovie::start() has been called, and <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> has entered QMovie::Running state.</p>
<dl>
<dt><b>Compatible Slot Signature:</b></dt>
<dd><tt>void mySlot()</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/gui/QMovie.MovieState.html" title="enum in com.trolltech.qt.gui">QMovie.MovieState</A>&gt; <B>stateChanged</B></PRE>
<DL>
<DD><p>This signal is emitted every time the state of the movie changes. The new state is specified by <tt>state</tt>.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.gui.QMovie.MovieState state)</tt></dd>
<dd><tt>void mySlot()</tt></dd>
</dl>
<dl>
<dt><b>See Also:</b></dt>
<dd><tt>QMovie::state</tt></dd>
</dl>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="updated"><!-- --></A><H3>
updated</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/QRect.html" title="class in com.trolltech.qt.core">QRect</A>&gt; <B>updated</B></PRE>
<DL>
<DD><p>This signal is emitted when the rect <tt>rect</tt> in the current frame has been updated. You can call <a href="QMovie.html#currentImage()"><tt>currentImage</tt></a> or <a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a> to get a copy of the updated frame.</p>
<dl>
<dt><b>Compatible Slot Signatures:</b></dt>
<dd><tt>void mySlot(com.trolltech.qt.core.QRect rect)</tt></dd>
<dd><tt>void mySlot()</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="QMovie()"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(0).
<P>
</DL>
<HR>

<A NAME="QMovie(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(<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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object, passing the <tt>parent</tt> object to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setFileName(java.lang.String)"><tt>setFileName</tt></a>, 
<a href="QMovie.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>, 
<a href="QMovie.html#setFormat(com.trolltech.qt.core.QByteArray)"><tt>setFormat</tt></a></DL>
</DL>
<HR>

<A NAME="QMovie(com.trolltech.qt.core.QIODevice, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device,
              <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</PRE>
<DL>
<DD><p>Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>device</tt>, <tt>format</tt>, 0).
<P>
</DL>
<HR>

<A NAME="QMovie(com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</PRE>
<DL>
<DD><p>Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>device</tt>, QByteArray(), 0).
<P>
</DL>
<HR>

<A NAME="QMovie(com.trolltech.qt.core.QIODevice, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device,
              <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format,
              <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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use read image data from <tt>device</tt>, which it assumes is open and readable. If <tt>format</tt> is not empty, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use the image format <tt>format</tt> for decoding the image data. Otherwise, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will attempt to guess the format.</p>
<p>The <tt>parent</tt> object is passed to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</p>
<P>
</DL>
<HR>

<A NAME="QMovie(java.lang.String, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(java.lang.String&nbsp;fileName,
              <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</PRE>
<DL>
<DD><p>Equivalent to <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>(<tt>fileName</tt>, <tt>format</tt>, 0).
<P>
</DL>
<HR>

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

<A NAME="QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QMovie</H3>
<PRE>
public <B>QMovie</B>(java.lang.String&nbsp;fileName,
              <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format,
              <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 <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> object. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use read image data from <tt>fileName</tt>. If <tt>format</tt> is not empty, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use the image format <tt>format</tt> for decoding the image data. Otherwise, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will attempt to guess the format.</p>
<p>The <tt>parent</tt> object is passed to <a href="%2E%2E/core/%2E%2E/core/QObject.html#QObject(com.trolltech.qt.core.QObject)"><tt>QObject</tt></a>'s constructor.</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="backgroundColor()"><!-- --></A><H3>
backgroundColor</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A> <B>backgroundColor</B>()</PRE>
<DL>
<DD><p>Returns the background color of the movie. If no background color has been assigned, an invalid <a href="QColor.html"><tt>QColor</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setBackgroundColor(com.trolltech.qt.gui.QColor)"><tt>setBackgroundColor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="cacheMode()"><!-- --></A><H3>
cacheMode</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui">QMovie.CacheMode</A> <B>cacheMode</B>()</PRE>
<DL>
<DD><p>Returns the movie's cache mode.</p>
<p>Caching frames can be useful when the underlying animation format handler that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> relies on to decode the animation data does not support jumping to particular frames in the animation, or even &quot;rewinding&quot; the animation to the beginning (for looping). Furthermore, if the image data comes from a sequential device, it is not possible for the underlying animation handler to seek back to frames whose data has already been read (making looping altogether impossible). To aid in such situations, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> can be instructed to cache the frames, at the added memory cost of keeping the frames in memory for the lifetime of the <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setCacheMode(com.trolltech.qt.gui.QMovie.CacheMode)"><tt>setCacheMode</tt></a>, 
<tt>QMovie::CacheMode</tt></DL>
</DD>
</DL>
<HR>

<A NAME="currentFrameNumber()"><!-- --></A><H3>
currentFrameNumber</H3>
<PRE>
public final int <B>currentFrameNumber</B>()</PRE>
<DL>
<DD><p>Returns the sequence number of the current frame. The number of the first frame in the movie is 0.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="currentImage()"><!-- --></A><H3>
currentImage</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> <B>currentImage</B>()</PRE>
<DL>
<DD><p>Returns the current frame as a <a href="QImage.html"><tt>QImage</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a>, 
<a href="QMovie.html#updated(com.trolltech.qt.core.QRect)"><tt>updated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="currentPixmap()"><!-- --></A><H3>
currentPixmap</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QPixmap.html" title="class in com.trolltech.qt.gui">QPixmap</A> <B>currentPixmap</B>()</PRE>
<DL>
<DD><p>Returns the current frame as a <a href="QPixmap.html"><tt>QPixmap</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#currentImage()"><tt>currentImage</tt></a>, 
<a href="QMovie.html#updated(com.trolltech.qt.core.QRect)"><tt>updated</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="device()"><!-- --></A><H3>
device</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A> <B>device</B>()</PRE>
<DL>
<DD><p>Returns the device <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from. If no device has currently been assigned, 0 is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>, 
<a href="QMovie.html#fileName()"><tt>fileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fileName()"><!-- --></A><H3>
fileName</H3>
<PRE>
public final java.lang.String <B>fileName</B>()</PRE>
<DL>
<DD><p>Returns the name of the file that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from. If no file name has been assigned, or if the assigned device is not a file, an empty <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setFileName(java.lang.String)"><tt>setFileName</tt></a>, 
<a href="QMovie.html#device()"><tt>device</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="format()"><!-- --></A><H3>
format</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>format</B>()</PRE>
<DL>
<DD><p>Returns the format that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> uses when decoding image data. If no format has been assigned, an empty <a href="%2E%2E/porting4.html#qbytearray"><tt>QByteArray</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setFormat(com.trolltech.qt.core.QByteArray)"><tt>setFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="frameCount()"><!-- --></A><H3>
frameCount</H3>
<PRE>
public final int <B>frameCount</B>()</PRE>
<DL>
<DD><p>Returns the number of frames in the movie.</p>
<p>Certain animation formats do not support this feature, in which case 0 is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="frameRect()"><!-- --></A><H3>
frameRect</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QRect.html" title="class in com.trolltech.qt.core">QRect</A> <B>frameRect</B>()</PRE>
<DL>
<DD><p>Returns the rect of the last frame. If no frame has yet been updated, an invalid <a href="%2E%2E/core/QRect.html"><tt>QRect</tt></a> is returned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#currentImage()"><tt>currentImage</tt></a>, 
<a href="QMovie.html#currentPixmap()"><tt>currentPixmap</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the movie is valid (e.g&#x2e;, the image data is readable and the image format is supported); otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="jumpToFrame(int)"><!-- --></A><H3>
jumpToFrame</H3>
<PRE>
public final boolean <B>jumpToFrame</B>(int&nbsp;frameNumber)</PRE>
<DL>
<DD><p>Jumps to frame number <tt>frameNumber</tt>. Returns true on success; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="jumpToNextFrame()"><!-- --></A><H3>
jumpToNextFrame</H3>
<PRE>
public final boolean <B>jumpToNextFrame</B>()</PRE>
<DL>
<DD><p>Jumps to the next frame. Returns true on success; otherwise returns false.</p>
<P>
<DD><DL>
</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 movie will loop before it finishes. If the movie will only play once (no looping), <a href="QMovie.html#loopCount()"><tt>loopCount</tt></a> returns 0. If the movie loops forever, <a href="QMovie.html#loopCount()"><tt>loopCount</tt></a> returns -1.</p>
<p>Note that, if the image data comes from a sequential device (e.g&#x2e; a socket), <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> can only loop the movie if the <a href="QMovie.html#cacheMode()"><tt>cacheMode</tt></a> is set to QMovie::CacheAll.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="nextFrameDelay()"><!-- --></A><H3>
nextFrameDelay</H3>
<PRE>
public final int <B>nextFrameDelay</B>()</PRE>
<DL>
<DD><p>Returns the number of milliseconds <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will wait before updating the next frame in the animation.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="scaledSize()"><!-- --></A><H3>
scaledSize</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>scaledSize</B>()</PRE>
<DL>
<DD><p>Returns the scaled size of frames.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setScaledSize(com.trolltech.qt.core.QSize)"><tt>setScaledSize</tt></a>, 
<tt>QImageReader::scaledSize</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setBackgroundColor(com.trolltech.qt.gui.QColor)"><!-- --></A><H3>
setBackgroundColor</H3>
<PRE>
public final void <B>setBackgroundColor</B>(<A HREF="../../../../com/trolltech/qt/gui/QColor.html" title="class in com.trolltech.qt.gui">QColor</A>&nbsp;color)</PRE>
<DL>
<DD><p>For image formats that support it, this function sets the background color to <tt>color</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#backgroundColor()"><tt>backgroundColor</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setCacheMode(com.trolltech.qt.gui.QMovie.CacheMode)"><!-- --></A><H3>
setCacheMode</H3>
<PRE>
public final void <B>setCacheMode</B>(<A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui">QMovie.CacheMode</A>&nbsp;mode)</PRE>
<DL>
<DD><p>Sets the movie's cache mode to <tt>mode</tt>.</p>
<p>Caching frames can be useful when the underlying animation format handler that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> relies on to decode the animation data does not support jumping to particular frames in the animation, or even &quot;rewinding&quot; the animation to the beginning (for looping). Furthermore, if the image data comes from a sequential device, it is not possible for the underlying animation handler to seek back to frames whose data has already been read (making looping altogether impossible). To aid in such situations, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> can be instructed to cache the frames, at the added memory cost of keeping the frames in memory for the lifetime of the <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#cacheMode()"><tt>cacheMode</tt></a>, 
<tt>QMovie::CacheMode</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setDevice(com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
setDevice</H3>
<PRE>
public final void <B>setDevice</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</PRE>
<DL>
<DD><p>Sets the current device to <tt>device</tt>. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will read image data from this device when the movie is running.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#device()"><tt>device</tt></a>, 
<a href="QMovie.html#setFormat(com.trolltech.qt.core.QByteArray)"><tt>setFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFileName(java.lang.String)"><!-- --></A><H3>
setFileName</H3>
<PRE>
public final void <B>setFileName</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD><p>Sets the name of the file that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> reads image data from, to <tt>fileName</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#fileName()"><tt>fileName</tt></a>, 
<a href="QMovie.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>, 
<a href="QMovie.html#setFormat(com.trolltech.qt.core.QByteArray)"><tt>setFormat</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFormat(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
setFormat</H3>
<PRE>
public final void <B>setFormat</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;format)</PRE>
<DL>
<DD><p>Sets the format that <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will use when decoding image data, to <tt>format</tt>. By default, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will attempt to guess the format of the image data.</p>
<p>You can call <a href="QMovie.html#supportedFormats()"><tt>supportedFormats</tt></a> for the full list of formats <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> supports.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#format()"><tt>format</tt></a>, 
<tt>QImageReader::supportedImageFormats</tt></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, <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will enter <a href="QMovie.html#MovieState-enum">Paused</tt></a> state and emit <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>(Paused); otherwise it will enter <a href="QMovie.html#MovieState-enum">Running</tt></a> state and emit <a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</tt></a>(Running).</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#state()"><tt>state</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setScaledSize(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
setScaledSize</H3>
<PRE>
public final void <B>setScaledSize</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</PRE>
<DL>
<DD><p>Sets the scaled frame size to <tt>size</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#scaledSize()"><tt>scaledSize</tt></a>, 
<tt>QImageReader::setScaledSize</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setSpeed(int)"><!-- --></A><H3>
setSpeed</H3>
<PRE>
public final void <B>setSpeed</B>(int&nbsp;percentSpeed)</PRE>
<DL>
<DD><p>Sets the movie's speed to <tt>percentSpeed</tt>.</p>
<p>The speed is measured in percentage of the original movie speed. The default speed is 100%. Example:</p>
<pre>    QMovie movie(&quot;racecar.gif&quot;);
    movie.setSpeed(200); <span class="comment">// 2x speed</span></pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#speed()"><tt>speed</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="speed()"><!-- --></A><H3>
speed</H3>
<PRE>
public final int <B>speed</B>()</PRE>
<DL>
<DD><p>Returns the movie's speed.</p>
<p>The speed is measured in percentage of the original movie speed. The default speed is 100%. Example:</p>
<pre>    QMovie movie(&quot;racecar.gif&quot;);
    movie.setSpeed(200); <span class="comment">// 2x speed</span></pre>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#setSpeed(int)"><tt>setSpeed</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 the movie. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> will enter <a href="QMovie.html#MovieState-enum">Running</tt></a> state, and start emitting <a href="QMovie.html#updated(com.trolltech.qt.core.QRect)"><tt>updated</tt></a> and <a href="QMovie.html#resized(com.trolltech.qt.core.QSize)"><tt>resized</tt></a> as the movie progresses.</p>
<p>If <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> is in the <a href="QMovie.html#MovieState-enum">Paused</tt></a> state, this function is equivalent to calling <a href="QMovie.html#setPaused(boolean)"><tt>setPaused</tt></a>(false). If <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> is already in the <a href="QMovie.html#MovieState-enum">Running</tt></a> state, this function does nothing.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#stop()"><tt>stop</tt></a>, 
<a href="QMovie.html#setPaused(boolean)"><tt>setPaused</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="state()"><!-- --></A><H3>
state</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QMovie.MovieState.html" title="enum in com.trolltech.qt.gui">QMovie.MovieState</A> <B>state</B>()</PRE>
<DL>
<DD><p>Returns the current state of <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#MovieState-enum"><tt>MovieState</tt></a>, 
<a href="QMovie.html#stateChanged(com.trolltech.qt.gui.QMovie.MovieState)"><tt>stateChanged</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 movie. <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> enters <a href="QMovie.html#MovieState-enum"><tt>NotRunning</tt></a> state, and stops emitting <a href="QMovie.html#updated(com.trolltech.qt.core.QRect)"><tt>updated</tt></a> and <a href="QMovie.html#resized(com.trolltech.qt.core.QSize)"><tt>resized</tt></a>. If <a href="QMovie.html#start()"><tt>start</tt></a> is called again, the movie will restart from the beginning.</p>
<p>If <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a> is already in the <a href="QMovie.html#MovieState-enum"><tt>NotRunning</tt></a> state, this function does nothing.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QMovie.html#start()"><tt>start</tt></a>, 
<a href="QMovie.html#setPaused(boolean)"><tt>setPaused</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="supportedFormats()"><!-- --></A><H3>
supportedFormats</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&gt; <B>supportedFormats</B>()</PRE>
<DL>
<DD><p>Returns the list of image formats supported by <a href="QMovie.html#QMovie(java.lang.String, com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QObject)"><tt>QMovie</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QImageReader::supportedImageFormats</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/gui/QMovie.html" title="class in com.trolltech.qt.gui">QMovie</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 QMovie 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/gui/QMoveEvent.html" title="class in com.trolltech.qt.gui"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QMovie.CacheMode.html" title="enum in com.trolltech.qt.gui"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/gui/QMovie.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QMovie.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>