~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/q3progressdialog-obsolete.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/qt3support/dialogs/q3progressdialog.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: Obsolete Members for Q3ProgressDialog</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">Obsolete Members for Q3ProgressDialog</h1>
 
21
<p><b>The following class members are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p>
 
22
<p><ul><li><a href="q3progressdialog.html">Q3ProgressDialog class reference</a></li></ul></p>
 
23
<h3>Public Functions</h3>
 
24
<ul>
 
25
<li><div class="fn"/><b><a href="q3progressdialog-obsolete.html#Q3ProgressDialog">Q3ProgressDialog</a></b> ( QWidget * <i>creator</i>, const char * <i>name</i>, bool <i>modal</i> = false, Qt::WFlags <i>f</i> = 0 )&nbsp;&nbsp;<tt> (obsolete)</tt></li>
 
26
<li><div class="fn"/><b><a href="q3progressdialog-obsolete.html#Q3ProgressDialog-2">Q3ProgressDialog</a></b> ( const QString &amp; <i>labelText</i>, const QString &amp; <i>cancelButtonText</i>, int <i>totalSteps</i>, QWidget * <i>creator</i> = 0, const char * <i>name</i> = 0, bool <i>modal</i> = false, Qt::WFlags <i>f</i> = 0 )&nbsp;&nbsp;<tt> (obsolete)</tt></li>
 
27
</ul>
 
28
<ul>
 
29
<li><div class="fn"/>3 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
 
30
</ul>
 
31
<hr />
 
32
<h2>Member Function Documentation</h2>
 
33
<h3 class="fn"><a name="Q3ProgressDialog"></a>Q3ProgressDialog::Q3ProgressDialog ( <a href="qwidget.html">QWidget</a> * <i>creator</i>, const char * <i>name</i>, bool <i>modal</i> = false, <a href="qt.html#WFlags-typedef">Qt::WFlags</a> <i>f</i> = 0 )</h3>
 
34
<p>Constructs a progress dialog.</p>
 
35
<p>Default settings:</p>
 
36
<ul>
 
37
<li>The label text is empty.</li>
 
38
<li>The cancel button text is (translated) &quot;Cancel&quot;.</li>
 
39
<li>The total number of steps is 100.</li>
 
40
</ul>
 
41
<p>The <i>creator</i> argument is the widget to use as the dialog's parent. The <i>name</i>, <i>modal</i>, and the widget flags, <i>f</i>, are passed to the <a href="qdialog.html#QDialog">QDialog::QDialog</a>() constructor. If <i>modal</i> is false (the default), you must have an event loop proceeding for any redrawing of the dialog to occur. If <i>modal</i> is true, the dialog ensures that events are processed when needed.</p>
 
42
<p>See also <a href="q3progressdialog.html#labelText-prop">setLabelText</a>(), <a href="q3progressdialog.html#setLabel">setLabel</a>(), <a href="q3progressdialog.html#setCancelButtonText">setCancelButtonText</a>(), <a href="q3progressdialog.html#setCancelButton">setCancelButton</a>(), and <a href="q3progressdialog.html#totalSteps-prop">setTotalSteps</a>().</p>
 
43
<h3 class="fn"><a name="Q3ProgressDialog-2"></a>Q3ProgressDialog::Q3ProgressDialog ( const <a href="qstring.html">QString</a> &amp; <i>labelText</i>, const <a href="qstring.html">QString</a> &amp; <i>cancelButtonText</i>, int <i>totalSteps</i>, <a href="qwidget.html">QWidget</a> * <i>creator</i> = 0, const char * <i>name</i> = 0, bool <i>modal</i> = false, <a href="qt.html#WFlags-typedef">Qt::WFlags</a> <i>f</i> = 0 )</h3>
 
44
<p>Constructs a progress dialog.</p>
 
45
<p>The <i>labelText</i> is text used to remind the user what is progressing.</p>
 
46
<p>The <i>cancelButtonText</i> is the text to display on the cancel button, or 0 if no cancel button is to be shown.</p>
 
47
<p>The <i>totalSteps</i> is the total number of steps in the operation for which this progress dialog shows progress. For example, if the operation is to examine 50 files, this value would be 50. Before examining the first file, call setProgress(0). As each file is processed call setProgress(1), setProgress(2), etc., finally calling setProgress(50) after examining the last file.</p>
 
48
<p>The <i>creator</i> argument is the widget to use as the dialog's parent. The <i>name</i>, <i>modal</i>, and widget flags, <i>f</i>, are passed to the <a href="qdialog.html#QDialog">QDialog::QDialog</a>() constructor. If <i>modal</i> is false (the default), you will must have an event loop proceeding for any redrawing of the dialog to occur. If <i>modal</i> is true, the dialog ensures that events are processed when needed.</p>
 
49
<p>See also <a href="q3progressdialog.html#labelText-prop">setLabelText</a>(), <a href="q3progressdialog.html#setLabel">setLabel</a>(), <a href="q3progressdialog.html#setCancelButtonText">setCancelButtonText</a>(), <a href="q3progressdialog.html#setCancelButton">setCancelButton</a>(), and <a href="q3progressdialog.html#totalSteps-prop">setTotalSteps</a>().</p>
 
50
<p /><address><hr /><div align="center">
 
51
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
52
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
53
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
54
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
55
</tr></table></div></address></body>
 
56
</html>