summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfiledialog.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 19:37:05 +0900
commit0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch)
treebe5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /doc/man/man3/tqfiledialog.3qt
parent1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff)
downloadtqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz
tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqfiledialog.3qt')
-rw-r--r--doc/man/man3/tqfiledialog.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqfiledialog.3qt b/doc/man/man3/tqfiledialog.3qt
index de55d1923..4bdadcc70 100644
--- a/doc/man/man3/tqfiledialog.3qt
+++ b/doc/man/man3/tqfiledialog.3qt
@@ -214,7 +214,7 @@ Inherits QDialog.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "void \fBaddWidgets\fR ( QLabel * l, TQWidget * w, QPushButton * b )"
+.BI "void \fBaddWidgets\fR ( TQLabel * l, TQWidget * w, QPushButton * b )"
.br
.ti -1c
.BI "void \fBaddToolButton\fR ( QButton * b, bool separator = FALSE )"
@@ -311,13 +311,13 @@ A preview widget is a widget that is placed inside a TQFileDialog so that the us
.PP
.nf
.br
- class Preview : public QLabel, public TQFilePreview
+ class Preview : public TQLabel, public TQFilePreview
.br
{
.br
public:
.br
- Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
+ Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
.br
.br
void previewUrl( const TQUrl &u )
@@ -342,7 +342,7 @@ A preview widget is a widget that is placed inside a TQFileDialog so that the us
.br
.fi
.PP
-In the above snippet, we create a preview widget which inherits from QLabel and TQFilePreview. File preview widgets \fImust\fR inherit from TQFilePreview.
+In the above snippet, we create a preview widget which inherits from TQLabel and TQFilePreview. File preview widgets \fImust\fR inherit from TQFilePreview.
.PP
Inside the class we reimplement TQFilePreview::previewUrl(), this is where we determine what happens when a file is selected. In the above example we only show a preview of the file if it is a valid pixmap. Here's how to make a file dialog use a preview widget:
.PP
@@ -447,7 +447,7 @@ See also addLeftWidget(), addWidgets(), and addToolButton().
Adds the tool button \fIb\fR to the row of tool buttons at the top of the file dialog. The button is appended to the right of this row. If \fIseparator\fR is TRUE, a small space is inserted between the last button of the row and the new button \fIb\fR.
.PP
See also addWidgets(), addLeftWidget(), and addRightWidget().
-.SH "void TQFileDialog::addWidgets ( QLabel * l, TQWidget * w, QPushButton * b )\fC [protected]\fR"
+.SH "void TQFileDialog::addWidgets ( TQLabel * l, TQWidget * w, QPushButton * b )\fC [protected]\fR"
Adds the specified widgets to the bottom of the file dialog. The label \fIl\fR is placed underneath the "file name" and the "file types" labels. The widget \fIw\fR is placed underneath the file types combobox. The button \fIb\fR is placed underneath the Cancel pushbutton.
.PP
.nf
@@ -458,7 +458,7 @@ Adds the specified widgets to the bottom of the file dialog. The label \fIl\fR i
.br
{
.br
- QLabel* label = new QLabel( "Added widgets", this );
+ TQLabel* label = new TQLabel( "Added widgets", this );
.br
QLineEdit* lineedit = new QLineEdit( this );
.br
@@ -687,13 +687,13 @@ Normally you would create a preview widget that derives from both TQWidget and T
.PP
.nf
.br
- class Preview : public QLabel, public TQFilePreview
+ class Preview : public TQLabel, public TQFilePreview
.br
{
.br
public:
.br
- Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
+ Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
.br
.br
void previewUrl( const TQUrl &u )
@@ -813,13 +813,13 @@ Normally you would create a preview widget that derives from both TQWidget and T
.PP
.nf
.br
- class Preview : public QLabel, public TQFilePreview
+ class Preview : public TQLabel, public TQFilePreview
.br
{
.br
public:
.br
- Preview( TQWidget *parent=0 ) : QLabel( parent ) {}
+ Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
.br
.br
void previewUrl( const TQUrl &u )