diff options
Diffstat (limited to 'examples/demo/textdrawing/example.html')
-rw-r--r-- | examples/demo/textdrawing/example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html index a4fe80929..fc48cca7b 100644 --- a/examples/demo/textdrawing/example.html +++ b/examples/demo/textdrawing/example.html @@ -96,14 +96,14 @@ corner (both lines being flush with the right side of the label): widget. For this use, TQLabel provides a handy mechanism for adding an accelerator key (see <a href="ntqaccel.html">TQAccel</a>) that will set the keyboard focus to the other widget (called the TQLabel's "buddy"). Example: -<p><pre> <a href="ntqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="ntqlineedit.html">TQLineEdit</a>( this, "phoneEdit" ); +<p><pre> <a href="tqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="tqlineedit.html">TQLineEdit</a>( this, "phoneEdit" ); <a href="tqlabel.html">TQLabel</a>* phoneLabel = new <a href="tqlabel.html">TQLabel</a>( phoneEdit, "&Phone:", this, "phoneLabel" ); </pre> <p>In this example, keyboard focus is transferred to the label's buddy -(the <a href="ntqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also +(the <a href="tqlineedit.html">TQLineEdit</a>) when the user presses <dfn>Alt-P.</dfn> You can also use the <a href="#191701">setBuddy</a>() function to accomplish the same. <p> -<p>See also <a href="ntqlineedit.html">TQLineEdit</a>, <a href="tqtextview.html">TQTextView</a>, <a href="tqpixmap.html">TQPixmap</a>, <a href="tqmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a> +<p>See also <a href="tqlineedit.html">TQLineEdit</a>, <a href="tqtextview.html">TQTextView</a>, <a href="tqpixmap.html">TQPixmap</a>, <a href="tqmovie.html">TQMovie</a> and <a href="guibooks.html#fowler">GUI Design Handbook: Label</a> <p>Examples: <a href="cursor-cursor-cpp.html#TQLabel">cursor/cursor.cpp</a> <a href="layout-layout-cpp.html#TQLabel">layout/layout.cpp</a> @@ -223,10 +223,10 @@ alignment flag is turned on; see <a href="#1f406e">setAlignment</a>()). <p>In a dialog, you might create two data entry widgets and a label for each, and set up the geometry layout so each label is just to the left of its data entry widget (its "buddy"), somewhat like this: -<p><pre> <a href="ntqlineedit.html">TQLineEdit</a> *nameEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this ); +<p><pre> <a href="tqlineedit.html">TQLineEdit</a> *nameEd = new <a href="tqlineedit.html">TQLineEdit</a>( this ); <a href="tqlabel.html">TQLabel</a> *nameLb = new <a href="tqlabel.html">TQLabel</a>( "&Name:", this ); nameLb-><a href="#191701">setBuddy</a>( nameEd ); - <a href="ntqlineedit.html">TQLineEdit</a> *phoneEd = new <a href="ntqlineedit.html">TQLineEdit</a>( this ); + <a href="tqlineedit.html">TQLineEdit</a> *phoneEd = new <a href="tqlineedit.html">TQLineEdit</a>( this ); <a href="tqlabel.html">TQLabel</a> *phoneLb = new <a href="tqlabel.html">TQLabel</a>( "&Phone:", this ); phoneLb-><a href="#191701">setBuddy</a>( phoneEd ); // ( layout setup not shown ) |