Sophie

Sophie

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

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:46 CEST 2007 -->
<TITLE>
QTemporaryFile
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QTemporaryFile";
}
</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/Qt.WindowType.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTextCodec.html" title="class 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/QTemporaryFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QTemporaryFile.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_classes_inherited_from_class_com.trolltech.qt.core.QFile">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.trolltech.qt.core.QIODevice">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;FIELD&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 QTemporaryFile</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 "><A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QIODevice</A>
                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">com.trolltech.qt.core.QFile</A>
                      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QTemporaryFile</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>QTemporaryFile</B><DT>extends <A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A></DL>
</PRE>

<P>
<p>The <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> class is an I/O device that operates on temporary files.</p>
<p><a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> is used to create unique temporary files safely. The file itself is created by calling <a href="QTemporaryFile.html#open(com.trolltech.qt.core.QIODevice.OpenMode)"><tt>open</tt></a>. The name of the temporary file is guaranteed to be unique (i.e&#x2e;, you are guaranteed to not overwrite an existing file), and the file will subsequently be removed upon destruction of the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> object. This is an important technique that avoids data corruption for applications that store data in temporary files. The file name is either auto-generated, or created based on a template, which is passed to <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a>'s constructor.</p>
<p>Example:</p>
<pre>    {
        QTemporaryFile file;
        if (file.open()) {
            <span class="comment">// file.fileName() returns the unique file name</span>
        }

        <span class="comment">// the QTemporaryFile destructor removes the temporary file</span>
    }</pre>
<p>Reopening a <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> after calling <a href="QFile.html#close()"><tt>close</tt></a> is safe. For as long as the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> object itself is not destroyed, the unique temporary file will exist and be kept open internally by <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a>.</p>
<p>A temporary file will have some static part of the name and some part that is calculated to be unique. The default filename qt_temp will be placed into the temporary path as returned by QDir::tempPath().</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><tt>QDir::tempPath</tt>, 
<a href="QFile.html#QFile(com.trolltech.qt.core.QObject)"><tt>QFile</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>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.core.QFile"><!-- --></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.core.<A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QFile.FileError.html" title="enum in com.trolltech.qt.core">QFile.FileError</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.Permission.html" title="enum in com.trolltech.qt.core">QFile.Permission</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.Permissions.html" title="class in com.trolltech.qt.core">QFile.Permissions</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.core.QIODevice"><!-- --></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.core.<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QIODevice.OpenMode.html" title="class in com.trolltech.qt.core">QIODevice.OpenMode</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.OpenModeFlag.html" title="enum in com.trolltech.qt.core">QIODevice.OpenModeFlag</A></CODE></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>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_com.trolltech.qt.core.QIODevice"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class com.trolltech.qt.core.<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QIODevice.html#aboutToClose">aboutToClose</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#bytesWritten">bytesWritten</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#readyRead">readyRead</A></CODE></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/QTemporaryFile.html#QTemporaryFile()">QTemporaryFile</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> in QDir::tempPath(), using the file template &quot;qt_temp.XXXXXX&quot;.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#QTemporaryFile(com.trolltech.qt.core.QObject)">QTemporaryFile</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="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> (with the given <tt>parent</tt>) in QDir::tempPath(), using the file template &quot;qt_temp.XXXXXX&quot;.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#QTemporaryFile(java.lang.String)">QTemporaryFile</A></B>(java.lang.String&nbsp;templateName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> with a template filename of <tt>templateName</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#QTemporaryFile(java.lang.String, com.trolltech.qt.core.QObject)">QTemporaryFile</A></B>(java.lang.String&nbsp;templateName,
               <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="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> with a template filename of <tt>templateName</tt> and the specified <tt>parent</tt>.</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;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#autoRemove()">autoRemove</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> is in auto remove mode.</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/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#createLocalFile(com.trolltech.qt.core.QFile)">createLocalFile</A></B>(<A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A>&nbsp;file)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a local temporary file whose contents are a copy of the contents of the given <tt>file</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/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#createLocalFile(java.lang.String)">createLocalFile</A></B>(java.lang.String&nbsp;fileName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Works on the given <tt>fileName</tt> rather than an existing <a href="QFile.html#QFile(com.trolltech.qt.core.QObject)"><tt>QFile</tt></a> object.</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/QAbstractFileEngine.html" title="class in com.trolltech.qt.core">QAbstractFileEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#fileEngine()">fileEngine</A></B>()</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;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html#fileTemplate()">fileTemplate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the set file template.</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/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.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 QTemporaryFile 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/core/QTemporaryFile.html#open()">open</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> will always be opened in QIODevice::ReadWrite mode, this allows easy access to the data in the file.</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/core/QTemporaryFile.html#open(com.trolltech.qt.core.QIODevice.OpenMode)">open</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.OpenMode.html" title="class in com.trolltech.qt.core">QIODevice.OpenMode</A>&nbsp;flags)</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/QTemporaryFile.html#setAutoRemove(boolean)">setAutoRemove</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> into auto-remove mode if <tt>b</tt> is true.</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/QTemporaryFile.html#setFileTemplate(java.lang.String)">setFileTemplate</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the static portion of the file name to <tt>name</tt>.</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/core/QTemporaryFile.html#uniqueFilename()">uniqueFilename</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the complete unique filename backing the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> object.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QFile"><!-- --></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/QFile.html" title="class in com.trolltech.qt.core">QFile</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QFile.html#atEnd()">atEnd</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#close()">close</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#copy(java.lang.String)">copy</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#copy(java.lang.String, java.lang.String)">copy</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#decodeName(com.trolltech.qt.core.QByteArray)">decodeName</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#decodeName(java.lang.String)">decodeName</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#encodeName(java.lang.String)">encodeName</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#error()">error</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#exists()">exists</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#exists(java.lang.String)">exists</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#fileName()">fileName</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#flush()">flush</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#handle()">handle</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#isSequential()">isSequential</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#link(java.lang.String)">link</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#link(java.lang.String, java.lang.String)">link</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#open(int, com.trolltech.qt.core.QIODevice.OpenMode)">open</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#open(int, com.trolltech.qt.core.QIODevice.OpenModeFlag...)">open</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#permissions()">permissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#permissions(java.lang.String)">permissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#pos()">pos</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#readData(byte[])">readData</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#readLineData(byte[])">readLineData</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#remove()">remove</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#remove(java.lang.String)">remove</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#rename(java.lang.String)">rename</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#rename(java.lang.String, java.lang.String)">rename</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#resize(long)">resize</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#resize(java.lang.String, long)">resize</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#seek(long)">seek</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#setFileName(java.lang.String)">setFileName</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#setPermissions(com.trolltech.qt.core.QFile.Permission...)">setPermissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#setPermissions(com.trolltech.qt.core.QFile.Permissions)">setPermissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#setPermissions(java.lang.String, com.trolltech.qt.core.QFile.Permission...)">setPermissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#setPermissions(java.lang.String, com.trolltech.qt.core.QFile.Permissions)">setPermissions</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#size()">size</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#symLinkTarget()">symLinkTarget</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#symLinkTarget(java.lang.String)">symLinkTarget</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#unsetError()">unsetError</A>, <A HREF="../../../../com/trolltech/qt/core/QFile.html#writeData(byte[])">writeData</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.core.QIODevice"><!-- --></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/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/core/QIODevice.html#bytesAvailable()">bytesAvailable</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#bytesToWrite()">bytesToWrite</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#canReadLine()">canReadLine</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#errorString()">errorString</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#getByte()">getByte</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#isOpen()">isOpen</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#isReadable()">isReadable</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#isTextModeEnabled()">isTextModeEnabled</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#isWritable()">isWritable</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#open(com.trolltech.qt.core.QIODevice.OpenModeFlag...)">open</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#openMode()">openMode</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#peek(byte[])">peek</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#peek(long)">peek</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#putByte(byte)">putByte</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#read(byte[])">read</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#read(long)">read</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#readAll()">readAll</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#readLine()">readLine</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#readLine(byte[])">readLine</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#readLine(long)">readLine</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#reset()">reset</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#setErrorString(java.lang.String)">setErrorString</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#setOpenMode(com.trolltech.qt.core.QIODevice.OpenMode)">setOpenMode</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#setOpenMode(com.trolltech.qt.core.QIODevice.OpenModeFlag...)">setOpenMode</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#setTextModeEnabled(boolean)">setTextModeEnabled</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#ungetByte(byte)">ungetByte</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#waitForBytesWritten(int)">waitForBytesWritten</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#waitForReadyRead(int)">waitForReadyRead</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#write(byte[])">write</A>, <A HREF="../../../../com/trolltech/qt/core/QIODevice.html#write(com.trolltech.qt.core.QByteArray)">write</A></CODE></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>

<!-- ========= 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="QTemporaryFile(com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QTemporaryFile</H3>
<PRE>
public <B>QTemporaryFile</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="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> (with the given <tt>parent</tt>) in QDir::tempPath(), using the file template &quot;qt_temp.XXXXXX&quot;.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#setFileTemplate(java.lang.String)"><tt>setFileTemplate</tt></a></DL>
</DL>
<HR>

<A NAME="QTemporaryFile()"><!-- --></A><H3>
QTemporaryFile</H3>
<PRE>
public <B>QTemporaryFile</B>()</PRE>
<DL>
<DD><p>Constructs a <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> in QDir::tempPath(), using the file template &quot;qt_temp.XXXXXX&quot;. The file is stored in the system's temporary directory.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#setFileTemplate(java.lang.String)"><tt>setFileTemplate</tt></a>, 
<tt>QDir::tempPath</tt></DL>
</DL>
<HR>

<A NAME="QTemporaryFile(java.lang.String)"><!-- --></A><H3>
QTemporaryFile</H3>
<PRE>
public <B>QTemporaryFile</B>(java.lang.String&nbsp;templateName)</PRE>
<DL>
<DD><p>Constructs a <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> with a template filename of <tt>templateName</tt>. Upon opening the temporary file this will be used to create a unique filename. If the <tt>templateName</tt> does not contain XXXXXX it will automatically be appended and used as the dynamic portion of the filename.</p>
<p>If <tt>templateName</tt> is a relative path, the path will be relative to the current working directory. You can use QDir::tempPath() to construct <tt>templateName</tt> if you want use the system's temporary directory.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#open(com.trolltech.qt.core.QIODevice.OpenMode)"><tt>open</tt></a>, 
<a href="QTemporaryFile.html#fileTemplate()"><tt>fileTemplate</tt></a></DL>
</DL>
<HR>

<A NAME="QTemporaryFile(java.lang.String, com.trolltech.qt.core.QObject)"><!-- --></A><H3>
QTemporaryFile</H3>
<PRE>
public <B>QTemporaryFile</B>(java.lang.String&nbsp;templateName,
                      <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="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> with a template filename of <tt>templateName</tt> and the specified <tt>parent</tt>. Upon opening the temporary file this will be used to create a unique filename. If the <tt>templateName</tt> does end in XXXXXX it will automatically be appended and used as the dynamic portion of the filename.</p>
<p>If <tt>templateName</tt> is a relative path, the path will be relative to the current working directory. You can use QDir::tempPath() to construct <tt>templateName</tt> if you want use the system's temporary directory.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#open(com.trolltech.qt.core.QIODevice.OpenMode)"><tt>open</tt></a>, 
<a href="QTemporaryFile.html#fileTemplate()"><tt>fileTemplate</tt></a></DL>
</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="autoRemove()"><!-- --></A><H3>
autoRemove</H3>
<PRE>
public final boolean <B>autoRemove</B>()</PRE>
<DL>
<DD><p>Returns true if the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> is in auto remove mode. Auto-remove mode will automatically delete the filename from disk upon destruction. This makes it very easy to create your <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> object on the stack, fill it with data, read from it, and finally on function return it will automatically clean up after itself.</p>
<p>Auto-remove is on by default.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#setAutoRemove(boolean)"><tt>setAutoRemove</tt></a>, 
<a href="QFile.html#remove(java.lang.String)"><tt>remove</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="uniqueFilename()"><!-- --></A><H3>
uniqueFilename</H3>
<PRE>
public final java.lang.String <B>uniqueFilename</B>()</PRE>
<DL>
<DD><p>Returns the complete unique filename backing the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> object. This string is null before the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> is opened, afterwards it will contain the <a href="QTemporaryFile.html#fileTemplate()"><tt>fileTemplate</tt></a> plus additional characters to make it unique.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#fileTemplate()"><tt>fileTemplate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fileTemplate()"><!-- --></A><H3>
fileTemplate</H3>
<PRE>
public final java.lang.String <B>fileTemplate</B>()</PRE>
<DL>
<DD><p>Returns the set file template. The default file template will be called qt_temp and be placed in QDir::tempPath().</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#setFileTemplate(java.lang.String)"><tt>setFileTemplate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="open()"><!-- --></A><H3>
open</H3>
<PRE>
public final boolean <B>open</B>()</PRE>
<DL>
<DD><p>A <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> will always be opened in QIODevice::ReadWrite mode, this allows easy access to the data in the file. This function will return true upon success and will set the <a href="QFile.html#fileName()"><tt>fileName</tt></a> to the unique filename used.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QFile.html#fileName()"><tt>fileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setAutoRemove(boolean)"><!-- --></A><H3>
setAutoRemove</H3>
<PRE>
public final void <B>setAutoRemove</B>(boolean&nbsp;b)</PRE>
<DL>
<DD><p>Sets the <a href="QTemporaryFile.html#QTemporaryFile(java.lang.String)"><tt>QTemporaryFile</tt></a> into auto-remove mode if <tt>b</tt> is true.</p>
<p>Auto-remove is on by default.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#autoRemove()"><tt>autoRemove</tt></a>, 
<a href="QFile.html#remove(java.lang.String)"><tt>remove</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFileTemplate(java.lang.String)"><!-- --></A><H3>
setFileTemplate</H3>
<PRE>
public final void <B>setFileTemplate</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Sets the static portion of the file name to <tt>name</tt>. If the file template ends in XXXXXX that will automatically be replaced with the unique part of the filename, otherwise a filename will be determined automatically based on the static portion specified.</p>
<p>If <tt>name</tt> contains a relative file path, the path will be relative to the current working directory. You can use QDir::tempPath() to construct <tt>name</tt> if you want use the system's temporary directory.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QTemporaryFile.html#fileTemplate()"><tt>fileTemplate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fileEngine()"><!-- --></A><H3>
fileEngine</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QAbstractFileEngine.html" title="class in com.trolltech.qt.core">QAbstractFileEngine</A> <B>fileEngine</B>()</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/QFile.html#fileEngine()">fileEngine</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="open(com.trolltech.qt.core.QIODevice.OpenMode)"><!-- --></A><H3>
open</H3>
<PRE>
public boolean <B>open</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.OpenMode.html" title="class in com.trolltech.qt.core">QIODevice.OpenMode</A>&nbsp;flags)</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/QFile.html#open(com.trolltech.qt.core.QIODevice.OpenMode)">open</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QIODevice::OpenMode</tt>, 
<a href="QFile.html#setFileName(java.lang.String)"><tt>setFileName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="createLocalFile(java.lang.String)"><!-- --></A><H3>
createLocalFile</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</A> <B>createLocalFile</B>(java.lang.String&nbsp;fileName)</PRE>
<DL>
<DD><p>Works on the given <tt>fileName</tt> rather than an existing <a href="QFile.html#QFile(com.trolltech.qt.core.QObject)"><tt>QFile</tt></a> object.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createLocalFile(com.trolltech.qt.core.QFile)"><!-- --></A><H3>
createLocalFile</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</A> <B>createLocalFile</B>(<A HREF="../../../../com/trolltech/qt/core/QFile.html" title="class in com.trolltech.qt.core">QFile</A>&nbsp;file)</PRE>
<DL>
<DD><p>Creates and returns a local temporary file whose contents are a copy of the contents of the given <tt>file</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QTemporaryFile.html" title="class in com.trolltech.qt.core">QTemporaryFile</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 QTemporaryFile 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/Qt.WindowType.html" title="enum in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QTextCodec.html" title="class 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/QTemporaryFile.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QTemporaryFile.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_classes_inherited_from_class_com.trolltech.qt.core.QFile">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.trolltech.qt.core.QIODevice">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;FIELD&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>