From fef846914f8db6dc117e206ef913d519bf6bb33e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 12:43:23 +0900 Subject: Rename basic widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqlabel.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tqlabel.html') diff --git a/doc/html/tqlabel.html b/doc/html/tqlabel.html index 4284b03f4..bfbc52ffa 100644 --- a/doc/html/tqlabel.html +++ b/doc/html/tqlabel.html @@ -134,15 +134,15 @@ this use TQLabel provides a useful mechanism for adding an accelerator key (see TQAccel) that will set the keyboard focus to the other widget (called the TQLabel's "buddy"). For example:
-    TQLineEdit* phoneEdit = new TQLineEdit( this, "phoneEdit" );
+    TQLineEdit* phoneEdit = new TQLineEdit( this, "phoneEdit" );
     TQLabel* phoneLabel = new TQLabel( phoneEdit, "&Phone:", this, "phoneLabel" );
     

In this example, keyboard focus is transferred to the label's -buddy (the TQLineEdit) when the user presses Alt+P. You can +buddy (the TQLineEdit) when the user presses Alt+P. You can also use the setBuddy() function to accomplish the same thing.

-

See also TQLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes. +

See also TQLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes.


Member Function Documentation

TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 ) @@ -249,10 +249,10 @@ alignment flag is turned on; see setAlignment()). for each, and set up the geometry layout so each label is just to the left of its data entry widget (its "buddy"), for example:
-    TQLineEdit *nameEd  = new TQLineEdit( this );
+    TQLineEdit *nameEd  = new TQLineEdit( this );
     TQLabel    *nameLb  = new TQLabel( "&Name:", this );
     nameLb->setBuddy( nameEd );
-    TQLineEdit *phoneEd = new TQLineEdit( this );
+    TQLineEdit *phoneEd = new TQLineEdit( this );
     TQLabel    *phoneLb = new TQLabel( "&Phone:", this );
     phoneLb->setBuddy( phoneEd );
     // ( layout setup not shown )
-- 
cgit v1.2.1