summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqfiledialog.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:44:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqfiledialog.html
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz
tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqfiledialog.html')
-rw-r--r--doc/html/ntqfiledialog.html86
1 files changed, 43 insertions, 43 deletions
diff --git a/doc/html/ntqfiledialog.html b/doc/html/ntqfiledialog.html
index d1ec3946f..baf207c23 100644
--- a/doc/html/ntqfiledialog.html
+++ b/doc/html/ntqfiledialog.html
@@ -132,7 +132,7 @@ functions. On Windows, these static functions will call the native
Windows file dialog and on Mac OS X, these static function will call
the native Mac OS X file dialog.
<p> <pre>
- <a href="ntqstring.html">TQString</a> s = TQFileDialog::<a href="#getOpenFileName">getOpenFileName</a>(
+ <a href="tqstring.html">TQString</a> s = TQFileDialog::<a href="#getOpenFileName">getOpenFileName</a>(
"/home",
"Images (*.png *.xpm *.jpg)",
this,
@@ -188,7 +188,7 @@ modification date, etc. Set the mode with <a href="#setViewMode">setViewMode</a>
<p> The last important function you will need to use when creating your
own file dialog is <a href="#selectedFile">selectedFile</a>().
<p> <pre>
- <a href="ntqstring.html">TQString</a> fileName;
+ <a href="tqstring.html">TQString</a> fileName;
if ( fd-&gt;exec() == TQDialog::<a href="ntqdialog.html#DialogCode-enum">Accepted</a> )
fileName = fd-&gt;selectedFile();
</pre>
@@ -196,7 +196,7 @@ own file dialog is <a href="#selectedFile">selectedFile</a>().
<p> In the above example, a modal file dialog is created and shown. If
the user clicked OK, then the file they selected is put in <tt>fileName</tt>.
<p> If you are using the <a href="#Mode-enum">ExistingFiles</a> mode then you will need to use
-<a href="#selectedFiles">selectedFiles</a>() which will return the selected files in a <a href="ntqstringlist.html">TQStringList</a>.
+<a href="#selectedFiles">selectedFiles</a>() which will return the selected files in a <a href="tqstringlist.html">TQStringList</a>.
<p> The dialog's working directory can be set with <a href="#setDir">setDir</a>(). The display
of hidden files is controlled with <a href="#setShowHiddenFiles">setShowHiddenFiles</a>(). The dialog
can be forced to re-read the directory with <a href="#rereadDir">rereadDir</a>() and re-sort
@@ -219,7 +219,7 @@ about the file.
void previewUrl( const <a href="ntqurl.html">TQUrl</a> &amp;u )
{
- <a href="ntqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
+ <a href="tqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
<a href="ntqpixmap.html">TQPixmap</a> pix( path );
if ( pix.<a href="ntqpixmap.html#isNull">isNull</a>() )
setText( "This is not a pixmap" );
@@ -298,7 +298,7 @@ additional information, such as file size and modification date.
</ul><p> See <a href="#setViewMode">setViewMode</a>().
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQFileDialog"></a>TQFileDialog::TQFileDialog ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;dirName, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, bool&nbsp;modal = FALSE )
+<h3 class=fn><a name="TQFileDialog"></a>TQFileDialog::TQFileDialog ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;dirName, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, bool&nbsp;modal = FALSE )
</h3>
Constructs a file dialog called <em>name</em> with the parent, <em>parent</em>.
If <em>modal</em> is TRUE then the file dialog is modal; otherwise it is
@@ -318,7 +318,7 @@ modeless.
</h3>
Destroys the file dialog.
-<h3 class=fn>void <a name="addFilter"></a>TQFileDialog::addFilter ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter )
+<h3 class=fn>void <a name="addFilter"></a>TQFileDialog::addFilter ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter )
</h3>
Adds the filter <em>filter</em> to the list of filters and makes it the
current filter.
@@ -382,46 +382,46 @@ Returns the current directory shown in the file dialog.
it must be deleted by the caller when no longer required.
<p> <p>See also <a href="#setDir">setDir</a>().
-<h3 class=fn>void <a name="dirEntered"></a>TQFileDialog::dirEntered ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
+<h3 class=fn>void <a name="dirEntered"></a>TQFileDialog::dirEntered ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when the user enters a directory.
<p> <p>See also <a href="#dir">dir</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="dirPath"></a>TQFileDialog::dirPath () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="dirPath"></a>TQFileDialog::dirPath () const
</h3><p>Returns the file dialog's working directory.
See the <a href="ntqfiledialog.html#dirPath-prop">"dirPath"</a> property for details.
-<h3 class=fn>void <a name="fileHighlighted"></a>TQFileDialog::fileHighlighted ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
+<h3 class=fn>void <a name="fileHighlighted"></a>TQFileDialog::fileHighlighted ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when the user highlights a file, i.e. makes
it the current file.
<p> <p>See also <a href="#fileSelected">fileSelected</a>() and <a href="#filesSelected">filesSelected</a>().
-<h3 class=fn>void <a name="fileSelected"></a>TQFileDialog::fileSelected ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
+<h3 class=fn>void <a name="fileSelected"></a>TQFileDialog::fileSelected ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when the user selects a file.
<p> <p>See also <a href="#filesSelected">filesSelected</a>(), <a href="#fileHighlighted">fileHighlighted</a>(), and <a href="#selectedFile-prop">selectedFile</a>.
-<h3 class=fn>void <a name="filesSelected"></a>TQFileDialog::filesSelected ( const&nbsp;<a href="ntqstringlist.html">TQStringList</a>&nbsp;&amp; )<tt> [signal]</tt>
+<h3 class=fn>void <a name="filesSelected"></a>TQFileDialog::filesSelected ( const&nbsp;<a href="tqstringlist.html">TQStringList</a>&nbsp;&amp; )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when the user selects one or more files in <em>ExistingFiles</em> mode.
<p> <p>See also <a href="#fileSelected">fileSelected</a>(), <a href="#fileHighlighted">fileHighlighted</a>(), and <a href="#selectedFiles-prop">selectedFiles</a>.
-<h3 class=fn>void <a name="filterSelected"></a>TQFileDialog::filterSelected ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
+<h3 class=fn>void <a name="filterSelected"></a>TQFileDialog::filterSelected ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when the user selects a filter.
<p> <p>See also <a href="#selectedFilter-prop">selectedFilter</a>.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getExistingDirectory"></a>TQFileDialog::getExistingDirectory ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;dir = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, bool&nbsp;dirOnly = TRUE, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getExistingDirectory"></a>TQFileDialog::getExistingDirectory ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;dir = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, bool&nbsp;dirOnly = TRUE, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
</h3>
This is a convenience static function that will return an existing directory
selected by the user.
<p> <pre>
- <a href="ntqstring.html">TQString</a> s = TQFileDialog::<a href="#getExistingDirectory">getExistingDirectory</a>(
+ <a href="tqstring.html">TQString</a> s = TQFileDialog::<a href="#getExistingDirectory">getExistingDirectory</a>(
"/home",
this,
"get existing directory",
@@ -433,7 +433,7 @@ selected by the user.
parent, <em>parent</em>. If parent is not 0, the dialog will be shown
centered over the parent.
<p> The dialog's working directory is set to <em>dir</em>, and the caption is
-set to <em>caption</em>. Either of these may be <a href="ntqstring.html#TQString-null">TQString::null</a> in which case
+set to <em>caption</em>. Either of these may be <a href="tqstring.html#TQString-null">TQString::null</a> in which case
the current directory and a default caption will be used respectively.
<p> Note on Windows that if <em>dir</em> is TQString::null then the dialog's working
directory will be set to the user's My Documents directory.
@@ -452,13 +452,13 @@ TQTimers and if parent is not 0 then it will position the dialog just under
the parent's titlebar).
<p> <p>See also <a href="#getOpenFileName">getOpenFileName</a>(), <a href="#getOpenFileNames">getOpenFileNames</a>(), and <a href="#getSaveFileName">getSaveFileName</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getOpenFileName"></a>TQFileDialog::getOpenFileName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;startWith = TQString::null, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="ntqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getOpenFileName"></a>TQFileDialog::getOpenFileName ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;startWith = TQString::null, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="tqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
</h3>
This is a convenience static function that returns an existing file
selected by the user. If the user pressed Cancel, it returns a null
string.
<p> <pre>
- <a href="ntqstring.html">TQString</a> s = TQFileDialog::<a href="#getOpenFileName">getOpenFileName</a>(
+ <a href="tqstring.html">TQString</a> s = TQFileDialog::<a href="#getOpenFileName">getOpenFileName</a>(
"/home",
"Images (*.png *.xpm *.jpg)",
this,
@@ -472,7 +472,7 @@ centered over the parent.
<p> The file dialog's working directory will be set to <em>startWith</em>. If <em>startWith</em> includes a file name, the file will be selected. The filter
is set to <em>filter</em> so that only those files which match the filter
are shown. The filter selected is set to <em>selectedFilter</em>. The parameters
-<em>startWith</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="ntqstring.html#TQString-null">TQString::null</a>.
+<em>startWith</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="tqstring.html#TQString-null">TQString::null</a>.
<p> The dialog's caption is set to <em>caption</em>. If <em>caption</em> is not
specified then a default caption will be used.
<p> Under Windows and Mac OS X, this static function will use the native
@@ -489,12 +489,12 @@ symlinks as regular directories.
<p> <p>See also <a href="#getOpenFileNames">getOpenFileNames</a>(), <a href="#getSaveFileName">getSaveFileName</a>(), and <a href="#getExistingDirectory">getExistingDirectory</a>().
<p>Examples: <a href="qaction-application-example.html#x1132">action/application.cpp</a>, <a href="addressbook-example.html#x567">addressbook/mainwindow.cpp</a>, <a href="simple-application-example.html#x1549">application/application.cpp</a>, <a href="distributor-example.html#x2660">distributor/distributor.ui.h</a>, <a href="ftpclient-example.html#x741">network/ftpclient/ftpmainwindow.ui.h</a>, <a href="qwerty-example.html#x365">qwerty/qwerty.cpp</a>, and <a href="showimg-example.html#x1318">showimg/showimg.cpp</a>.
-<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="getOpenFileNames"></a>TQFileDialog::getOpenFileNames ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;dir = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="ntqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="getOpenFileNames"></a>TQFileDialog::getOpenFileNames ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;dir = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="tqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
</h3>
This is a convenience static function that will return one or more
existing files selected by the user.
<p> <pre>
- <a href="ntqstringlist.html">TQStringList</a> files = TQFileDialog::<a href="#getOpenFileNames">getOpenFileNames</a>(
+ <a href="tqstringlist.html">TQStringList</a> files = TQFileDialog::<a href="#getOpenFileNames">getOpenFileNames</a>(
"Images (*.png *.xpm *.jpg)",
"/home",
this,
@@ -508,7 +508,7 @@ centered over the parent.
<p> The file dialog's working directory will be set to <em>dir</em>. If <em>dir</em> includes a file name, the file will be selected. The filter
is set to <em>filter</em> so that only those files which match the filter
are shown. The filter selected is set to <em>selectedFilter</em>. The parameters
-<em>dir</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="ntqstring.html#TQString-null">TQString::null</a>.
+<em>dir</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="tqstring.html#TQString-null">TQString::null</a>.
<p> The dialog's caption is set to <em>caption</em>. If <em>caption</em> is not
specified then a default caption will be used.
<p> Under Windows and Mac OS X, this static function will use the native
@@ -525,7 +525,7 @@ symlinks as regular directories.
<p> Note that if you want to iterate over the list of files, you should
iterate over a copy, e.g.
<pre>
- <a href="ntqstringlist.html">TQStringList</a> list = files;
+ <a href="tqstringlist.html">TQStringList</a> list = files;
TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>();
while( it != list.<a href="tqvaluelist.html#end">end</a>() ) {
myProcessing( *it );
@@ -535,7 +535,7 @@ iterate over a copy, e.g.
<p> <p>See also <a href="#getOpenFileName">getOpenFileName</a>(), <a href="#getSaveFileName">getSaveFileName</a>(), and <a href="#getExistingDirectory">getExistingDirectory</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getSaveFileName"></a>TQFileDialog::getSaveFileName ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;startWith = TQString::null, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="ntqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getSaveFileName"></a>TQFileDialog::getSaveFileName ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;startWith = TQString::null, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filter = TQString::null, <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0, const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;caption = TQString::null, <a href="tqstring.html">TQString</a>&nbsp;*&nbsp;selectedFilter = 0, bool&nbsp;resolveSymlinks = TRUE )<tt> [static]</tt>
</h3>
This is a convenience static function that will return a file name
selected by the user. The file does not have to exist.
@@ -543,7 +543,7 @@ selected by the user. The file does not have to exist.
If a parent is not 0, the dialog will be shown centered over the
parent.
<p> <pre>
- <a href="ntqstring.html">TQString</a> s = TQFileDialog::<a href="#getSaveFileName">getSaveFileName</a>(
+ <a href="tqstring.html">TQString</a> s = TQFileDialog::<a href="#getSaveFileName">getSaveFileName</a>(
"/home",
"Images (*.png *.xpm *.jpg)",
this,
@@ -554,7 +554,7 @@ parent.
<p> The file dialog's working directory will be set to <em>startWith</em>. If <em>startWith</em> includes a file name, the file will be selected. The filter
is set to <em>filter</em> so that only those files which match the filter
are shown. The filter selected is set to <em>selectedFilter</em>. The parameters
-<em>startWith</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="ntqstring.html#TQString-null">TQString::null</a>.
+<em>startWith</em>, <em>selectedFilter</em> and <em>filter</em> may be <a href="tqstring.html#TQString-null">TQString::null</a>.
<p> The dialog's caption is set to <em>caption</em>. If <em>caption</em> is not
specified then a default caption will be used.
<p> Under Windows and Mac OS X, this static function will use the native
@@ -607,13 +607,13 @@ Re-sorts the displayed directory.
If <em>b</em> is TRUE then all the files in the current directory are selected;
otherwise, they are deselected.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedFile"></a>TQFileDialog::selectedFile () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedFile"></a>TQFileDialog::selectedFile () const
</h3><p>Returns the name of the selected file.
See the <a href="ntqfiledialog.html#selectedFile-prop">"selectedFile"</a> property for details.
-<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="selectedFiles"></a>TQFileDialog::selectedFiles () const
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="selectedFiles"></a>TQFileDialog::selectedFiles () const
</h3><p>Returns the list of selected files.
See the <a href="ntqfiledialog.html#selectedFiles-prop">"selectedFiles"</a> property for details.
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedFilter"></a>TQFileDialog::selectedFilter () const
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedFilter"></a>TQFileDialog::selectedFilter () const
</h3><p>Returns the filter which the user has selected in the file dialog.
See the <a href="ntqfiledialog.html#selectedFilter-prop">"selectedFilter"</a> property for details.
<h3 class=fn>void <a name="setContentsPreview"></a>TQFileDialog::setContentsPreview ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;w, <a href="qfilepreview.html">TQFilePreview</a>&nbsp;*&nbsp;preview )
@@ -633,7 +633,7 @@ avoid memory leaks.
void previewUrl( const <a href="ntqurl.html">TQUrl</a> &amp;u )
{
- <a href="ntqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
+ <a href="tqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
<a href="ntqpixmap.html">TQPixmap</a> pix( path );
if ( pix.<a href="ntqpixmap.html#isNull">isNull</a>() )
setText( "This is not a pixmap" );
@@ -667,12 +667,12 @@ See the <a href="ntqfiledialog.html#contentsPreview-prop">"contentsPreview"</a>
Sets the file dialog's working directory to <em>dir</em>.
<p>See also <a href="#dir">dir</a>().
-<h3 class=fn>void <a name="setDir-2"></a>TQFileDialog::setDir ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;pathstr )<tt> [slot]</tt>
+<h3 class=fn>void <a name="setDir-2"></a>TQFileDialog::setDir ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;pathstr )<tt> [slot]</tt>
</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Sets the file dialog's working directory to <em>pathstr</em>.
<p> <p>See also <a href="#dir">dir</a>().
-<h3 class=fn>void <a name="setFilter"></a>TQFileDialog::setFilter ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;newFilter )<tt> [slot]</tt>
+<h3 class=fn>void <a name="setFilter"></a>TQFileDialog::setFilter ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;newFilter )<tt> [slot]</tt>
</h3>
<p> Sets the filter used in the file dialog to <em>newFilter</em>.
<p> If <em>newFilter</em> contains a pair of parentheses containing one or more
@@ -688,12 +688,12 @@ the filter. This means that these calls are all equivalent:
<p> <p>See also <a href="#setFilters">setFilters</a>().
-<h3 class=fn>void <a name="setFilters"></a>TQFileDialog::setFilters ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filters )<tt> [slot]</tt>
+<h3 class=fn>void <a name="setFilters"></a>TQFileDialog::setFilters ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filters )<tt> [slot]</tt>
</h3>
Sets the filters used in the file dialog to <em>filters</em>. Each group
of filters must be separated by <tt>;;</tt> (<em>two</em> semi-colons).
<p> <pre>
- <a href="ntqstring.html">TQString</a> types("Image files (*.png *.xpm *.jpg);;"
+ <a href="tqstring.html">TQString</a> types("Image files (*.png *.xpm *.jpg);;"
"Text files (*.txt);;"
"Any files (*)");
TQFileDialog fd = new TQFileDialog( this );
@@ -707,7 +707,7 @@ of filters must be separated by <tt>;;</tt> (<em>two</em> semi-colons).
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> <em>types</em> must be a null-terminated list of strings.
<p>
-<h3 class=fn>void <a name="setFilters-3"></a>TQFileDialog::setFilters ( const&nbsp;<a href="ntqstringlist.html">TQStringList</a>&nbsp;&amp; )<tt> [slot]</tt>
+<h3 class=fn>void <a name="setFilters-3"></a>TQFileDialog::setFilters ( const&nbsp;<a href="tqstringlist.html">TQStringList</a>&nbsp;&amp; )<tt> [slot]</tt>
</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p>
<h3 class=fn>void <a name="setIconProvider"></a>TQFileDialog::setIconProvider ( <a href="qfileiconprovider.html">TQFileIconProvider</a>&nbsp;*&nbsp;provider )<tt> [static]</tt>
@@ -736,7 +736,7 @@ avoid memory leaks.
void previewUrl( const <a href="ntqurl.html">TQUrl</a> &amp;u )
{
- <a href="ntqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
+ <a href="tqstring.html">TQString</a> path = u.<a href="ntqurl.html#path">path</a>();
<a href="ntqpixmap.html">TQPixmap</a> pix( path );
if ( pix.<a href="ntqpixmap.html#isNull">isNull</a>() )
setText( "This is not a pixmap" );
@@ -772,7 +772,7 @@ See the <a href="ntqfiledialog.html#mode-prop">"mode"</a> property for details.
<h3 class=fn>void <a name="setPreviewMode"></a>TQFileDialog::setPreviewMode ( <a href="ntqfiledialog.html#PreviewMode-enum">PreviewMode</a>&nbsp;m )
</h3><p>Sets the preview mode for the file dialog to <em>m</em>.
See the <a href="ntqfiledialog.html#previewMode-prop">"previewMode"</a> property for details.
-<h3 class=fn>void <a name="setSelectedFilter"></a>TQFileDialog::setSelectedFilter ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;mask )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setSelectedFilter"></a>TQFileDialog::setSelectedFilter ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;mask )<tt> [virtual]</tt>
</h3>
Sets the current filter selected in the file dialog to the first
one that contains the text <em>mask</em>.
@@ -783,7 +783,7 @@ one that contains the text <em>mask</em>.
<em>n</em>-th filter in the filter list.
<p> <p>See also <a href="#filterSelected">filterSelected</a>(), <a href="#selectedFilter-prop">selectedFilter</a>, <a href="#selectedFiles-prop">selectedFiles</a>, and <a href="#selectedFile-prop">selectedFile</a>.
-<h3 class=fn>void <a name="setSelection"></a>TQFileDialog::setSelection ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;filename )
+<h3 class=fn>void <a name="setSelection"></a>TQFileDialog::setSelection ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;filename )
</h3>
Sets the default selection to <em>filename</em>. If <em>filename</em> is
absolute, <a href="#setDir">setDir</a>() is also called to set the file dialog's working
@@ -821,7 +821,7 @@ See the <a href="ntqfiledialog.html#viewMode-prop">"viewMode"</a> property for d
<p> <p>See also <a href="#setContentsPreview">setContentsPreview</a>() and <a href="#infoPreview-prop">infoPreview</a>.
<p>Set this property's value with <a href="#setContentsPreviewEnabled">setContentsPreviewEnabled</a>() and get this property's value with <a href="#isContentsPreviewEnabled">isContentsPreviewEnabled</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="dirPath-prop"></a>dirPath</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="dirPath-prop"></a>dirPath</h3>
<p>This property holds the file dialog's working directory.
<p>Get this property's value with <a href="#dirPath">dirPath</a>().
<p><p>See also <a href="#dir">dir</a>() and <a href="#setDir">setDir</a>().
@@ -846,14 +846,14 @@ widget(s) with <a href="#setInfoPreviewEnabled">setInfoPreviewEnabled</a>() or
<p> <p>See also <a href="#infoPreview-prop">infoPreview</a>, <a href="#contentsPreview-prop">contentsPreview</a>, and <a href="#viewMode-prop">viewMode</a>.
<p>Set this property's value with <a href="#setPreviewMode">setPreviewMode</a>() and get this property's value with <a href="#previewMode">previewMode</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedFile-prop"></a>selectedFile</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedFile-prop"></a>selectedFile</h3>
<p>This property holds the name of the selected file.
<p>If a file was selected selectedFile contains the file's name including
its absolute path; otherwise selectedFile is empty.
-<p> <p>See also <a href="ntqstring.html#isEmpty">TQString::isEmpty</a>(), <a href="#selectedFiles-prop">selectedFiles</a>, and <a href="#selectedFilter-prop">selectedFilter</a>.
+<p> <p>See also <a href="tqstring.html#isEmpty">TQString::isEmpty</a>(), <a href="#selectedFiles-prop">selectedFiles</a>, and <a href="#selectedFilter-prop">selectedFilter</a>.
<p>Get this property's value with <a href="#selectedFile">selectedFile</a>().
-<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="selectedFiles-prop"></a>selectedFiles</h3>
+<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="selectedFiles-prop"></a>selectedFiles</h3>
<p>This property holds the list of selected files.
<p>If one or more files are selected, selectedFiles contains their
names including their absolute paths. If no files are selected or
@@ -863,7 +863,7 @@ the mode isn't ExistingFiles selectedFiles is an empty list.
<p> Note that if you want to iterate over the list, you should
iterate over a copy, e.g.
<pre>
- <a href="ntqstringlist.html">TQStringList</a> list = myFileDialog.selectedFiles();
+ <a href="tqstringlist.html">TQStringList</a> list = myFileDialog.selectedFiles();
TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>();
while( it != list.<a href="tqvaluelist.html#end">end</a>() ) {
myProcessing( *it );
@@ -874,7 +874,7 @@ iterate over a copy, e.g.
<p> <p>See also <a href="#selectedFile-prop">selectedFile</a>, <a href="#selectedFilter-prop">selectedFilter</a>, and <a href="tqvaluelist.html#empty">TQValueList::empty</a>().
<p>Get this property's value with <a href="#selectedFiles">selectedFiles</a>().
-<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedFilter-prop"></a>selectedFilter</h3>
+<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedFilter-prop"></a>selectedFilter</h3>
<p>This property holds the filter which the user has selected in the file dialog.
<p>Get this property's value with <a href="#selectedFilter">selectedFilter</a>().
<p><p>See also <a href="#filterSelected">filterSelected</a>(), <a href="#selectedFiles-prop">selectedFiles</a>, and <a href="#selectedFile-prop">selectedFile</a>.