From e42ec295c2134770a1eb07032f5f22ca4ba1daa6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 31 Aug 2024 18:33:50 +0900 Subject: [PATCH] Rename remaining ntq[d-h]* related files to equivalent tq* Signed-off-by: Michele Calgaro --- configure | 2 +- doc/changes.doc | 2 +- doc/classchart.doc | 14 +- doc/features.doc | 2 +- doc/focus.doc | 4 +- doc/html/annotated.html | 16 +- doc/html/application.html | 4 +- doc/html/classchart.html | 14 +- doc/html/classes.html | 16 +- doc/html/designer-manual-2.html | 4 +- doc/html/dialogs.html | 2 +- doc/html/events.html | 4 +- doc/html/focus.html | 4 +- doc/html/functions.html | 134 ++++----- doc/html/headerfilesynonyms | 10 +- doc/html/headers.html | 12 +- doc/html/hierarchy.html | 16 +- doc/html/index | 206 +++++++------- doc/html/keyfeatures30.html | 2 +- doc/html/licenses.html | 2 +- doc/html/life-example.html | 2 +- doc/html/lineedits-example.html | 4 +- doc/html/mainclasses.html | 4 +- doc/html/misc.html | 8 +- doc/html/porting.html | 10 +- doc/html/propertydocs | 136 ++++----- doc/html/propertyindex | 34 +-- doc/html/qdoublevalidator-members.html | 26 +- doc/html/qdoublevalidator.html | 32 +-- doc/html/qintvalidator-members.html | 4 +- doc/html/qintvalidator.html | 20 +- doc/html/qkeyevent.html | 2 +- doc/html/qmag-example.html | 4 +- doc/html/qshowevent.html | 2 +- doc/html/qt.dcf | 258 +++++++++--------- doc/html/themes-example.html | 4 +- doc/html/tictac-example.html | 2 +- doc/html/titleindex | 44 +-- doc/html/tqcombobox.html | 10 +- doc/html/tqdialog.html | 2 +- .../{qdockarea-h.html => tqdockarea-h.html} | 12 +- ...a-members.html => tqdockarea-members.html} | 30 +- .../{ntqdockarea.html => tqdockarea.html} | 58 ++-- ...qdockwindow-h.html => tqdockwindow-h.html} | 10 +- ...members.html => tqdockwindow-members.html} | 80 +++--- .../{ntqdockwindow.html => tqdockwindow.html} | 76 +++--- .../{qdockwindow.png => tqdockwindow.png} | Bin .../{qdrawutil-h.html => tqdrawutil-h.html} | 10 +- ...ormessage-h.html => tqerrormessage-h.html} | 10 +- ...mbers.html => tqerrormessage-members.html} | 12 +- ...qerrormessage.html => tqerrormessage.html} | 10 +- .../{qerrormessage.png => tqerrormessage.png} | Bin doc/html/tqevent.html | 8 +- .../{qfocusdata-h.html => tqfocusdata-h.html} | 10 +- ...-members.html => tqfocusdata-members.html} | 18 +- .../{ntqfocusdata.html => tqfocusdata.html} | 6 +- ...members.html => tqfocusevent-members.html} | 14 +- .../{qfocusevent.html => tqfocusevent.html} | 6 +- doc/html/tqframe.html | 2 +- doc/html/tqglobal-h.html | 2 +- ...-members.html => tqhideevent-members.html} | 4 +- .../{qhideevent.html => tqhideevent.html} | 2 +- doc/html/tqimagedecoder.html | 2 +- doc/html/tqlineedit.html | 8 +- doc/html/tqmainwindow.html | 60 ++-- doc/html/tqmovie.html | 2 +- doc/html/tqobject.html | 2 +- doc/html/tqpainter.html | 12 +- doc/html/tqregexpvalidator-members.html | 4 +- doc/html/tqregexpvalidator.html | 24 +- doc/html/tqscrollbar.html | 2 +- doc/html/tqspinbox.html | 6 +- doc/html/tqstyle.html | 14 +- doc/html/tqtoolbar-h.html | 2 +- doc/html/tqtoolbar-members.html | 74 ++--- doc/html/tqtoolbar.html | 26 +- doc/html/tqtoolbutton.html | 2 +- doc/html/tqurl.html | 4 +- .../{qvalidator-h.html => tqvalidator-h.html} | 10 +- ...-members.html => tqvalidator-members.html} | 12 +- .../{ntqvalidator.html => tqvalidator.html} | 14 +- doc/html/tqwidget.html | 16 +- doc/html/tutorial2-11.html | 2 +- doc/html/whatsthis | 16 +- doc/html/wizard-example.html | 2 +- doc/html/wizard-wizard-cpp.html | 2 +- doc/man/man3/tqcombobox.3qt | 14 +- doc/man/man3/tqdialog.3qt | 2 +- doc/man/man3/tqdockarea.3qt | 88 +++--- doc/man/man3/tqdockwindow.3qt | 152 +++++------ doc/man/man3/tqdoublevalidator.3qt | 46 ++-- doc/man/man3/tqerrormessage.3qt | 32 +-- doc/man/man3/tqevent.3qt | 8 +- doc/man/man3/tqfocusdata.3qt | 24 +- doc/man/man3/tqfocusevent.3qt | 38 +-- doc/man/man3/tqframe.3qt | 2 +- doc/man/man3/tqhideevent.3qt | 14 +- doc/man/man3/tqimagedecoder.3qt | 2 +- doc/man/man3/tqintvalidator.3qt | 14 +- doc/man/man3/tqkeyevent.3qt | 2 +- doc/man/man3/tqlineedit.3qt | 10 +- doc/man/man3/tqmainwindow.3qt | 114 ++++---- doc/man/man3/tqmovie.3qt | 2 +- doc/man/man3/tqobject.3qt | 2 +- doc/man/man3/tqpainter.3qt | 12 +- doc/man/man3/tqregexpvalidator.3qt | 14 +- doc/man/man3/tqscrollbar.3qt | 4 +- doc/man/man3/tqshowevent.3qt | 2 +- doc/man/man3/tqspinbox.3qt | 10 +- doc/man/man3/tqstyle.3qt | 12 +- doc/man/man3/tqtoolbar.3qt | 10 +- doc/man/man3/tqurl.3qt | 4 +- doc/man/man3/tqvalidator.3qt | 42 +-- doc/man/man3/tqwidget.3qt | 24 +- doc/porting3.doc | 18 +- doc/tutorial2.doc | 2 +- examples/demo/qthumbwheel.cpp | 2 +- examples/life/life.cpp | 2 +- examples/lineedits/lineedits.cpp | 2 +- examples/themes/metal.cpp | 2 +- examples/themes/wood.cpp | 2 +- examples/tictac/tictac.cpp | 2 +- examples/wizard/wizard.cpp | 2 +- include/ntqdockarea.h | 1 - include/ntqdockwindow.h | 1 - include/ntqdrawutil.h | 1 - include/ntqerrormessage.h | 1 - include/ntqfeatures.h | 1 - include/ntqfocusdata.h | 1 - include/ntqgif.h | 1 - include/ntqvalidator.h | 1 - include/tqdockarea.h | 1 + include/tqdockwindow.h | 1 + include/tqdrawutil.h | 1 + include/tqerrormessage.h | 1 + include/tqfeatures.h | 1 + include/tqfocusdata.h | 1 + include/tqgif.h | 1 + include/tqvalidator.h | 1 + src/dialogs/qinputdialog.cpp | 2 +- src/dialogs/qt_dialogs.pri | 4 +- src/dialogs/tqcolordialog.cpp | 4 +- src/dialogs/tqdialog.cpp | 2 +- .../{qerrormessage.cpp => tqerrormessage.cpp} | 4 +- .../{ntqerrormessage.h => tqerrormessage.h} | 0 src/dialogs/tqfontdialog.cpp | 2 +- src/dialogs/tqprogressdialog.cpp | 2 +- src/kernel/ntqt.h | 16 +- src/kernel/qapplication.cpp | 4 +- src/kernel/qrichtext.cpp | 2 +- src/kernel/qt_kernel.pri | 10 +- src/kernel/tqaccel.cpp | 2 +- src/kernel/tqasyncimageio.cpp | 16 +- src/kernel/tqdragobject.cpp | 2 +- src/kernel/{qdrawutil.cpp => tqdrawutil.cpp} | 14 +- src/kernel/{ntqdrawutil.h => tqdrawutil.h} | 0 .../{qfocusdata.cpp => tqfocusdata.cpp} | 4 +- src/kernel/{ntqfocusdata.h => tqfocusdata.h} | 0 src/kernel/{ntqgif.h => tqgif.h} | 0 src/kernel/tqmovie.cpp | 2 +- src/kernel/tqpainter.cpp | 2 +- src/kernel/tqurl.cpp | 4 +- src/kernel/tqwidget.cpp | 2 +- src/libqt.map | 2 +- src/styles/tqcdestyle.cpp | 2 +- src/styles/tqcommonstyle.cpp | 4 +- src/styles/tqcompactstyle.cpp | 2 +- src/styles/tqinterlacestyle.cpp | 2 +- src/styles/tqmotifplusstyle.cpp | 2 +- src/styles/tqmotifstyle.cpp | 6 +- src/styles/tqplatinumstyle.cpp | 2 +- src/styles/tqsgistyle.cpp | 2 +- src/styles/tqwindowsstyle.cpp | 4 +- src/table/tqtable.cpp | 2 +- src/tools/qwinexport.cpp | 4 +- src/tools/{ntqfeatures.h => tqfeatures.h} | 2 +- src/tools/{qfeatures.txt => tqfeatures.txt} | 2 +- src/tools/tqglobal.h | 2 +- src/widgets/qsplitter.cpp | 2 +- src/widgets/qt_widgets.pri | 12 +- src/widgets/qtitlebar_p.h | 2 +- src/widgets/tqcheckbox.cpp | 2 +- src/widgets/tqcombobox.cpp | 2 +- src/widgets/{qdockarea.cpp => tqdockarea.cpp} | 6 +- src/widgets/{ntqdockarea.h => tqdockarea.h} | 2 +- .../{qdockwindow.cpp => tqdockwindow.cpp} | 14 +- .../{ntqdockwindow.h => tqdockwindow.h} | 0 src/widgets/tqframe.cpp | 2 +- src/widgets/tqgroupbox.cpp | 4 +- src/widgets/tqheader.cpp | 2 +- src/widgets/tqlabel.cpp | 2 +- src/widgets/tqlineedit.cpp | 4 +- src/widgets/tqmainwindow.cpp | 2 +- src/widgets/tqmenubar.cpp | 2 +- src/widgets/tqpopupmenu.cpp | 2 +- src/widgets/tqprogressbar.cpp | 2 +- src/widgets/tqpushbutton.cpp | 2 +- src/widgets/tqradiobutton.cpp | 2 +- src/widgets/tqscrollview.cpp | 2 +- src/widgets/tqslider.cpp | 2 +- src/widgets/tqspinbox.cpp | 2 +- src/widgets/tqstatusbar.cpp | 2 +- src/widgets/tqtoolbar.cpp | 6 +- src/widgets/tqtoolbar.h | 2 +- src/widgets/tqtoolbutton.cpp | 4 +- .../{qvalidator.cpp => tqvalidator.cpp} | 2 +- src/widgets/{ntqvalidator.h => tqvalidator.h} | 0 src/widgets/tqwidgetstack.cpp | 2 +- src/workspace/tqworkspace.cpp | 6 +- tools/assistant/helpdialogimpl.cpp | 2 +- tools/assistant/helpdialogimpl.h | 2 +- tools/assistant/mainwindow.ui | 2 +- tools/designer/designer/asciivalidator.h | 2 +- tools/designer/designer/command.cpp | 2 +- tools/designer/designer/database.h | 2 +- tools/designer/designer/database2.h | 2 +- tools/designer/designer/formwindow.cpp | 2 +- tools/designer/designer/hierarchyview.cpp | 2 +- tools/designer/designer/mainwindow.cpp | 4 +- tools/designer/designer/project.cpp | 2 +- tools/designer/designer/project.h | 2 +- tools/designer/designer/propertyeditor.cpp | 2 +- tools/designer/designer/propertyeditor.h | 2 +- tools/designer/designer/resource.cpp | 2 +- tools/designer/designer/widgetfactory.cpp | 2 +- tools/designer/examples/metric/metric.ui.h | 2 +- tools/designer/plugins/wizards/main.cpp | 2 +- .../plugins/wizards/sqlformwizardimpl.cpp | 2 +- tools/designer/shared/widgetdatabase.cpp | 4 +- tools/designer/uilib/tqwidgetfactory.cpp | 2 +- tools/linguist/linguist/msgedit.cpp | 4 +- tools/linguist/linguist/trwindow.cpp | 4 +- tools/qconfig/main.cpp | 10 +- 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 +- 251 files changed, 1432 insertions(+), 1432 deletions(-) rename doc/html/{qdockarea-h.html => tqdockarea-h.html} (96%) rename doc/html/{qdockarea-members.html => tqdockarea-members.html} (95%) rename doc/html/{ntqdockarea.html => tqdockarea.html} (82%) rename doc/html/{qdockwindow-h.html => tqdockwindow-h.html} (96%) rename doc/html/{qdockwindow-members.html => tqdockwindow-members.html} (87%) rename doc/html/{ntqdockwindow.html => tqdockwindow.html} (85%) rename doc/html/{qdockwindow.png => tqdockwindow.png} (100%) rename doc/html/{qdrawutil-h.html => tqdrawutil-h.html} (95%) rename doc/html/{qerrormessage-h.html => tqerrormessage-h.html} (93%) rename doc/html/{qerrormessage-members.html => tqerrormessage-members.html} (98%) rename doc/html/{ntqerrormessage.html => tqerrormessage.html} (93%) rename doc/html/{qerrormessage.png => tqerrormessage.png} (100%) rename doc/html/{qfocusdata-h.html => tqfocusdata-h.html} (92%) rename doc/html/{qfocusdata-members.html => tqfocusdata-members.html} (77%) rename doc/html/{ntqfocusdata.html => tqfocusdata.html} (97%) rename doc/html/{qfocusevent-members.html => tqfocusevent-members.html} (80%) rename doc/html/{qfocusevent.html => tqfocusevent.html} (95%) rename doc/html/{qhideevent-members.html => tqhideevent-members.html} (92%) rename doc/html/{qhideevent.html => tqhideevent.html} (97%) rename doc/html/{qvalidator-h.html => tqvalidator-h.html} (95%) rename doc/html/{qvalidator-members.html => tqvalidator-members.html} (92%) rename doc/html/{ntqvalidator.html => tqvalidator.html} (89%) delete mode 120000 include/ntqdockarea.h delete mode 120000 include/ntqdockwindow.h delete mode 120000 include/ntqdrawutil.h delete mode 120000 include/ntqerrormessage.h delete mode 120000 include/ntqfeatures.h delete mode 120000 include/ntqfocusdata.h delete mode 120000 include/ntqgif.h delete mode 120000 include/ntqvalidator.h create mode 120000 include/tqdockarea.h create mode 120000 include/tqdockwindow.h create mode 120000 include/tqdrawutil.h create mode 120000 include/tqerrormessage.h create mode 120000 include/tqfeatures.h create mode 120000 include/tqfocusdata.h create mode 120000 include/tqgif.h create mode 120000 include/tqvalidator.h rename src/dialogs/{qerrormessage.cpp => tqerrormessage.cpp} (99%) rename src/dialogs/{ntqerrormessage.h => tqerrormessage.h} (100%) rename src/kernel/{qdrawutil.cpp => tqdrawutil.cpp} (99%) rename src/kernel/{ntqdrawutil.h => tqdrawutil.h} (100%) rename src/kernel/{qfocusdata.cpp => tqfocusdata.cpp} (98%) rename src/kernel/{ntqfocusdata.h => tqfocusdata.h} (100%) rename src/kernel/{ntqgif.h => tqgif.h} (100%) rename src/tools/{ntqfeatures.h => tqfeatures.h} (99%) rename src/tools/{qfeatures.txt => tqfeatures.txt} (99%) rename src/widgets/{qdockarea.cpp => tqdockarea.cpp} (99%) rename src/widgets/{ntqdockarea.h => tqdockarea.h} (99%) rename src/widgets/{qdockwindow.cpp => tqdockwindow.cpp} (99%) rename src/widgets/{ntqdockwindow.h => tqdockwindow.h} (100%) rename src/widgets/{qvalidator.cpp => tqvalidator.cpp} (99%) rename src/widgets/{ntqvalidator.h => tqvalidator.h} (100%) diff --git a/configure b/configure index 23595b42..ff3226ce 100755 --- a/configure +++ b/configure @@ -1758,7 +1758,7 @@ Configure options: * -no-gif ............ Do not compile in GIF reading support. -qt-gif ............ Compile in GIF reading support. - See src/kernel/ntqgif.h + See src/kernel/tqgif.h * -qt-zlib ........... Use the zlib bundled with Qt. -system-zlib ....... Use zlib from the operating system. diff --git a/doc/changes.doc b/doc/changes.doc index b025abdf..d9582dee 100644 --- a/doc/changes.doc +++ b/doc/changes.doc @@ -68,7 +68,7 @@ languages. Many new classes have been added to the TQt Library. Amongst them are classes that provide a docking architecture -(\l{QDockArea}/\l{QDockWindow}), a powerful rich text editor +(\l{TQDockArea}/\l{TQDockWindow}), a powerful rich text editor (TQTextEdit), a class to store and access application settings (TQSettings) and a class to create and communicate with processes (TQProcess). diff --git a/doc/classchart.doc b/doc/classchart.doc index 42c9fde1..754e0bf0 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -78,7 +78,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -127,8 +127,8 @@ - - + + @@ -147,7 +147,7 @@ - + @@ -186,7 +186,7 @@ - + @@ -200,7 +200,7 @@ - + diff --git a/doc/features.doc b/doc/features.doc index d2cb189a..721acc55 100644 --- a/doc/features.doc +++ b/doc/features.doc @@ -48,7 +48,7 @@ configure is used to select the configuration. The \c ntqconfig.h definition file simply defines macros to disable features. Some features are dependent on other features and these -dependencies are expressed in \c ntqfeatures.h. +dependencies are expressed in \c tqfeatures.h. The available options are: diff --git a/doc/focus.doc b/doc/focus.doc index 4c5083d7..1bb56292 100644 --- a/doc/focus.doc +++ b/doc/focus.doc @@ -89,8 +89,8 @@ moves focus along the circular list in one direction, Shift+Tab in the other. The order in which Tab presses move from widget to widget is called the tab order. -In Qt, this list is kept in the \l QFocusData class. There is one -QFocusData object per window, and widgets automatically append +In Qt, this list is kept in the \l TQFocusData class. There is one +TQFocusData object per window, and widgets automatically append themselves to the end of it when \l TQWidget::setFocusPolicy() is called with an appropriate \l TQWidget::FocusPolicy. You can customize the tab order using \l TQWidget::setTabOrder(). (If you don't, Tab diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 665e70d7..027153d5 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -113,8 +113,8 @@ body { background: #ffffff; color: black; } TQDictIteratorIterator for TQDict collections TQDirAccess to directory structures and their contents in a platform-independent way TQDnsAsynchronous DNS lookups -TQDockAreaManages and lays out TQDockWindows -TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop +TQDockAreaManages and lays out TQDockWindows +TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop TQDomAttrRepresents one attribute of a TQDomElement TQDomCDATASectionRepresents an XML CDATA section TQDomCharacterDataRepresents a generic string in the DOM @@ -132,14 +132,14 @@ body { background: #ffffff; color: black; } TQDomNotationRepresents an XML notation TQDomProcessingInstructionRepresents an XML processing instruction TQDomTextRepresents text data in the parsed XML document -TQDoubleValidatorRange checking of floating-point numbers +TQDoubleValidatorRange checking of floating-point numbers TQDragEnterEventEvent which is sent to the widget when a drag and drop first drags onto the widget TQDragLeaveEventEvent which is sent to the widget when a drag and drop leaves the widget TQDragMoveEventEvent which is sent while a drag and drop is in progress TQDragObjectEncapsulates MIME-based data transfer TQDropEventEvent which is sent when a drag and drop is completed TQEditorFactoryUsed to create editor widgets for TQVariant data types -TQErrorMessageError message display dialog +TQErrorMessageError message display dialog TQEucJpCodecConversion to and from EUC-JP character sets TQEucKrCodecConversion to and from EUC-KR character sets TQEventThe base class of all event classes. Event objects contain event parameters @@ -149,8 +149,8 @@ body { background: #ffffff; color: black; } TQFileIconProviderIcons for TQFileDialog to use TQFileInfoSystem-independent file information TQFilePreviewFile previewing in TQFileDialog -TQFocusDataMaintains the list of widgets in the focus chain -TQFocusEventEvent parameters for widget focus events +TQFocusDataMaintains the list of widgets in the focus chain +TQFocusEventEvent parameters for widget focus events TQFontFont used for drawing text TQFontDatabaseInformation about the fonts available in the underlying window system TQFontDialogDialog widget for selecting a font @@ -178,7 +178,7 @@ body { background: #ffffff; color: black; } TQHGroupBoxOrganizes widgets in a group with one horizontal row TQHeaderHeader row or column, e.g. for tables and listviews TQHebrewCodecConversion to and from visually ordered Hebrew -TQHideEventEvent which is sent after a widget is hidden +TQHideEventEvent which is sent after a widget is hidden TQHostAddressIP address TQHttpImplementation of the HTTP protocol TQHttpHeaderHeader information for HTTP @@ -391,7 +391,7 @@ body { background: #ffffff; color: black; } TQVBoxLayoutLines up widgets vertically TQVButtonGroupOrganizes TQButton widgets in a vertical column TQVGroupBoxOrganizes a group of widgets in a vertical column -TQValidatorValidation of input text +TQValidatorValidation of input text TQValueListValue-based template class that provides lists TQValueListConstIteratorConst iterator for TQValueList TQValueListIteratorIterator for TQValueList diff --git a/doc/html/application.html b/doc/html/application.html index 9faa2b1d..cc51ffcf 100644 --- a/doc/html/application.html +++ b/doc/html/application.html @@ -40,8 +40,8 @@ a statusbar, etc. TQActionAbstract user interface action that can appear both in menus and tool bars TQActionGroupGroups actions together TQApplicationManages the GUI application's control flow and main settings -TQDockAreaManages and lays out TQDockWindows -TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop +TQDockAreaManages and lays out TQDockWindows +TQDockWindowWidget which can be docked inside a TQDockArea or floated as a top level window on the desktop TQEventLoopManages the event queue TQMainWindowMain application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar TQMenuBarHorizontal menu bar diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 44042234..29f51e70 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; } - + @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; } - + @@ -117,8 +117,8 @@ body { background: #ffffff; color: black; } - - + + @@ -137,7 +137,7 @@ body { background: #ffffff; color: black; } - + @@ -176,7 +176,7 @@ body { background: #ffffff; color: black; } - + @@ -190,7 +190,7 @@ body { background: #ffffff; color: black; } - + diff --git a/doc/html/classes.html b/doc/html/classes.html index 34b839bd..aa01dfcd 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -95,7 +95,7 @@ classes, see TQt's Main Classes. TQActionGroup -TQDockArea +TQDockArea TQImageDrag @@ -106,7 +106,7 @@ classes, see TQt's Main Classes. TQApplication -TQDockWindow +TQDockWindow TQImageFormat @@ -304,7 +304,7 @@ classes, see TQt's Main Classes. TQBitmap -TQDoubleValidator +TQDoubleValidator TQLayout @@ -381,7 +381,7 @@ classes, see TQt's Main Classes. TQByteArray -TQErrorMessage +TQErrorMessage TQListBoxItem @@ -442,7 +442,7 @@ classes, see TQt's Main Classes. TQSignalMapper V -TQValidator +TQValidator TQCanvasItemList @@ -491,7 +491,7 @@ classes, see TQt's Main Classes. TQCanvasPolygon -TQFocusData +TQFocusData TQMainWindow @@ -502,7 +502,7 @@ classes, see TQt's Main Classes. TQCanvasPolygonalItem -TQFocusEvent +TQFocusEvent TQMap @@ -842,7 +842,7 @@ classes, see TQt's Main Classes. TQDataTable -TQHideEvent +TQHideEvent TQObjectList diff --git a/doc/html/designer-manual-2.html b/doc/html/designer-manual-2.html index a575d8c1..bb21d593 100644 --- a/doc/html/designer-manual-2.html +++ b/doc/html/designer-manual-2.html @@ -264,13 +264,13 @@ body { background: #ffffff; color: black; }

Next, we will implement the init() function which is called when the dialog is created.

    void ConversionForm::init()
     {
-        numberLineEdit->setValidator( new TQDoubleValidator( numberLineEdit ) );
+        numberLineEdit->setValidator( new TQDoubleValidator( numberLineEdit ) );
         numberLineEdit->setText( "10" );
         convert();
         numberLineEdit->selectAll();
     }
 
-

For this function, we set a validator on the numberLineEdit so that the user can only input numbers. To be able to do this, we also need to add #include <ntqvalidator.h> at the top of the "conversionform.ui.h" file, before the init() function. Lastly, we set the initial input.

+

For this function, we set a validator on the numberLineEdit so that the user can only input numbers. To be able to do this, we also need to add #include <tqvalidator.h> at the top of the "conversionform.ui.h" file, before the init() function. Lastly, we set the initial input.

We are almost ready to run the application. Before we compile the application, we need a main.cpp file.