From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqfiledialog.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/tqfiledialog.html') diff --git a/doc/html/tqfiledialog.html b/doc/html/tqfiledialog.html index 76de27ae9..2a575c942 100644 --- a/doc/html/tqfiledialog.html +++ b/doc/html/tqfiledialog.html @@ -212,10 +212,10 @@ function names differ, e.g. setContentsPreview that the user can see either the contents of the file, or information about the file.

-    class Preview : public TQLabel, public TQFilePreview
+    class Preview : public TQLabel, public TQFilePreview
     {
     public:
-        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
+        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
 
         void previewUrl( const TQUrl &u )
         {
@@ -230,7 +230,7 @@ about the file.
   

In the above snippet, we create a preview widget which inherits from -TQLabel and TQFilePreview. File preview widgets must inherit from +TQLabel and TQFilePreview. File preview widgets must inherit from TQFilePreview.

Inside the class we reimplement TQFilePreview::previewUrl(), this is where we determine what happens when a file is selected. In the @@ -351,7 +351,7 @@ this row. If separator is TRUE, a small space is inserted between the last button of the row and the new button b.

See also addWidgets(), addLeftWidget(), and addRightWidget(). -

void TQFileDialog::addWidgets ( TQLabel * l, TQWidget * w, TQPushButton * b ) [protected] +

void TQFileDialog::addWidgets ( TQLabel * l, TQWidget * w, TQPushButton * b ) [protected]

Adds the specified widgets to the bottom of the file dialog. The label l is placed underneath the "file name" and the "file types" @@ -361,7 +361,7 @@ The button b is placed underneath the Cancel pushbutton. MyFileDialog::MyFileDialog( TQWidget* parent, const char* name ) : TQFileDialog( parent, name ) { - TQLabel* label = new TQLabel( "Added widgets", this ); + TQLabel* label = new TQLabel( "Added widgets", this ); TQLineEdit* lineedit = new TQLineEdit( this ); TQPushButton* pushbutton = new TQPushButton( this ); @@ -626,10 +626,10 @@ 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.

-    class Preview : public TQLabel, public TQFilePreview
+    class Preview : public TQLabel, public TQFilePreview
     {
     public:
-        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
+        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
 
         void previewUrl( const TQUrl &u )
         {
@@ -729,10 +729,10 @@ 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.
 

-    class Preview : public TQLabel, public TQFilePreview
+    class Preview : public TQLabel, public TQFilePreview
     {
     public:
-        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
+        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
 
         void previewUrl( const TQUrl &u )
         {
-- 
cgit v1.2.1