From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: [PATCH] Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/application-walkthrough.doc | 6 +- doc/classchart.doc | 16 +- doc/features.doc | 2 +- doc/focus.doc | 2 +- doc/html/addressbook-example.html | 20 +- doc/html/annotated.html | 16 +- doc/html/basic.html | 4 +- doc/html/canvas-example.html | 2 +- doc/html/chart-optionsform-cpp.html | 14 +- doc/html/chart-optionsform-h.html | 6 +- doc/html/checklists-example.html | 14 +- doc/html/classchart.html | 16 +- doc/html/classes.html | 16 +- doc/html/clientserver-example.html | 8 +- doc/html/cursor-example.html | 22 +- doc/html/customlayout-example.html | 8 +- doc/html/designer-manual-2.html | 2 +- doc/html/designer-manual-4.html | 10 +- doc/html/designer-manual-9.html | 6 +- doc/html/fileiconview-example.html | 12 +- doc/html/focus.html | 2 +- doc/html/ftpclient-example.html | 14 +- doc/html/functions.html | 198 ++-- doc/html/headerfilesynonyms | 6 +- doc/html/headers.html | 10 +- doc/html/helpsystem-example.html | 12 +- doc/html/helpsystem.html | 2 +- doc/html/helpviewer-example.html | 10 +- doc/html/hierarchy.html | 16 +- doc/html/httpd-example.html | 6 +- doc/html/i18n-example.html | 6 +- doc/html/i18n.html | 10 +- doc/html/index | 260 ++--- doc/html/layout-example.html | 10 +- doc/html/layout.html | 22 +- doc/html/licenses.html | 2 +- doc/html/lineedits-example.html | 12 +- doc/html/linguist-manual-4.html | 6 +- doc/html/listbox-example.html | 10 +- doc/html/listboxcombo-example.html | 12 +- doc/html/listviews-example.html | 14 +- doc/html/mainclasses.html | 6 +- doc/html/mdi-example.html | 20 +- doc/html/menu-example.html | 26 +- doc/html/motif-walkthrough-2.html | 4 +- doc/html/motif-walkthrough-8.html | 2 +- doc/html/motif-walkthrough-9.html | 4 +- doc/html/movies-example.html | 4 +- doc/html/ntqaccel.html | 8 +- doc/html/ntqaccessible.html | 2 +- doc/html/ntqerrormessage.html | 2 +- doc/html/ntqframe.html | 8 +- doc/html/ntqguardedptr.html | 2 +- doc/html/ntqlcdnumber.html | 2 +- doc/html/ntqlineedit.html | 4 +- doc/html/ntqprogressdialog.html | 2 +- doc/html/ntqscrollview.html | 22 +- doc/html/ntqt.html | 4 +- doc/html/pictures.html | 2 +- doc/html/popup-example.html | 10 +- doc/html/porting.html | 8 +- doc/html/progress-example.html | 4 +- doc/html/propertydocs | 66 +- doc/html/propertyindex | 12 +- doc/html/qfd-example.html | 6 +- doc/html/qgridlayout.html | 2 +- doc/html/qmag-example.html | 16 +- doc/html/qmake-manual-7.html | 6 +- doc/html/qprogressdialog-h.html | 2 +- doc/html/qt.dcf | 302 +++--- doc/html/rangecontrols-example.html | 8 +- doc/html/regexptester-example.html | 18 +- doc/html/scrollview-example.html | 2 +- doc/html/showimg-example.html | 12 +- doc/html/simple-application-example.html | 18 +- doc/html/simple-application.html | 18 +- doc/html/splitter-example.html | 2 +- doc/html/sql-overview-custom1-main-cpp.html | 6 +- doc/html/sql-overview-custom1-main-h.html | 2 +- doc/html/sql-overview-form1-main-cpp.html | 12 +- doc/html/sql-overview-form2-main-h.html | 2 +- doc/html/sql.html | 12 +- doc/html/t12-lcdrange-cpp.html | 10 +- doc/html/t12-lcdrange-h.html | 2 +- doc/html/t13-gamebrd-cpp.html | 6 +- doc/html/t13-lcdrange-cpp.html | 10 +- doc/html/t13-lcdrange-h.html | 2 +- doc/html/t14-gamebrd-cpp.html | 6 +- doc/html/t14-lcdrange-cpp.html | 10 +- doc/html/t14-lcdrange-h.html | 2 +- doc/html/tabdialog-example.html | 30 +- doc/html/tagreader-with-features-example.html | 8 +- doc/html/text.html | 14 +- doc/html/themes-example.html | 4 +- doc/html/tictac-example.html | 10 +- doc/html/titleindex | 42 +- doc/html/toplevel-example.html | 6 +- doc/html/tqaction-application-example.html | 12 +- doc/html/tqaction.html | 2 +- ...qchar-members.html => tqchar-members.html} | 58 +- doc/html/{qchar.html => tqchar.html} | 56 +- ...ef-members.html => tqcharref-members.html} | 2 +- doc/html/{qcharref.html => tqcharref.html} | 6 +- ...embers.html => tqconststring-members.html} | 8 +- .../{qconststring.html => tqconststring.html} | 4 +- doc/html/tqdir-example.html | 4 +- doc/html/tqfiledialog.html | 18 +- doc/html/tqfontmetrics.html | 12 +- doc/html/tqimageconsumer.html | 2 +- doc/html/{qlabel-h.html => tqlabel-h.html} | 10 +- doc/html/{qlabel-m.png => tqlabel-m.png} | Bin ...abel-members.html => tqlabel-members.html} | 56 +- doc/html/{qlabel-w.png => tqlabel-w.png} | Bin doc/html/{ntqlabel.html => tqlabel.html} | 34 +- doc/html/{qlocale-h.html => tqlocale-h.html} | 10 +- ...ale-members.html => tqlocale-members.html} | 46 +- doc/html/{ntqlocale.html => tqlocale.html} | 26 +- doc/html/tqmainwindow.html | 4 +- doc/html/tqmenubar.html | 2 +- doc/html/tqmenudata.html | 2 +- doc/html/tqmimesourcefactory.html | 6 +- doc/html/tqmovie.html | 6 +- doc/html/tqobject.html | 4 +- doc/html/tqpixmap.html | 2 +- doc/html/tqpopupmenu.html | 4 +- doc/html/tqregexp.html | 8 +- doc/html/tqsettings.html | 4 +- ...ichtext-h.html => tqsimplerichtext-h.html} | 10 +- ...ers.html => tqsimplerichtext-members.html} | 28 +- ...plerichtext.html => tqsimplerichtext.html} | 8 +- doc/html/tqsizepolicy.html | 2 +- doc/html/tqsqlpropertymap.html | 2 +- doc/html/tqstatusbar.html | 4 +- doc/html/tqstring.html | 106 +- doc/html/tqstringlist.html | 4 +- doc/html/tqstyle.html | 2 +- doc/html/tqstylesheet.html | 14 +- ...hter-h.html => tqsyntaxhighlighter-h.html} | 10 +- ....html => tqsyntaxhighlighter-members.html} | 18 +- ...hlighter.html => tqsyntaxhighlighter.html} | 6 +- doc/html/tqtextbrowser.html | 2 +- doc/html/tqtextcodec.html | 6 +- doc/html/tqtextedit.html | 10 +- doc/html/tqtextstream.html | 4 +- doc/html/tqtooltip.html | 2 +- .../{qwhatsthis-h.html => tqwhatsthis-h.html} | 10 +- ...-members.html => tqwhatsthis-members.html} | 30 +- .../{ntqwhatsthis.html => tqwhatsthis.html} | 6 +- doc/html/tqwidget.html | 8 +- doc/html/tqxmlinputsource.html | 2 +- doc/html/tutorial1-12.html | 18 +- doc/html/tutorial1-13.html | 6 +- doc/html/tutorial2-09.html | 16 +- doc/html/unicode.html | 2 +- doc/html/whatsthis | 14 +- doc/html/wizard-example.html | 88 +- doc/html/wizard-wizard-cpp.html | 86 +- doc/html/wizard-wizard-h.html | 2 +- doc/html/xform-example.html | 2 +- doc/html/xml-sax-features-walkthrough.html | 8 +- doc/i18n.doc | 8 +- doc/layout.doc | 22 +- doc/man/man3/tqaccel.3qt | 8 +- doc/man/man3/tqaccessible.3qt | 2 +- doc/man/man3/tqaction.3qt | 2 +- doc/man/man3/tqchar.3qt | 86 +- doc/man/man3/tqcharref.3qt | 12 +- doc/man/man3/tqconststring.3qt | 26 +- doc/man/man3/tqerrormessage.3qt | 2 +- doc/man/man3/tqfiledialog.3qt | 20 +- doc/man/man3/tqframe.3qt | 8 +- doc/man/man3/tqgridlayout.3qt | 2 +- doc/man/man3/tqguardedptr.3qt | 4 +- doc/man/man3/tqhebrewcodec.3qt | 2 +- doc/man/man3/tqimageconsumer.3qt | 2 +- doc/man/man3/tqlabel.3qt | 106 +- doc/man/man3/tqlcdnumber.3qt | 2 +- doc/man/man3/tqlineedit.3qt | 2 +- doc/man/man3/tqlocale.3qt | 916 +++++++++--------- doc/man/man3/tqmainwindow.3qt | 4 +- doc/man/man3/tqmenubar.3qt | 2 +- doc/man/man3/tqmenudata.3qt | 2 +- doc/man/man3/tqmimesourcefactory.3qt | 10 +- doc/man/man3/tqmovie.3qt | 4 +- doc/man/man3/tqobject.3qt | 2 +- doc/man/man3/tqpixmap.3qt | 2 +- doc/man/man3/tqpopupmenu.3qt | 4 +- doc/man/man3/tqprogressdialog.3qt | 4 +- doc/man/man3/tqregexp.3qt | 2 +- doc/man/man3/tqscrollview.3qt | 22 +- doc/man/man3/tqsimplerichtext.3qt | 66 +- doc/man/man3/tqsizepolicy.3qt | 2 +- doc/man/man3/tqsqlpropertymap.3qt | 2 +- doc/man/man3/tqstatusbar.3qt | 4 +- doc/man/man3/tqstring.3qt | 30 +- doc/man/man3/tqstylesheet.3qt | 6 +- doc/man/man3/tqsyntaxhighlighter.3qt | 40 +- doc/man/man3/tqt.3qt | 4 +- doc/man/man3/tqtextbrowser.3qt | 2 +- doc/man/man3/tqtextedit.3qt | 10 +- doc/man/man3/tqtooltip.3qt | 2 +- doc/man/man3/tqwhatsthis.3qt | 62 +- doc/man/man3/tqwidget.3qt | 10 +- doc/pictures.doc | 2 +- doc/porting3.doc | 6 +- doc/tutorial.doc | 20 +- doc/tutorial2.doc | 2 +- doc/unicode.doc | 2 +- doc/xml-sax-features-walkthrough.doc | 2 +- examples/README | 10 +- examples/action/application.cpp | 4 +- examples/addressbook/centralwidget.cpp | 4 +- examples/application/application.cpp | 4 +- examples/canvas/canvas.cpp | 2 +- examples/chart/optionsform.cpp | 2 +- examples/checklists/checklists.cpp | 2 +- examples/cursor/cursor.cpp | 2 +- examples/customlayout/main.cpp | 2 +- examples/demo/dnd/styledbutton.cpp | 2 +- examples/demo/graph.cpp | 2 +- examples/demo/i18n/i18n.cpp | 2 +- examples/demo/qasteroids/toplevel.cpp | 2 +- examples/demo/textdrawing/example.html | 14 +- examples/demo/textdrawing/helpwindow.cpp | 2 +- examples/demo/textdrawing/textedit.cpp | 2 +- examples/dragdrop/dropsite.h | 2 +- examples/dragdrop/main.cpp | 2 +- examples/dragdrop/secret.h | 2 +- examples/fileiconview/mainwindow.cpp | 2 +- examples/helpsystem/helpsystem.doc | 10 +- examples/helpsystem/whatsthis.h | 2 +- examples/helpviewer/helpwindow.cpp | 2 +- examples/i18n/mywidget.cpp | 4 +- examples/layout/layout.cpp | 2 +- examples/life/lifedlg.cpp | 2 +- examples/lineedits/lineedits.cpp | 2 +- examples/listbox/listbox.cpp | 2 +- examples/listboxcombo/listboxcombo.cpp | 2 +- examples/listviews/listviews.cpp | 2 +- examples/mdi/application.cpp | 6 +- examples/menu/menu.h | 2 +- examples/movies/main.cpp | 2 +- examples/movies/movies.doc | 2 +- .../network/clientserver/client/client.cpp | 2 +- .../network/clientserver/server/server.cpp | 2 +- examples/network/httpd/httpd.cpp | 2 +- .../infoprotocol/infoclient/client.cpp | 2 +- examples/network/mail/composer.cpp | 2 +- examples/network/networkprotocol/view.cpp | 2 +- examples/network/remotecontrol/startup.cpp | 2 +- examples/opengl/glpixmap/globjwin.cpp | 2 +- examples/popup/popup.h | 2 +- examples/qfd/fontdisplayer.cpp | 2 +- examples/qmag/qmag.cpp | 2 +- examples/rangecontrols/rangecontrols.cpp | 2 +- examples/regexptester/regexptester.cpp | 2 +- examples/scrollview/scrollview.cpp | 2 +- examples/showimg/imagetexteditor.cpp | 2 +- examples/showimg/showimg.cpp | 2 +- examples/splitter/splitter.cpp | 2 +- examples/sql/overview/custom1/main.h | 2 +- examples/sql/overview/form1/main.cpp | 2 +- examples/sql/overview/form2/main.h | 2 +- examples/tabdialog/tabdialog.cpp | 2 +- examples/tablet/tabletstats.cpp | 2 +- examples/tetrix/qtetrix.cpp | 2 +- examples/tetrix/qtetrix.h | 2 +- examples/textedit/textedit.cpp | 2 +- examples/themes/metal.cpp | 2 +- examples/themes/wood.cpp | 2 +- examples/thread/prodcons/prodcons.cpp | 2 +- examples/thread/semaphores/main.cpp | 2 +- examples/tictac/tictac.cpp | 2 +- examples/tqdir/tqdir.cpp | 2 +- examples/widgets/widgets.cpp | 4 +- examples/wizard/wizard.cpp | 2 +- examples/xform/xform.cpp | 2 +- .../xml/tagreader-with-features/tagreader.cpp | 2 +- include/ntqlabel.h | 1 - include/ntqlocale.h | 1 - include/ntqsimplerichtext.h | 1 - include/ntqsyntaxhighlighter.h | 1 - include/ntqwhatsthis.h | 1 - include/private/qlocale_p.h | 1 - include/private/qsyntaxhighlighter_p.h | 1 - include/private/tqlocale_p.h | 1 + include/private/tqsyntaxhighlighter_p.h | 1 + include/tqlabel.h | 1 + include/tqlocale.h | 1 + include/tqsimplerichtext.h | 1 + include/tqsyntaxhighlighter.h | 1 + include/tqwhatsthis.h | 1 + .../accessible/widgets/qaccessiblewidget.cpp | 4 +- qmake/Makefile.unix | 8 +- qmake/Makefile.win32-g++ | 6 +- qmake/book/qmake-pch.leaf | 2 +- qmake/examples/precompile/main.cpp | 2 +- qmake/examples/precompile/stable.h | 2 +- src/codecs/tqtextcodec.cpp | 2 +- src/dialogs/ntqprogressdialog.h | 2 +- src/dialogs/qdialog.cpp | 2 +- src/dialogs/qerrormessage.cpp | 2 +- src/dialogs/qinputdialog.cpp | 2 +- src/dialogs/qmessagebox.cpp | 2 +- src/dialogs/qprintdialog.cpp | 2 +- src/dialogs/qwizard.cpp | 2 +- src/dialogs/tqcolordialog.cpp | 2 +- src/dialogs/tqfiledialog.cpp | 2 +- src/dialogs/tqfontdialog.cpp | 2 +- src/kernel/ntqt.h | 8 +- src/kernel/qaccel.cpp | 2 +- src/kernel/qapplication_x11.cpp | 2 +- src/kernel/qt_kernel.pri | 4 +- src/kernel/qt_pch.h | 2 +- src/kernel/tqfontengine_x11.cpp | 41 +- ...implerichtext.cpp => tqsimplerichtext.cpp} | 4 +- ...ntqsimplerichtext.h => tqsimplerichtext.h} | 0 src/moc/moc.pro | 2 +- src/sql/tqeditorfactory.cpp | 2 +- src/sql/tqsqleditorfactory.cpp | 2 +- src/styles/qinterlacestyle.cpp | 2 +- src/styles/qwindowsstyle.cpp | 2 +- src/tools/qfeatures.txt | 2 +- src/tools/qglobal.cpp | 2 +- src/tools/qt_tools.pri | 8 +- src/tools/{qlocale.cpp => tqlocale.cpp} | 4 +- src/tools/{ntqlocale.h => tqlocale.h} | 0 src/tools/{qlocale_p.h => tqlocale_p.h} | 0 src/tools/tqstring.cpp | 4 +- src/widgets/qlineedit.cpp | 2 +- src/widgets/qt_widgets.pri | 18 +- src/widgets/qtitlebar_p.h | 2 +- src/widgets/tqaction.cpp | 2 +- src/widgets/{qlabel.cpp => tqlabel.cpp} | 10 +- src/widgets/{ntqlabel.h => tqlabel.h} | 0 src/widgets/tqmainwindow.cpp | 2 +- src/widgets/tqpopupmenu.cpp | 8 +- ...ighlighter.cpp => tqsyntaxhighlighter.cpp} | 6 +- ...taxhighlighter.h => tqsyntaxhighlighter.h} | 0 ...ighlighter_p.h => tqsyntaxhighlighter_p.h} | 2 +- src/widgets/tqtextbrowser.cpp | 2 +- src/widgets/tqtextedit.cpp | 2 +- src/widgets/tqtooltip.cpp | 2 +- .../{qwhatsthis.cpp => tqwhatsthis.cpp} | 14 +- src/widgets/{ntqwhatsthis.h => tqwhatsthis.h} | 0 src/workspace/tqworkspace.cpp | 2 +- tools/assistant/helpdialogimpl.cpp | 2 +- tools/assistant/mainwindow.ui | 2 +- tools/assistant/topicchooserimpl.cpp | 2 +- tools/designer/designer/actioneditorimpl.cpp | 2 +- .../designer/customwidgeteditorimpl.cpp | 2 +- tools/designer/designer/designer_pch.h | 4 +- tools/designer/designer/editfunctionsimpl.cpp | 2 +- tools/designer/designer/formwindow.cpp | 4 +- .../designer/designer/iconvieweditorimpl.cpp | 2 +- tools/designer/designer/listboxeditorimpl.cpp | 2 +- .../designer/designer/listvieweditorimpl.cpp | 2 +- tools/designer/designer/mainwindow.cpp | 4 +- tools/designer/designer/mainwindowactions.cpp | 2 +- tools/designer/designer/newformimpl.cpp | 2 +- tools/designer/designer/pixmapchooser.cpp | 2 +- .../designer/designer/projectsettingsimpl.cpp | 2 +- tools/designer/designer/propertyeditor.cpp | 4 +- tools/designer/designer/resource.cpp | 4 +- tools/designer/designer/sizehandle.cpp | 2 +- tools/designer/designer/startdialogimpl.cpp | 2 +- tools/designer/designer/styledbutton.cpp | 2 +- tools/designer/designer/tableeditorimpl.cpp | 2 +- tools/designer/designer/widgetfactory.cpp | 2 +- tools/designer/designer/widgetfactory.h | 2 +- tools/designer/editor/arghintwidget.cpp | 2 +- tools/designer/editor/viewmanager.cpp | 2 +- tools/designer/examples/colortool/mainform.ui | 2 +- .../examples/credit/creditformbase.cpp | 2 +- .../plugins/wizards/sqlformwizardimpl.cpp | 2 +- tools/designer/shared/widgetdatabase.cpp | 1 + tools/designer/uic/form.cpp | 2 +- tools/designer/uilib/tqwidgetfactory.cpp | 4 +- tools/linguist/book/linguist-programmer.leaf | 6 +- tools/linguist/linguist/finddialog.cpp | 4 +- tools/linguist/linguist/main.cpp | 2 +- tools/linguist/linguist/msgedit.cpp | 4 +- tools/linguist/linguist/phrasebookbox.cpp | 4 +- tools/linguist/linguist/phraselv.cpp | 2 +- tools/linguist/linguist/trwindow.cpp | 4 +- tools/linguist/tutorial/tt3/printpanel.cpp | 2 +- tools/qconfig/main.cpp | 2 +- tools/qtconfig/mainwindow.cpp | 2 +- translations/qt_ar.ts | 2 +- translations/qt_ca.ts | 2 +- translations/qt_cs.ts | 2 +- translations/qt_de.ts | 2 +- translations/qt_es.ts | 2 +- translations/qt_fr.ts | 2 +- translations/qt_he.ts | 2 +- translations/qt_it.ts | 2 +- translations/qt_ja.ts | 2 +- translations/qt_nb.ts | 2 +- translations/qt_pt-br.ts | 2 +- translations/qt_pt.ts | 2 +- translations/qt_ru.ts | 2 +- translations/qt_sk.ts | 2 +- translations/qt_tr.ts | 2 +- translations/qt_zh-cn.ts | 2 +- translations/qt_zh-tw.ts | 2 +- translations/template.ts | 2 +- tutorial/t12/lcdrange.cpp | 2 +- tutorial/t13/gamebrd.cpp | 2 +- tutorial/t13/lcdrange.cpp | 2 +- tutorial/t14/gamebrd.cpp | 2 +- tutorial/t14/lcdrange.cpp | 2 +- 411 files changed, 2360 insertions(+), 2382 deletions(-) rename doc/html/{qchar-members.html => tqchar-members.html} (51%) rename doc/html/{qchar.html => tqchar.html} (92%) rename doc/html/{qcharref-members.html => tqcharref-members.html} (95%) rename doc/html/{qcharref.html => tqcharref.html} (93%) rename doc/html/{qconststring-members.html => tqconststring-members.html} (85%) rename doc/html/{qconststring.html => tqconststring.html} (95%) rename doc/html/{qlabel-h.html => tqlabel-h.html} (96%) rename doc/html/{qlabel-m.png => tqlabel-m.png} (100%) rename doc/html/{qlabel-members.html => tqlabel-members.html} (92%) rename doc/html/{qlabel-w.png => tqlabel-w.png} (100%) rename doc/html/{ntqlabel.html => tqlabel.html} (95%) rename doc/html/{qlocale-h.html => tqlocale-h.html} (98%) rename doc/html/{qlocale-members.html => tqlocale-members.html} (56%) rename doc/html/{ntqlocale.html => tqlocale.html} (96%) rename doc/html/{qsimplerichtext-h.html => tqsimplerichtext-h.html} (94%) rename doc/html/{qsimplerichtext-members.html => tqsimplerichtext-members.html} (64%) rename doc/html/{ntqsimplerichtext.html => tqsimplerichtext.html} (98%) rename doc/html/{qsyntaxhighlighter-h.html => tqsyntaxhighlighter-h.html} (92%) rename doc/html/{qsyntaxhighlighter-members.html => tqsyntaxhighlighter-members.html} (70%) rename doc/html/{ntqsyntaxhighlighter.html => tqsyntaxhighlighter.html} (97%) rename doc/html/{qwhatsthis-h.html => tqwhatsthis-h.html} (93%) rename doc/html/{qwhatsthis-members.html => tqwhatsthis-members.html} (64%) rename doc/html/{ntqwhatsthis.html => tqwhatsthis.html} (98%) delete mode 120000 include/ntqlabel.h delete mode 120000 include/ntqlocale.h delete mode 120000 include/ntqsimplerichtext.h delete mode 120000 include/ntqsyntaxhighlighter.h delete mode 120000 include/ntqwhatsthis.h delete mode 120000 include/private/qlocale_p.h delete mode 120000 include/private/qsyntaxhighlighter_p.h create mode 120000 include/private/tqlocale_p.h create mode 120000 include/private/tqsyntaxhighlighter_p.h create mode 120000 include/tqlabel.h create mode 120000 include/tqlocale.h create mode 120000 include/tqsimplerichtext.h create mode 120000 include/tqsyntaxhighlighter.h create mode 120000 include/tqwhatsthis.h rename src/kernel/{qsimplerichtext.cpp => tqsimplerichtext.cpp} (99%) rename src/kernel/{ntqsimplerichtext.h => tqsimplerichtext.h} (100%) rename src/tools/{qlocale.cpp => tqlocale.cpp} (99%) rename src/tools/{ntqlocale.h => tqlocale.h} (100%) rename src/tools/{qlocale_p.h => tqlocale_p.h} (100%) rename src/widgets/{qlabel.cpp => tqlabel.cpp} (99%) rename src/widgets/{ntqlabel.h => tqlabel.h} (100%) rename src/widgets/{qsyntaxhighlighter.cpp => tqsyntaxhighlighter.cpp} (98%) rename src/widgets/{ntqsyntaxhighlighter.h => tqsyntaxhighlighter.h} (100%) rename src/widgets/{qsyntaxhighlighter_p.h => tqsyntaxhighlighter_p.h} (98%) rename src/widgets/{qwhatsthis.cpp => tqwhatsthis.cpp} (99%) rename src/widgets/{ntqwhatsthis.h => tqwhatsthis.h} (100%) diff --git a/doc/application-walkthrough.doc b/doc/application-walkthrough.doc index 84128566..0e187654 100644 --- a/doc/application-walkthrough.doc +++ b/doc/application-walkthrough.doc @@ -48,7 +48,7 @@ TQPopupMenu, \l TQToolBar and \l TQStatusBar - classes that every modern application window tends to use. (See also \link tutorial2.html Tutorial #2\endlink.) -It also illustrates some aspects of \l QWhatsThis (for simple help) and a +It also illustrates some aspects of \l TQWhatsThis (for simple help) and a typical \c main() using \l QApplication. Finally, it shows a typical print function based on \l TQPrinter. @@ -368,10 +368,10 @@ tool button. We present the user with the print setup dialog, and abandon printing if they cancel. -We create a QSimpleRichText object and give it the text. This object +We create a TQSimpleRichText object and give it the text. This object is able to format the text nicely as one long page. We achieve pagination by printing one paper page's worth of text from the -QSimpleRichText page at a time. +TQSimpleRichText page at a time. Now let's see what happens when a user wishes to \e close() diff --git a/doc/classchart.doc b/doc/classchart.doc index ea113495..432e00c5 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -48,11 +48,11 @@ - + - + @@ -189,7 +189,7 @@ - + @@ -239,8 +239,8 @@ - - + + @@ -266,7 +266,7 @@ - + @@ -295,11 +295,11 @@ - + - + diff --git a/doc/features.doc b/doc/features.doc index ee8bbb7a..c79c2481 100644 --- a/doc/features.doc +++ b/doc/features.doc @@ -103,7 +103,7 @@ The available options are: and tagging typed data (eg. text, images, colors) (\l TQMimeSource) \i   \row \i TQT_NO_RICHTEXT - \i HTML-like text (\l TQStyleSheet, \l QLabel) + \i HTML-like text (\l TQStyleSheet, \l TQLabel) \i TQT_NO_MIME \row \i TQT_NO_DRAGANDDROP \i Drag-and-drop data between applications (\l TQDragObject) diff --git a/doc/focus.doc b/doc/focus.doc index 77d256fd..baf9ea39 100644 --- a/doc/focus.doc +++ b/doc/focus.doc @@ -163,7 +163,7 @@ click-to-focus. It's not unusual for keyboard shortcuts to move the focus. This can happen implicitly by opening modal dialogs, but also explicitly using -focus accelerators such as those provided by \l QLabel::setBuddy(), \l +focus accelerators such as those provided by \l TQLabel::setBuddy(), \l QGroupBox and \l QTabBar. We advise supporting shortcut focus for all widgets that the user may diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index c6210bcb..0c6181e8 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -284,10 +284,10 @@ protected: #include <ntqlistview.h> #include <ntqlayout.h> #include <tqwidget.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <ntqlineedit.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqcheckbox.h> #include <tqfile.h> #include <tqtextstream.h> @@ -352,19 +352,19 @@ void ABCentralWidget::setupTabWidget() TQWidget *input = new TQWidget( tabWidget ); TQGridLayout *grid1 = new TQGridLayout( input, 2, 5, 5, 5 ); - TQLabel *liFirstName = new TQLabel( "First &Name", input ); + TQLabel *liFirstName = new TQLabel( "First &Name", input ); liFirstName->resize( liFirstName->sizeHint() ); grid1->addWidget( liFirstName, 0, 0 ); - TQLabel *liLastName = new TQLabel( "&Last Name", input ); + TQLabel *liLastName = new TQLabel( "&Last Name", input ); liLastName->resize( liLastName->sizeHint() ); grid1->addWidget( liLastName, 0, 1 ); - TQLabel *liAddress = new TQLabel( "Add&ress", input ); + TQLabel *liAddress = new TQLabel( "Add&ress", input ); liAddress->resize( liAddress->sizeHint() ); grid1->addWidget( liAddress, 0, 2 ); - TQLabel *liEMail = new TQLabel( "&E-Mail", input ); + TQLabel *liEMail = new TQLabel( "&E-Mail", input ); liEMail->resize( liEMail->sizeHint() ); grid1->addWidget( liEMail, 0, 3 ); @@ -376,22 +376,22 @@ void ABCentralWidget::setupTabWidget() iFirstName = new TQLineEdit( input ); iFirstName->resize( iFirstName->sizeHint() ); grid1->addWidget( iFirstName, 1, 0 ); - liFirstName->setBuddy( iFirstName ); + liFirstName->setBuddy( iFirstName ); iLastName = new TQLineEdit( input ); iLastName->resize( iLastName->sizeHint() ); grid1->addWidget( iLastName, 1, 1 ); - liLastName->setBuddy( iLastName ); + liLastName->setBuddy( iLastName ); iAddress = new TQLineEdit( input ); iAddress->resize( iAddress->sizeHint() ); grid1->addWidget( iAddress, 1, 2 ); - liAddress->setBuddy( iAddress ); + liAddress->setBuddy( iAddress ); iEMail = new TQLineEdit( input ); iEMail->resize( iEMail->sizeHint() ); grid1->addWidget( iEMail, 1, 3 ); - liEMail->setBuddy( iEMail ); + liEMail->setBuddy( iEMail ); change = new TQPushButton( "&Change", input ); change->resize( change->sizeHint() ); diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 2e4c1b9b..32bfa148 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -76,8 +76,8 @@ body { background: #ffffff; color: black; } TQCanvasSpriteAnimated canvas item on a TQCanvas TQCanvasTextText object on a TQCanvas TQCanvasViewOn-screen view of a TQCanvas -TQCharLightweight Unicode character -TQCharRefHelper class for TQString +TQCharLightweight Unicode character +TQCharRefHelper class for TQString TQCheckBoxCheckbox with a text label TQCheckListItemCheckable list view items TQCheckTableItemCheckboxes in TQTables @@ -91,7 +91,7 @@ body { background: #ffffff; color: black; } TQComboBoxCombined button and popup list TQComboTableItemMeans of using comboboxes in TQTables TQCommonStyleEncapsulates the common Look and Feel of a GUI -TQConstStringString objects using constant Unicode data +TQConstStringString objects using constant Unicode data TQContextMenuEventParameters that describe a context menu event TQCursorMouse cursor with an arbitrary shape TQCustomEventSupport for custom events @@ -211,7 +211,7 @@ body { background: #ffffff; color: black; } TQKeyEventDescribes a key event TQKeySequenceEncapsulates a key sequence as used by accelerators TQLCDNumberDisplays a number with LCD-like digits -TQLabelText or image display +TQLabelText or image display TQLayoutThe base class of geometry managers TQLayoutItemAbstract item that a TQLayout manipulates TQLayoutIteratorIterators over TQLayoutItem @@ -225,7 +225,7 @@ body { background: #ffffff; color: black; } TQListViewItemImplements a list view item TQListViewItemIteratorIterator for collections of TQListViewItems TQLocalFsImplementation of a TQNetworkProtocol that works on the local file system -TQLocaleConverts between numbers and their string representations in various languages +TQLocaleConverts between numbers and their string representations in various languages TQMacMimeMaps open-standard MIME to Mac flavors TQMacStyleImplements an Appearance Manager style TQMainWindowMain application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar @@ -305,7 +305,7 @@ body { background: #ffffff; color: black; } TQShowEventEvent which is sent when a widget is shown TQSignalCan be used to send signals for classes that don't inherit TQObject TQSignalMapperBundles signals from identifiable senders -TQSimpleRichTextSmall displayable piece of rich text +TQSimpleRichTextSmall displayable piece of rich text TQSizeDefines the size of a two-dimensional object TQSizeGripCorner-grip for resizing a top-level window TQSizePolicyLayout attribute describing horizontal and vertical resizing policy @@ -349,7 +349,7 @@ body { background: #ffffff; color: black; } TQStylePluginAbstract base for custom TQStyle plugins TQStyleSheetCollection of styles for rich text rendering and a generator of tags TQStyleSheetItemEncapsulation of a set of text styles -TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters +TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters TQTabThe structures in a TQTabBar TQTabBarTab bar, e.g. for use in tabbed dialogs TQTabDialogStack of tabbed widgets @@ -400,7 +400,7 @@ body { background: #ffffff; color: black; } TQVariantActs like a union for the most common TQt data types TQWMatrix2D transformations of a coordinate system TQWaitConditionAllows waiting/waking for conditions between threads -TQWhatsThisSimple description of any widget, i.e. answering the question "What's this?" +TQWhatsThisSimple description of any widget, i.e. answering the question "What's this?" TQWheelEventParameters that describe a wheel event TQWidgetThe base class of all user interface objects TQWidgetFactoryFor the dynamic creation of widgets from TQt Designer .ui files diff --git a/doc/html/basic.html b/doc/html/basic.html index d03b54b7..f8497d5e 100644 --- a/doc/html/basic.html +++ b/doc/html/basic.html @@ -43,7 +43,7 @@ widgets. TQCheckBoxCheckbox with a text label TQComboBoxCombined button and popup list TQDialRounded range control (like a speedometer or potentiometer) -TQLabelText or image display +TQLabelText or image display TQLCDNumberDisplays a number with LCD-like digits TQLineEditOne-line text editor TQPopupMenuPopup menu widget @@ -53,7 +53,7 @@ widgets. TQSizeGripCorner-grip for resizing a top-level window TQSliderVertical or horizontal slider TQSpinBoxSpin box widget (spin button) -TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters +TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters TQTextEditPowerful single-page rich text editor TQToolButtonQuick-access button to commands or options, usually used inside a TQToolBar diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 7b463722..bc98e34e 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -141,7 +141,7 @@ private: #include <ntqapplication.h> #include <tqpainter.h> #include <tqprinter.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqimage.h> #include <ntqprogressdialog.h> #include "canvas.h" diff --git a/doc/html/chart-optionsform-cpp.html b/doc/html/chart-optionsform-cpp.html index e6c2b89c..a3806185 100644 --- a/doc/html/chart-optionsform-cpp.html +++ b/doc/html/chart-optionsform-cpp.html @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; } #include <tqfontdialog.h> #include <ntqframe.h> #include <tqimage.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqpushbutton.h> #include <ntqradiobutton.h> @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; } chartTypeLayout = new TQHBoxLayout( 0, 0, 6 ); - chartTypeTextLabel = new TQLabel( "&Chart Type", this ); + chartTypeTextLabel = new TQLabel( "&Chart Type", this ); chartTypeLayout->addWidget( chartTypeTextLabel ); chartTypeComboBox = new TQComboBox( FALSE, this ); @@ -82,7 +82,7 @@ body { background: #ffffff; color: black; } TQSizePolicy::Minimum ); fontLayout->addItem( spacer ); - fontTextLabel = new TQLabel( this ); // Must be set by caller via setFont() + fontTextLabel = new TQLabel( this ); // Must be set by caller via setFont() fontLayout->addWidget( fontTextLabel ); optionsFormLayout->addLayout( fontLayout ); @@ -113,7 +113,7 @@ body { background: #ffffff; color: black; } decimalPlacesLayout = new TQHBoxLayout( 0, 0, 6 ); - decimalPlacesTextLabel = new TQLabel( "&Decimal Places", addValuesFrame ); + decimalPlacesTextLabel = new TQLabel( "&Decimal Places", addValuesFrame ); decimalPlacesLayout->addWidget( decimalPlacesTextLabel ); decimalPlacesSpinBox = new TQSpinBox( addValuesFrame ); @@ -142,8 +142,8 @@ body { background: #ffffff; color: black; } connect( okPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) ); connect( cancelPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) ); - chartTypeTextLabel->setBuddy( chartTypeComboBox ); - decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox ); + chartTypeTextLabel->setBuddy( chartTypeComboBox ); + decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox ); } @@ -164,7 +164,7 @@ void OptionsForm::setFont( italic() ) label += " Italic"; - fontTextLabel->setText( label ); + fontTextLabel->setText( label ); m_font = font; } diff --git a/doc/html/chart-optionsform-h.html b/doc/html/chart-optionsform-h.html index 3816533c..bec50c91 100644 --- a/doc/html/chart-optionsform-h.html +++ b/doc/html/chart-optionsform-h.html @@ -60,16 +60,16 @@ public: TQFont font() const { return m_font; } void setFont( TQFont font ); - TQLabel *chartTypeTextLabel; + TQLabel *chartTypeTextLabel; TQComboBox *chartTypeComboBox; TQPushButton *fontPushButton; - TQLabel *fontTextLabel; + TQLabel *fontTextLabel; TQFrame *addValuesFrame; TQButtonGroup *addValuesButtonGroup; TQRadioButton *noRadioButton; TQRadioButton *yesRadioButton; TQRadioButton *asPercentageRadioButton; - TQLabel *decimalPlacesTextLabel; + TQLabel *decimalPlacesTextLabel; TQSpinBox *decimalPlacesSpinBox; TQPushButton *okPushButton; TQPushButton *cancelPushButton; diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html index 29fd97dd..8c58cfa8 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -64,7 +64,7 @@ public: protected: TQListView *lv1, *lv2; - TQLabel *label; + TQLabel *label; protected slots: void copy1to2(); @@ -91,7 +91,7 @@ protected slots: #include <ntqlistview.h> #include <ntqvbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqvaluelist.h> #include <tqstring.h> #include <ntqpushbutton.h> @@ -114,7 +114,7 @@ protected slots: vbox1->setMargin( 5 ); // First child: a Label - vbox1->addWidget( new TQLabel( "Check some items!", this ) ); + vbox1->addWidget( new TQLabel( "Check some items!", this ) ); // Second child: the ListView lv1 = new TQListView( this ); @@ -157,7 +157,7 @@ protected slots: vbox2->setMargin( 5 ); // and another label - vbox2->addWidget( new TQLabel( "Check one item!", this ) ); + vbox2->addWidget( new TQLabel( "Check one item!", this ) ); // create the second listview lv2 = new TQListView( this ); @@ -180,7 +180,7 @@ protected slots: tmp->setMargin( 5 ); // and create a label which will be at the right of the window - label = new TQLabel( "No Item yet...", this ); + label = new TQLabel( "No Item yet...", this ); tmp->addWidget( label ); } @@ -228,7 +228,7 @@ void CheckLists::copy2to3() // create an iterator which operates on the second ListView TQListViewItemIterator it( lv2 ); - label->setText( "No Item checked" ); + label->setText( "No Item checked" ); // iterate through the second ListView... for ( ; it.current(); ++it ) @@ -237,7 +237,7 @@ void CheckLists::copy2to3() // ...if the item is checked... if ( ( (TQCheckListItem*)it.current() )->isOn() ) // ...set the text of the item to the label - label->setText( it.current()->text( 0 ) ); + label->setText( it.current()->text( 0 ) ); } diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 19e35808..52154427 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -38,11 +38,11 @@ body { background: #ffffff; color: black; } - + - + @@ -179,7 +179,7 @@ body { background: #ffffff; color: black; } - + @@ -229,8 +229,8 @@ body { background: #ffffff; color: black; } - - + + @@ -256,7 +256,7 @@ body { background: #ffffff; color: black; } - + @@ -285,11 +285,11 @@ body { background: #ffffff; color: black; } - + - + diff --git a/doc/html/classes.html b/doc/html/classes.html index c2e9c60c..5ce0a335 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -295,7 +295,7 @@ classes, see TQt's Main Classes. TQDomText L -TQLabel +TQLabel TQRegExpValidator @@ -449,9 +449,9 @@ classes, see TQt's Main Classes. TQFileDialog -TQLocale +TQLocale -TQSimpleRichText +TQSimpleRichText TQValueList @@ -574,10 +574,10 @@ classes, see TQt's Main Classes. TQSpinBox -TQWhatsThis +TQWhatsThis -TQChar +TQChar TQFrame @@ -588,7 +588,7 @@ classes, see TQt's Main Classes. TQWheelEvent -TQCharRef +TQCharRef TQFtp @@ -741,7 +741,7 @@ classes, see TQt's Main Classes. -TQConstString +TQConstString TQGridView @@ -934,7 +934,7 @@ classes, see TQt's Main Classes. TQPen -TQSyntaxHighlighter +TQSyntaxHighlighter diff --git a/doc/html/clientserver-example.html b/doc/html/clientserver-example.html index d4bcd90b..01b0c33b 100644 --- a/doc/html/clientserver-example.html +++ b/doc/html/clientserver-example.html @@ -60,7 +60,7 @@ specified. You can send single lines to the server. #include <ntqapplication.h> #include <ntqvbox.h> #include <tqtextview.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <tqtextstream.h> @@ -163,8 +163,8 @@ public: "This is a small server example.\n" "Connect with the client now." ); - TQLabel *lb = new TQLabel( itext, this ); - lb->setAlignment( AlignHCenter ); + TQLabel *lb = new TQLabel( itext, this ); + lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); TQPushButton *quit = new TQPushButton( tr("Quit") , this ); @@ -228,7 +228,7 @@ int main( int argc, char** argv ) #include <ntqhbox.h> #include <tqtextview.h> #include <ntqlineedit.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <tqtextstream.h> diff --git a/doc/html/cursor-example.html b/doc/html/cursor-example.html index b6769df1..1ade74bb 100644 --- a/doc/html/cursor-example.html +++ b/doc/html/cursor-example.html @@ -46,7 +46,7 @@ This example shows how to set a mouse cursor for a widget. ** *****************************************************************************/ -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqbitmap.h> #include <ntqapplication.h> #include <ntqlayout.h> @@ -130,15 +130,15 @@ CursorView::CursorView() // construct view setCaption( "CursorView" ); // set window caption TQGridLayout* grid = new TQGridLayout( this, 5, 4, 20 ); - TQLabel *label; + TQLabel *label; int i=0; for ( int y=0; y<4; y++ ) { // create the small labels for ( int x=0; x<4; x++ ) { - label = new TQLabel( this ); + label = new TQLabel( this ); label->setCursor( TQCursor( list[i].shape ) ); - label->setText( list[i].name ); - label->setAlignment( AlignCenter ); + label->setText( list[i].name ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Raised ); grid->addWidget( label, x, y ); @@ -147,10 +147,10 @@ CursorView::CursorView() // construct view } - label = new TQLabel( this ); + label = new TQLabel( this ); label->setCursor( TQCursor( list[i].shape ) ); - label->setText( list[i].name ); - label->setAlignment( AlignCenter ); + label->setText( list[i].name ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Raised ); grid->addWidget( label, 4, 0 ); @@ -161,10 +161,10 @@ CursorView::CursorView() // construct view TQBitmap cm( cm_width, cm_height, cm_bits, TRUE ); TQCursor custom( cb, cm ); // create bitmap cursor - label = new TQLabel( this ); // create the big label + label = new TQLabel( this ); // create the big label label->setCursor( custom ); - label->setText( "Custom bitmap cursor" ); - label->setAlignment( AlignCenter ); + label->setText( "Custom bitmap cursor" ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Sunken ); grid->addMultiCellWidget( label, 4, 4, 1, 3 ); diff --git a/doc/html/customlayout-example.html b/doc/html/customlayout-example.html index 1e87be29..61a72baa 100644 --- a/doc/html/customlayout-example.html +++ b/doc/html/customlayout-example.html @@ -756,7 +756,7 @@ CardLayout::~CardLayout() #include "card.h" #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqcolor.h> #include <ntqgroupbox.h> #include <ntqpushbutton.h> @@ -824,10 +824,10 @@ int main( int argc, char **argv ) gm->addWidget( wid ); - TQLabel* s = new TQLabel( f ); - s->setText( "outermost box" ); + TQLabel* s = new TQLabel( f ); + s->setText( "outermost box" ); s->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - s->setAlignment( TQt::AlignVCenter | TQt::AlignHCenter ); + s->setAlignment( TQt::AlignVCenter | TQt::AlignHCenter ); gm->addWidget( s ); a.setMainWidget( f ); f->setCaption("TQt Example - Custom Layout"); diff --git a/doc/html/designer-manual-2.html b/doc/html/designer-manual-2.html index 059683a0..81a5f803 100644 --- a/doc/html/designer-manual-2.html +++ b/doc/html/designer-manual-2.html @@ -95,7 +95,7 @@ body { background: #ffffff; color: black; }

Now we need to relate each of the text labels to the corresponding widget. We do this by creating "buddies".

-

A widget that does not accept focus itself, e.g. a TQLabel, can have an accelerator that will pass the focus to its "buddy", e.g. a TQLineEdit. In TQt Designer, we enable this by setting the first widget's buddy property to the name of the buddy widget.

+

A widget that does not accept focus itself, e.g. a TQLabel, can have an accelerator that will pass the focus to its "buddy", e.g. a TQLineEdit. In TQt Designer, we enable this by setting the first widget's buddy property to the name of the buddy widget.

Includes (in Implementation):

  • TQTableSelection
  • TQTextCodec diff --git a/doc/html/httpd-example.html b/doc/html/httpd-example.html index 6ad8ab23..f2d118ef 100644 --- a/doc/html/httpd-example.html +++ b/doc/html/httpd-example.html @@ -56,7 +56,7 @@ sending the page, it closes the connection. #include <tqmainwindow.h> #include <tqtextstream.h> #include <ntqvbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqtextview.h> #include <ntqpushbutton.h> @@ -137,8 +137,8 @@ public: "You can connect with your\n" "web browser to port %1" ).arg( httpd->port() ); - TQLabel *lb = new TQLabel( itext, this ); - lb->setAlignment( AlignHCenter ); + TQLabel *lb = new TQLabel( itext, this ); + lb->setAlignment( AlignHCenter ); infoText = new TQTextView( this ); TQPushButton *quit = new TQPushButton( "quit" , this ); diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html index a11fd102..da0ce039 100644 --- a/doc/html/i18n-example.html +++ b/doc/html/i18n-example.html @@ -89,10 +89,10 @@ private: #include <ntqbuttongroup.h> #include <ntqradiobutton.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlistbox.h> #include <ntqcombobox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqhbox.h> #include <ntqvbox.h> #include <ntqaccel.h> @@ -121,7 +121,7 @@ private: TQString l; statusBar()->message( tr("Language: English") ); - ( void )new TQLabel( tr( "The Main Window" ), central ); + ( void )new TQLabel( tr( "The Main Window" ), central ); TQButtonGroup* gbox = new TQButtonGroup( 1, TQGroupBox::Horizontal, tr( "View" ), central ); diff --git a/doc/html/i18n.html b/doc/html/i18n.html index e24eb2ef..54864045 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -134,7 +134,7 @@ the fl and fi ligatures used in typesetting US and European books.

    TQt tries to take care of all the special features listed above. You usually don't have to worry about these features so long as you use TQt's input widgets (e.g. TQLineEdit, TQTextEdit, and derived classes) -and TQt's display widgets (e.g. TQLabel). +and TQt's display widgets (e.g. TQLabel).

    Support for these writing systems is transparent to the programmer and completely encapsulated in TQt's text engine. This means that you don't need to have any knowledge about the writing system used in a @@ -172,7 +172,7 @@ parameter, there is no char* to TQString conversion overhead. and file format texts) need not use TQString; the traditional char* or the TQCString class will suffice.

    You're unlikely to notice that you are using Unicode; -TQString, and TQChar are just like easier versions of the crude +TQString, and TQChar are just like easier versions of the crude const char* and char from traditional C.

    Use tr() for all Literal Text

    @@ -183,7 +183,7 @@ to achieve this is to use TQObject::tr(). For exa

         LoginWidget::LoginWidget()
         {
    -        TQLabel *label = new TQLabel( tr("Password:"), this );
    +        TQLabel *label = new TQLabel( tr("Password:"), this );
             ...
         }
     
    @@ -197,13 +197,13 @@ directly:

         void some_global_function( LoginWidget *logwid )
         {
    -        TQLabel *label = new TQLabel(
    +        TQLabel *label = new TQLabel(
                     LoginWidget::tr("Password:"), logwid );
         }
     
         void same_global_function( LoginWidget *logwid )
         {
    -        TQLabel *label = new TQLabel(
    +        TQLabel *label = new TQLabel(
                     tqApp->translate("LoginWidget", "Password:"),
                     logwid );
         }
    diff --git a/doc/html/index b/doc/html/index
    index aa44a1fd..480aefb0 100644
    --- a/doc/html/index
    +++ b/doc/html/index
    @@ -793,39 +793,39 @@
     "TQCanvasView::sizeHint" tqcanvasview.html#sizeHint
     "TQCanvasView::worldMatrix" tqcanvasview.html#worldMatrix
     "TQCanvasView::~TQCanvasView" tqcanvasview.html#~TQCanvasView
    -"TQChar" qchar.html
    -"TQChar::Category" qchar.html#Category
    -"TQChar::CombiningClass" qchar.html#CombiningClass
    -"TQChar::Decomposition" qchar.html#Decomposition
    -"TQChar::Direction" qchar.html#Direction
    -"TQChar::Joining" qchar.html#Joining
    -"TQChar::category" qchar.html#category
    -"TQChar::cell" qchar.html#cell
    -"TQChar::combiningClass" qchar.html#combiningClass
    -"TQChar::decomposition" qchar.html#decomposition
    -"TQChar::decompositionTag" qchar.html#decompositionTag
    -"TQChar::digitValue" qchar.html#digitValue
    -"TQChar::direction" qchar.html#direction
    -"TQChar::isDigit" qchar.html#isDigit
    -"TQChar::isLetter" qchar.html#isLetter
    -"TQChar::isLetterOrNumber" qchar.html#isLetterOrNumber
    -"TQChar::isMark" qchar.html#isMark
    -"TQChar::isNull" qchar.html#isNull
    -"TQChar::isNumber" qchar.html#isNumber
    -"TQChar::isPrint" qchar.html#isPrint
    -"TQChar::isPunct" qchar.html#isPunct
    -"TQChar::isSpace" qchar.html#isSpace
    -"TQChar::isSymbol" qchar.html#isSymbol
    -"TQChar::joining" qchar.html#joining
    -"TQChar::latin1" qchar.html#latin1
    -"TQChar::lower" qchar.html#lower
    -"TQChar::mirrored" qchar.html#mirrored
    -"TQChar::mirroredChar" qchar.html#mirroredChar
    -"TQChar::operator char" qchar.html#operator-char
    -"TQChar::row" qchar.html#row
    -"TQChar::unicode" qchar.html#unicode
    -"TQChar::upper" qchar.html#upper
    -"QCharRef" qcharref.html
    +"TQChar" tqchar.html
    +"TQChar::Category" tqchar.html#Category
    +"TQChar::CombiningClass" tqchar.html#CombiningClass
    +"TQChar::Decomposition" tqchar.html#Decomposition
    +"TQChar::Direction" tqchar.html#Direction
    +"TQChar::Joining" tqchar.html#Joining
    +"TQChar::category" tqchar.html#category
    +"TQChar::cell" tqchar.html#cell
    +"TQChar::combiningClass" tqchar.html#combiningClass
    +"TQChar::decomposition" tqchar.html#decomposition
    +"TQChar::decompositionTag" tqchar.html#decompositionTag
    +"TQChar::digitValue" tqchar.html#digitValue
    +"TQChar::direction" tqchar.html#direction
    +"TQChar::isDigit" tqchar.html#isDigit
    +"TQChar::isLetter" tqchar.html#isLetter
    +"TQChar::isLetterOrNumber" tqchar.html#isLetterOrNumber
    +"TQChar::isMark" tqchar.html#isMark
    +"TQChar::isNull" tqchar.html#isNull
    +"TQChar::isNumber" tqchar.html#isNumber
    +"TQChar::isPrint" tqchar.html#isPrint
    +"TQChar::isPunct" tqchar.html#isPunct
    +"TQChar::isSpace" tqchar.html#isSpace
    +"TQChar::isSymbol" tqchar.html#isSymbol
    +"TQChar::joining" tqchar.html#joining
    +"TQChar::latin1" tqchar.html#latin1
    +"TQChar::lower" tqchar.html#lower
    +"TQChar::mirrored" tqchar.html#mirrored
    +"TQChar::mirroredChar" tqchar.html#mirroredChar
    +"TQChar::operator char" tqchar.html#operator-char
    +"TQChar::row" tqchar.html#row
    +"TQChar::unicode" tqchar.html#unicode
    +"TQChar::upper" tqchar.html#upper
    +"TQCharRef" tqcharref.html
     "QCheckBox" ntqcheckbox.html
     "QCheckBox::autoMask" ntqcheckbox.html#autoMask-prop
     "QCheckBox::checked" ntqcheckbox.html#checked-prop
    @@ -1032,9 +1032,9 @@
     "QConnection::numArgs" ntqconnection.html#numArgs
     "QConnection::object" ntqconnection.html#object
     "QConnection::~QConnection" ntqconnection.html#~QConnection
    -"QConstString" qconststring.html
    -"QConstString::string" qconststring.html#string
    -"QConstString::~QConstString" qconststring.html#~QConstString
    +"TQConstString" tqconststring.html
    +"TQConstString::string" tqconststring.html#string
    +"TQConstString::~TQConstString" tqconststring.html#~TQConstString
     "QContextMenuEvent" qcontextmenuevent.html
     "QContextMenuEvent::Reason" qcontextmenuevent.html#Reason
     "QContextMenuEvent::accept" qcontextmenuevent.html#accept
    @@ -3225,39 +3225,39 @@
     "QLCDNumber::value" ntqlcdnumber.html#value-prop
     "QLCDNumber::~QLCDNumber" ntqlcdnumber.html#~QLCDNumber
     "QLNode::getData" qlnode.html#getData
    -"QLabel" ntqlabel.html
    -"QLabel::alignment" ntqlabel.html#alignment
    -"QLabel::alignment" ntqlabel.html#alignment-prop
    -"QLabel::backgroundMode" ntqlabel.html#backgroundMode-prop
    -"QLabel::buddy" ntqlabel.html#buddy
    -"QLabel::clear" ntqlabel.html#clear
    -"QLabel::drawContents" ntqlabel.html#drawContents
    -"QLabel::hasScaledContents" ntqlabel.html#hasScaledContents
    -"QLabel::indent" ntqlabel.html#indent
    -"QLabel::indent" ntqlabel.html#indent-prop
    -"QLabel::movie" ntqlabel.html#movie
    -"QLabel::picture" ntqlabel.html#picture
    -"QLabel::pixmap" ntqlabel.html#pixmap
    -"QLabel::pixmap" ntqlabel.html#pixmap-prop
    -"QLabel::scaledContents" ntqlabel.html#scaledContents-prop
    -"QLabel::setAlignment" ntqlabel.html#setAlignment
    -"QLabel::setBuddy" ntqlabel.html#setBuddy
    -"QLabel::setFont" ntqlabel.html#setFont
    -"QLabel::setIndent" ntqlabel.html#setIndent
    -"QLabel::setMovie" ntqlabel.html#setMovie
    -"QLabel::setNum" ntqlabel.html#setNum
    -"QLabel::setPicture" ntqlabel.html#setPicture
    -"QLabel::setPixmap" ntqlabel.html#setPixmap
    -"QLabel::setScaledContents" ntqlabel.html#setScaledContents
    -"QLabel::setText" ntqlabel.html#setText
    -"QLabel::setTextFormat" ntqlabel.html#setTextFormat
    -"QLabel::sizeForWidth" ntqlabel.html#sizeForWidth
    -"QLabel::text" ntqlabel.html#text
    -"QLabel::text" ntqlabel.html#text-prop
    -"QLabel::textFormat" ntqlabel.html#textFormat
    -"QLabel::textFormat" ntqlabel.html#textFormat-prop
    -"QLabel::updateLabel" ntqlabel.html#updateLabel
    -"QLabel::~QLabel" ntqlabel.html#~QLabel
    +"TQLabel" tqlabel.html
    +"TQLabel::alignment" tqlabel.html#alignment
    +"TQLabel::alignment" tqlabel.html#alignment-prop
    +"TQLabel::backgroundMode" tqlabel.html#backgroundMode-prop
    +"TQLabel::buddy" tqlabel.html#buddy
    +"TQLabel::clear" tqlabel.html#clear
    +"TQLabel::drawContents" tqlabel.html#drawContents
    +"TQLabel::hasScaledContents" tqlabel.html#hasScaledContents
    +"TQLabel::indent" tqlabel.html#indent
    +"TQLabel::indent" tqlabel.html#indent-prop
    +"TQLabel::movie" tqlabel.html#movie
    +"TQLabel::picture" tqlabel.html#picture
    +"TQLabel::pixmap" tqlabel.html#pixmap
    +"TQLabel::pixmap" tqlabel.html#pixmap-prop
    +"TQLabel::scaledContents" tqlabel.html#scaledContents-prop
    +"TQLabel::setAlignment" tqlabel.html#setAlignment
    +"TQLabel::setBuddy" tqlabel.html#setBuddy
    +"TQLabel::setFont" tqlabel.html#setFont
    +"TQLabel::setIndent" tqlabel.html#setIndent
    +"TQLabel::setMovie" tqlabel.html#setMovie
    +"TQLabel::setNum" tqlabel.html#setNum
    +"TQLabel::setPicture" tqlabel.html#setPicture
    +"TQLabel::setPixmap" tqlabel.html#setPixmap
    +"TQLabel::setScaledContents" tqlabel.html#setScaledContents
    +"TQLabel::setText" tqlabel.html#setText
    +"TQLabel::setTextFormat" tqlabel.html#setTextFormat
    +"TQLabel::sizeForWidth" tqlabel.html#sizeForWidth
    +"TQLabel::text" tqlabel.html#text
    +"TQLabel::text" tqlabel.html#text-prop
    +"TQLabel::textFormat" tqlabel.html#textFormat
    +"TQLabel::textFormat" tqlabel.html#textFormat-prop
    +"TQLabel::updateLabel" tqlabel.html#updateLabel
    +"TQLabel::~TQLabel" tqlabel.html#~TQLabel
     "QLayout" ntqlayout.html
     "QLayout::ResizeMode" ntqlayout.html#ResizeMode
     "QLayout::activate" ntqlayout.html#activate
    @@ -3723,29 +3723,29 @@
     "QListViewItemIterator::operator=" qlistviewitemiterator.html#operator-eq
     "QListViewItemIterator::~QListViewItemIterator" qlistviewitemiterator.html#~QListViewItemIterator
     "TQLocalFs" tqlocalfs.html
    -"QLocale" ntqlocale.html
    -"QLocale::Country" ntqlocale.html#Country
    -"QLocale::Language" ntqlocale.html#Language
    -"QLocale::c" ntqlocale.html#c
    -"QLocale::country" ntqlocale.html#country
    -"QLocale::countryToString" ntqlocale.html#countryToString
    -"QLocale::language" ntqlocale.html#language
    -"QLocale::languageToString" ntqlocale.html#languageToString
    -"QLocale::name" ntqlocale.html#name
    -"QLocale::operator=" ntqlocale.html#operator-eq
    -"QLocale::setDefault" ntqlocale.html#setDefault
    -"QLocale::system" ntqlocale.html#system
    -"QLocale::toDouble" ntqlocale.html#toDouble
    -"QLocale::toFloat" ntqlocale.html#toFloat
    -"QLocale::toInt" ntqlocale.html#toInt
    -"QLocale::toLong" ntqlocale.html#toLong
    -"QLocale::toLongLong" ntqlocale.html#toLongLong
    -"QLocale::toShort" ntqlocale.html#toShort
    -"QLocale::toString" ntqlocale.html#toString
    -"QLocale::toUInt" ntqlocale.html#toUInt
    -"QLocale::toULong" ntqlocale.html#toULong
    -"QLocale::toULongLong" ntqlocale.html#toULongLong
    -"QLocale::toUShort" ntqlocale.html#toUShort
    +"TQLocale" tqlocale.html
    +"TQLocale::Country" tqlocale.html#Country
    +"TQLocale::Language" tqlocale.html#Language
    +"TQLocale::c" tqlocale.html#c
    +"TQLocale::country" tqlocale.html#country
    +"TQLocale::countryToString" tqlocale.html#countryToString
    +"TQLocale::language" tqlocale.html#language
    +"TQLocale::languageToString" tqlocale.html#languageToString
    +"TQLocale::name" tqlocale.html#name
    +"TQLocale::operator=" tqlocale.html#operator-eq
    +"TQLocale::setDefault" tqlocale.html#setDefault
    +"TQLocale::system" tqlocale.html#system
    +"TQLocale::toDouble" tqlocale.html#toDouble
    +"TQLocale::toFloat" tqlocale.html#toFloat
    +"TQLocale::toInt" tqlocale.html#toInt
    +"TQLocale::toLong" tqlocale.html#toLong
    +"TQLocale::toLongLong" tqlocale.html#toLongLong
    +"TQLocale::toShort" tqlocale.html#toShort
    +"TQLocale::toString" tqlocale.html#toString
    +"TQLocale::toUInt" tqlocale.html#toUInt
    +"TQLocale::toULong" tqlocale.html#toULong
    +"TQLocale::toULongLong" tqlocale.html#toULongLong
    +"TQLocale::toUShort" tqlocale.html#toUShort
     "TQMacMime" tqmacmime.html
     "TQMacMime::all" tqmacmime.html#all
     "TQMacMime::canConvert" tqmacmime.html#canConvert
    @@ -5257,18 +5257,18 @@
     "TQSignalMapper::removeMappings" tqsignalmapper.html#removeMappings
     "TQSignalMapper::setMapping" tqsignalmapper.html#setMapping
     "TQSignalMapper::~TQSignalMapper" tqsignalmapper.html#~TQSignalMapper
    -"QSimpleRichText" ntqsimplerichtext.html
    -"QSimpleRichText::adjustSize" ntqsimplerichtext.html#adjustSize
    -"QSimpleRichText::anchorAt" ntqsimplerichtext.html#anchorAt
    -"QSimpleRichText::context" ntqsimplerichtext.html#context
    -"QSimpleRichText::draw" ntqsimplerichtext.html#draw
    -"QSimpleRichText::height" ntqsimplerichtext.html#height
    -"QSimpleRichText::inText" ntqsimplerichtext.html#inText
    -"QSimpleRichText::setDefaultFont" ntqsimplerichtext.html#setDefaultFont
    -"QSimpleRichText::setWidth" ntqsimplerichtext.html#setWidth
    -"QSimpleRichText::width" ntqsimplerichtext.html#width
    -"QSimpleRichText::widthUsed" ntqsimplerichtext.html#widthUsed
    -"QSimpleRichText::~QSimpleRichText" ntqsimplerichtext.html#~QSimpleRichText
    +"TQSimpleRichText" tqsimplerichtext.html
    +"TQSimpleRichText::adjustSize" tqsimplerichtext.html#adjustSize
    +"TQSimpleRichText::anchorAt" tqsimplerichtext.html#anchorAt
    +"TQSimpleRichText::context" tqsimplerichtext.html#context
    +"TQSimpleRichText::draw" tqsimplerichtext.html#draw
    +"TQSimpleRichText::height" tqsimplerichtext.html#height
    +"TQSimpleRichText::inText" tqsimplerichtext.html#inText
    +"TQSimpleRichText::setDefaultFont" tqsimplerichtext.html#setDefaultFont
    +"TQSimpleRichText::setWidth" tqsimplerichtext.html#setWidth
    +"TQSimpleRichText::width" tqsimplerichtext.html#width
    +"TQSimpleRichText::widthUsed" tqsimplerichtext.html#widthUsed
    +"TQSimpleRichText::~TQSimpleRichText" tqsimplerichtext.html#~TQSimpleRichText
     "TQSize" tqsize.html
     "TQSize::ScaleMode" tqsize.html#ScaleMode
     "TQSize::boundedTo" tqsize.html#boundedTo
    @@ -6093,13 +6093,13 @@
     "QSvgDevice::setBoundingRect" qsvgdevice.html#setBoundingRect
     "QSvgDevice::toString" qsvgdevice.html#toString
     "QSvgDevice::~QSvgDevice" qsvgdevice.html#~QSvgDevice
    -"QSyntaxHighlighter" ntqsyntaxhighlighter.html
    -"QSyntaxHighlighter::currentParagraph" ntqsyntaxhighlighter.html#currentParagraph
    -"QSyntaxHighlighter::highlightParagraph" ntqsyntaxhighlighter.html#highlightParagraph
    -"QSyntaxHighlighter::rehighlight" ntqsyntaxhighlighter.html#rehighlight
    -"QSyntaxHighlighter::setFormat" ntqsyntaxhighlighter.html#setFormat
    -"QSyntaxHighlighter::textEdit" ntqsyntaxhighlighter.html#textEdit
    -"QSyntaxHighlighter::~QSyntaxHighlighter" ntqsyntaxhighlighter.html#~QSyntaxHighlighter
    +"TQSyntaxHighlighter" tqsyntaxhighlighter.html
    +"TQSyntaxHighlighter::currentParagraph" tqsyntaxhighlighter.html#currentParagraph
    +"TQSyntaxHighlighter::highlightParagraph" tqsyntaxhighlighter.html#highlightParagraph
    +"TQSyntaxHighlighter::rehighlight" tqsyntaxhighlighter.html#rehighlight
    +"TQSyntaxHighlighter::setFormat" tqsyntaxhighlighter.html#setFormat
    +"TQSyntaxHighlighter::textEdit" tqsyntaxhighlighter.html#textEdit
    +"TQSyntaxHighlighter::~TQSyntaxHighlighter" tqsyntaxhighlighter.html#~TQSyntaxHighlighter
     "QTSManip::exec" qtsmanip.html#exec
     "QTab" qtab.html
     "QTab::iconSet" qtab.html#iconSet
    @@ -7254,19 +7254,19 @@
     "TQWaitCondition::wakeAll" tqwaitcondition.html#wakeAll
     "TQWaitCondition::wakeOne" tqwaitcondition.html#wakeOne
     "TQWaitCondition::~TQWaitCondition" tqwaitcondition.html#~TQWaitCondition
    -"QWhatsThis" ntqwhatsthis.html
    -"QWhatsThis::add" ntqwhatsthis.html#add
    -"QWhatsThis::clicked" ntqwhatsthis.html#clicked
    -"QWhatsThis::display" ntqwhatsthis.html#display
    -"QWhatsThis::enterWhatsThisMode" ntqwhatsthis.html#enterWhatsThisMode
    -"QWhatsThis::inWhatsThisMode" ntqwhatsthis.html#inWhatsThisMode
    -"QWhatsThis::leaveWhatsThisMode" ntqwhatsthis.html#leaveWhatsThisMode
    -"QWhatsThis::remove" ntqwhatsthis.html#remove
    -"QWhatsThis::setFont" ntqwhatsthis.html#setFont
    -"QWhatsThis::text" ntqwhatsthis.html#text
    -"QWhatsThis::textFor" ntqwhatsthis.html#textFor
    -"QWhatsThis::whatsThisButton" ntqwhatsthis.html#whatsThisButton
    -"QWhatsThis::~QWhatsThis" ntqwhatsthis.html#~QWhatsThis
    +"TQWhatsThis" tqwhatsthis.html
    +"TQWhatsThis::add" tqwhatsthis.html#add
    +"TQWhatsThis::clicked" tqwhatsthis.html#clicked
    +"TQWhatsThis::display" tqwhatsthis.html#display
    +"TQWhatsThis::enterWhatsThisMode" tqwhatsthis.html#enterWhatsThisMode
    +"TQWhatsThis::inWhatsThisMode" tqwhatsthis.html#inWhatsThisMode
    +"TQWhatsThis::leaveWhatsThisMode" tqwhatsthis.html#leaveWhatsThisMode
    +"TQWhatsThis::remove" tqwhatsthis.html#remove
    +"TQWhatsThis::setFont" tqwhatsthis.html#setFont
    +"TQWhatsThis::text" tqwhatsthis.html#text
    +"TQWhatsThis::textFor" tqwhatsthis.html#textFor
    +"TQWhatsThis::whatsThisButton" tqwhatsthis.html#whatsThisButton
    +"TQWhatsThis::~TQWhatsThis" tqwhatsthis.html#~TQWhatsThis
     "QWheelEvent" qwheelevent.html
     "QWheelEvent::accept" qwheelevent.html#accept
     "QWheelEvent::delta" qwheelevent.html#delta
    @@ -7941,7 +7941,7 @@
     "nsplugin-examples" nsplugin-examples.html
     "objectmodel" objectmodel.html
     "opengl-examples" opengl-examples.html
    -"operator!=" qchar.html#operator!-eq
    +"operator!=" tqchar.html#operator!-eq
     "operator!=" tqcstring.html#operator!-eq
     "operator!=" tqpoint.html#operator!-eq
     "operator!=" tqrect.html#operator!-eq
    @@ -7959,7 +7959,7 @@
     "operator-" tqsize.html#operator-
     "operator/" tqpoint.html#operator/
     "operator/" tqsize.html#operator/
    -"operator<" qchar.html#operator-lt
    +"operator<" tqchar.html#operator-lt
     "operator<" tqcstring.html#operator-lt
     "operator<" tqstring.html#operator-lt
     "operator<<" tqbitarray.html#operator-lt-lt
    @@ -7993,19 +7993,19 @@
     "operator<<" ntquuid.html#operator-lt-lt
     "operator<<" tqvaluelist.html#operator-lt-lt
     "operator<<" tqwmatrix.html#operator-lt-lt
    -"operator<=" qchar.html#operator-lt-eq
    +"operator<=" tqchar.html#operator-lt-eq
     "operator<=" tqcstring.html#operator-lt-eq
     "operator<=" tqstring.html#operator-lt-eq
    -"operator==" qchar.html#operator-eq-eq
    +"operator==" tqchar.html#operator-eq-eq
     "operator==" tqcstring.html#operator-eq-eq
     "operator==" tqpoint.html#operator-eq-eq
     "operator==" tqrect.html#operator-eq-eq
     "operator==" tqsize.html#operator-eq-eq
     "operator==" tqstring.html#operator-eq-eq
    -"operator>" qchar.html#operator-gt
    +"operator>" tqchar.html#operator-gt
     "operator>" tqcstring.html#operator-gt
     "operator>" tqstring.html#operator-gt
    -"operator>=" qchar.html#operator-gt-eq
    +"operator>=" tqchar.html#operator-gt-eq
     "operator>=" tqcstring.html#operator-gt-eq
     "operator>=" tqstring.html#operator-gt-eq
     "operator>>" tqbitarray.html#operator-gt-gt
    diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html
    index 89a7ccee..272713f5 100644
    --- a/doc/html/layout-example.html
    +++ b/doc/html/layout-example.html
    @@ -48,7 +48,7 @@ classes, TQGridLayout, 
     *****************************************************************************/
     
     #include <ntqapplication.h>
    -#include <ntqlabel.h>
    +#include <tqlabel.h>
     #include <tqcolor.h>
     #include <ntqpushbutton.h>
     #include <ntqlayout.h>
    @@ -148,7 +148,7 @@ public:
             // Make a label that is a buddy of the line edit
             TQString s;
             s.sprintf( "Line &%d", row+1 );
    -        TQLabel *label = new TQLabel( ed, s, this );
    +        TQLabel *label = new TQLabel( ed, s, this );
             // The label goes in the first column.
             grid->addWidget( label, row, labelCol );
         }
    @@ -166,15 +166,15 @@ public:
         grid->setColStretch( multiCol, 20 );
     
         // Add a widget at the bottom.
    -    TQLabel* sb = new TQLabel( this );
    -    sb->setText( "Let's pretend this is a status bar" );
    +    TQLabel* sb = new TQLabel( this );
    +    sb->setText( "Let's pretend this is a status bar" );
         sb->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
         // This widget will use all horizontal space, and have a fixed height.
     
         // we should have made a subclass and implemented sizePolicy there...
         sb->setFixedHeight( sb->sizeHint().height() );
     
    -    sb->setAlignment( AlignVCenter | AlignLeft );
    +    sb->setAlignment( AlignVCenter | AlignLeft );
         topLayout->addWidget( sb );
     
         topLayout->activate();
    diff --git a/doc/html/layout.html b/doc/html/layout.html
    index 0358ed90..e2c64344 100644
    --- a/doc/html/layout.html
    +++ b/doc/html/layout.html
    @@ -80,11 +80,11 @@ resized.
     

    The grid shown above can be produced by the following code:

         TQGrid *mainGrid = new TQGrid( 2 ); // a 2 x n grid
    -    new TQLabel( "One", mainGrid );
    -    new TQLabel( "Two", mainGrid );
    -    new TQLabel( "Three", mainGrid );
    -    new TQLabel( "Four", mainGrid );
    -    new TQLabel( "Five", mainGrid );
    +    new TQLabel( "One", mainGrid );
    +    new TQLabel( "Two", mainGrid );
    +    new TQLabel( "Three", mainGrid );
    +    new TQLabel( "Four", mainGrid );
    +    new TQLabel( "Five", mainGrid );
     

    You can adjust the layout to some extent by calling @@ -144,14 +144,14 @@ improvements: TQGridLayout *grid = new TQGridLayout( main, 1, 1 ); // add the first four widgets with (row, column) addressing - grid->addWidget( new TQLabel( "One", main ), 0, 0 ); - grid->addWidget( new TQLabel( "Two", main ), 0, 1 ); - grid->addWidget( new TQLabel( "Three", main ), 1, 0 ); - grid->addWidget( new TQLabel( "Four", main ), 1, 1 ); + grid->addWidget( new TQLabel( "One", main ), 0, 0 ); + grid->addWidget( new TQLabel( "Two", main ), 0, 1 ); + grid->addWidget( new TQLabel( "Three", main ), 1, 0 ); + grid->addWidget( new TQLabel( "Four", main ), 1, 1 ); // add the last widget on row 2, spanning from column 0 to // column 1, and center aligned - grid->addMultiCellWidget( new TQLabel( "Five", main ), 2, 2, 0, 1, + grid->addMultiCellWidget( new TQLabel( "Five", main ), 2, 2, 0, 1, TQt::AlignCenter ); // let the ratio between the widths of columns 0 and 1 be 2:3 @@ -166,7 +166,7 @@ a parameter in the constructor. TQLineEdit *field = new TQLineEdit( main ); TQPushButton *ok = new TQPushButton( "OK", main ); TQPushButton *cancel = new TQPushButton( "Cancel", main ); - TQLabel *label = new TQLabel( "Write once, compile everywhere.", main ); + TQLabel *label = new TQLabel( "Write once, compile everywhere.", main ); // a layout on a widget TQVBoxLayout *vbox = new TQVBoxLayout( main ); diff --git a/doc/html/licenses.html b/doc/html/licenses.html index d3853101..173079c6 100644 --- a/doc/html/licenses.html +++ b/doc/html/licenses.html @@ -240,7 +240,7 @@ REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.

    This product includes software developed by the University of California, Berkeley and its contributors.


    Copyright (c) 2002 Jorge Acereda and Peter O'Gorman diff --git a/doc/html/lineedits-example.html b/doc/html/lineedits-example.html index e796a979..c470dabe 100644 --- a/doc/html/lineedits-example.html +++ b/doc/html/lineedits-example.html @@ -95,7 +95,7 @@ protected slots: #include <ntqcombobox.h> #include <ntqframe.h> #include <ntqvalidator.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqhbox.h> @@ -116,7 +116,7 @@ protected slots: row1->setMargin( 5 ); // Create a Label - TQLabel* label = new TQLabel( "Echo Mode: ", this); + TQLabel* label = new TQLabel( "Echo Mode: ", this); row1->addWidget( label ); // Create a Combobox with three items... @@ -138,7 +138,7 @@ protected slots: row2->setMargin( 5 ); // and the second label - label = new TQLabel( "Validator: ", this ); + label = new TQLabel( "Validator: ", this ); row2->addWidget( label ); // A second Combobox with again three items... @@ -159,7 +159,7 @@ protected slots: row3->setMargin( 5 ); // we need a label for this too - label = new TQLabel( "Alignment: ", this ); + label = new TQLabel( "Alignment: ", this ); row3->addWidget( label ); // A combo box for setting alignment @@ -180,7 +180,7 @@ protected slots: row4->setMargin( 5 ); // we need a label for this too - label = new TQLabel( "Input mask: ", this ); + label = new TQLabel( "Input mask: ", this ); row4->addWidget( label ); // A combo box for choosing an input mask @@ -205,7 +205,7 @@ protected slots: row5->setMargin( 5 ); // last label - (void)new TQLabel( "Read-Only: ", row5 ); + (void)new TQLabel( "Read-Only: ", row5 ); // A combo box for setting alignment combo5 = new TQComboBox( FALSE, row5 ); diff --git a/doc/html/linguist-manual-4.html b/doc/html/linguist-manual-4.html index 341700ed..7677a1e8 100644 --- a/doc/html/linguist-manual-4.html +++ b/doc/html/linguist-manual-4.html @@ -431,8 +431,8 @@ TRANSLATIONS = tt3_pt.ts

    PrintPanel is a TQWidget. It needs the TQ_OBJECT macro for tr() to work properly.

    The implementation file is printpanel.cpp.

        /*
    -        TQLabel *lab = new TQLabel( tr("<b>TROLL PRINT</b>"), this );
    -        lab->setAlignment( AlignCenter );
    +        TQLabel *lab = new TQLabel( tr("<b>TROLL PRINT</b>"), this );
    +        lab->setAlignment( AlignCenter );
         */
     

    Some of the code is commented out in Troll Print 1.0; you will uncomment it later, for Troll Print 1.1.

    @@ -518,7 +518,7 @@ TRANSLATIONS = tt3_pt.ts
    Troll Print 1.1

    We'll now prepare release 1.1 of Troll Print. Start your favorite text editor and follow these steps:

    -
    • Uncomment the two lines that create a TQLabel with the text "<b>TROLL PRINT</b>" in printpanel.cpp.

      +
      • Uncomment the two lines that create a TQLabel with the text "<b>TROLL PRINT</b>" in printpanel.cpp.

      • Word-tidying: Replace "2-sided" by "Two-sided" in printpanel.cpp.

      • Replace "1.0" with "1.1" everywhere it occurs in mainwindow.cpp.

      • Update the copyright year to 1999-2000 in mainwindow.cpp.

        diff --git a/doc/html/listbox-example.html b/doc/html/listbox-example.html index a4aa70ad..81fe0c86 100644 --- a/doc/html/listbox-example.html +++ b/doc/html/listbox-example.html @@ -101,7 +101,7 @@ private: #include "listbox.h" -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqradiobutton.h> #include <ntqcheckbox.h> #include <ntqspinbox.h> @@ -116,8 +116,8 @@ private: { TQGridLayout * g = new TQGridLayout( this, 2, 2, 6 ); - g->addWidget( new TQLabel( "<b>Configuration:</b>", this ), 0, 0 ); - g->addWidget( new TQLabel( "<b>Result:</b>", this ), 0, 1 ); + g->addWidget( new TQLabel( "<b>Configuration:</b>", this ), 0, 0 ); + g->addWidget( new TQLabel( "<b>Result:</b>", this ), 0, 1 ); l = new TQListBox( this ); g->addWidget( l, 1, 1 ); @@ -140,7 +140,7 @@ private: v->addLayout( h ); h->addSpacing( 30 ); h->addSpacing( 100 ); - h->addWidget( new TQLabel( "Columns:", this ) ); + h->addWidget( new TQLabel( "Columns:", this ) ); columns = new TQSpinBox( this ); h->addWidget( columns ); @@ -165,7 +165,7 @@ private: v->addLayout( h ); h->addSpacing( 30 ); h->addSpacing( 100 ); - h->addWidget( new TQLabel( "Rows:", this ) ); + h->addWidget( new TQLabel( "Rows:", this ) ); rows = new TQSpinBox( this ); rows->setEnabled( FALSE ); h->addWidget( rows ); diff --git a/doc/html/listboxcombo-example.html b/doc/html/listboxcombo-example.html index 8b0006a6..d12f9d00 100644 --- a/doc/html/listboxcombo-example.html +++ b/doc/html/listboxcombo-example.html @@ -64,7 +64,7 @@ public: protected: TQListBox *lb1, *lb2; - TQLabel *label1, *label2; + TQLabel *label1, *label2; protected slots: void slotLeft2Right(); @@ -96,7 +96,7 @@ protected slots: #include <ntqpushbutton.h> #include <tqstring.h> #include <tqpixmap.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqimage.h> #include <tqpainter.h> #include <tqstyle.h> @@ -180,7 +180,7 @@ protected: // Create a non-editable Combobox and a label below... TQComboBox *cb1 = new TQComboBox( FALSE, box1 ); - label1 = new TQLabel( "Current Item: Combobox Item 0", box1 ); + label1 = new TQLabel( "Current Item: Combobox Item 0", box1 ); label1->setMaximumHeight( label1->sizeHint().height() * 2 ); label1->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); @@ -198,7 +198,7 @@ protected: // Create an editable Combobox and a label below... TQComboBox *cb2 = new TQComboBox( TRUE, box2 ); - label2 = new TQLabel( "Current Item: Combobox Item 0", box2 ); + label2 = new TQLabel( "Current Item: Combobox Item 0", box2 ); label2->setMaximumHeight( label2->sizeHint().height() * 2 ); label2->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); @@ -251,7 +251,7 @@ void ListBoxCombo::slotLeft2Right() void ListBoxCombo::slotCombo1Activated( const TQString &s ) { - label1->setText( TQString( "Current Item: %1" ).arg( s ) ); + label1->setText( TQString( "Current Item: %1" ).arg( s ) ); } /* @@ -264,7 +264,7 @@ void ListBoxCombo::slotCombo1Activated( const ListBoxCombo::slotCombo2Activated( const TQString &s ) { - label2->setText( TQString( "Current Item: %1" ).arg( s ) ); + label2->setText( TQString( "Current Item: %1" ).arg( s ) ); } diff --git a/doc/html/listviews-example.html b/doc/html/listviews-example.html index 0a9f9ce6..e29097db 100644 --- a/doc/html/listviews-example.html +++ b/doc/html/listviews-example.html @@ -192,7 +192,7 @@ protected: void setupFolders(); TQListView *messages, *folders; - TQLabel *message; + TQLabel *message; TQPopupMenu* menu; TQPtrList<Folder> lstFolders; @@ -221,7 +221,7 @@ protected slots: #include "listviews.h" -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqpainter.h> #include <tqpalette.h> #include <tqobjectlist.h> @@ -343,8 +343,8 @@ void FolderListItem::insertSubFolders( const TQListViewItem *, const TQPoint &, int ) ) ); vsplitter->setResizeMode( messages, TQSplitter::KeepSize ); - message = new TQLabel( vsplitter ); - message->setAlignment( TQt::AlignTop ); + message = new TQLabel( vsplitter ); + message->setAlignment( TQt::AlignTop ); message->setBackgroundMode( PaletteBase ); connect( folders, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), @@ -432,7 +432,7 @@ void ListViews::slotFolderChanged( clear(); - message->setText( "" ); + message->setText( "" ); FolderListItem *item = ( FolderListItem* )i; @@ -448,7 +448,7 @@ void ListViews::slotMessageChanged() return; if ( !i->isSelected() ) { - message->setText( "" ); + message->setText( "" ); return; } @@ -466,7 +466,7 @@ void ListViews::slotMessageChanged() arg( tmp ).arg( msg->header().subject() ). arg( msg->header().datetime().toString() ).arg( msg->body() ); - message->setText( text ); + message->setText( text ); msg->setState( Message::Read ); } diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index 6af4729e..bbf9babb 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -173,7 +173,7 @@ classes), see TQt's Classes. TQDateEdit L -TQLabel +TQLabel TQProgressBar @@ -201,7 +201,7 @@ classes), see TQt's Classes. TQTable W -TQWhatsThis +TQWhatsThis TQDial @@ -263,7 +263,7 @@ classes), see TQt's Classes. TQMenuBar -TQSimpleRichText +TQSimpleRichText TQTimeEdit diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 36aa1ec7..aa29c577 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -144,7 +144,7 @@ private: #include <tqmovie.h> #include <tqfile.h> #include <tqfiledialog.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqstatusbar.h> #include <ntqmessagebox.h> #include <tqprinter.h> @@ -155,10 +155,10 @@ private: #include <tqtextedit.h> #include <tqpainter.h> #include <tqpaintdevicemetrics.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> #include <tqobjectlist.h> #include <ntqvbox.h> -#include <ntqsimplerichtext.h> +#include <tqsimplerichtext.h> #include "filesave.xpm" #include "fileopen.xpm" @@ -203,13 +203,13 @@ const char * filePrintText = "Click this button to print the file you " TQToolButton * filePrint = new TQToolButton( printIcon, "Print File", TQString::null, this, TQ_SLOT(print()), fileTools, "print file" ); - TQWhatsThis::add( filePrint, filePrintText ); + TQWhatsThis::add( filePrint, filePrintText ); #endif (void)TQWhatsThis::whatsThisButton( fileTools ); - TQWhatsThis::add( fileOpen, fileOpenText ); - TQWhatsThis::add( fileSave, fileSaveText ); + TQWhatsThis::add( fileOpen, fileOpenText ); + TQWhatsThis::add( fileSave, fileSaveText ); TQPopupMenu * file = new TQPopupMenu( this ); menuBar()->insertItem( "&File", file ); @@ -530,21 +530,21 @@ void MDIWindow::print( TQPrinter int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); - TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(medit->text()), + TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(medit->text()), TQFont(), medit->context(), medit->styleSheet(), medit->mimeSourceFactory(), view.height() ); - richText.setWidth( &p, view.width() ); + richText.setWidth( &p, view.width() ); int page = 1; do { - richText.draw( &p, margin, margin, view, colorGroup() ); + richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); p.translate( 0 , -view.height() ); p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); - if ( view.top() - margin >= richText.height() ) + if ( view.top() - margin >= richText.height() ) break; TQString msg( "Printing (page " ); msg += TQString::number( ++pageNo ); diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index ae09aa36..4be978c1 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -53,7 +53,7 @@ context menu. #include <tqwidget.h> #include <tqmenubar.h> -#include <ntqlabel.h> +#include <tqlabel.h> class MenuExample : public TQWidget @@ -90,7 +90,7 @@ private: TQMenuBar *menu; - TQLabel *label; + TQLabel *label; bool isBold; bool isUnderline; int boldID, underlineID; @@ -291,23 +291,23 @@ private: menu->setSeparator( TQMenuBar::InWindowsStyle ); - TQLabel *msg = new TQLabel( this ); + TQLabel *msg = new TQLabel( this ); TQ_CHECK_PTR( msg ); - msg->setText( "A context menu is available.\n" + msg->setText( "A context menu is available.\n" "Invoke it by right-clicking or by" " pressing the 'context' button." ); msg->setGeometry( 0, height() - 60, width(), 60 ); - msg->setAlignment( AlignCenter ); + msg->setAlignment( AlignCenter ); - label = new TQLabel( this ); + label = new TQLabel( this ); TQ_CHECK_PTR( label ); label->setGeometry( 20, rect().center().y()-20, width()-40, 40 ); label->setFrameStyle( TQFrame::Box | TQFrame::Raised ); label->setLineWidth( 1 ); - label->setAlignment( AlignCenter ); + label->setAlignment( AlignCenter ); connect( this, TQ_SIGNAL(explain(const TQString&)), - label, TQ_SLOT(setText(const TQString&)) ); + label, TQ_SLOT(setText(const TQString&)) ); setMinimumSize( 100, 80 ); setFocusPolicy( TQWidget::ClickFocus ); @@ -318,9 +318,9 @@ private: { TQPopupMenu* contextMenu = new TQPopupMenu( this ); TQ_CHECK_PTR( contextMenu ); - TQLabel *caption = new TQLabel( "<font color=darkblue><u><b>" + TQLabel *caption = new TQLabel( "<font color=darkblue><u><b>" "Context Menu</b></u></font>", this ); - caption->setAlignment( TQt::AlignCenter ); + caption->setAlignment( TQt::AlignCenter ); contextMenu->insertItem( caption ); contextMenu->insertItem( "&New", this, TQ_SLOT(news()), CTRL+Key_N ); contextMenu->insertItem( "&Open...", this, TQ_SLOT(open()), CTRL+Key_O ); @@ -376,7 +376,7 @@ void MenuExample::normal() isBold = FALSE; isUnderline = FALSE; TQFont font; - label->setFont( font ); + label->setFont( font ); menu->setItemChecked( boldID, isBold ); menu->setItemChecked( underlineID, isUnderline ); emit explain( "Options/Normal selected" ); @@ -389,7 +389,7 @@ void MenuExample::bold() TQFont font; font.setBold( isBold ); font.setUnderline( isUnderline ); - label->setFont( font ); + label->setFont( font ); menu->setItemChecked( boldID, isBold ); emit explain( "Options/Bold selected" ); } @@ -401,7 +401,7 @@ void MenuExample::underline() TQFont font; font.setBold( isBold ); font.setUnderline( isUnderline ); - label->setFont( font ); + label->setFont( font ); menu->setItemChecked( underlineID, isUnderline ); emit explain( "Options/Underline selected" ); } diff --git a/doc/html/motif-walkthrough-2.html b/doc/html/motif-walkthrough-2.html index d30c2801..013cc6eb 100644 --- a/doc/html/motif-walkthrough-2.html +++ b/doc/html/motif-walkthrough-2.html @@ -64,7 +64,7 @@ it until we have replaced the View widget.

        The Help dialog is also special. Instead of replacing the Help dialog with a custom TQDialog, we will use the TQt Help System classes to provide a more advanced online help. -However, we cannot start using classes like TQToolTip and TQWhatsThis +However, we cannot start using classes like TQToolTip and TQWhatsThis until we replace the Main Window and View widgets.

        The help text included with the original project is very small and only contains information about the XmNoteBook widget. The use of @@ -83,7 +83,7 @@ creates the Help dialog. We will also remove the code to create the Help menu, since this menu is now empty. Finally, we remove the help_cb() function implementation.

        The Help dialog is now removed from our project. We cannot add -TQToolTip and TQWhatsThis help at the moment, since we are still using +TQToolTip and TQWhatsThis help at the moment, since we are still using XmMainWindow for the Main Window widget. Once we have migrated the Main Window and the popup-menu hierarchy, we can begin using TQToolTip and TQWhatsThis for online help. diff --git a/doc/html/motif-walkthrough-8.html b/doc/html/motif-walkthrough-8.html index ef6b103a..ce1ceb4f 100644 --- a/doc/html/motif-walkthrough-8.html +++ b/doc/html/motif-walkthrough-8.html @@ -69,7 +69,7 @@ application on all platforms supported by TQt.

      We will use the first approach to complete the migration of the -example project used in this walkthrough, using TQTextEdit, TQLabel and +example project used in this walkthrough, using TQTextEdit, TQLabel and TQSpinBox to provide a similar look. The only difference is that we will not have tabs.

      We use TQt Designer to add the diff --git a/doc/html/motif-walkthrough-9.html b/doc/html/motif-walkthrough-9.html index a7ce8ee9..b9a91201 100644 --- a/doc/html/motif-walkthrough-9.html +++ b/doc/html/motif-walkthrough-9.html @@ -44,7 +44,7 @@ this function any more, so we remove it. The current MainWindow::filePrint( write a new MainWindow::filePrint() implementation in mainwindow.ui.h.

      Note: The steps involved in using the TQPrinter class are beyond the scope of this walkthrough and will not be discussed here. The -TQPrinter Class Reference, TQSimpleRichText Class Reference and the +TQPrinter Class Reference, TQSimpleRichText Class Reference and the Simple Application Walkthrough contain information on the use of TQPrinter.

      For completeness, the code to initialize a TQPrinter object is included below. @@ -65,7 +65,7 @@ and formatting characters to a printtext variable (which is a TQString).

      
       

      The rest of the MainWindow::filePrint() function is the actual -printing code. Here we simply create a TQSimpleRichText object using +printing code. Here we simply create a TQSimpleRichText object using the string we created above, and draw this string on the TQPrinter object using TQPainter.

      
      diff --git a/doc/html/movies-example.html b/doc/html/movies-example.html
      index 96fdea35..8b0e9ee2 100644
      --- a/doc/html/movies-example.html
      +++ b/doc/html/movies-example.html
      @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
          
       

      The Movies example displays MNG and animated GIF files using the TQMovie and -TQLabel classes. +TQLabel classes.

      The movies will only read an animated GIF if GIF reading was enabled when TQt was built.


      Main: @@ -51,7 +51,7 @@ The Movies example displays MNG and animated GIF files using the ntqapplication.h> #include <tqfiledialog.h> #include <ntqpushbutton.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqpainter.h> #include <ntqmessagebox.h> #include <tqmovie.h> diff --git a/doc/html/ntqaccel.html b/doc/html/ntqaccel.html index 6da44b2f..f94b0ff6 100644 --- a/doc/html/ntqaccel.html +++ b/doc/html/ntqaccel.html @@ -87,7 +87,7 @@ used in both menus and toolbars. If you're only interested in menus use TQMenuData::insertItem() or TQMenuData::setAccel() to make accelerators for operations that are also available on menus. Many widgets automatically generate accelerators, such as TQButton, -TQGroupBox, TQLabel (with TQLabel::setBuddy()), TQMenuBar and TQTabBar. +TQGroupBox, TQLabel (with TQLabel::setBuddy()), TQMenuBar and TQTabBar. Example:

               TQPushButton p( "&Exit", parent ); // automatic shortcut ALT+Key_E
      @@ -114,7 +114,7 @@ pressing the key multiple times, users can navigate between all
       matching accelerators. Some standard controls like TQPushButton and
       TQCheckBox connect the activatedAmbiguously() signal to the
       harmless setFocus() slot, whereas activated() is connected to a
      -slot invoking the button's action.	Most controls, like TQLabel and
      +slot invoking the button's action.	Most controls, like TQLabel and
       TQTabBar, treat activated() and activatedAmbiguously() as
       equivalent.
       

      Use setEnabled() to enable or disable all the items in an @@ -141,7 +141,7 @@ combination. TQ_SLOT(printDoc()) ); // printDoc() slot

      -

      See also TQKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), TQButton::accel, TQLabel::setBuddy(), TQKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes. +

      See also TQKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), TQButton::accel, TQLabel::setBuddy(), TQKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.


      Member Function Documentation

      TQAccel::TQAccel ( TQWidget * parent, const char * name = 0 ) @@ -282,7 +282,7 @@ Sets a What's This help text for the accelerator item id to text To set What's This help on a menu item (with or without an accelerator key), use TQMenuData::setWhatsThis(). -

      See also whatsThis(), TQWhatsThis::inWhatsThisMode(), TQMenuData::setWhatsThis(), and TQAction::whatsThis. +

      See also whatsThis(), TQWhatsThis::inWhatsThisMode(), TQMenuData::setWhatsThis(), and TQAction::whatsThis.

      TQKeySequence TQAccel::shortcutKey ( const TQString & str ) [static]

      diff --git a/doc/html/ntqaccessible.html b/doc/html/ntqaccessible.html index bc7f68f6..eec9d302 100644 --- a/doc/html/ntqaccessible.html +++ b/doc/html/ntqaccessible.html @@ -272,7 +272,7 @@ accessibility information. ValueChange when the position of a slider has been changed. control is the ID of the child element that has changed. When control is 0, the object itself has changed.

      Call this function whenever the state of your accessible object or one of it's sub-elements has been changed either programmatically -(e.g. by calling TQLabel::setText()) or by user interaction. +(e.g. by calling TQLabel::setText()) or by user interaction.

      If there are no accessibility tools listening to this event, the performance penalty for calling this function is minor, but if determining the parameters of the call is expensive you can use isActive() to diff --git a/doc/html/ntqerrormessage.html b/doc/html/ntqerrormessage.html index 7c6d6ede..a682255d 100644 --- a/doc/html/ntqerrormessage.html +++ b/doc/html/ntqerrormessage.html @@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }

      The TQErrorMessage class provides an error message display dialog.

      -

      This is basically a TQLabel and a "show this message again" checkbox which +

      This is basically a TQLabel and a "show this message again" checkbox which remembers what not to show.

      There are two ways to use this class:

        diff --git a/doc/html/ntqframe.html b/doc/html/ntqframe.html index 6d219482..4b66bb89 100644 --- a/doc/html/ntqframe.html +++ b/doc/html/ntqframe.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

        #include <ntqframe.h>

        Inherits TQWidget. -

        Inherited by TQGroupBox, TQScrollView, TQDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, TQSplitter, TQToolBox, and TQWidgetStack. +

        Inherited by TQGroupBox, TQScrollView, TQDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, TQSplitter, TQToolBox, and TQWidgetStack.

        List of all member functions.

        Public Members

          @@ -88,10 +88,10 @@ fill in the frame. This function is reimplemented by subclasses. There are also two other less useful functions: drawFrame() and frameChanged().

          TQPopupMenu uses this to "raise" the menu above the surrounding -screen. TQProgressBar has a "sunken" look. TQLabel has a flat look. +screen. TQProgressBar has a "sunken" look. TQLabel has a flat look. The frames of widgets like these can be changed.

          -    TQLabel label(...);
          +    TQLabel label(...);
               label.setFrameStyle( TQFrame::Panel | TQFrame::Raised );
               label.setLineWidth( 2 );
           
          @@ -197,7 +197,7 @@ inside the frame. It should only draw inside contentsRec
           default function does nothing.
           

          See also contentsRect and TQPainter::setClipRect(). -

          Reimplemented in TQLabel, TQLCDNumber, TQMenuBar, and TQPopupMenu. +

          Reimplemented in TQLabel, TQLCDNumber, TQMenuBar, and TQPopupMenu.

          void TQFrame::drawFrame ( TQPainter * p ) [virtual protected]

          Draws the frame using the painter p and the current frame diff --git a/doc/html/ntqguardedptr.html b/doc/html/ntqguardedptr.html index 45012a58..f5a68771 100644 --- a/doc/html/ntqguardedptr.html +++ b/doc/html/ntqguardedptr.html @@ -67,7 +67,7 @@ destroyed while you still hold a reference to it. You can safely test the pointer for validity.

          Example:

          -        TQGuardedPtr<TQLabel> label = new TQLabel( 0, "label" );
          +        TQGuardedPtr<TQLabel> label = new TQLabel( 0, "label" );
                   label->setText( "I like guarded pointers" );
           
                   delete (TQLabel*) label; // simulate somebody destroying the label
          diff --git a/doc/html/ntqlcdnumber.html b/doc/html/ntqlcdnumber.html
          index c95c0288..c613303f 100644
          --- a/doc/html/ntqlcdnumber.html
          +++ b/doc/html/ntqlcdnumber.html
          @@ -113,7 +113,7 @@ store the value there.
           

          Incidentally, TQLCDNumber is the very oldest part of TQt, tracing back to a BASIC program on the Sinclair Spectrum.

          -

          See also TQLabel, TQFrame, and Basic Widgets. +

          See also TQLabel, TQFrame, and Basic Widgets.


          Member Type Documentation

          TQLCDNumber::Mode

          diff --git a/doc/html/ntqlineedit.html b/doc/html/ntqlineedit.html index 652cea29..8036cce5 100644 --- a/doc/html/ntqlineedit.html +++ b/doc/html/ntqlineedit.html @@ -199,7 +199,7 @@ that presents some of these editing options.

          Any other key sequence that represents a valid character, will cause the character to be inserted into the line edit.

          -

          See also TQTextEdit, TQLabel, TQComboBox, GUI Design Handbook: Field, Entry, and Basic Widgets. +

          See also TQTextEdit, TQLabel, TQComboBox, GUI Design Handbook: Field, Entry, and Basic Widgets.


          Member Type Documentation

          TQLineEdit::EchoMode

          @@ -258,7 +258,7 @@ text is selected, the cursor is moved to the beginning of the selected text and the selected text is deleted.

          See also del(). -

          int TQLineEdit::characterAt ( int xpos, TQChar * chr ) const +

          int TQLineEdit::characterAt ( int xpos, TQChar * chr ) const

          This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

          void TQLineEdit::clear () [virtual slot] diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html index 4eba6f57..d8ee3b53 100644 --- a/doc/html/ntqprogressdialog.html +++ b/doc/html/ntqprogressdialog.html @@ -294,7 +294,7 @@ the stack, i.e. use new() to create the button. Sets the cancel button's text to cancelButtonText.

          See also setCancelButton(). -

          void TQProgressDialog::setLabel ( TQLabel * label ) +

          void TQProgressDialog::setLabel ( TQLabel * label )

          Sets the label to label. The progress dialog resizes to fit. The label becomes owned by the progress dialog and will be deleted when diff --git a/doc/html/ntqscrollview.html b/doc/html/ntqscrollview.html index 6d7dd3d5..c04ffc22 100644 --- a/doc/html/ntqscrollview.html +++ b/doc/html/ntqscrollview.html @@ -184,16 +184,16 @@ large child in the TQScrollView. The child should be a child of the You can go on to add arbitrary child widgets to the single child in the scrollview as you would with any widget:
          -        TQLabel* child1 = new TQLabel("CHILD", big_box);
          -        TQLabel* child2 = new TQLabel("CHILD", big_box);
          -        TQLabel* child3 = new TQLabel("CHILD", big_box);
          +        TQLabel* child1 = new TQLabel("CHILD", big_box);
          +        TQLabel* child2 = new TQLabel("CHILD", big_box);
          +        TQLabel* child3 = new TQLabel("CHILD", big_box);
                   ...
               

          Here the TQScrollView has four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small cornerWidget(). The viewport() has one child: the big TQVBox. The -TQVBox has the three TQLabel objects as child widgets. When the view +TQVBox has the three TQLabel objects as child widgets. When the view is scrolled, the TQVBox is moved; its children move with it as child widgets normally do.

          Using a Very Big View with Some Widgets @@ -209,17 +209,17 @@ adding them with addChild() (this is the same as the pro the single large widget in the previous example):
                   TQScrollView* sv = new TQScrollView(...);
          -        TQLabel* child1 = new TQLabel("CHILD", sv->viewport());
          +        TQLabel* child1 = new TQLabel("CHILD", sv->viewport());
                   sv->addChild(child1);
          -        TQLabel* child2 = new TQLabel("CHILD", sv->viewport());
          +        TQLabel* child2 = new TQLabel("CHILD", sv->viewport());
                   sv->addChild(child2);
          -        TQLabel* child3 = new TQLabel("CHILD", sv->viewport());
          +        TQLabel* child3 = new TQLabel("CHILD", sv->viewport());
                   sv->addChild(child3);
               
          Here, the TQScrollView has the same four children: the viewport(), the verticalScrollBar(), the horizontalScrollBar() and a small -cornerWidget(). The viewport() has the three TQLabel objects as +cornerWidget(). The viewport() has the three TQLabel objects as child widgets. When the view is scrolled, the scrollview moves the child widgets individually.

          Using a Very Big View with Many Widgets @@ -236,11 +236,11 @@ of the viewport(), and adding them with enableClipper(TRUE); - TQLabel* child1 = new TQLabel("CHILD", sv->viewport()); + TQLabel* child1 = new TQLabel("CHILD", sv->viewport()); sv->addChild(child1); - TQLabel* child2 = new TQLabel("CHILD", sv->viewport()); + TQLabel* child2 = new TQLabel("CHILD", sv->viewport()); sv->addChild(child2); - TQLabel* child3 = new TQLabel("CHILD", sv->viewport()); + TQLabel* child3 = new TQLabel("CHILD", sv->viewport()); sv->addChild(child3);

          diff --git a/doc/html/ntqt.html b/doc/html/ntqt.html index b82616cc..410f355e 100644 --- a/doc/html/ntqt.html +++ b/doc/html/ntqt.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } that need to be global-like. More...

          #include <ntqnamespace.h> -

          Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis. +

          Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis.

          List of all member functions.

          Public Members

            @@ -794,7 +794,7 @@ boundaries.

            TQt::TextFormat

            This enum is used in widgets that can display both plain text and -rich text, e.g. TQLabel. It is used for deciding whether a text +rich text, e.g. TQLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function. diff --git a/doc/html/pictures.html b/doc/html/pictures.html index 0623452f..7232c787 100644 --- a/doc/html/pictures.html +++ b/doc/html/pictures.html @@ -79,7 +79,7 @@ also be used as a separate widget.

            The screenshot below shows a TQTabDialog. The tabs (TQTabBar) or the more convenient class TQTabWidget, which combines a tab bar with -the pages, can be used separately. In the visible page you see a TQLabel, the range controls TQSlider and TQSpinBox and below a TQLCDNumber. In the bottom row there are some TQPushButtons. +the pages, can be used separately. In the visible page you see a TQLabel, the range controls TQSlider and TQSpinBox and below a TQLCDNumber. In the bottom row there are some TQPushButtons.

            In the screenshot below there's a TQTextBrowser displaying a HTML page. See also TQTextEdit. diff --git a/doc/html/popup-example.html b/doc/html/popup-example.html index 949f29a3..7d7c14d3 100644 --- a/doc/html/popup-example.html +++ b/doc/html/popup-example.html @@ -53,11 +53,11 @@ pop up. #ifndef POPUP_H #define POPUP_H -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <ntqlineedit.h> -class FancyPopup : public TQLabel +class FancyPopup : public TQLabel { TQ_OBJECT public: @@ -115,9 +115,9 @@ private: #include <ntqlayout.h> FancyPopup::FancyPopup( TQWidget* parent, const char* name ): - TQLabel( parent, name, WType_Popup ){ + TQLabel( parent, name, WType_Popup ){ setFrameStyle( WinPanel|Raised ); - setAlignment( AlignCenter ); + setAlignment( AlignCenter ); resize(150,100); moves = 0; setMouseTracking( TRUE ); @@ -129,7 +129,7 @@ private: s.sprintf("%d/%d", e->pos().x(), e->pos().y()); if (e->state() & TQMouseEvent::LeftButton) s += " (down)"; - setText(s); + setText(s); } void FancyPopup::mouseReleaseEvent( TQMouseEvent * e){ diff --git a/doc/html/porting.html b/doc/html/porting.html index 43183493..6bd143cc 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -333,8 +333,8 @@ new code.

          • TQFontDatabase::smoothSizes( const TQString & family, const TQString & style, const TQString & )
          • TQFontDatabase::styles( const TQString & family, const TQString & ) const
          • TQFontDatabase::weight( const TQString & family, const TQString & style, const TQString & ) const -
          • TQLabel::autoResize() const -
          • TQLabel::setAutoResize( bool enable ) +
          • TQLabel::autoResize() const +
          • TQLabel::setAutoResize( bool enable )
          • TQListBox::cellHeight( int i ) const
          • TQListBox::cellHeight() const
          • TQListBox::cellWidth() const @@ -364,10 +364,10 @@ new code.
          • TQRegExp::match( const TQString & str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
          • TQScrollView::childIsVisible( TQWidget *child )
          • TQScrollView::showChild( TQWidget *child, bool show = TRUE ) -
          • TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush *paper = 0 ) const +
          • TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush *paper = 0 ) const
          • TQString::ascii() const
          • TQString::data() const -
          • TQString::setExpand( uint index, TQChar c ) +
          • TQString::setExpand( uint index, TQChar c )
          • TQStyle::defaultFrameWidth() const
          • TQStyle::scrollBarExtent() const
          • TQStyle::tabbarMetrics( const TQWidget *t, int & hf, int & vf, int & ov ) const diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index e4a23912..a06b3911 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -55,10 +55,10 @@ demonstrates simple use of menus. #include <tqpainter.h> #include <stdlib.h> -class AnimatedThingy : public TQLabel { +class AnimatedThingy : public TQLabel { public: AnimatedThingy( TQWidget* parent, const TQString& s ) : - TQLabel(parent), + TQLabel(parent), label(s), step(0) { diff --git a/doc/html/propertydocs b/doc/html/propertydocs index 880ccbf5..cc448070 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -143,7 +143,7 @@ appear at all. action. The text may contain rich text (HTML-like tags -- see <a href="tqstylesheet.html">TQStyleSheet</a> for the list of supported tags). There is no default "What's This" text. -<p> <p>See also <a href="ntqwhatsthis.html">QWhatsThis</a>. +<p> <p>See also <a href="tqwhatsthis.html">TQWhatsThis</a>. <p>Set this property's value with <a href="tqaction.html#setWhatsThis">setWhatsThis</a>() and get this property's value with <a href="tqaction.html#whatsThis">whatsThis</a>(). @@ -1834,29 +1834,29 @@ of 0. - QLabel::alignment - + TQLabel::alignment + <p>This property holds the alignment of the label's contents. <p>The alignment is a bitwise OR of <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="ntqt.html#TextFlags-enum">ExpandTabs</a>, <a href="ntqt.html#TextFlags-enum">SingleLine</a> and <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text; otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> flag is always ignored. <a href="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text -labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in QLabel. +labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel. <p> If the label has a buddy, the <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to TRUE. <p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt> if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a> is turned on. -<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="ntqlabel.html#setBuddy">setBuddy</a>(), and <a href="ntqlabel.html#text-prop">text</a>. +<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#text-prop">text</a>. -<p>Set this property's value with <a href="ntqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="ntqlabel.html#alignment">alignment</a>(). +<p>Set this property's value with <a href="tqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqlabel.html#alignment">alignment</a>(). - QLabel::indent - + TQLabel::indent + <p>This property holds the label's text indent in pixels. <p>If a label displays text, the indent applies to the left edge if -<a href="ntqlabel.html#alignment">alignment</a>() is <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is +<a href="tqlabel.html#alignment">alignment</a>() is <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignTop</a>, and to to the bottom edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignBottom</a>. <p> If indent is negative, or if no indent has been set, the label @@ -1864,69 +1864,69 @@ computes the effective indent as follows: If <a href="ntqframe.html#frameWidt the effective indent becomes 0. If frameWidth() is greater than 0, the effective indent becomes half the width of the "x" character of the widget's current <a href="tqwidget.html#font">font</a>(). -<p> <p>See also <a href="ntqlabel.html#alignment-prop">alignment</a>, <a href="ntqframe.html#frameWidth-prop">frameWidth</a>, and <a href="tqwidget.html#font-prop">font</a>. +<p> <p>See also <a href="tqlabel.html#alignment-prop">alignment</a>, <a href="ntqframe.html#frameWidth-prop">frameWidth</a>, and <a href="tqwidget.html#font-prop">font</a>. -<p>Set this property's value with <a href="ntqlabel.html#setIndent">setIndent</a>() and get this property's value with <a href="ntqlabel.html#indent">indent</a>(). +<p>Set this property's value with <a href="tqlabel.html#setIndent">setIndent</a>() and get this property's value with <a href="tqlabel.html#indent">indent</a>(). - QLabel::pixmap - + TQLabel::pixmap + <p>This property holds the label's pixmap. <p>If no pixmap has been set this will return an invalid pixmap. <p> Setting the pixmap clears any previous content, and resizes the -label if <a href="ntqlabel.html#autoResize">QLabel::autoResize</a>() is TRUE. The buddy accelerator, +label if <a href="tqlabel.html#autoResize">TQLabel::autoResize</a>() is TRUE. The buddy accelerator, if any, is disabled. -<p>Set this property's value with <a href="ntqlabel.html#setPixmap">setPixmap</a>() and get this property's value with <a href="ntqlabel.html#pixmap">pixmap</a>(). +<p>Set this property's value with <a href="tqlabel.html#setPixmap">setPixmap</a>() and get this property's value with <a href="tqlabel.html#pixmap">pixmap</a>(). - QLabel::scaledContents - + TQLabel::scaledContents + <p>This property holds whether the label will scale its contents to fill all available space. <p>When enabled and the label shows a pixmap, it will scale the pixmap to fill the available space. <p> This property's default is FALSE. -<p> <p>See also <a href="ntqlabel.html#scaledContents-prop">scaledContents</a>. +<p> <p>See also <a href="tqlabel.html#scaledContents-prop">scaledContents</a>. -<p>Set this property's value with <a href="ntqlabel.html#setScaledContents">setScaledContents</a>() and get this property's value with <a href="ntqlabel.html#hasScaledContents">hasScaledContents</a>(). +<p>Set this property's value with <a href="tqlabel.html#setScaledContents">setScaledContents</a>() and get this property's value with <a href="tqlabel.html#hasScaledContents">hasScaledContents</a>(). - QLabel::text - + TQLabel::text + <p>This property holds the label's text. <p>If no text has been set this will return an empty string. Setting the text clears any previous content, unless they are the same. <p> The text will be interpreted either as a plain text or as a rich -text, depending on the text format setting; see <a href="ntqlabel.html#setTextFormat">setTextFormat</a>(). -The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. QLabel will try to +text, depending on the text format setting; see <a href="tqlabel.html#setTextFormat">setTextFormat</a>(). +The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to auto-detect the format of the text set. <p> If the text is interpreted as a plain text and a buddy has been set, the buddy accelerator key is updated from the new text. <p> The label resizes itself if auto-resizing is enabled. -<p> Note that Qlabel is well-suited to display small rich text +<p> Note that TQLabel is well-suited to display small rich text documents, i.e. those small documents that get their document specific settings (font, text color, link color) from the label's palette and font properties. For large documents, use <a href="tqtextedit.html">TQTextEdit</a> in read-only mode instead. TQTextEdit will flicker less on resize and can also provide a scrollbar when necessary. -<p> <p>See also <a href="ntqlabel.html#textFormat-prop">textFormat</a>, <a href="ntqlabel.html#setBuddy">setBuddy</a>(), and <a href="ntqlabel.html#alignment-prop">alignment</a>. +<p> <p>See also <a href="tqlabel.html#textFormat-prop">textFormat</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#alignment-prop">alignment</a>. -<p>Set this property's value with <a href="ntqlabel.html#setText">setText</a>() and get this property's value with <a href="ntqlabel.html#text">text</a>(). +<p>Set this property's value with <a href="tqlabel.html#setText">setText</a>() and get this property's value with <a href="tqlabel.html#text">text</a>(). - QLabel::textFormat - + TQLabel::textFormat + <p>This property holds the label's text format. <p>See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options. <p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>. -<p> <p>See also <a href="ntqlabel.html#text-prop">text</a>. +<p> <p>See also <a href="tqlabel.html#text-prop">text</a>. -<p>Set this property's value with <a href="ntqlabel.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="ntqlabel.html#textFormat">textFormat</a>(). +<p>Set this property's value with <a href="tqlabel.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="tqlabel.html#textFormat">textFormat</a>(). @@ -4414,12 +4414,12 @@ on top-level widgets. which means the widget will not receive any events in Whats This mode. <p> The widget may leave What's This mode by calling -<a href="ntqwhatsthis.html#leaveWhatsThisMode">QWhatsThis::leaveWhatsThisMode</a>(), with or without actually +<a href="tqwhatsthis.html#leaveWhatsThisMode">TQWhatsThis::leaveWhatsThisMode</a>(), with or without actually displaying any help text. <p> You can also reimplement customWhatsThis() if your widget is a "passive interactor" supposed to work under all circumstances. -Simply don't call QWhatsThis::leaveWhatsThisMode() in that case. -<p> <p>See also <a href="ntqwhatsthis.html#inWhatsThisMode">QWhatsThis::inWhatsThisMode</a>() and <a href="ntqwhatsthis.html#leaveWhatsThisMode">QWhatsThis::leaveWhatsThisMode</a>(). +Simply don't call TQWhatsThis::leaveWhatsThisMode() in that case. +<p> <p>See also <a href="tqwhatsthis.html#inWhatsThisMode">TQWhatsThis::inWhatsThisMode</a>() and <a href="tqwhatsthis.html#leaveWhatsThisMode">TQWhatsThis::leaveWhatsThisMode</a>(). <p>Get this property's value with <a href="tqwidget.html#customWhatsThis">customWhatsThis</a>(). diff --git a/doc/html/propertyindex b/doc/html/propertyindex index 34881cc5..0dd3819c 100644 --- a/doc/html/propertyindex +++ b/doc/html/propertyindex @@ -156,12 +156,12 @@ "QLCDNumber/segmentStyle" ntqlcdnumber.html#segmentStyle-prop "QLCDNumber/smallDecimalPoint" ntqlcdnumber.html#smallDecimalPoint-prop "QLCDNumber/value" ntqlcdnumber.html#value-prop -"QLabel/alignment" ntqlabel.html#alignment-prop -"QLabel/indent" ntqlabel.html#indent-prop -"QLabel/pixmap" ntqlabel.html#pixmap-prop -"QLabel/scaledContents" ntqlabel.html#scaledContents-prop -"QLabel/text" ntqlabel.html#text-prop -"QLabel/textFormat" ntqlabel.html#textFormat-prop +"TQLabel/alignment" tqlabel.html#alignment-prop +"TQLabel/indent" tqlabel.html#indent-prop +"TQLabel/pixmap" tqlabel.html#pixmap-prop +"TQLabel/scaledContents" tqlabel.html#scaledContents-prop +"TQLabel/text" tqlabel.html#text-prop +"TQLabel/textFormat" tqlabel.html#textFormat-prop "QLayout/margin" ntqlayout.html#margin-prop "QLayout/resizeMode" ntqlayout.html#resizeMode-prop "QLayout/spacing" ntqlayout.html#spacing-prop diff --git a/doc/html/qfd-example.html b/doc/html/qfd-example.html index 45598e7a..9690f948 100644 --- a/doc/html/qfd-example.html +++ b/doc/html/qfd-example.html @@ -105,7 +105,7 @@ public: #include <tqpainter.h> #include <tqtoolbar.h> #include <tqstatusbar.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <tqfontdialog.h> #include <stdlib.h> @@ -165,7 +165,7 @@ TQSize FontRowTable::cellSize() const int x = i*cell.width(); int y = j*cell.height(); - TQChar ch = TQChar(j*16+i,row); + TQChar ch = TQChar(j*16+i,row); if ( fm.inFont(ch) ) { int w = fm.width(ch); @@ -232,7 +232,7 @@ void FontRowTable::chooseFont() { FontRowTable* table = new FontRowTable(this); TQToolBar* controls = new TQToolBar(this); - (void) new TQLabel(tr("Row:"), controls); + (void) new TQLabel(tr("Row:"), controls); TQSpinBox *row = new TQSpinBox(0,255,1,controls); controls->addSeparator(); TQPushButton *fontbutton = new TQPushButton(tr("Font..."), controls); diff --git a/doc/html/qgridlayout.html b/doc/html/qgridlayout.html index fbc85c46..7e6fd403 100644 --- a/doc/html/qgridlayout.html +++ b/doc/html/qgridlayout.html @@ -110,7 +110,7 @@ from the layout until TQWidget::show() is calle three-row grid (the grid is shown overlaid in magenta):

            Columns 0, 2 and 4 in this dialog fragment are made up of a -TQLabel, a TQLineEdit, and a TQListBox. Columns 1 and 3 are +TQLabel, a TQLineEdit, and a TQListBox. Columns 1 and 3 are placeholders made with addColSpacing(). Row 0 consists of three TQLabel objects, row 1 of three TQLineEdit objects and row 2 of three TQListBox objects. We used placeholder columns (1 and 3) to diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 5debea21..3e8f4f0b 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -56,7 +56,7 @@ magnified area as a .bmp file. #include <ntqpushbutton.h> #include <tqpixmap.h> #include <tqimage.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqfiledialog.h> #include <tqregexp.h> @@ -98,7 +98,7 @@ private: TQPixmap pm; // pixmap, magnified TQPixmap p; // pixmap TQImage image; // image of pixmap (for RGB) - TQLabel *rgb; + TQLabel *rgb; int yoffset; // pixels in addition to the actual picture int z; // magnification factor int r; // autorefresh rate (index into refreshrates) @@ -185,10 +185,10 @@ static const int timer[] = { setRefresh(1); setZoom(5); - rgb = new TQLabel( this ); + rgb = new TQLabel( this ); TQ_CHECK_PTR( rgb ); - rgb->setText( "" ); - rgb->setAlignment( AlignVCenter ); + rgb->setText( "" ); + rgb->setAlignment( AlignVCenter ); rgb->resize( width(), rgb->fontMetrics().height() + 4 ); #ifdef COMPLEX_GUI @@ -369,7 +369,7 @@ void MagWidget::grabAround(TQPoint pos) if ( grabbing || pm.isNull() || e->pos().y() > height() - (zoom ? zoom->fontMetrics().height() - 4 : 0) || e->pos().y() < (zoom ? zoom->height()+4 : 4) ) { - rgb->setText( "" ); + rgb->setText( "" ); } else { int x,y; x = e->pos().x() / z; @@ -385,14 +385,14 @@ void MagWidget::grabAround(TQPoint pos) TQString label; label.sprintf( "x=%d, y=%d %s", x+grabx, y+graby, (const char*)pixelinfo ); - rgb->setText( label ); + rgb->setText( label ); } } void MagWidget::focusOutEvent( TQFocusEvent * ) { - rgb->setText( "" ); + rgb->setText( "" ); } diff --git a/doc/html/qmake-manual-7.html b/doc/html/qmake-manual-7.html index a25b5a23..969637d3 100644 --- a/doc/html/qmake-manual-7.html +++ b/doc/html/qmake-manual-7.html @@ -58,7 +58,7 @@ body { background: #ffffff; color: black; } #include <vector> #include <ntqapplication.h> // TQt includes #include <ntqpushbutton.h> - #include <ntqlabel.h> + #include <tqlabel.h> #include "thirdparty/include/libmain.h" #include "my_stable_class.h" ... @@ -120,7 +120,7 @@ body { background: #ffffff; color: black; } # include <iostream> # include <ntqapplication.h> # include <ntqpushbutton.h> - # include <ntqlabel.h> + # include <tqlabel.h> #endif

          myobject.h

          @@ -155,7 +155,7 @@ body { background: #ffffff; color: black; }

          main.cpp

              #include <ntqapplication.h>
               #include <ntqpushbutton.h>
          -    #include <ntqlabel.h>
          +    #include <tqlabel.h>
               #include "myobject.h"
               #include "mydialog.h"
           
          diff --git a/doc/html/qprogressdialog-h.html b/doc/html/qprogressdialog-h.html
          index 6c849f0e..eadc20ff 100644
          --- a/doc/html/qprogressdialog-h.html
          +++ b/doc/html/qprogressdialog-h.html
          @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; }
           #define TQPROGRESSDIALOG_H
           
           #ifndef QT_H
          -#include "ntqlabel.h"       // ### remove or keep for users' convenience?
          +#include "tqlabel.h"       // ### remove or keep for users' convenience?
           #include "ntqprogressbar.h" // ### remove or keep for users' convenience?
           #endif // QT_H
           
          diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf
          index ebb8a1fe..1b7a2df7 100644
          --- a/doc/html/qt.dcf
          +++ b/doc/html/qt.dcf
          @@ -825,51 +825,51 @@
               
          -
          - TQChar - Category - CombiningClass - Decomposition - Direction - Joining - category - cell - combiningClass - decomposition - decompositionTag - digitValue - direction - isDigit - isLetter - isLetterOrNumber - isMark - isNull - isNumber - isPrint - isPunct - isSpace - isSymbol - joining - latin1 - lower - mirrored - mirroredChar - operator char - row - unicode - upper - operator!= - operator< - operator<= - operator== - operator> - operator>= -
          +
          + TQChar + Category + CombiningClass + Decomposition + Direction + Joining + category + cell + combiningClass + decomposition + decompositionTag + digitValue + direction + isDigit + isLetter + isLetterOrNumber + isMark + isNull + isNumber + isPrint + isPunct + isSpace + isSymbol + joining + latin1 + lower + mirrored + mirroredChar + operator char + row + unicode + upper + operator!= + operator< + operator<= + operator== + operator> + operator>= +
          -
          - QCharRef -
          +
          + TQCharRef +
          @@ -1129,11 +1129,11 @@
          -
          - QConstString - string - ~QConstString -
          +
          + TQConstString + string + ~TQConstString +
          @@ -3743,42 +3743,42 @@
          -
          - QLabel - alignment - alignment - backgroundMode - buddy - clear - drawContents - hasScaledContents - indent - indent - movie - picture - pixmap - pixmap - scaledContents - setAlignment - setBuddy - setFont - setIndent - setMovie - setNum - setPicture - setPixmap - setScaledContents - setText - setTextFormat - sizeForWidth - text - text - textFormat - textFormat - updateLabel - ~QLabel -
          -
          +
          + TQLabel + alignment + alignment + backgroundMode + buddy + clear + drawContents + hasScaledContents + indent + indent + movie + picture + pixmap + pixmap + scaledContents + setAlignment + setBuddy + setFont + setIndent + setMovie + setNum + setPicture + setPixmap + setScaledContents + setText + setTextFormat + sizeForWidth + text + text + textFormat + textFormat + updateLabel + ~TQLabel +
          +
          QLayout @@ -4312,32 +4312,32 @@
          -
          - QLocale - Country - Language - c - country - countryToString - language - languageToString - name - operator= - setDefault - system - toDouble - toFloat - toInt - toLong - toLongLong - toShort - toString - toUInt - toULong - toULongLong - toUShort -
          -
          +
          + TQLocale + Country + Language + c + country + countryToString + language + languageToString + name + operator= + setDefault + system + toDouble + toFloat + toInt + toLong + toLongLong + toShort + toString + toUInt + toULong + toULongLong + toUShort +
          +
          TQLocalFs @@ -6205,21 +6205,21 @@
          -
          - QSimpleRichText - adjustSize - anchorAt - context - draw - height - inText - setDefaultFont - setWidth - width - widthUsed - ~QSimpleRichText -
          -
          +
          + TQSimpleRichText + adjustSize + anchorAt + context + draw + height + inText + setDefaultFont + setWidth + width + widthUsed + ~TQSimpleRichText +
          +
          TQSize @@ -7207,16 +7207,16 @@
          -
          - QSyntaxHighlighter - currentParagraph - highlightParagraph - rehighlight - setFormat - textEdit - ~QSyntaxHighlighter -
          -
          +
          + TQSyntaxHighlighter + currentParagraph + highlightParagraph + rehighlight + setFormat + textEdit + ~TQSyntaxHighlighter +
          +
          Qt @@ -8587,22 +8587,22 @@
          -
          - QWhatsThis - add - clicked - display - enterWhatsThisMode - inWhatsThisMode - leaveWhatsThisMode - remove - setFont - text - textFor - whatsThisButton - ~QWhatsThis -
          -
          +
          + TQWhatsThis + add + clicked + display + enterWhatsThisMode + inWhatsThisMode + leaveWhatsThisMode + remove + setFont + text + textFor + whatsThisButton + ~TQWhatsThis +
          +
          QWheelEvent diff --git a/doc/html/rangecontrols-example.html b/doc/html/rangecontrols-example.html index aeb32b2d..5c2d2bd3 100644 --- a/doc/html/rangecontrols-example.html +++ b/doc/html/rangecontrols-example.html @@ -85,7 +85,7 @@ private: #include <ntqhbox.h> #include <ntqlcdnumber.h> #include <ntqspinbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqstring.h> #include <ntqslider.h> #include <ntqcheckbox.h> @@ -103,18 +103,18 @@ private: (void)new TQWidget( cell2 ); - TQLabel *label1 = new TQLabel( TQString( "Enter a value between\n%1 and %2:" ).arg( -INT_MAX ).arg( INT_MAX ), cell2 ); + TQLabel *label1 = new TQLabel( TQString( "Enter a value between\n%1 and %2:" ).arg( -INT_MAX ).arg( INT_MAX ), cell2 ); label1->setMaximumHeight( label1->sizeHint().height() ); TQSpinBox *sb1 = new TQSpinBox( -INT_MAX, INT_MAX, 1, cell2 ); sb1->setValue( 0 ); - TQLabel *label2 = new TQLabel( "Enter a zoom value:", cell2 ); + TQLabel *label2 = new TQLabel( "Enter a zoom value:", cell2 ); label2->setMaximumHeight( label2->sizeHint().height() ); TQSpinBox *sb2 = new TQSpinBox( 0, 1000, 10, cell2 ); sb2->setSuffix( " %" ); sb2->setSpecialValueText( "Automatic" ); - TQLabel *label3 = new TQLabel( "Enter a price:", cell2 ); + TQLabel *label3 = new TQLabel( "Enter a price:", cell2 ); label3->setMaximumHeight( label3->sizeHint().height() ); TQSpinBox *sb3 = new TQSpinBox( 0, INT_MAX, 1, cell2 ); sb3->setPrefix( "$" ); diff --git a/doc/html/regexptester-example.html b/doc/html/regexptester-example.html index 794c8857..0666ff80 100644 --- a/doc/html/regexptester-example.html +++ b/doc/html/regexptester-example.html @@ -65,9 +65,9 @@ public: RegexpTester(TQWidget* parent=0, const char* name=0, bool modal=false, WFlags f=0); - TQLabel *regexLabel; + TQLabel *regexLabel; TQComboBox *regexComboBox; - TQLabel *textLabel; + TQLabel *textLabel; TQComboBox *textComboBox; TQCheckBox *caseSensitiveCheckBox; TQCheckBox *minimalCheckBox; @@ -95,7 +95,7 @@ private: #include <ntqcheckbox.h> #include <tqclipboard.h> #include <ntqcombobox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqpushbutton.h> #include <tqregexp.h> @@ -109,16 +109,16 @@ private: WFlags f) : TQDialog(parent, name, modal, f) { - regexLabel = new TQLabel(this); + regexLabel = new TQLabel(this); regexComboBox = new TQComboBox(this); regexComboBox->setEditable(true); regexComboBox->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred); - regexLabel->setBuddy(regexComboBox); - textLabel = new TQLabel(this); + regexLabel->setBuddy(regexComboBox); + textLabel = new TQLabel(this); textComboBox = new TQComboBox(this); textComboBox->setEditable(true); textComboBox->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred); - textLabel->setBuddy(textComboBox); + textLabel->setBuddy(textComboBox); caseSensitiveCheckBox = new TQCheckBox(this); caseSensitiveCheckBox->setChecked(true); minimalCheckBox = new TQCheckBox(this); @@ -258,9 +258,9 @@ void RegexpTester::copy() void RegexpTester::languageChange() { setCaption(tr("Regex Tester")); - regexLabel->setText(tr("&Regex:")); + regexLabel->setText(tr("&Regex:")); regexComboBox->insertItem(tr("[A-Z]+=(\\d+):(\\d*)")); - textLabel->setText(tr("&Text:")); + textLabel->setText(tr("&Text:")); textComboBox->insertItem(tr("ABC=12:3456")); caseSensitiveCheckBox->setText(tr("Case &Sensitive")); minimalCheckBox->setText(tr("&Minimal")); diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index d44a665b..9437e1d1 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -56,7 +56,7 @@ optimized for very large contents. #include <tqpixmap.h> #include <ntqmessagebox.h> #include <ntqlayout.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqmultilineedit.h> #include <tqsizegrip.h> #include <stdlib.h> diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index 167907a3..ef2124b9 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -92,7 +92,7 @@ private: TQPopupMenu *options; TQWidget *helpmsg; - TQLabel *status; + TQLabel *status; int si, sp, ac, co, mo, fd, bd, // Menu item ids td, ta, ba, fa, au, ad, dd, ss, cc, t1, t8, t32; @@ -151,7 +151,7 @@ private slots: #include <tqfiledialog.h> #include <ntqmessagebox.h> #include <tqpopupmenu.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqpainter.h> #include <ntqapplication.h> #include <tqclipboard.h> @@ -244,7 +244,7 @@ private slots: connect( options, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doOption(int)) ); - status = new TQLabel(this); + status = new TQLabel(this); status->setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken ); status->setFixedHeight( fontMetrics().height() + 4 ); @@ -364,9 +364,9 @@ void ImageViewer::updateStatus() { if ( pm.size() == TQSize( 0, 0 ) ) { if ( !filename.isEmpty() ) - status->setText("Could not load image"); + status->setText("Could not load image"); else - status->setText("No image - select Open from File menu."); + status->setText("No image - select Open from File menu."); } else { TQString message, moremsg; message.sprintf("%dx%d", image.width(), image.height()); @@ -416,7 +416,7 @@ void ImageViewer::updateStatus() } message += moremsg; } - status->setText(message); + status->setText(message); } } diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index e8c2e597..271a6236 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -120,8 +120,8 @@ private: #include <tqtextstream.h> #include <tqpainter.h> #include <tqpaintdevicemetrics.h> -#include <ntqwhatsthis.h> -#include <ntqsimplerichtext.h> +#include <tqwhatsthis.h> +#include <tqsimplerichtext.h> #include "filesave.xpm" #include "fileopen.xpm" @@ -159,7 +159,7 @@ private: "You can also select the <b>Open</b> command " "from the <b>File</b> menu.</p>"; - TQWhatsThis::add( fileOpen, fileOpenText ); + TQWhatsThis::add( fileOpen, fileOpenText ); TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open", openIcon ); @@ -168,14 +168,14 @@ private: "You can also select the <b>Save</b> command " "from the <b>File</b> menu.</p>"; - TQWhatsThis::add( fileSave, fileSaveText ); + TQWhatsThis::add( fileSave, fileSaveText ); const char * filePrintText = "Click this button to print the file you " "are editing.\n" "You can also select the Print command " "from the File menu."; - TQWhatsThis::add( filePrint, filePrintText ); + TQWhatsThis::add( filePrint, filePrintText ); TQPopupMenu * file = new TQPopupMenu( this ); @@ -321,21 +321,21 @@ void ApplicationWindow::print() int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); - TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), + TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), TQFont(), e->context(), e->styleSheet(), e->mimeSourceFactory(), view.height() ); - richText.setWidth( &p, view.width() ); + richText.setWidth( &p, view.width() ); int page = 1; do { - richText.draw( &p, margin, margin, view, colorGroup() ); + richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); p.translate( 0 , -view.height() ); p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); - if ( view.top() - margin >= richText.height() ) + if ( view.top() - margin >= richText.height() ) break; printer->newPage(); page++; diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index efe781b3..eb9fd696 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }

          This walkthrough shows simple use of TQMainWindow, TQMenuBar, TQPopupMenu, TQToolBar and TQStatusBar - classes that every modern application window tends to use. (See also Tutorial #2.) -

          It also illustrates some aspects of TQWhatsThis (for simple help) and a +

          It also illustrates some aspects of TQWhatsThis (for simple help) and a typical main() using TQApplication.

          Finally, it shows a typical print function based on TQPrinter.

          The declaration of ApplicationWindow @@ -228,7 +228,7 @@ function, as its mouse interface is unusual. "You can also select the <b>Open</b> command " "from the <b>File</b> menu.</p>"; - TQWhatsThis::add( fileOpen, fileOpenText ); + TQWhatsThis::add( fileOpen, fileOpenText );

          With the above line we add the "What's This?" help-text to the fileOpen button... @@ -241,13 +241,13 @@ saved in fileOpenText) requests an image named "document-open", the add( fileSave, fileSaveText ); + TQWhatsThis::add( fileSave, fileSaveText ); const char * filePrintText = "Click this button to print the file you " "are editing.\n" "You can also select the Print command " "from the File menu."; - TQWhatsThis::add( filePrint, filePrintText ); + TQWhatsThis::add( filePrint, filePrintText );

          The "What's This?" help of the remaining two buttons doesn't make use of pixmaps, therefore all we need to do is to add the help-text to the @@ -463,21 +463,21 @@ and implicitly changes the window system caption to the new name. int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); - TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), + TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), TQFont(), e->context(), e->styleSheet(), e->mimeSourceFactory(), view.height() ); - richText.setWidth( &p, view.width() ); + richText.setWidth( &p, view.width() ); int page = 1; do { - richText.draw( &p, margin, margin, view, colorGroup() ); + richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); p.translate( 0 , -view.height() ); p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); - if ( view.top() - margin >= richText.height() ) + if ( view.top() - margin >= richText.height() ) break; printer->newPage(); page++; @@ -493,7 +493,7 @@ and implicitly changes the window system caption to the new name. tool button.

          We present the user with the print setup dialog, and abandon printing if they cancel. -

          We create a TQSimpleRichText object and give it the text. This object +

          We create a TQSimpleRichText object and give it the text. This object is able to format the text nicely as one long page. We achieve pagination by printing one paper page's worth of text from the TQSimpleRichText page at a time. diff --git a/doc/html/splitter-example.html b/doc/html/splitter-example.html index b7dfccef..f9a26f39 100644 --- a/doc/html/splitter-example.html +++ b/doc/html/splitter-example.html @@ -48,7 +48,7 @@ decide for themselves how much space each child item should get. *****************************************************************************/ #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqsplitter.h> #include <ntqmultilineedit.h> diff --git a/doc/html/sql-overview-custom1-main-cpp.html b/doc/html/sql-overview-custom1-main-cpp.html index 030691db..13961bb5 100644 --- a/doc/html/sql-overview-custom1-main-cpp.html +++ b/doc/html/sql-overview-custom1-main-cpp.html @@ -74,11 +74,11 @@ TQString CustomEdit::upperLine() const FormDialog::FormDialog() { - TQLabel *forenameLabel = new TQLabel( "Forename:", this ); + TQLabel *forenameLabel = new TQLabel( "Forename:", this ); CustomEdit *forenameEdit = new CustomEdit( this ); - TQLabel *surnameLabel = new TQLabel( "Surname:", this ); + TQLabel *surnameLabel = new TQLabel( "Surname:", this ); CustomEdit *surnameEdit = new CustomEdit( this ); - TQLabel *salaryLabel = new TQLabel( "Salary:", this ); + TQLabel *salaryLabel = new TQLabel( "Salary:", this ); TQLineEdit *salaryEdit = new TQLineEdit( this ); salaryEdit->setAlignment( TQt::AlignRight ); TQPushButton *saveButton = new TQPushButton( "&Save", this ); diff --git a/doc/html/sql-overview-custom1-main-h.html b/doc/html/sql-overview-custom1-main-h.html index b63c30bf..9087e3fd 100644 --- a/doc/html/sql-overview-custom1-main-h.html +++ b/doc/html/sql-overview-custom1-main-h.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <ntqdialog.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> diff --git a/doc/html/sql-overview-form1-main-cpp.html b/doc/html/sql-overview-form1-main-cpp.html index 891f07b5..8f8dd8c9 100644 --- a/doc/html/sql-overview-form1-main-cpp.html +++ b/doc/html/sql-overview-form1-main-cpp.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <ntqdialog.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> #include <tqsqldatabase.h> @@ -61,11 +61,11 @@ class FormDialog : public TQDialog FormDialog::FormDialog() { - TQLabel *forenameLabel = new TQLabel( "Forename:", this ); - TQLabel *forenameDisplay = new TQLabel( this ); - TQLabel *surnameLabel = new TQLabel( "Surname:", this ); - TQLabel *surnameDisplay = new TQLabel( this ); - TQLabel *salaryLabel = new TQLabel( "Salary:", this ); + TQLabel *forenameLabel = new TQLabel( "Forename:", this ); + TQLabel *forenameDisplay = new TQLabel( this ); + TQLabel *surnameLabel = new TQLabel( "Surname:", this ); + TQLabel *surnameDisplay = new TQLabel( this ); + TQLabel *salaryLabel = new TQLabel( "Salary:", this ); TQLineEdit *salaryEdit = new TQLineEdit( this ); TQGridLayout *grid = new TQGridLayout( this ); diff --git a/doc/html/sql-overview-form2-main-h.html b/doc/html/sql-overview-form2-main-h.html index 15dcdfb6..7c235e3a 100644 --- a/doc/html/sql-overview-form2-main-h.html +++ b/doc/html/sql-overview-form2-main-h.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <ntqdialog.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> diff --git a/doc/html/sql.html b/doc/html/sql.html index 34748eb3..4b170081 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1025,7 +1025,7 @@ the code below can be automatically generated by

              #include <ntqapplication.h>
               #include <ntqdialog.h>
          -    #include <ntqlabel.h>
          +    #include <tqlabel.h>
               #include <ntqlayout.h>
               #include <ntqlineedit.h>
               #include <tqsqldatabase.h>
          @@ -1041,11 +1041,11 @@ the code below can be automatically generated by 
           
               FormDialog::FormDialog()
               {
          -        TQLabel *forenameLabel   = new TQLabel( "Forename:", this );
          -        TQLabel *forenameDisplay = new TQLabel( this );
          -        TQLabel *surnameLabel    = new TQLabel( "Surname:", this );
          -        TQLabel *surnameDisplay  = new TQLabel( this );
          -        TQLabel *salaryLabel     = new TQLabel( "Salary:", this );
          +        TQLabel *forenameLabel   = new TQLabel( "Forename:", this );
          +        TQLabel *forenameDisplay = new TQLabel( this );
          +        TQLabel *surnameLabel    = new TQLabel( "Surname:", this );
          +        TQLabel *surnameDisplay  = new TQLabel( this );
          +        TQLabel *salaryLabel     = new TQLabel( "Salary:", this );
                   TQLineEdit *salaryEdit   = new TQLineEdit( this );
           
                   TQGridLayout *grid = new TQGridLayout( this );
          diff --git a/doc/html/t12-lcdrange-cpp.html b/doc/html/t12-lcdrange-cpp.html
          index 0e4d432e..288d23ec 100644
          --- a/doc/html/t12-lcdrange-cpp.html
          +++ b/doc/html/t12-lcdrange-cpp.html
          @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; }
           
           #include <ntqslider.h>
           #include <ntqlcdnumber.h>
          -#include <ntqlabel.h>
          +#include <tqlabel.h>
           
           
           LCDRange::LCDRange( TQWidget *parent, const char *name )
          @@ -68,8 +68,8 @@ void LCDRange::init()
               slider->setRange( 0, 99 );
               slider->setValue( 0 );
           
          -    label = new TQLabel( " ", this, "label"  );
          -    label->setAlignment( AlignCenter );
          +    label = new TQLabel( " ", this, "label"  );
          +    label->setAlignment( AlignCenter );
           
               connect( slider, TQ_SIGNAL(valueChanged(int)),
                        lcd, TQ_SLOT(display(int)) );
          @@ -88,7 +88,7 @@ int LCDRange::value() const
           
           const char *LCDRange::text() const
           {
          -    return label->text();
          +    return label->text();
           }
           
           
          @@ -113,7 +113,7 @@ void LCDRange::setRange( int minVal, int maxVal )
           
           void LCDRange::setText( const char *s )
           {
          -    label->setText( s );
          +    label->setText( s );
           }
           


          diff --git a/doc/html/t12-lcdrange-h.html b/doc/html/t12-lcdrange-h.html index 84bbfa17..62f57870 100644 --- a/doc/html/t12-lcdrange-h.html +++ b/doc/html/t12-lcdrange-h.html @@ -70,7 +70,7 @@ private: void init(); TQSlider *slider; - TQLabel *label; + TQLabel *label; }; diff --git a/doc/html/t13-gamebrd-cpp.html b/doc/html/t13-gamebrd-cpp.html index 56238458..d1140eb8 100644 --- a/doc/html/t13-gamebrd-cpp.html +++ b/doc/html/t13-gamebrd-cpp.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; } #include <tqfont.h> #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <ntqlcdnumber.h> #include <ntqlayout.h> @@ -96,9 +96,9 @@ body { background: #ffffff; color: black; } hits = new TQLCDNumber( 2, this, "hits" ); shotsLeft = new TQLCDNumber( 2, this, "shotsleft" ); - TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" ); + TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" ); TQLabel *shotsLeftL - = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); + = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 ); grid->addWidget( quit, 0, 0 ); diff --git a/doc/html/t13-lcdrange-cpp.html b/doc/html/t13-lcdrange-cpp.html index ce934cf4..40abeb30 100644 --- a/doc/html/t13-lcdrange-cpp.html +++ b/doc/html/t13-lcdrange-cpp.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; } #include <ntqslider.h> #include <ntqlcdnumber.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> @@ -68,8 +68,8 @@ void LCDRange::init() slider->setRange( 0, 99 ); slider->setValue( 0 ); - label = new TQLabel( " ", this, "label" ); - label->setAlignment( AlignCenter ); + label = new TQLabel( " ", this, "label" ); + label->setAlignment( AlignCenter ); connect( slider, TQ_SIGNAL(valueChanged(int)), lcd, TQ_SLOT(display(int)) ); @@ -93,7 +93,7 @@ int LCDRange::value() const const char *LCDRange::text() const { - return label->text(); + return label->text(); } @@ -118,7 +118,7 @@ void LCDRange::setRange( int minVal, int maxVal ) void LCDRange::setText( const char *s ) { - label->setText( s ); + label->setText( s ); }


          diff --git a/doc/html/t13-lcdrange-h.html b/doc/html/t13-lcdrange-h.html index 36024684..c4715086 100644 --- a/doc/html/t13-lcdrange-h.html +++ b/doc/html/t13-lcdrange-h.html @@ -69,7 +69,7 @@ private: void init(); TQSlider *slider; - TQLabel *label; + TQLabel *label; }; diff --git a/doc/html/t14-gamebrd-cpp.html b/doc/html/t14-gamebrd-cpp.html index 9934c0ac..9ebd6d3a 100644 --- a/doc/html/t14-gamebrd-cpp.html +++ b/doc/html/t14-gamebrd-cpp.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; } #include <tqfont.h> #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqaccel.h> #include <ntqpushbutton.h> #include <ntqlcdnumber.h> @@ -102,9 +102,9 @@ body { background: #ffffff; color: black; } hits = new TQLCDNumber( 2, this, "hits" ); shotsLeft = new TQLCDNumber( 2, this, "shotsleft" ); - TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" ); + TQLabel *hitsL = new TQLabel( "HITS", this, "hitsLabel" ); TQLabel *shotsLeftL - = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); + = new TQLabel( "SHOTS LEFT", this, "shotsleftLabel" ); TQAccel *accel = new TQAccel( this ); accel->connectItem( accel->insertItem( Key_Enter ), diff --git a/doc/html/t14-lcdrange-cpp.html b/doc/html/t14-lcdrange-cpp.html index 0f5f77aa..90935592 100644 --- a/doc/html/t14-lcdrange-cpp.html +++ b/doc/html/t14-lcdrange-cpp.html @@ -42,7 +42,7 @@ body { background: #ffffff; color: black; } #include <ntqslider.h> #include <ntqlcdnumber.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> @@ -68,8 +68,8 @@ void LCDRange::init() slider->setRange( 0, 99 ); slider->setValue( 0 ); - label = new TQLabel( " ", this, "label" ); - label->setAlignment( AlignCenter ); + label = new TQLabel( " ", this, "label" ); + label->setAlignment( AlignCenter ); connect( slider, TQ_SIGNAL(valueChanged(int)), lcd, TQ_SLOT(display(int)) ); @@ -93,7 +93,7 @@ int LCDRange::value() const const char *LCDRange::text() const { - return label->text(); + return label->text(); } @@ -118,7 +118,7 @@ void LCDRange::setRange( int minVal, int maxVal ) void LCDRange::setText( const char *s ) { - label->setText( s ); + label->setText( s ); }


          diff --git a/doc/html/t14-lcdrange-h.html b/doc/html/t14-lcdrange-h.html index 1f2a41b6..245c1318 100644 --- a/doc/html/t14-lcdrange-h.html +++ b/doc/html/t14-lcdrange-h.html @@ -69,7 +69,7 @@ private: void init(); TQSlider *slider; - TQLabel *label; + TQLabel *label; }; diff --git a/doc/html/tabdialog-example.html b/doc/html/tabdialog-example.html index 4ad99bfd..fa33e954 100644 --- a/doc/html/tabdialog-example.html +++ b/doc/html/tabdialog-example.html @@ -91,7 +91,7 @@ protected: #include "tabdialog.h" #include <ntqvbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlineedit.h> #include <tqdatetime.h> #include <ntqbuttongroup.h> @@ -114,25 +114,25 @@ void TabDialog::setupTab1() TQVBox *tab1 = new TQVBox( this ); tab1->setMargin( 5 ); - (void)new TQLabel( "Filename:", tab1 ); + (void)new TQLabel( "Filename:", tab1 ); TQLineEdit *fname = new TQLineEdit( filename, tab1 ); fname->setFocus(); - (void)new TQLabel( "Path:", tab1 ); - TQLabel *path = new TQLabel( fileinfo.dirPath( TRUE ), tab1 ); + (void)new TQLabel( "Path:", tab1 ); + TQLabel *path = new TQLabel( fileinfo.dirPath( TRUE ), tab1 ); path->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - (void)new TQLabel( "Size:", tab1 ); + (void)new TQLabel( "Size:", tab1 ); ulong kb = (ulong)(fileinfo.size()/1024); - TQLabel *size = new TQLabel( TQString( "%1 KB" ).arg( kb ), tab1 ); + TQLabel *size = new TQLabel( TQString( "%1 KB" ).arg( kb ), tab1 ); size->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - (void)new TQLabel( "Last Read:", tab1 ); - TQLabel *lread = new TQLabel( fileinfo.lastRead().toString(), tab1 ); + (void)new TQLabel( "Last Read:", tab1 ); + TQLabel *lread = new TQLabel( fileinfo.lastRead().toString(), tab1 ); lread->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - (void)new TQLabel( "Last Modified:", tab1 ); - TQLabel *lmodif = new TQLabel( fileinfo.lastModified().toString(), tab1 ); + (void)new TQLabel( "Last Modified:", tab1 ); + TQLabel *lmodif = new TQLabel( fileinfo.lastModified().toString(), tab1 ); lmodif->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); addTab( tab1, "General" ); @@ -159,12 +159,12 @@ void TabDialog::setupTab2() TQButtonGroup *bg2 = new TQButtonGroup( 2, TQGroupBox::Horizontal, "Owner", tab2 ); - (void)new TQLabel( "Owner", bg2 ); - TQLabel *owner = new TQLabel( fileinfo.owner(), bg2 ); + (void)new TQLabel( "Owner", bg2 ); + TQLabel *owner = new TQLabel( fileinfo.owner(), bg2 ); owner->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - (void)new TQLabel( "Group", bg2 ); - TQLabel *group = new TQLabel( fileinfo.group(), bg2 ); + (void)new TQLabel( "Group", bg2 ); + TQLabel *group = new TQLabel( fileinfo.group(), bg2 ); group->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); addTab( tab2, "Permissions" ); @@ -176,7 +176,7 @@ void TabDialog::setupTab3() tab3->setMargin( 5 ); tab3->setSpacing( 5 ); - (void)new TQLabel( TQString( "Open %1 with:" ).arg( filename ), tab3 ); + (void)new TQLabel( TQString( "Open %1 with:" ).arg( filename ), tab3 ); TQListBox *prgs = new TQListBox( tab3 ); for ( unsigned int i = 0; i < 30; i++ ) { diff --git a/doc/html/tagreader-with-features-example.html b/doc/html/tagreader-with-features-example.html index 79b39aaa..90921c91 100644 --- a/doc/html/tagreader-with-features-example.html +++ b/doc/html/tagreader-with-features-example.html @@ -157,7 +157,7 @@ void StructureParser::setListView( ntqlistview.h> #include <ntqgrid.h> #include <tqmainwindow.h> -#include <ntqlabel.h> +#include <tqlabel.h> int main( int argc, char **argv ) { @@ -190,21 +190,21 @@ int main( int argc, char **argv ) reader.parse( source ); // namespace label - (void) new TQLabel( + (void) new TQLabel( "Default:\n" "http://xml.org/sax/features/namespaces: TRUE\n" "http://xml.org/sax/features/namespace-prefixes: FALSE\n", container ); // namespace prefix label - (void) new TQLabel( + (void) new TQLabel( "\n" "http://xml.org/sax/features/namespaces: TRUE\n" "http://xml.org/sax/features/namespace-prefixes: TRUE\n", container ); // prefix label - (void) new TQLabel( + (void) new TQLabel( "\n" "http://xml.org/sax/features/namespaces: FALSE\n" "http://xml.org/sax/features/namespace-prefixes: TRUE\n", diff --git a/doc/html/text.html b/doc/html/text.html index 3b19dfaf..c0d9b6e6 100644 --- a/doc/html/text.html +++ b/doc/html/text.html @@ -36,19 +36,19 @@ body { background: #ffffff; color: black; } XML classes.

          -
          TQCharLightweight Unicode character -
          TQCharRefHelper class for TQString -
          TQConstStringString objects using constant Unicode data +
          TQCharLightweight Unicode character +
          TQCharRefHelper class for TQString +
          TQConstStringString objects using constant Unicode data
          TQCStringAbstraction of the classic C zero-terminated char array (char *) -
          TQLabelText or image display -
          TQLocaleConverts between numbers and their string representations in various languages -
          TQSimpleRichTextSmall displayable piece of rich text +
          TQLabelText or image display +
          TQLocaleConverts between numbers and their string representations in various languages +
          TQSimpleRichTextSmall displayable piece of rich text
          TQStringAbstraction of Unicode text and the classic C '\0'-terminated char array
          TQStringListList of strings
          TQStrListDoubly-linked list of char*
          TQStyleSheetCollection of styles for rich text rendering and a generator of tags
          TQStyleSheetItemEncapsulation of a set of text styles -
          TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters +
          TQSyntaxHighlighterBase class for implementing TQTextEdit syntax highlighters
          TQTextBrowserRich text browser with hypertext navigation
          TQTextEditPowerful single-page rich text editor
          TQTextIStreamConvenience class for input streams diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html index f9e4cf52..d598910f 100644 --- a/doc/html/themes-example.html +++ b/doc/html/themes-example.html @@ -155,7 +155,7 @@ private: #include "tqpixmap.h" // for now #include "tqpalette.h" // for now #include "tqwidget.h" -#include "ntqlabel.h" +#include "tqlabel.h" #include "tqimage.h" #include "ntqpushbutton.h" #include "tqwidget.h" @@ -1651,7 +1651,7 @@ private: #include "tqpixmap.h" // for now #include "tqpalette.h" // for now #include "tqwidget.h" -#include "ntqlabel.h" +#include "tqlabel.h" #include "tqimage.h" #include "ntqpushbutton.h" #include "tqwidget.h" diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 136d099b..efd2b2f5 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -142,7 +142,7 @@ private: TQComboBox *whoStarts; TQPushButton *newGame; TQPushButton *quit; - TQLabel *message; + TQLabel *message; TicTacGameBoard *board; }; @@ -168,7 +168,7 @@ private: #include <ntqdrawutil.h> #include <ntqcombobox.h> #include <ntqcheckbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <stdlib.h> // rand() function #include <tqdatetime.h> // seed for rand() @@ -447,9 +447,9 @@ void TicTacGameBoard::computerMove() // Create a message label - message = new TQLabel( this ); + message = new TQLabel( this ); message->setFrameStyle( TQFrame::WinPanel | TQFrame::Sunken ); - message->setAlignment( AlignCenter ); + message->setAlignment( AlignCenter ); l->addWidget( message ); // Create the game board and connect the signal finished() to this @@ -525,7 +525,7 @@ void TicTacToe::newState() static const char *msg[] = { // TicTacGameBoard::State texts "Click Play to start", "Make your move", "You won!", "Computer won!", "It's a draw" }; - message->setText( msg[board->state()] ); + message->setText( msg[board->state()] ); return; } diff --git a/doc/html/titleindex b/doc/html/titleindex index 2b395fee..77af3b5a 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -218,10 +218,10 @@ TQCanvasText Class | tqcanvastext.html TQCanvasText Member List | tqcanvastext-members.html TQCanvasView Class | tqcanvasview.html TQCanvasView Member List | tqcanvasview-members.html -TQChar Class | qchar.html -TQChar Member List | qchar-members.html -QCharRef Class | qcharref.html -QCharRef Member List | qcharref-members.html +TQChar Class | tqchar.html +TQChar Member List | tqchar-members.html +TQCharRef Class | tqcharref.html +TQCharRef Member List | tqcharref-members.html QCheckBox Class | ntqcheckbox.html QCheckBox Member List | qcheckbox-members.html QCheckListItem Class | qchecklistitem.html @@ -248,8 +248,8 @@ QComboTableItem Class | qcombotableitem.html QComboTableItem Member List | qcombotableitem-members.html QCommonStyle Class | ntqcommonstyle.html QCommonStyle Member List | qcommonstyle-members.html -QConstString Class | qconststring.html -QConstString Member List | qconststring-members.html +TQConstString Class | tqconststring.html +TQConstString Member List | tqconststring-members.html QContextMenuEvent Class | qcontextmenuevent.html QContextMenuEvent Member List | qcontextmenuevent-members.html QCursor Class | ntqcursor.html @@ -501,8 +501,8 @@ QKeySequence Class | ntqkeysequence.html QKeySequence Member List | qkeysequence-members.html QLCDNumber Class | ntqlcdnumber.html QLCDNumber Member List | qlcdnumber-members.html -QLabel Class | ntqlabel.html -QLabel Member List | qlabel-members.html +TQLabel Class | tqlabel.html +TQLabel Member List | tqlabel-members.html QLayout Class | ntqlayout.html QLayout Member List | qlayout-members.html QLayoutItem Class | qlayoutitem.html @@ -529,8 +529,8 @@ QListViewItemIterator Class | qlistviewitemiterator.html QListViewItemIterator Member List | qlistviewitemiterator-members.html TQLocalFs Class | tqlocalfs.html TQLocalFs Member List | tqlocalfs-members.html -QLocale Class | ntqlocale.html -QLocale Member List | qlocale-members.html +TQLocale Class | tqlocale.html +TQLocale Member List | tqlocale-members.html TQMacMime Class | tqmacmime.html TQMacMime Member List | tqmacmime-members.html QMacStyle Class | qmacstyle.html @@ -694,8 +694,8 @@ TQSignal Class | tqsignal.html TQSignal Member List | tqsignal-members.html TQSignalMapper Class | tqsignalmapper.html TQSignalMapper Member List | tqsignalmapper-members.html -QSimpleRichText Class | ntqsimplerichtext.html -QSimpleRichText Member List | qsimplerichtext-members.html +TQSimpleRichText Class | tqsimplerichtext.html +TQSimpleRichText Member List | tqsimplerichtext-members.html TQSize Class | tqsize.html TQSize Member List | tqsize-members.html TQSizeGrip Class | tqsizegrip.html @@ -782,8 +782,8 @@ TQStyleSheet Class | tqstylesheet.html TQStyleSheet Member List | tqstylesheet-members.html TQStyleSheetItem Class | tqstylesheetitem.html TQStyleSheetItem Member List | tqstylesheetitem-members.html -QSyntaxHighlighter Class | ntqsyntaxhighlighter.html -QSyntaxHighlighter Member List | qsyntaxhighlighter-members.html +TQSyntaxHighlighter Class | tqsyntaxhighlighter.html +TQSyntaxHighlighter Member List | tqsyntaxhighlighter-members.html QTab Class | qtab.html QTab Member List | qtab-members.html QTabBar Class | ntqtabbar.html @@ -886,8 +886,8 @@ TQWMatrix Class | tqwmatrix.html TQWMatrix Member List | tqwmatrix-members.html TQWaitCondition Class | tqwaitcondition.html TQWaitCondition Member List | tqwaitcondition-members.html -QWhatsThis Class | ntqwhatsthis.html -QWhatsThis Member List | qwhatsthis-members.html +TQWhatsThis Class | tqwhatsthis.html +TQWhatsThis Member List | tqwhatsthis-members.html QWheelEvent Class | qwheelevent.html QWheelEvent Member List | qwheelevent-members.html TQWidget Class | tqwidget.html @@ -1157,14 +1157,14 @@ tqintcache.h Include File | tqintcache-h.html tqintdict.h Include File | tqintdict-h.html tqiodevice.h Include File | tqiodevice-h.html tqjiscodec.h Include File | tqjiscodec-h.html -ntqlabel.h Include File | qlabel-h.html +tqlabel.h Include File | tqlabel-h.html ntqlayout.h Include File | qlayout-h.html ntqlcdnumber.h Include File | qlcdnumber-h.html ntqlibrary.h Include File | qlibrary-h.html ntqlineedit.h Include File | qlineedit-h.html ntqlistbox.h Include File | qlistbox-h.html ntqlistview.h Include File | qlistview-h.html -ntqlocale.h Include File | qlocale-h.html +tqlocale.h Include File | tqlocale-h.html tqlocalfs.h Include File | tqlocalfs-h.html qmacstyle_mac.h Include File | qmacstyle_mac-h.html tqmainwindow.h Include File | tqmainwindow-h.html @@ -1230,7 +1230,7 @@ tqsettings.h Include File | tqsettings-h.html ntqsgistyle.h Include File | qsgistyle-h.html tqsignal.h Include File | tqsignal-h.html tqsignalmapper.h Include File | tqsignalmapper-h.html -ntqsimplerichtext.h Include File | qsimplerichtext-h.html +tqsimplerichtext.h Include File | tqsimplerichtext-h.html tqsize.h Include File | tqsize-h.html tqsizegrip.h Include File | tqsizegrip-h.html tqsizepolicy.h Include File | tqsizepolicy-h.html @@ -1266,7 +1266,7 @@ tqstyle.h Include File | tqstyle-h.html tqstylefactory.h Include File | tqstylefactory-h.html tqstyleplugin.h Include File | tqstyleplugin-h.html tqstylesheet.h Include File | tqstylesheet-h.html -ntqsyntaxhighlighter.h Include File | qsyntaxhighlighter-h.html +tqsyntaxhighlighter.h Include File | tqsyntaxhighlighter-h.html ntqtabbar.h Include File | qtabbar-h.html ntqtabdialog.h Include File | qtabdialog-h.html ntqtable.h Include File | qtable-h.html @@ -1299,7 +1299,7 @@ ntqvbox.h Include File | qvbox-h.html ntqvbuttongroup.h Include File | qvbuttongroup-h.html ntqvgroupbox.h Include File | qvgroupbox-h.html tqwaitcondition.h Include File | tqwaitcondition-h.html -ntqwhatsthis.h Include File | qwhatsthis-h.html +tqwhatsthis.h Include File | tqwhatsthis-h.html tqwidget.h Include File | tqwidget-h.html tqwidgetfactory.h Include File | tqwidgetfactory-h.html tqwidgetplugin.h Include File | tqwidgetplugin-h.html diff --git a/doc/html/toplevel-example.html b/doc/html/toplevel-example.html index e53d3519..376ee156 100644 --- a/doc/html/toplevel-example.html +++ b/doc/html/toplevel-example.html @@ -184,9 +184,9 @@ modeless dialogs.

                  if ( !widget ) {
                       widget = new TQVBox( parent, 0, f );
                       widget->setMargin( 20 );
          -            TQLabel *label = new TQLabel(flagList.join("&nbsp;| "), widget);
          -            label->setTextFormat(RichText);
          -            label->setAlignment(WordBreak);
          +            TQLabel *label = new TQLabel(flagList.join("&nbsp;| "), widget);
          +            label->setTextFormat(RichText);
          +            label->setAlignment(WordBreak);
                       TQPushButton *okButton = new TQPushButton( "Close", widget );
                       connect( okButton, TQ_SIGNAL(clicked()), widget, TQ_SLOT(close()) );
                       widget->move( pos() );
          diff --git a/doc/html/tqaction-application-example.html b/doc/html/tqaction-application-example.html
          index 3e8d4477..baab0a2f 100644
          --- a/doc/html/tqaction-application-example.html
          +++ b/doc/html/tqaction-application-example.html
          @@ -121,9 +121,9 @@ private:
           #include <tqtextstream.h>
           #include <tqpainter.h>
           #include <tqpaintdevicemetrics.h>
          -#include <ntqwhatsthis.h>
          +#include <tqwhatsthis.h>
           #include <tqaction.h>
          -#include <ntqsimplerichtext.h>
          +#include <tqsimplerichtext.h>
           
           #include "filesave.xpm"
           #include "fileopen.xpm"
          @@ -334,21 +334,21 @@ void ApplicationWindow::print()
                   int dpiy = metrics.logicalDpiY();
                   int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins
                   TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin );
          -        TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()),
          +        TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()),
                                             TQFont(),
                                             e->context(),
                                             e->styleSheet(),
                                             e->mimeSourceFactory(),
                                             view.height() );
          -        richText.setWidth( &p, view.width() );
          +        richText.setWidth( &p, view.width() );
                   int page = 1;
                   do {
          -            richText.draw( &p, margin, margin, view, colorGroup() );
          +            richText.draw( &p, margin, margin, view, colorGroup() );
                       view.moveBy( 0, view.height() );
                       p.translate( 0 , -view.height() );
                       p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ),
                                   view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) );
          -            if ( view.top() - margin >= richText.height() )
          +            if ( view.top() - margin >= richText.height() )
                           break;
                       printer->newPage();
                       page++;
          diff --git a/doc/html/tqaction.html b/doc/html/tqaction.html
          index ebbbc312..36fb6b77 100644
          --- a/doc/html/tqaction.html
          +++ b/doc/html/tqaction.html
          @@ -504,7 +504,7 @@ appear at all.
           action. The text may contain rich text (HTML-like tags -- see
           TQStyleSheet for the list of supported tags). There is no default
           "What's This" text.
          -

          See also TQWhatsThis. +

          See also TQWhatsThis.

          Set this property's value with setWhatsThis() and get this property's value with whatsThis(). diff --git a/doc/html/qchar-members.html b/doc/html/tqchar-members.html similarity index 51% rename from doc/html/qchar-members.html rename to doc/html/tqchar-members.html index ba6eff19..eea55045 100644 --- a/doc/html/qchar-members.html +++ b/doc/html/tqchar-members.html @@ -32,37 +32,37 @@ body { background: #ffffff; color: black; }

          Complete Member List for TQChar

          This is the complete list of member functions for -TQChar, including inherited members. +TQChar, including inherited members.


          diff --git a/doc/html/qchar.html b/doc/html/tqchar.html similarity index 92% rename from doc/html/qchar.html rename to doc/html/tqchar.html index 91f85b92..a27f379e 100644 --- a/doc/html/qchar.html +++ b/doc/html/tqchar.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

          Almost all the functions in this class are reentrant when TQt is built with thread support. The exception is decomposition().

          #include <tqstring.h> -

          List of all member functions. +

          List of all member functions.

          Public Members

          • TQChar ()
          • @@ -159,7 +159,7 @@ so they can be used unambiguously in data structures. (See digitValue() (gives the integer value of any of the numerous digit characters), and a host of constructors.

            More information can be found in the document About Unicode. -

            See also TQString, TQCharRef, and Text Related Classes. +

            See also TQString, TQCharRef, and Text Related Classes.


            Member Type Documentation

            TQChar::Category

            @@ -250,7 +250,7 @@ description of the values.

            Constructs a TQChar for Unicode cell c in row r. -

            TQChar::TQChar ( const TQChar & c ) +

            TQChar::TQChar ( const TQChar & c )

            Constructs a copy of c. This is a deep copy, if such a @@ -276,7 +276,7 @@ lightweight object can be said to have deep copies.

            Constructs a TQChar for the character with Unicode code point rc. -

            Category TQChar::category () const +

            Category TQChar::category () const

            Returns the character category.

            See also Category. @@ -302,7 +302,7 @@ position non spacing marks around a base character.

            Decomposes a character into its parts. Returns TQString::null if no decomposition exists. -

            Decomposition TQChar::decompositionTag () const +

            Decomposition TQChar::decompositionTag () const

            Returns the tag defining the composition of the character. Returns TQChar::Single if no decomposition exists. @@ -312,7 +312,7 @@ TQChar::Single if no decomposition exists. Returns the numeric value of the digit, or -1 if the character is not a digit. -

            Direction TQChar::direction () const +

            Direction TQChar::direction () const

            Returns the character's direction.

            See also Direction. @@ -371,7 +371,7 @@ Returns TRUE if the character is a separator character Returns TRUE if the character is a symbol (Symbol_* categories); otherwise returns FALSE. -

            Joining TQChar::joining () const +

            Joining TQChar::joining () const

            Warning: This function is not supported (it may change to use Unicode character classes). @@ -384,7 +384,7 @@ Unicode character classes).

            Returns the Latin-1 value of this character, or 0 if it cannot be represented in Latin-1. -

            TQChar TQChar::lower () const +

            TQChar TQChar::lower () const

            Returns the lowercase equivalent if the character is uppercase; otherwise returns the character itself. @@ -395,7 +395,7 @@ Returns TRUE if the character is a mirrored character (one that should be reversed if the text direction is reversed); otherwise returns FALSE. -

            TQChar TQChar::mirroredChar () const +

            TQChar TQChar::mirroredChar () const

            Returns the mirrored character if this character is a mirrored character, otherwise returns the character itself. @@ -434,20 +434,20 @@ information), this function is useful.

            Returns a reference to the numeric Unicode value equal to the TQChar. -

            TQChar TQChar::upper () const +

            TQChar TQChar::upper () const

            Returns the uppercase equivalent if the character is lowercase; otherwise returns the character itself.

            Related Functions

            -

            int operator!= ( TQChar c1, TQChar c2 ) +

            int operator!= ( TQChar c1, TQChar c2 )

            Returns TRUE if c1 and c2 are not the same Unicode character; otherwise returns FALSE. -

            int operator!= ( char ch, TQChar c ) +

            int operator!= ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -455,7 +455,7 @@ character; otherwise returns FALSE.

            Returns TRUE if c is not the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator!= ( TQChar c, char ch ) +

            int operator!= ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -463,14 +463,14 @@ otherwise returns FALSE.

            Returns TRUE if c is not the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator< ( TQChar c1, TQChar c2 ) +

            int operator< ( TQChar c1, TQChar c2 )

            Returns TRUE if the numeric Unicode value of c1 is less than that of c2; otherwise returns FALSE. -

            int operator< ( TQChar c, char ch ) +

            int operator< ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -478,7 +478,7 @@ that of c2; otherwise returns FALSE.

            Returns TRUE if the numeric Unicode value of c is less than that of the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator< ( char ch, TQChar c ) +

            int operator< ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -487,7 +487,7 @@ of the ASCII/Latin-1 character ch; otherwise returns FALSE. character ch is less than that of c; otherwise returns FALSE. -

            int operator<= ( TQChar c1, TQChar c2 ) +

            int operator<= ( TQChar c1, TQChar c2 )

            @@ -495,7 +495,7 @@ FALSE. that of c2, or they are the same Unicode character; otherwise returns FALSE. -

            int operator<= ( TQChar c, char ch ) +

            int operator<= ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -504,7 +504,7 @@ returns FALSE. equal to that of the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator<= ( char ch, TQChar c ) +

            int operator<= ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -513,14 +513,14 @@ returns FALSE. character ch is less than or equal to that of c; otherwise returns FALSE. -

            bool operator== ( TQChar c1, TQChar c2 ) +

            bool operator== ( TQChar c1, TQChar c2 )

            Returns TRUE if c1 and c2 are the same Unicode character; otherwise returns FALSE. -

            bool operator== ( char ch, TQChar c ) +

            bool operator== ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -528,7 +528,7 @@ otherwise returns FALSE.

            Returns TRUE if c is the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            bool operator== ( TQChar c, char ch ) +

            bool operator== ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -536,14 +536,14 @@ otherwise returns FALSE.

            Returns TRUE if c is the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator> ( TQChar c1, TQChar c2 ) +

            int operator> ( TQChar c1, TQChar c2 )

            Returns TRUE if the numeric Unicode value of c1 is greater than that of c2; otherwise returns FALSE. -

            int operator> ( TQChar c, char ch ) +

            int operator> ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -551,7 +551,7 @@ that of c2; otherwise returns FALSE.

            Returns TRUE if the numeric Unicode value of c is greater than that of the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator> ( char ch, TQChar c ) +

            int operator> ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -560,7 +560,7 @@ that of the ASCII/Latin-1 character ch; otherwise returns FALSE. character ch is greater than that of c; otherwise returns FALSE. -

            int operator>= ( TQChar c1, TQChar c2 ) +

            int operator>= ( TQChar c1, TQChar c2 )

            @@ -568,7 +568,7 @@ FALSE. that of c2, or they are the same Unicode character; otherwise returns FALSE. -

            int operator>= ( TQChar c, char ch ) +

            int operator>= ( TQChar c, char ch )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -577,7 +577,7 @@ returns FALSE. or equal to that of the ASCII/Latin-1 character ch; otherwise returns FALSE. -

            int operator>= ( char ch, TQChar c ) +

            int operator>= ( char ch, TQChar c )

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. diff --git a/doc/html/qcharref-members.html b/doc/html/tqcharref-members.html similarity index 95% rename from doc/html/qcharref-members.html rename to doc/html/tqcharref-members.html index 8dc1a07a..afc8d3b7 100644 --- a/doc/html/qcharref-members.html +++ b/doc/html/tqcharref-members.html @@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }

            Complete Member List for TQCharRef

            This is the complete list of member functions for -TQCharRef, including inherited members. +TQCharRef, including inherited members.

            diff --git a/doc/html/qcharref.html b/doc/html/tqcharref.html similarity index 93% rename from doc/html/qcharref.html rename to doc/html/tqcharref.html index d83b1c95..dfa9a8a3 100644 --- a/doc/html/qcharref.html +++ b/doc/html/tqcharref.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

            All the functions in this class are reentrant when TQt is built with thread support.

            #include <tqstring.h> -

            List of all member functions. +

            List of all member functions.


            Detailed Description

            @@ -46,10 +46,10 @@ The TQCharRef class is a helper class for TQString. the assignment will apply to the character in the string from which you got the reference. That is its whole purpose in life. The TQCharRef becomes invalid once modifications are made to the -string: if you want to keep the character, copy it into a TQChar. +string: if you want to keep the character, copy it into a TQChar.

            Most of the TQChar member functions also exist in TQCharRef. However, they are not explicitly documented here. -

            See also TQString::operator[](), TQString::at(), TQChar, and Text Related Classes. +

            See also TQString::operator[](), TQString::at(), TQChar, and Text Related Classes.


            diff --git a/doc/html/qconststring-members.html b/doc/html/tqconststring-members.html similarity index 85% rename from doc/html/qconststring-members.html rename to doc/html/tqconststring-members.html index 6b3d678d..196c68d2 100644 --- a/doc/html/qconststring-members.html +++ b/doc/html/tqconststring-members.html @@ -32,12 +32,12 @@ body { background: #ffffff; color: black; }

            Complete Member List for TQConstString

            This is the complete list of member functions for -TQConstString, including inherited members. +TQConstString, including inherited members.


            diff --git a/doc/html/qconststring.html b/doc/html/tqconststring.html similarity index 95% rename from doc/html/qconststring.html rename to doc/html/tqconststring.html index 9872a566..dcfa9b25 100644 --- a/doc/html/qconststring.html +++ b/doc/html/tqconststring.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

            All the functions in this class are reentrant when TQt is built with thread support.

            #include <tqstring.h> -

            List of all member functions. +

            List of all member functions.

            Public Members

            • TQConstString ( const TQChar * unicode, uint length )
            • @@ -58,7 +58,7 @@ string held by the object can be obtained by calling stringSee also Text Related Classes.

              Member Function Documentation

              -

              TQConstString::TQConstString ( const TQChar * unicode, uint length ) +

              TQConstString::TQConstString ( const TQChar * unicode, uint length )

              Constructs a TQConstString that uses the first length Unicode characters in the array unicode. Any attempt to modify copies diff --git a/doc/html/tqdir-example.html b/doc/html/tqdir-example.html index c8584334..558f107f 100644 --- a/doc/html/tqdir-example.html +++ b/doc/html/tqdir-example.html @@ -55,7 +55,7 @@ body { background: #ffffff; color: black; } #include <tqtextstream.h> #include <ntqhbox.h> #include <ntqspinbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqmultilineedit.h> #include <ntqheader.h> #include <ntqevent.h> @@ -205,7 +205,7 @@ void Preview::showPreview( const TQUrlTQHBox *row = new TQHBox( this ); row->setSpacing( 5 ); - (void)new TQLabel( tr( "Only show files smaller than: " ), row ); + (void)new TQLabel( tr( "Only show files smaller than: " ), row ); sizeSpinBox = new TQSpinBox( 1, 10000, 1, row ); sizeSpinBox->setSuffix( " KB" ); sizeSpinBox->setValue( 64 ); diff --git a/doc/html/tqfiledialog.html b/doc/html/tqfiledialog.html index 76de27ae..2a575c94 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 )
                       {
              diff --git a/doc/html/tqfontmetrics.html b/doc/html/tqfontmetrics.html
              index 0a36b04c..8d65e14a 100644
              --- a/doc/html/tqfontmetrics.html
              +++ b/doc/html/tqfontmetrics.html
              @@ -161,7 +161,7 @@ value will be too small.
               

              See also descent().

              Examples: drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. -

              TQRect TQFontMetrics::boundingRect ( TQChar ch ) const +

              TQRect TQFontMetrics::boundingRect ( TQChar ch ) const

              Returns the rectangle that is covered by ink if the character specified by ch were to be drawn at the origin of the coordinate @@ -261,7 +261,7 @@ base line).

              See also leading() and lineSpacing().

              Examples: grapher/grapher.cpp, hello/hello.cpp, and qfd/fontdisplayer.cpp. -

              bool TQFontMetrics::inFont ( TQChar ch ) const +

              bool TQFontMetrics::inFont ( TQChar ch ) const

              Returns TRUE if character ch is a valid character in the font; otherwise returns FALSE. @@ -273,14 +273,14 @@ Returns the leading of the font.

              This is the natural inter-line spacing.

              See also height() and lineSpacing(). -

              int TQFontMetrics::leftBearing ( TQChar ch ) const +

              int TQFontMetrics::leftBearing ( TQChar ch ) const

              Returns the left bearing of character ch in the font.

              The left bearing is the right-ward distance of the left-most pixel of the character from the logical origin of the character. This value is negative if the pixels of the character extend to the left of the logical origin. -

              See width(TQChar) for a graphical description of this metric. +

              See width(TQChar) for a graphical description of this metric.

              See also rightBearing(), minLeftBearing(), and width().

              Example: qfd/fontdisplayer.cpp. @@ -330,7 +330,7 @@ Returns the distance from the base line to where an overline should be drawn.

              See also underlinePos(), strikeOutPos(), and lineWidth(). -

              int TQFontMetrics::rightBearing ( TQChar ch ) const +

              int TQFontMetrics::rightBearing ( TQChar ch ) const

              Returns the right bearing of character ch in the font.

              The right bearing is the left-ward distance of the right-most @@ -375,7 +375,7 @@ Returns the distance from the base line to where an underscore should be drawn.

              See also overlinePos(), strikeOutPos(), and lineWidth(). -

              int TQFontMetrics::width ( TQChar ch ) const +

              int TQFontMetrics::width ( TQChar ch ) const

              Returns the logical width of character ch in pixels. This is a diff --git a/doc/html/tqimageconsumer.html b/doc/html/tqimageconsumer.html index 1a92b553..8bc981f4 100644 --- a/doc/html/tqimageconsumer.html +++ b/doc/html/tqimageconsumer.html @@ -52,7 +52,7 @@ The TQImageConsumer class is an abstraction used by TQMovie class, or TQLabel::setMovie(), are easy to use and for +

              The TQMovie class, or TQLabel::setMovie(), are easy to use and for most situations do what you want with regards animated images.

              A TQImageConsumer consumes information about changes to the TQImage maintained by a TQImageDecoder. Think of the TQImage as the model or diff --git a/doc/html/qlabel-h.html b/doc/html/tqlabel-h.html similarity index 96% rename from doc/html/qlabel-h.html rename to doc/html/tqlabel-h.html index e5ef7395..637ea6fe 100644 --- a/doc/html/qlabel-h.html +++ b/doc/html/tqlabel-h.html @@ -1,9 +1,9 @@ - + -ntqlabel.h Include File +tqlabel.h Include File