diff options
Diffstat (limited to 'doc/html/ntqfiledialog.html')
-rw-r--r-- | doc/html/ntqfiledialog.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/ntqfiledialog.html b/doc/html/ntqfiledialog.html index 437d07a2..20de1d9a 100644 --- a/doc/html/ntqfiledialog.html +++ b/doc/html/ntqfiledialog.html @@ -215,7 +215,7 @@ about the file. class Preview : public <a href="ntqlabel.html">TQLabel</a>, public TQFilePreview { public: - Preview( <a href="ntqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} + Preview( <a href="tqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} void previewUrl( const <a href="ntqurl.html">TQUrl</a> &u ) { @@ -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 <a href="ntqstring.html">TQString</a> & dirName, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = FALSE ) +<h3 class=fn><a name="TQFileDialog"></a>TQFileDialog::TQFileDialog ( const <a href="ntqstring.html">TQString</a> & dirName, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool 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 @@ -308,7 +308,7 @@ working directory, i.e. it will be the directory that is shown when the dialog appears. If <em>filter</em> is specified it will be used as the dialog's file filter. <p> -<h3 class=fn><a name="TQFileDialog-2"></a>TQFileDialog::TQFileDialog ( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = FALSE ) +<h3 class=fn><a name="TQFileDialog-2"></a>TQFileDialog::TQFileDialog ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool 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 @@ -333,12 +333,12 @@ current filter. filter, "All Files (*)", is still available. <p> <p>See also <a href="#setFilter">setFilter</a>() and <a href="#setFilters">setFilters</a>(). -<h3 class=fn>void <a name="addLeftWidget"></a>TQFileDialog::addLeftWidget ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [protected]</tt> +<h3 class=fn>void <a name="addLeftWidget"></a>TQFileDialog::addLeftWidget ( <a href="tqwidget.html">TQWidget</a> * w )<tt> [protected]</tt> </h3> Adds the widget <em>w</em> to the left-hand side of the file dialog. <p> <p>See also <a href="#addRightWidget">addRightWidget</a>(), <a href="#addWidgets">addWidgets</a>(), and <a href="#addToolButton">addToolButton</a>(). -<h3 class=fn>void <a name="addRightWidget"></a>TQFileDialog::addRightWidget ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [protected]</tt> +<h3 class=fn>void <a name="addRightWidget"></a>TQFileDialog::addRightWidget ( <a href="tqwidget.html">TQWidget</a> * w )<tt> [protected]</tt> </h3> Adds the widget <em>w</em> to the right-hand side of the file dialog. <p> <p>See also <a href="#addLeftWidget">addLeftWidget</a>(), <a href="#addWidgets">addWidgets</a>(), and <a href="#addToolButton">addToolButton</a>(). @@ -351,14 +351,14 @@ this row. If <em>separator</em> is TRUE, a small space is inserted between the last button of the row and the new button <em>b</em>. <p> <p>See also <a href="#addWidgets">addWidgets</a>(), <a href="#addLeftWidget">addLeftWidget</a>(), and <a href="#addRightWidget">addRightWidget</a>(). -<h3 class=fn>void <a name="addWidgets"></a>TQFileDialog::addWidgets ( <a href="ntqlabel.html">TQLabel</a> * l, <a href="ntqwidget.html">TQWidget</a> * w, <a href="ntqpushbutton.html">TQPushButton</a> * b )<tt> [protected]</tt> +<h3 class=fn>void <a name="addWidgets"></a>TQFileDialog::addWidgets ( <a href="ntqlabel.html">TQLabel</a> * l, <a href="tqwidget.html">TQWidget</a> * w, <a href="ntqpushbutton.html">TQPushButton</a> * b )<tt> [protected]</tt> </h3> Adds the specified widgets to the bottom of the file dialog. The label <em>l</em> is placed underneath the "file name" and the "file types" labels. The widget <em>w</em> is placed underneath the file types combobox. The button <em>b</em> is placed underneath the Cancel pushbutton. <p> <pre> - MyFileDialog::MyFileDialog( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name ) : + MyFileDialog::MyFileDialog( <a href="tqwidget.html">TQWidget</a>* parent, const char* name ) : <a href="#TQFileDialog">TQFileDialog</a>( parent, name ) { <a href="ntqlabel.html">TQLabel</a>* label = new <a href="ntqlabel.html">TQLabel</a>( "Added widgets", this ); @@ -416,7 +416,7 @@ it the current file. <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 <a href="ntqstring.html">TQString</a> & dir = TQString::null, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, bool dirOnly = TRUE, bool resolveSymlinks = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getExistingDirectory"></a>TQFileDialog::getExistingDirectory ( const <a href="ntqstring.html">TQString</a> & dir = TQString::null, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, bool dirOnly = TRUE, bool resolveSymlinks = TRUE )<tt> [static]</tt> </h3> This is a convenience static function that will return an existing directory selected by the user. @@ -452,7 +452,7 @@ 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 <a href="ntqstring.html">TQString</a> & startWith = TQString::null, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool resolveSymlinks = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getOpenFileName"></a>TQFileDialog::getOpenFileName ( const <a href="ntqstring.html">TQString</a> & startWith = TQString::null, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool 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 @@ -489,7 +489,7 @@ 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 <a href="ntqstring.html">TQString</a> & filter = TQString::null, const <a href="ntqstring.html">TQString</a> & dir = TQString::null, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool resolveSymlinks = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="getOpenFileNames"></a>TQFileDialog::getOpenFileNames ( const <a href="ntqstring.html">TQString</a> & filter = TQString::null, const <a href="ntqstring.html">TQString</a> & dir = TQString::null, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool resolveSymlinks = TRUE )<tt> [static]</tt> </h3> This is a convenience static function that will return one or more existing files selected by the user. @@ -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 <a href="ntqstring.html">TQString</a> & startWith = TQString::null, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool resolveSymlinks = TRUE )<tt> [static]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getSaveFileName"></a>TQFileDialog::getSaveFileName ( const <a href="ntqstring.html">TQString</a> & startWith = TQString::null, const <a href="ntqstring.html">TQString</a> & filter = TQString::null, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, const <a href="ntqstring.html">TQString</a> & caption = TQString::null, <a href="ntqstring.html">TQString</a> * selectedFilter = 0, bool 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. @@ -616,12 +616,12 @@ See the <a href="ntqfiledialog.html#selectedFiles-prop">"selectedFiles"</a> prop <h3 class=fn><a href="ntqstring.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="ntqwidget.html">TQWidget</a> * w, <a href="qfilepreview.html">TQFilePreview</a> * preview ) +<h3 class=fn>void <a name="setContentsPreview"></a>TQFileDialog::setContentsPreview ( <a href="tqwidget.html">TQWidget</a> * w, <a href="qfilepreview.html">TQFilePreview</a> * preview ) </h3> Sets the widget to be used for displaying the contents of the file to the widget <em>w</em> and a preview of those contents to the <a href="qfilepreview.html">TQFilePreview</a> <em>preview</em>. -<p> Normally you would create a preview widget that derives from both <a href="ntqwidget.html">TQWidget</a> and +<p> Normally you would create a preview widget that derives from both <a href="tqwidget.html">TQWidget</a> and TQFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks. @@ -629,7 +629,7 @@ avoid memory leaks. class Preview : public <a href="ntqlabel.html">TQLabel</a>, public TQFilePreview { public: - Preview( <a href="ntqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} + Preview( <a href="tqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} void previewUrl( const <a href="ntqurl.html">TQUrl</a> &u ) { @@ -719,12 +719,12 @@ to files. <p> <p>See also <a href="qfileiconprovider.html">TQFileIconProvider</a> and <a href="#iconProvider">iconProvider</a>(). <p>Example: <a href="showimg-example.html#x1362">showimg/main.cpp</a>. -<h3 class=fn>void <a name="setInfoPreview"></a>TQFileDialog::setInfoPreview ( <a href="ntqwidget.html">TQWidget</a> * w, <a href="qfilepreview.html">TQFilePreview</a> * preview ) +<h3 class=fn>void <a name="setInfoPreview"></a>TQFileDialog::setInfoPreview ( <a href="tqwidget.html">TQWidget</a> * w, <a href="qfilepreview.html">TQFilePreview</a> * preview ) </h3> Sets the widget to be used for displaying information about the file to the widget <em>w</em> and a preview of that information to the <a href="qfilepreview.html">TQFilePreview</a> <em>preview</em>. -<p> Normally you would create a preview widget that derives from both <a href="ntqwidget.html">TQWidget</a> and +<p> Normally you would create a preview widget that derives from both <a href="tqwidget.html">TQWidget</a> and TQFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks. @@ -732,7 +732,7 @@ avoid memory leaks. class Preview : public <a href="ntqlabel.html">TQLabel</a>, public TQFilePreview { public: - Preview( <a href="ntqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} + Preview( <a href="tqwidget.html">TQWidget</a> *parent=0 ) : <a href="ntqlabel.html">TQLabel</a>( parent ) {} void previewUrl( const <a href="ntqurl.html">TQUrl</a> &u ) { |