From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/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/ntqlabel.html | 420 ------------- doc/html/ntqlcdnumber.html | 2 +- doc/html/ntqlineedit.html | 4 +- doc/html/ntqlocale.html | 852 -------------------------- doc/html/ntqprogressdialog.html | 2 +- doc/html/ntqscrollview.html | 22 +- doc/html/ntqsimplerichtext.html | 223 ------- doc/html/ntqsyntaxhighlighter.html | 158 ----- doc/html/ntqt.html | 4 +- doc/html/ntqwhatsthis.html | 239 -------- 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/qchar-members.html | 74 --- doc/html/qchar.html | 599 ------------------ doc/html/qcharref-members.html | 46 -- doc/html/qcharref.html | 64 -- doc/html/qconststring-members.html | 49 -- doc/html/qconststring.html | 91 --- doc/html/qfd-example.html | 6 +- doc/html/qgridlayout.html | 2 +- doc/html/qlabel-h.html | 219 ------- doc/html/qlabel-m.png | Bin 318 -> 0 bytes doc/html/qlabel-members.html | 378 ------------ doc/html/qlabel-w.png | Bin 318 -> 0 bytes doc/html/qlocale-h.html | 539 ---------------- doc/html/qlocale-members.html | 67 -- doc/html/qmag-example.html | 16 +- doc/html/qmake-manual-7.html | 6 +- doc/html/qprogressdialog-h.html | 2 +- doc/html/qsimplerichtext-h.html | 149 ----- doc/html/qsimplerichtext-members.html | 58 -- doc/html/qsyntaxhighlighter-h.html | 126 ---- doc/html/qsyntaxhighlighter-members.html | 53 -- doc/html/qt.dcf | 302 ++++----- doc/html/qwhatsthis-h.html | 126 ---- doc/html/qwhatsthis-members.html | 59 -- 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 +- doc/html/tqchar-members.html | 74 +++ doc/html/tqchar.html | 599 ++++++++++++++++++ doc/html/tqcharref-members.html | 46 ++ doc/html/tqcharref.html | 64 ++ doc/html/tqconststring-members.html | 49 ++ doc/html/tqconststring.html | 91 +++ doc/html/tqdir-example.html | 4 +- doc/html/tqfiledialog.html | 18 +- doc/html/tqfontmetrics.html | 12 +- doc/html/tqimageconsumer.html | 2 +- doc/html/tqlabel-h.html | 219 +++++++ doc/html/tqlabel-m.png | Bin 0 -> 318 bytes doc/html/tqlabel-members.html | 378 ++++++++++++ doc/html/tqlabel-w.png | Bin 0 -> 318 bytes doc/html/tqlabel.html | 420 +++++++++++++ doc/html/tqlocale-h.html | 539 ++++++++++++++++ doc/html/tqlocale-members.html | 67 ++ doc/html/tqlocale.html | 852 ++++++++++++++++++++++++++ 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 +- doc/html/tqsimplerichtext-h.html | 149 +++++ doc/html/tqsimplerichtext-members.html | 58 ++ doc/html/tqsimplerichtext.html | 223 +++++++ 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 +- doc/html/tqsyntaxhighlighter-h.html | 126 ++++ doc/html/tqsyntaxhighlighter-members.html | 53 ++ doc/html/tqsyntaxhighlighter.html | 158 +++++ 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 +- doc/html/tqwhatsthis-h.html | 126 ++++ doc/html/tqwhatsthis-members.html | 59 ++ doc/html/tqwhatsthis.html | 239 ++++++++ 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 +- 179 files changed, 5664 insertions(+), 5664 deletions(-) delete mode 100644 doc/html/ntqlabel.html delete mode 100644 doc/html/ntqlocale.html delete mode 100644 doc/html/ntqsimplerichtext.html delete mode 100644 doc/html/ntqsyntaxhighlighter.html delete mode 100644 doc/html/ntqwhatsthis.html delete mode 100644 doc/html/qchar-members.html delete mode 100644 doc/html/qchar.html delete mode 100644 doc/html/qcharref-members.html delete mode 100644 doc/html/qcharref.html delete mode 100644 doc/html/qconststring-members.html delete mode 100644 doc/html/qconststring.html delete mode 100644 doc/html/qlabel-h.html delete mode 100644 doc/html/qlabel-m.png delete mode 100644 doc/html/qlabel-members.html delete mode 100644 doc/html/qlabel-w.png delete mode 100644 doc/html/qlocale-h.html delete mode 100644 doc/html/qlocale-members.html delete mode 100644 doc/html/qsimplerichtext-h.html delete mode 100644 doc/html/qsimplerichtext-members.html delete mode 100644 doc/html/qsyntaxhighlighter-h.html delete mode 100644 doc/html/qsyntaxhighlighter-members.html delete mode 100644 doc/html/qwhatsthis-h.html delete mode 100644 doc/html/qwhatsthis-members.html create mode 100644 doc/html/tqchar-members.html create mode 100644 doc/html/tqchar.html create mode 100644 doc/html/tqcharref-members.html create mode 100644 doc/html/tqcharref.html create mode 100644 doc/html/tqconststring-members.html create mode 100644 doc/html/tqconststring.html create mode 100644 doc/html/tqlabel-h.html create mode 100644 doc/html/tqlabel-m.png create mode 100644 doc/html/tqlabel-members.html create mode 100644 doc/html/tqlabel-w.png create mode 100644 doc/html/tqlabel.html create mode 100644 doc/html/tqlocale-h.html create mode 100644 doc/html/tqlocale-members.html create mode 100644 doc/html/tqlocale.html create mode 100644 doc/html/tqsimplerichtext-h.html create mode 100644 doc/html/tqsimplerichtext-members.html create mode 100644 doc/html/tqsimplerichtext.html create mode 100644 doc/html/tqsyntaxhighlighter-h.html create mode 100644 doc/html/tqsyntaxhighlighter-members.html create mode 100644 doc/html/tqsyntaxhighlighter.html create mode 100644 doc/html/tqwhatsthis-h.html create mode 100644 doc/html/tqwhatsthis-members.html create mode 100644 doc/html/tqwhatsthis.html (limited to 'doc/html') diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index c6210bcbe..0c6181e81 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 2e4c1b9b8..32bfa1487 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 d03b54b71..f8497d5e1 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 7b463722d..bc98e34e0 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 e6c2b89c6..a38061851 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 3816533cf..bec50c913 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 29fd97dd1..8c58cfa8d 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 19e358086..521544277 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 c2e9c60c7..5ce0a3358 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 d4bcd90bd..01b0c33bd 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 b6769df14..1ade74bb7 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 1e87be29c..61a72baa6 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 059683a0e..81a5f8038 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 6ad8ab235..f2d118ef8 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 a11fd1027..da0ce0394 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 e24eb2ef3..548640459 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 aa44a1fd8..480aefb07 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 89a7ccee6..272713f50 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 0358ed903..e2c643440 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 d38531010..173079c6b 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 e796a979d..c470dabe2 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 341700edc..7677a1e80 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 a4aa70adf..81fe0c860 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 8b0006a64..d12f9d009 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 0a9f9ce6f..e29097db0 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 6af4729e7..bbf9babb1 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 36aa1ec7c..aa29c5772 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 ae09aa360..4be978c14 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 d30c28011..013cc6eb5 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 ef6b103aa..ce1ceb4fd 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 a7ce8ee94..b9a912013 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 96fdea355..8b0e9ee2e 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 6da44b2f7..f94b0ff6d 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 bc7f68f6e..eec9d3029 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 7c6d6ede2..a682255dd 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 6d2194821..4b66bb896 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 45012a587..f5a687711 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/ntqlabel.html b/doc/html/ntqlabel.html
          deleted file mode 100644
          index 72312e980..000000000
          --- a/doc/html/ntqlabel.html
          +++ /dev/null
          @@ -1,420 +0,0 @@
          -
          -
          -
          -
          -
          -TQLabel Class
          -
          -
          -
          -
          -
          -
          -
          -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          TQLabel Class Reference

          - -

          The TQLabel widget provides a text or image display. -More... -

          #include <ntqlabel.h> -

          Inherits TQFrame. -

          List of all member functions. -

          Public Members

          -
            -
          • TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • -
          • TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • -
          • TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • -
          • ~TQLabel ()
          • -
          • TQString text () const
          • -
          • TQPixmap * pixmap () const
          • -
          • TQPicture * picture () const
          • -
          • TQMovie * movie () const
          • -
          • TextFormat textFormat () const
          • -
          • void setTextFormat ( TextFormat )
          • -
          • int alignment () const
          • -
          • virtual void setAlignment ( int )
          • -
          • int indent () const
          • -
          • void setIndent ( int )
          • -
          • bool autoResize () const  (obsolete)
          • -
          • virtual void setAutoResize ( bool enable )  (obsolete)
          • -
          • bool hasScaledContents () const
          • -
          • void setScaledContents ( bool )
          • -
          • virtual void setBuddy ( TQWidget * buddy )
          • -
          • TQWidget * buddy () const
          • -
          • virtual void setFont ( const TQFont & f )
          • -
          -

          Public Slots

          -
            -
          • virtual void setText ( const TQString & )
          • -
          • virtual void setPixmap ( const TQPixmap & )
          • -
          • virtual void setPicture ( const TQPicture & picture )
          • -
          • virtual void setMovie ( const TQMovie & movie )
          • -
          • virtual void setNum ( int num )
          • -
          • virtual void setNum ( double num )
          • -
          • void clear ()
          • -
          -

          Properties

          -
            -
          • Alignment alignment - the alignment of the label's contents
          • -
          • BackgroundMode backgroundMode - the label's background mode  (read only)
          • -
          • int indent - the label's text indent in pixels
          • -
          • TQPixmap pixmap - the label's pixmap
          • -
          • bool scaledContents - whether the label will scale its contents to fill all available space
          • -
          • TQString text - the label's text
          • -
          • TextFormat textFormat - the label's text format
          • -
          -

          Protected Members

          - -

          Detailed Description

          - - -The TQLabel widget provides a text or image display. -

          - - -

          TQLabel is used for displaying text or an image. No user -interaction functionality is provided. The visual appearance of -the label can be configured in various ways, and it can be used -for specifying a focus accelerator key for another widget. -

          A TQLabel can contain any of the following content types: -

          -
          Content Setting -
          Plain text -Pass a TQString to setText(). -
          Rich text -Pass a TQString that contains rich text to setText(). -
          A pixmap -Pass a TQPixmap to setPixmap(). -
          A movie -Pass a TQMovie to setMovie(). -
          A number -Pass an int or a double to setNum(), which converts -the number to plain text. -
          Nothing -The same as an empty plain text. This is the default. Set -by clear(). -
          -

          When the content is changed using any of these functions, any -previous content is cleared. -

          The look of a TQLabel can be tuned in several ways. All the -settings of TQFrame are available for specifying a widget frame. -The positioning of the content within the TQLabel widget area can -be tuned with setAlignment() and setIndent(). For example, this -code sets up a sunken panel with a two-line text in the bottom -right corner (both lines being flush with the right side of the -label): -

          -    TQLabel *label = new TQLabel( this );
          -    label->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
          -    label->setText( "first line\nsecond line" );
          -    label->setAlignment( AlignBottom | AlignRight );
          -    
          - -

          A TQLabel is often used as a label for an interactive widget. For -this use TQLabel provides a useful mechanism for adding an -accelerator key (see TQAccel) that will set the keyboard focus to -the other widget (called the TQLabel's "buddy"). For example: -

          -    TQLineEdit* phoneEdit = new TQLineEdit( this, "phoneEdit" );
          -    TQLabel* phoneLabel = new TQLabel( phoneEdit, "&Phone:", this, "phoneLabel" );
          -    
          - -

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

          -

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


          Member Function Documentation

          -

          TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 ) -

          -Constructs an empty label. -

          The parent, name and widget flag f, arguments are passed -to the TQFrame constructor. -

          See also alignment, setFrameStyle(), and indent. - -

          TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 ) -

          -Constructs a label that displays the text, text. -

          The parent, name and widget flag f, arguments are passed -to the TQFrame constructor. -

          See also text, alignment, setFrameStyle(), and indent. - -

          TQLabel::TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 ) -

          -Constructs a label that displays the text text. The label has a -buddy widget, buddy. -

          If the text contains an underlined letter (a letter preceded by -an ampersand, &), and the text is in plain text format, when the -user presses Alt+ the underlined letter, focus is passed to the -buddy widget. -

          The parent, name and widget flag, f, arguments are passed -to the TQFrame constructor. -

          See also text, setBuddy(), alignment, setFrameStyle(), and indent. - -

          TQLabel::~TQLabel () -

          -Destroys the label. - -

          int TQLabel::alignment () const -

          Returns the alignment of the label's contents. -See the "alignment" property for details. -

          bool TQLabel::autoResize () const -

          - -

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

          Returns TRUE if auto-resizing is enabled, or FALSE if auto-resizing -is disabled. -

          Auto-resizing is disabled by default. -

          See also setAutoResize(). - -

          TQWidget * TQLabel::buddy () const -

          -Returns this label's buddy, or 0 if no buddy is currently set. -

          See also setBuddy(). - -

          void TQLabel::clear () [slot] -

          -Clears any label contents. Equivalent to setText( "" ). - -

          void TQLabel::drawContents ( TQPainter * p ) [virtual protected] -

          -Draws the label contents using the painter p. - -

          Reimplemented from TQFrame. -

          bool TQLabel::hasScaledContents () const -

          Returns TRUE if the label will scale its contents to fill all available space; otherwise returns FALSE. -See the "scaledContents" property for details. -

          int TQLabel::indent () const -

          Returns the label's text indent in pixels. -See the "indent" property for details. -

          TQMovie * TQLabel::movie () const -

          -Returns a pointer to the label's movie, or 0 if no movie has been -set. -

          See also setMovie(). - -

          TQPicture * TQLabel::picture () const -

          - -

          Returns the label's picture or 0 if the label doesn't have a -picture. - -

          TQPixmap * TQLabel::pixmap () const -

          Returns the label's pixmap. -See the "pixmap" property for details. -

          void TQLabel::setAlignment ( int ) [virtual] -

          Sets the alignment of the label's contents. -See the "alignment" property for details. -

          void TQLabel::setAutoResize ( bool enable ) [virtual] -

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

          Enables auto-resizing if enable is TRUE, or disables it if enable is FALSE. -

          When auto-resizing is enabled the label will resize itself to fit -the contents whenever the contents change. The top-left corner is -not moved. This is useful for TQLabel widgets that are not managed by -a TQLayout (e.g., top-level widgets). -

          Auto-resizing is disabled by default. -

          See also autoResize(), adjustSize(), and sizeHint. - -

          void TQLabel::setBuddy ( TQWidget * buddy ) [virtual] -

          -Sets this label's buddy to buddy. -

          When the user presses the accelerator key indicated by this label, -the keyboard focus is transferred to the label's buddy widget. -

          The buddy mechanism is only available for TQLabels that contain -plain text in which one letter is prefixed with an ampersand, &. -This letter is set as the accelerator key. The letter is displayed -underlined, and the '&' is not displayed (i.e. the ShowPrefix -alignment flag is turned on; see setAlignment()). -

          In a dialog, you might create two data entry widgets and a label -for each, and set up the geometry layout so each label is just to -the left of its data entry widget (its "buddy"), for example: -

          -    TQLineEdit *nameEd  = new TQLineEdit( this );
          -    TQLabel    *nameLb  = new TQLabel( "&Name:", this );
          -    nameLb->setBuddy( nameEd );
          -    TQLineEdit *phoneEd = new TQLineEdit( this );
          -    TQLabel    *phoneLb = new TQLabel( "&Phone:", this );
          -    phoneLb->setBuddy( phoneEd );
          -    // ( layout setup not shown )
          -    
          - -

          With the code above, the focus jumps to the Name field when the -user presses Alt+N, and to the Phone field when the user presses -Alt+P. -

          To unset a previously set buddy, call this function with buddy -set to 0. -

          See also buddy(), text, TQAccel, and alignment. - -

          Examples: addressbook/centralwidget.cpp, chart/optionsform.cpp, and regexptester/regexptester.cpp. -

          void TQLabel::setFont ( const TQFont & f ) [virtual] -

          -Sets the font used on the TQLabel to font f. - -

          Example: menu/menu.cpp. -

          Reimplemented from TQWidget. -

          void TQLabel::setIndent ( int ) -

          Sets the label's text indent in pixels. -See the "indent" property for details. -

          void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot] -

          -Sets the label contents to movie. Any previous content is -cleared. -

          The buddy accelerator, if any, is disabled. -

          The label resizes itself if auto-resizing is enabled. -

          See also movie() and setBuddy(). - -

          void TQLabel::setNum ( int num ) [virtual slot] -

          -Sets the label contents to plain text containing the textual -representation of integer num. Any previous content is cleared. -Does nothing if the integer's string representation is the same as -the current contents of the label. -

          The buddy accelerator, if any, is disabled. -

          The label resizes itself if auto-resizing is enabled. -

          See also text, TQString::setNum(), and setBuddy(). - -

          void TQLabel::setNum ( double num ) [virtual slot] -

          -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          Sets the label contents to plain text containing the textual -representation of double num. Any previous content is cleared. -Does nothing if the double's string representation is the same as -the current contents of the label. -

          The buddy accelerator, if any, is disabled. -

          The label resizes itself if auto-resizing is enabled. -

          See also text, TQString::setNum(), and setBuddy(). - -

          void TQLabel::setPicture ( const TQPicture & picture ) [virtual slot] -

          -Sets the label contents to picture. Any previous content is -cleared. -

          The buddy accelerator, if any, is disabled. -

          See also picture() and setBuddy(). - -

          void TQLabel::setPixmap ( const TQPixmap & ) [virtual slot] -

          Sets the label's pixmap. -See the "pixmap" property for details. -

          void TQLabel::setScaledContents ( bool ) -

          Sets whether the label will scale its contents to fill all available space. -See the "scaledContents" property for details. -

          void TQLabel::setText ( const TQString & ) [virtual slot] -

          Sets the label's text. -See the "text" property for details. -

          void TQLabel::setTextFormat ( TextFormat ) -

          Sets the label's text format. -See the "textFormat" property for details. -

          TQString TQLabel::text () const -

          Returns the label's text. -See the "text" property for details. -

          TextFormat TQLabel::textFormat () const -

          Returns the label's text format. -See the "textFormat" property for details. -


          Property Documentation

          -

          Alignment alignment

          -

          This property holds the alignment of the label's contents. -

          The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; -otherwise they are ignored. The DontClip flag is always -ignored. WordBreak applies to both rich text and plain text -labels. The BreakAnywhere flag is not supported in TQLabel. -

          If the label has a buddy, the ShowPrefix flag is forced to -TRUE. -

          The default alignment is AlignAuto | AlignVCenter | ExpandTabs -if the label doesn't have a buddy and AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix if the label has a buddy. If the label -contains rich text, additionally WordBreak is turned on. -

          See also TQt::AlignmentFlags, setBuddy(), and text. - -

          Set this property's value with setAlignment() and get this property's value with alignment(). -

          BackgroundMode backgroundMode

          -

          This property holds the label's background mode. -

          Get this property with backgroundMode(). -

          See also TQWidget::backgroundMode. - -

          int indent

          -

          This property holds the label's text indent in pixels. -

          If a label displays text, the indent applies to the left edge if -alignment() is AlignLeft, to the right edge if alignment() is -AlignRight, to the top edge if alignment() is AlignTop, and -to to the bottom edge if alignment() is AlignBottom. -

          If indent is negative, or if no indent has been set, the label -computes the effective indent as follows: If frameWidth() is 0, -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 font(). -

          See also alignment, frameWidth, and font. - -

          Set this property's value with setIndent() and get this property's value with indent(). -

          TQPixmap pixmap

          -

          This property holds the label's pixmap. -

          If no pixmap has been set this will return an invalid pixmap. -

          Setting the pixmap clears any previous content, and resizes the -label if TQLabel::autoResize() is TRUE. The buddy accelerator, -if any, is disabled. - -

          Set this property's value with setPixmap() and get this property's value with pixmap(). -

          bool scaledContents

          -

          This property holds whether the label will scale its contents to fill all available space. -

          When enabled and the label shows a pixmap, it will scale the -pixmap to fill the available space. -

          This property's default is FALSE. -

          See also scaledContents. - -

          Set this property's value with setScaledContents() and get this property's value with hasScaledContents(). -

          TQString text

          -

          This property holds the label's text. -

          If no text has been set this will return an empty string. Setting -the text clears any previous content, unless they are the same. -

          The text will be interpreted either as a plain text or as a rich -text, depending on the text format setting; see setTextFormat(). -The default setting is AutoText, i.e. TQLabel will try to -auto-detect the format of the text set. -

          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. -

          The label resizes itself if auto-resizing is enabled. -

          Note that Qlabel 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 TQTextEdit -in read-only mode instead. TQTextEdit will flicker less on resize -and can also provide a scrollbar when necessary. -

          See also textFormat, setBuddy(), and alignment. - -

          Set this property's value with setText() and get this property's value with text(). -

          TextFormat textFormat

          -

          This property holds the label's text format. -

          See the TQt::TextFormat enum for an explanation of the possible -options. -

          The default format is AutoText. -

          See also text. - -

          Set this property's value with setTextFormat() and get this property's value with textFormat(). - -


          -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/ntqlcdnumber.html b/doc/html/ntqlcdnumber.html index c95c02887..c613303ff 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 652cea296..8036cce59 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/ntqlocale.html b/doc/html/ntqlocale.html deleted file mode 100644 index 7906c11e1..000000000 --- a/doc/html/ntqlocale.html +++ /dev/null @@ -1,852 +0,0 @@ - - - - - -TQLocale Class - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          TQLocale Class Reference

          - -

          The TQLocale class converts between numbers and their -string representations in various languages. -More... -

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

          #include <ntqlocale.h> -

          List of all member functions. -

          Public Members

          -
            -
          • enum Language { C = 1, Abkhazian = 2, Afan = 3, Afar = 4, Afrikaans = 5, Albanian = 6, Amharic = 7, Arabic = 8, Armenian = 9, Assamese = 10, Aymara = 11, Azerbaijani = 12, Bashkir = 13, Basque = 14, Bengali = 15, Bhutani = 16, Bihari = 17, Bislama = 18, Breton = 19, Bulgarian = 20, Burmese = 21, Byelorussian = 22, Cambodian = 23, Catalan = 24, Chinese = 25, Corsican = 26, Croatian = 27, Czech = 28, Danish = 29, Dutch = 30, English = 31, Esperanto = 32, Estonian = 33, Faroese = 34, FijiLanguage = 35, Finnish = 36, French = 37, Frisian = 38, Gaelic = 39, Galician = 40, Georgian = 41, German = 42, Greek = 43, Greenlandic = 44, Guarani = 45, Gujarati = 46, Hausa = 47, Hebrew = 48, Hindi = 49, Hungarian = 50, Icelandic = 51, Indonesian = 52, Interlingua = 53, Interlingue = 54, Inuktitut = 55, Inupiak = 56, Irish = 57, Italian = 58, Japanese = 59, Javanese = 60, Kannada = 61, Kashmiri = 62, Kazakh = 63, Kinyarwanda = 64, Kirghiz = 65, Korean = 66, Kurdish = 67, Kurundi = 68, Laothian = 69, Latin = 70, Latvian = 71, Lingala = 72, Lithuanian = 73, Macedonian = 74, Malagasy = 75, Malay = 76, Malayalam = 77, Maltese = 78, Maori = 79, Marathi = 80, Moldavian = 81, Mongolian = 82, NauruLanguage = 83, Nepali = 84, Norwegian = 85, Occitan = 86, Oriya = 87, Pashto = 88, Persian = 89, Polish = 90, Portuguese = 91, Punjabi = 92, Quechua = 93, RhaetoRomance = 94, Romanian = 95, Russian = 96, Samoan = 97, Sangho = 98, Sanskrit = 99, Serbian = 100, SerboCroatian = 101, Sesotho = 102, Setswana = 103, Shona = 104, Sindhi = 105, Singhalese = 106, Siswati = 107, Slovak = 108, Slovenian = 109, Somali = 110, Spanish = 111, Sundanese = 112, Swahili = 113, Swedish = 114, Tagalog = 115, Tajik = 116, Tamil = 117, Tatar = 118, Telugu = 119, Thai = 120, Tibetan = 121, Tigrinya = 122, TongaLanguage = 123, Tsonga = 124, Turkish = 125, Turkmen = 126, Twi = 127, Uigur = 128, Ukrainian = 129, Urdu = 130, Uzbek = 131, Vietnamese = 132, Volapuk = 133, Welsh = 134, Wolof = 135, Xhosa = 136, Yiddish = 137, Yoruba = 138, Zhuang = 139, Zulu = 140, LastLanguage = Zulu }
          • -
          • enum Country { AnyCountry = 0, Afghanistan = 1, Albania = 2, Algeria = 3, AmericanSamoa = 4, Andorra = 5, Angola = 6, Anguilla = 7, Antarctica = 8, AntiguaAndBarbuda = 9, Argentina = 10, Armenia = 11, Aruba = 12, Australia = 13, Austria = 14, Azerbaijan = 15, Bahamas = 16, Bahrain = 17, Bangladesh = 18, Barbados = 19, Belarus = 20, Belgium = 21, Belize = 22, Benin = 23, Bermuda = 24, Bhutan = 25, Bolivia = 26, BosniaAndHerzegowina = 27, Botswana = 28, BouvetIsland = 29, Brazil = 30, BritishIndianOceanTerritory = 31, BruneiDarussalam = 32, Bulgaria = 33, BurkinaFaso = 34, Burundi = 35, Cambodia = 36, Cameroon = 37, Canada = 38, CapeVerde = 39, CaymanIslands = 40, CentralAfricanRepublic = 41, Chad = 42, Chile = 43, China = 44, ChristmasIsland = 45, CocosIslands = 46, Colombia = 47, Comoros = 48, DemocraticRepublicOfCongo = 49, PeoplesRepublicOfCongo = 50, CookIslands = 51, CostaRica = 52, IvoryCoast = 53, Croatia = 54, Cuba = 55, Cyprus = 56, CzechRepublic = 57, Denmark = 58, Djibouti = 59, Dominica = 60, DominicanRepublic = 61, EastTimor = 62, Ecuador = 63, Egypt = 64, ElSalvador = 65, EquatorialGuinea = 66, Eritrea = 67, Estonia = 68, Ethiopia = 69, FalklandIslands = 70, FaroeIslands = 71, FijiCountry = 72, Finland = 73, France = 74, MetropolitanFrance = 75, FrenchGuiana = 76, FrenchPolynesia = 77, FrenchSouthernTerritories = 78, Gabon = 79, Gambia = 80, Georgia = 81, Germany = 82, Ghana = 83, Gibraltar = 84, Greece = 85, Greenland = 86, Grenada = 87, Guadeloupe = 88, Guam = 89, Guatemala = 90, Guinea = 91, GuineaBissau = 92, Guyana = 93, Haiti = 94, HeardAndMcDonaldIslands = 95, Honduras = 96, HongKong = 97, Hungary = 98, Iceland = 99, India = 100, Indonesia = 101, Iran = 102, Iraq = 103, Ireland = 104, Israel = 105, Italy = 106, Jamaica = 107, Japan = 108, Jordan = 109, Kazakhstan = 110, Kenya = 111, Kiribati = 112, DemocraticRepublicOfKorea = 113, RepublicOfKorea = 114, Kuwait = 115, Kyrgyzstan = 116, Lao = 117, Latvia = 118, Lebanon = 119, Lesotho = 120, Liberia = 121, LibyanArabJamahiriya = 122, Liechtenstein = 123, Lithuania = 124, Luxembourg = 125, Macau = 126, Macedonia = 127, Madagascar = 128, Malawi = 129, Malaysia = 130, Maldives = 131, Mali = 132, Malta = 133, MarshallIslands = 134, Martinique = 135, Mauritania = 136, Mauritius = 137, Mayotte = 138, Mexico = 139, Micronesia = 140, Moldova = 141, Monaco = 142, Mongolia = 143, Montserrat = 144, Morocco = 145, Mozambique = 146, Myanmar = 147, Namibia = 148, NauruCountry = 149, Nepal = 150, Netherlands = 151, NetherlandsAntilles = 152, NewCaledonia = 153, NewZealand = 154, Nicaragua = 155, Niger = 156, Nigeria = 157, Niue = 158, NorfolkIsland = 159, NorthernMarianaIslands = 160, Norway = 161, Oman = 162, Pakistan = 163, Palau = 164, PalestinianTerritory = 165, Panama = 166, PapuaNewGuinea = 167, Paraguay = 168, Peru = 169, Philippines = 170, Pitcairn = 171, Poland = 172, Portugal = 173, PuertoRico = 174, Qatar = 175, Reunion = 176, Romania = 177, RussianFederation = 178, Rwanda = 179, SaintKittsAndNevis = 180, StLucia = 181, StVincentAndTheGrenadines = 182, Samoa = 183, SanMarino = 184, SaoTomeAndPrincipe = 185, SaudiArabia = 186, Senegal = 187, Seychelles = 188, SierraLeone = 189, Singapore = 190, Slovakia = 191, Slovenia = 192, SolomonIslands = 193, Somalia = 194, SouthAfrica = 195, SouthGeorgiaAndTheSouthSandwichIslands = 196, Spain = 197, SriLanka = 198, StHelena = 199, StPierreAndMiquelon = 200, Sudan = 201, Suriname = 202, SvalbardAndJanMayenIslands = 203, Swaziland = 204, Sweden = 205, Switzerland = 206, SyrianArabRepublic = 207, Taiwan = 208, Tajikistan = 209, Tanzania = 210, Thailand = 211, Togo = 212, Tokelau = 213, TongaCountry = 214, TrinidadAndTobago = 215, Tunisia = 216, Turkey = 217, Turkmenistan = 218, TurksAndCaicosIslands = 219, Tuvalu = 220, Uganda = 221, Ukraine = 222, UnitedArabEmirates = 223, UnitedKingdom = 224, UnitedStates = 225, UnitedStatesMinorOutlyingIslands = 226, Uruguay = 227, Uzbekistan = 228, Vanuatu = 229, VaticanCityState = 230, Venezuela = 231, VietNam = 232, BritishVirginIslands = 233, USVirginIslands = 234, WallisAndFutunaIslands = 235, WesternSahara = 236, Yemen = 237, Yugoslavia = 238, Zambia = 239, Zimbabwe = 240, LastCountry = Zimbabwe }
          • -
          • TQLocale ()
          • -
          • TQLocale ( const TQString & name )
          • -
          • TQLocale ( Language language, Country country = AnyCountry )
          • -
          • TQLocale ( const TQLocale & other )
          • -
          • TQLocale & operator= ( const TQLocale & other )
          • -
          • Language language () const
          • -
          • Country country () const
          • -
          • TQString name () const
          • -
          • short toShort ( const TQString & s, bool * ok = 0 ) const
          • -
          • ushort toUShort ( const TQString & s, bool * ok = 0 ) const
          • -
          • int toInt ( const TQString & s, bool * ok = 0 ) const
          • -
          • uint toUInt ( const TQString & s, bool * ok = 0 ) const
          • -
          • TQ_LONG toLong ( const TQString & s, bool * ok = 0 ) const
          • -
          • TQ_ULONG toULong ( const TQString & s, bool * ok = 0 ) const
          • -
          • TQ_LLONG toLongLong ( const TQString & s, bool * ok = 0 ) const
          • -
          • TQ_ULLONG toULongLong ( const TQString & s, bool * ok = 0 ) const
          • -
          • float toFloat ( const TQString & s, bool * ok = 0 ) const
          • -
          • double toDouble ( const TQString & s, bool * ok = 0 ) const
          • -
          • TQString toString ( short i ) const
          • -
          • TQString toString ( ushort i ) const
          • -
          • TQString toString ( int i ) const
          • -
          • TQString toString ( uint i ) const
          • -
          • TQString toString ( TQ_LONG i ) const
          • -
          • TQString toString ( TQ_ULONG i ) const
          • -
          • TQString toString ( TQ_LLONG i ) const
          • -
          • TQString toString ( TQ_ULLONG i ) const
          • -
          • TQString toString ( float i, char f = 'g', int prec = 6 ) const
          • -
          • TQString toString ( double i, char f = 'g', int prec = 6 ) const
          • -
          -

          Static Public Members

          - -

          Detailed Description

          - - -The TQLocale class converts between numbers and their -string representations in various languages. -

          - -

          It is initialized with a country/language pair in its constructor -and offers number-to-string and string-to-number conversion -functions simmilar to those in TQString. -

          -    TQLocale egyptian(TQLocale::Arabic, TQLocale::Egypt);
          -    TQString s1 = egyptian.toString(1.571429E+07, 'e');
          -    TQString s2 = egyptian.toString(10);
          -
          -    double d = egyptian.toDouble(s1);
          -    int s2 = egyptian.toInt(s2);
          -    
          - -

          TQLocale supports the concept of a default locale, which is -determined from the system's locale settings at application -startup. The default locale can be changed by calling the -static member setDefault(). The default locale has the -following effects: -

            -
          • If a TQLocale object is constructed with the default constructor, -it will use the default locale's settings. -
          • TQString::toDouble() interprets the string according to the default -locale. If this fails, it falls back on the "C" locale. -
          • TQString::arg() uses the default locale to format a number when -its position specifier in the format string contains an 'L', -e.g. "%L1". -
          -

          -    TQLocale::setDefault(TQLocale(TQLocale::Hebrew, TQLocale::Israel));
          -    TQLocale hebrew; // Constructs a default TQLocale
          -    TQString s1 = hebrew.toString(15714.3, 'e');
          -
          -    bool ok;
          -    double d;
          -
          -    TQLocale::setDefault(TQLocale::C);
          -    d = TQString( "1234,56" ).toDouble(&ok); // ok == false
          -    d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
          -
          -    TQLocale::setDefault(TQLocale::German);
          -    d = TQString( "1234,56" ).toDouble(&ok); // ok == true, d == 1234.56
          -    d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
          -
          -    TQLocale::setDefault(TQLocale(TQLocale::English, TQLocale::UnitedStates));
          -    str = TQString( "%1 %L2 %L3" )
          -            .arg( 12345 )
          -            .arg( 12345 )
          -            .arg( 12345, 0, 16 );
          -    // str == "12345 12,345 3039"
          -    
          - -

          When a language/country pair is specified in the constructor, one -of three things can happen: -

            -
          • If the language/country pair is found in the database, it is used. -
          • If the language is found but the country is not, or if the country -is AnyCountry, the language is used with the most -appropriate available country (for example, Germany for German), -
          • If neither the language nor the country are found, TQLocale -defaults to the default locale (see setDefault()). -
          -

          The "C" locale is identical to English/UnitedStates. -

          Use language() and country() to determine the actual language and -country values used. -

          An alternative method for constructing a TQLocale object is by -specifying the locale name. -

          -    TQLocale korean("ko");
          -    TQLocale swiss("de_CH");
          -    
          - -

          This constructor converts the locale name to a language/country -pair; it does not use the system locale database. -

          All the methods in TQLocale, with the exception of setDefault(), -are reentrant. -

          See also TQString::toDouble(), TQString::arg(), and Text Related Classes. - -

          The double-to-string and string-to-double conversion functions are -covered by the following licenses: -

          -

          Copyright (c) 1991 by AT&T. -

          Permission to use, copy, modify, and distribute this software for any -purpose without fee is hereby granted, provided that this entire notice -is included in all copies of any software which is or includes a copy -or modification of this software and in all copies of the supporting -documentation for such software. -

          THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED -WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY -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. - -


          Member Type Documentation

          -

          TQLocale::Country

          - -

          This enumerated type is used to specify a country. -

            -
          • TQLocale::AnyCountry -
          • TQLocale::Afghanistan -
          • TQLocale::Albania -
          • TQLocale::Algeria -
          • TQLocale::AmericanSamoa -
          • TQLocale::Andorra -
          • TQLocale::Angola -
          • TQLocale::Anguilla -
          • TQLocale::Antarctica -
          • TQLocale::AntiguaAndBarbuda -
          • TQLocale::Argentina -
          • TQLocale::Armenia -
          • TQLocale::Aruba -
          • TQLocale::Australia -
          • TQLocale::Austria -
          • TQLocale::Azerbaijan -
          • TQLocale::Bahamas -
          • TQLocale::Bahrain -
          • TQLocale::Bangladesh -
          • TQLocale::Barbados -
          • TQLocale::Belarus -
          • TQLocale::Belgium -
          • TQLocale::Belize -
          • TQLocale::Benin -
          • TQLocale::Bermuda -
          • TQLocale::Bhutan -
          • TQLocale::Bolivia -
          • TQLocale::BosniaAndHerzegowina -
          • TQLocale::Botswana -
          • TQLocale::BouvetIsland -
          • TQLocale::Brazil -
          • TQLocale::BritishIndianOceanTerritory -
          • TQLocale::BruneiDarussalam -
          • TQLocale::Bulgaria -
          • TQLocale::BurkinaFaso -
          • TQLocale::Burundi -
          • TQLocale::Cambodia -
          • TQLocale::Cameroon -
          • TQLocale::Canada -
          • TQLocale::CapeVerde -
          • TQLocale::CaymanIslands -
          • TQLocale::CentralAfricanRepublic -
          • TQLocale::Chad -
          • TQLocale::Chile -
          • TQLocale::China -
          • TQLocale::ChristmasIsland -
          • TQLocale::CocosIslands -
          • TQLocale::Colombia -
          • TQLocale::Comoros -
          • TQLocale::DemocraticRepublicOfCongo -
          • TQLocale::PeoplesRepublicOfCongo -
          • TQLocale::CookIslands -
          • TQLocale::CostaRica -
          • TQLocale::IvoryCoast -
          • TQLocale::Croatia -
          • TQLocale::Cuba -
          • TQLocale::Cyprus -
          • TQLocale::CzechRepublic -
          • TQLocale::Denmark -
          • TQLocale::Djibouti -
          • TQLocale::Dominica -
          • TQLocale::DominicanRepublic -
          • TQLocale::EastTimor -
          • TQLocale::Ecuador -
          • TQLocale::Egypt -
          • TQLocale::ElSalvador -
          • TQLocale::EquatorialGuinea -
          • TQLocale::Eritrea -
          • TQLocale::Estonia -
          • TQLocale::Ethiopia -
          • TQLocale::FalklandIslands -
          • TQLocale::FaroeIslands -
          • TQLocale::FijiCountry -
          • TQLocale::Finland -
          • TQLocale::France -
          • TQLocale::MetropolitanFrance -
          • TQLocale::FrenchGuiana -
          • TQLocale::FrenchPolynesia -
          • TQLocale::FrenchSouthernTerritories -
          • TQLocale::Gabon -
          • TQLocale::Gambia -
          • TQLocale::Georgia -
          • TQLocale::Germany -
          • TQLocale::Ghana -
          • TQLocale::Gibraltar -
          • TQLocale::Greece -
          • TQLocale::Greenland -
          • TQLocale::Grenada -
          • TQLocale::Guadeloupe -
          • TQLocale::Guam -
          • TQLocale::Guatemala -
          • TQLocale::Guinea -
          • TQLocale::GuineaBissau -
          • TQLocale::Guyana -
          • TQLocale::Haiti -
          • TQLocale::HeardAndMcDonaldIslands -
          • TQLocale::Honduras -
          • TQLocale::HongKong -
          • TQLocale::Hungary -
          • TQLocale::Iceland -
          • TQLocale::India -
          • TQLocale::Indonesia -
          • TQLocale::Iran -
          • TQLocale::Iraq -
          • TQLocale::Ireland -
          • TQLocale::Israel -
          • TQLocale::Italy -
          • TQLocale::Jamaica -
          • TQLocale::Japan -
          • TQLocale::Jordan -
          • TQLocale::Kazakhstan -
          • TQLocale::Kenya -
          • TQLocale::Kiribati -
          • TQLocale::DemocraticRepublicOfKorea -
          • TQLocale::RepublicOfKorea -
          • TQLocale::Kuwait -
          • TQLocale::Kyrgyzstan -
          • TQLocale::Lao -
          • TQLocale::Latvia -
          • TQLocale::Lebanon -
          • TQLocale::Lesotho -
          • TQLocale::Liberia -
          • TQLocale::LibyanArabJamahiriya -
          • TQLocale::Liechtenstein -
          • TQLocale::Lithuania -
          • TQLocale::Luxembourg -
          • TQLocale::Macau -
          • TQLocale::Macedonia -
          • TQLocale::Madagascar -
          • TQLocale::Malawi -
          • TQLocale::Malaysia -
          • TQLocale::Maldives -
          • TQLocale::Mali -
          • TQLocale::Malta -
          • TQLocale::MarshallIslands -
          • TQLocale::Martinique -
          • TQLocale::Mauritania -
          • TQLocale::Mauritius -
          • TQLocale::Mayotte -
          • TQLocale::Mexico -
          • TQLocale::Micronesia -
          • TQLocale::Moldova -
          • TQLocale::Monaco -
          • TQLocale::Mongolia -
          • TQLocale::Montserrat -
          • TQLocale::Morocco -
          • TQLocale::Mozambique -
          • TQLocale::Myanmar -
          • TQLocale::Namibia -
          • TQLocale::NauruCountry -
          • TQLocale::Nepal -
          • TQLocale::Netherlands -
          • TQLocale::NetherlandsAntilles -
          • TQLocale::NewCaledonia -
          • TQLocale::NewZealand -
          • TQLocale::Nicaragua -
          • TQLocale::Niger -
          • TQLocale::Nigeria -
          • TQLocale::Niue -
          • TQLocale::NorfolkIsland -
          • TQLocale::NorthernMarianaIslands -
          • TQLocale::Norway -
          • TQLocale::Oman -
          • TQLocale::Pakistan -
          • TQLocale::Palau -
          • TQLocale::PalestinianTerritory -
          • TQLocale::Panama -
          • TQLocale::PapuaNewGuinea -
          • TQLocale::Paraguay -
          • TQLocale::Peru -
          • TQLocale::Philippines -
          • TQLocale::Pitcairn -
          • TQLocale::Poland -
          • TQLocale::Portugal -
          • TQLocale::PuertoRico -
          • TQLocale::Qatar -
          • TQLocale::Reunion -
          • TQLocale::Romania -
          • TQLocale::RussianFederation -
          • TQLocale::Rwanda -
          • TQLocale::SaintKittsAndNevis -
          • TQLocale::StLucia -
          • TQLocale::StVincentAndTheGrenadines -
          • TQLocale::Samoa -
          • TQLocale::SanMarino -
          • TQLocale::SaoTomeAndPrincipe -
          • TQLocale::SaudiArabia -
          • TQLocale::Senegal -
          • TQLocale::Seychelles -
          • TQLocale::SierraLeone -
          • TQLocale::Singapore -
          • TQLocale::Slovakia -
          • TQLocale::Slovenia -
          • TQLocale::SolomonIslands -
          • TQLocale::Somalia -
          • TQLocale::SouthAfrica -
          • TQLocale::SouthGeorgiaAndTheSouthSandwichIslands -
          • TQLocale::Spain -
          • TQLocale::SriLanka -
          • TQLocale::StHelena -
          • TQLocale::StPierreAndMiquelon -
          • TQLocale::Sudan -
          • TQLocale::Suriname -
          • TQLocale::SvalbardAndJanMayenIslands -
          • TQLocale::Swaziland -
          • TQLocale::Sweden -
          • TQLocale::Switzerland -
          • TQLocale::SyrianArabRepublic -
          • TQLocale::Taiwan -
          • TQLocale::Tajikistan -
          • TQLocale::Tanzania -
          • TQLocale::Thailand -
          • TQLocale::Togo -
          • TQLocale::Tokelau -
          • TQLocale::TongaCountry -
          • TQLocale::TrinidadAndTobago -
          • TQLocale::Tunisia -
          • TQLocale::Turkey -
          • TQLocale::Turkmenistan -
          • TQLocale::TurksAndCaicosIslands -
          • TQLocale::Tuvalu -
          • TQLocale::Uganda -
          • TQLocale::Ukraine -
          • TQLocale::UnitedArabEmirates -
          • TQLocale::UnitedKingdom -
          • TQLocale::UnitedStates -
          • TQLocale::UnitedStatesMinorOutlyingIslands -
          • TQLocale::Uruguay -
          • TQLocale::Uzbekistan -
          • TQLocale::Vanuatu -
          • TQLocale::VaticanCityState -
          • TQLocale::Venezuela -
          • TQLocale::VietNam -
          • TQLocale::BritishVirginIslands -
          • TQLocale::USVirginIslands -
          • TQLocale::WallisAndFutunaIslands -
          • TQLocale::WesternSahara -
          • TQLocale::Yemen -
          • TQLocale::Yugoslavia -
          • TQLocale::Zambia -
          • TQLocale::Zimbabwe -
          -

          TQLocale::Language

          - -

          This enumerated type is used to specify a language. -

            -
          • TQLocale::C - Identical to English/UnitedStates -
          • TQLocale::Abkhazian -
          • TQLocale::Afan -
          • TQLocale::Afar -
          • TQLocale::Afrikaans -
          • TQLocale::Albanian -
          • TQLocale::Amharic -
          • TQLocale::Arabic -
          • TQLocale::Armenian -
          • TQLocale::Assamese -
          • TQLocale::Aymara -
          • TQLocale::Azerbaijani -
          • TQLocale::Bashkir -
          • TQLocale::Basque -
          • TQLocale::Bengali -
          • TQLocale::Bhutani -
          • TQLocale::Bihari -
          • TQLocale::Bislama -
          • TQLocale::Breton -
          • TQLocale::Bulgarian -
          • TQLocale::Burmese -
          • TQLocale::Byelorussian -
          • TQLocale::Cambodian -
          • TQLocale::Catalan -
          • TQLocale::Chinese -
          • TQLocale::Corsican -
          • TQLocale::Croatian -
          • TQLocale::Czech -
          • TQLocale::Danish -
          • TQLocale::Dutch -
          • TQLocale::English -
          • TQLocale::Esperanto -
          • TQLocale::Estonian -
          • TQLocale::Faroese -
          • TQLocale::FijiLanguage -
          • TQLocale::Finnish -
          • TQLocale::French -
          • TQLocale::Frisian -
          • TQLocale::Gaelic -
          • TQLocale::Galician -
          • TQLocale::Georgian -
          • TQLocale::German -
          • TQLocale::Greek -
          • TQLocale::Greenlandic -
          • TQLocale::Guarani -
          • TQLocale::Gujarati -
          • TQLocale::Hausa -
          • TQLocale::Hebrew -
          • TQLocale::Hindi -
          • TQLocale::Hungarian -
          • TQLocale::Icelandic -
          • TQLocale::Indonesian -
          • TQLocale::Interlingua -
          • TQLocale::Interlingue -
          • TQLocale::Inuktitut -
          • TQLocale::Inupiak -
          • TQLocale::Irish -
          • TQLocale::Italian -
          • TQLocale::Japanese -
          • TQLocale::Javanese -
          • TQLocale::Kannada -
          • TQLocale::Kashmiri -
          • TQLocale::Kazakh -
          • TQLocale::Kinyarwanda -
          • TQLocale::Kirghiz -
          • TQLocale::Korean -
          • TQLocale::Kurdish -
          • TQLocale::Kurundi -
          • TQLocale::Laothian -
          • TQLocale::Latin -
          • TQLocale::Latvian -
          • TQLocale::Lingala -
          • TQLocale::Lithuanian -
          • TQLocale::Macedonian -
          • TQLocale::Malagasy -
          • TQLocale::Malay -
          • TQLocale::Malayalam -
          • TQLocale::Maltese -
          • TQLocale::Maori -
          • TQLocale::Marathi -
          • TQLocale::Moldavian -
          • TQLocale::Mongolian -
          • TQLocale::NauruLanguage -
          • TQLocale::Nepali -
          • TQLocale::Norwegian -
          • TQLocale::Occitan -
          • TQLocale::Oriya -
          • TQLocale::Pashto -
          • TQLocale::Persian -
          • TQLocale::Polish -
          • TQLocale::Portuguese -
          • TQLocale::Punjabi -
          • TQLocale::Quechua -
          • TQLocale::RhaetoRomance -
          • TQLocale::Romanian -
          • TQLocale::Russian -
          • TQLocale::Samoan -
          • TQLocale::Sangho -
          • TQLocale::Sanskrit -
          • TQLocale::Serbian -
          • TQLocale::SerboCroatian -
          • TQLocale::Sesotho -
          • TQLocale::Setswana -
          • TQLocale::Shona -
          • TQLocale::Sindhi -
          • TQLocale::Singhalese -
          • TQLocale::Siswati -
          • TQLocale::Slovak -
          • TQLocale::Slovenian -
          • TQLocale::Somali -
          • TQLocale::Spanish -
          • TQLocale::Sundanese -
          • TQLocale::Swahili -
          • TQLocale::Swedish -
          • TQLocale::Tagalog -
          • TQLocale::Tajik -
          • TQLocale::Tamil -
          • TQLocale::Tatar -
          • TQLocale::Telugu -
          • TQLocale::Thai -
          • TQLocale::Tibetan -
          • TQLocale::Tigrinya -
          • TQLocale::TongaLanguage -
          • TQLocale::Tsonga -
          • TQLocale::Turkish -
          • TQLocale::Turkmen -
          • TQLocale::Twi -
          • TQLocale::Uigur -
          • TQLocale::Ukrainian -
          • TQLocale::Urdu -
          • TQLocale::Uzbek -
          • TQLocale::Vietnamese -
          • TQLocale::Volapuk -
          • TQLocale::Welsh -
          • TQLocale::Wolof -
          • TQLocale::Xhosa -
          • TQLocale::Yiddish -
          • TQLocale::Yoruba -
          • TQLocale::Zhuang -
          • TQLocale::Zulu -
          -

          Member Function Documentation

          -

          TQLocale::TQLocale () -

          -Constructs a TQLocale object initialized with the default locale. -

          See also setDefault(). - -

          TQLocale::TQLocale ( const TQString & name ) -

          -Constructs a TQLocale object with the specified name, -which has the format -"language[_country][.codeset][@modifier]" or "C", where: -

            -
          • language is a lowercase, two-letter, ISO 639 language code, -
          • territory is an uppercase, two-letter, ISO 3166 country code, -
          • and codeset and modifier are ignored. -
          -

          If the string violates the locale format, or language is not -a valid ISO 369 code, the "C" locale is used instead. If country -is not present, or is not a valid ISO 3166 code, the most -appropriate country is chosen for the specified language. -

          The language and country codes are converted to their respective -Language and Country enums. After this conversion is -performed the constructor behaves exactly like TQLocale(Country, -Language). -

          This constructor is much slower than TQLocale(Country, Language). -

          See also name(). - -

          TQLocale::TQLocale ( Language language, Country country = AnyCountry ) -

          -Constructs a TQLocale object with the specified language and country. -

            -
          • If the language/country pair is found in the database, it is used. -
          • If the language is found but the country is not, or if the country -is AnyCountry, the language is used with the most -appropriate available country (for example, Germany for German), -
          • If neither the language nor the country are found, TQLocale -defaults to the default locale (see setDefault()). -
          -

          The language and country that are actually used can be queried -using language() and country(). -

          See also setDefault(), language(), and country(). - -

          TQLocale::TQLocale ( const TQLocale & other ) -

          -Constructs a TQLocale object as a copy of other. - -

          TQLocale TQLocale::c () [static] -

          - -

          Returns a TQLocale object initialized to the "C" locale. -

          See also system(). - -

          Country TQLocale::country () const -

          -Returns the country of this locale. -

          See also TQLocale(). - -

          TQString TQLocale::countryToString ( Country country ) [static] -

          -Returns a TQString containing the name of country. - -

          Language TQLocale::language () const -

          -Returns the language of this locale. -

          See also TQLocale(). - -

          TQString TQLocale::languageToString ( Language language ) [static] -

          -Returns a TQString containing the name of language. - -

          TQString TQLocale::name () const -

          -Returns the language and country of this locale as a -string of the form "language_country", where -language is a lowercase, two-letter ISO 639 language code, -and country is an uppercase, two-letter ISO 3166 country code. -

          See also TQLocale(). - -

          TQLocale & TQLocale::operator= ( const TQLocale & other ) -

          -Assigns other to this TQLocale object and returns a reference -to this TQLocale object. - -

          void TQLocale::setDefault ( const TQLocale & locale ) [static] -

          Warning: This function is not reentrant.

          - - -

          Sets the global default locale to locale. These -values are used when a TQLocale object is constructed with -no arguments. If this function is not called, the system's -locale is used. -

          Warning: In a multithreaded application, the default locale -should be set at application startup, before any non-GUI threads -are created. -

          See also system() and c(). - -

          TQLocale TQLocale::system () [static] -

          -Returns a TQLocale object initialized to the system locale. - -

          double TQLocale::toDouble ( const TQString & s, bool * ok = 0 ) const -

          -Returns the double represented by the localized string s, or -0.0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          Unlike TQString::toDouble(), this function does not fall back to -the "C" locale if the string cannot be interpreted in this -locale. -

          -        bool ok;
          -        double d;
          -
          -        TQLocale c(TQLocale::C);
          -        d = c.toDouble( "1234.56", &ok );  // ok == true, d == 1234.56
          -        d = c.toDouble( "1,234.56", &ok ); // ok == true, d == 1234.56
          -        d = c.toDouble( "1234,56", &ok );  // ok == false
          -
          -        TQLocale german(TQLocale::German);
          -        d = german.toDouble( "1234,56", &ok );  // ok == true, d == 1234.56
          -        d = german.toDouble( "1.234,56", &ok ); // ok == true, d == 1234.56
          -        d = german.toDouble( "1234.56", &ok );  // ok == false
          -
          -        d = german.toDouble( "1.234", &ok );    // ok == true, d == 1234.0
          -    
          - -

          Notice that the last conversion returns 1234.0, because '.' is the -thousands group separator in the German locale. -

          This function ignores leading and trailing whitespace. -

          See also toString() and TQString::toDouble(). - -

          float TQLocale::toFloat ( const TQString & s, bool * ok = 0 ) const -

          -Returns the float represented by the localized string s, or 0.0 -if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          int TQLocale::toInt ( const TQString & s, bool * ok = 0 ) const -

          -Returns the int represented by the localized string s, or 0 if -the conversion failed. -

          If ok is not 0, reports failure by setting *ok to false and -success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          TQ_LONG TQLocale::toLong ( const TQString & s, bool * ok = 0 ) const -

          -Returns the long int represented by the localized string s, or -0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          TQ_LLONG TQLocale::toLongLong ( const TQString & s, bool * ok = 0 ) const -

          -Returns the long long int represented by the localized string s, or 0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          short TQLocale::toShort ( const TQString & s, bool * ok = 0 ) const -

          -Returns the short int represented by the localized string s, or -0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          TQString TQLocale::toString ( TQ_LLONG i ) const -

          -Returns a localized string representation of i. -

          See also toLongLong(). - -

          TQString TQLocale::toString ( short i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toShort(). - -

          TQString TQLocale::toString ( ushort i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toUShort(). - -

          TQString TQLocale::toString ( int i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toInt(). - -

          TQString TQLocale::toString ( uint i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toUInt(). - -

          TQString TQLocale::toString ( TQ_LONG i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toLong(). - -

          TQString TQLocale::toString ( TQ_ULONG i ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toULong(). - -

          TQString TQLocale::toString ( TQ_ULLONG i ) const -

          -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          See also toULongLong(). - -

          TQString TQLocale::toString ( float i, char f = 'g', int prec = 6 ) const -

          - -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          f and prec have the same meaning as in TQString::number(double, char, int). -

          See also toDouble(). - -

          TQString TQLocale::toString ( double i, char f = 'g', int prec = 6 ) const -

          -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          f and prec have the same meaning as in TQString::number(double, char, int). -

          See also toDouble(). - -

          uint TQLocale::toUInt ( const TQString & s, bool * ok = 0 ) const -

          -Returns the unsigned int represented by the localized string s, -or 0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          TQ_ULONG TQLocale::toULong ( const TQString & s, bool * ok = 0 ) const -

          -Returns the unsigned long int represented by the localized string -s, or 0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          TQ_ULLONG TQLocale::toULongLong ( const TQString & s, bool * ok = 0 ) const -

          -Returns the unsigned long long int represented by the localized -string s, or 0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - -

          ushort TQLocale::toUShort ( const TQString & s, bool * ok = 0 ) const -

          -Returns the unsigned short int represented by the localized string -s, or 0 if the conversion failed. -

          If ok is not 0, reports failure by setting -*ok to false and success by setting *ok to true. -

          This function ignores leading and trailing whitespace. -

          See also toString(). - - -


          -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html index 4eba6f579..d8ee3b536 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 6d7dd3d5b..c04ffc228 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/ntqsimplerichtext.html b/doc/html/ntqsimplerichtext.html deleted file mode 100644 index 6fe86061d..000000000 --- a/doc/html/ntqsimplerichtext.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - -TQSimpleRichText Class - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          TQSimpleRichText Class Reference

          - -

          The TQSimpleRichText class provides a small displayable piece of rich text. -More... -

          #include <ntqsimplerichtext.h> -

          List of all member functions. -

          Public Members

          -
            -
          • TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )
          • -
          • TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )
          • -
          • ~TQSimpleRichText ()
          • -
          • void setWidth ( int w )
          • -
          • void setWidth ( TQPainter * p, int w )
          • -
          • void setDefaultFont ( const TQFont & f )
          • -
          • int width () const
          • -
          • int widthUsed () const
          • -
          • int height () const
          • -
          • void adjustSize ()
          • -
          • void draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const
          • -
          • void draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const  (obsolete)
          • -
          • TQString context () const
          • -
          • TQString anchorAt ( const TQPoint & pos ) const
          • -
          • bool inText ( const TQPoint & pos ) const
          • -
          -

          Detailed Description

          - - -The TQSimpleRichText class provides a small displayable piece of rich text. -

          - -

          This class encapsulates simple rich text usage in which a string -is interpreted as rich text and can be drawn. This is particularly -useful if you want to display some rich text in a custom widget. A -TQStyleSheet is needed to interpret the tags and format the rich -text. TQt provides a default HTML-like style sheet, but you may -define custom style sheets. -

          Once created, the rich text object can be queried for its width(), -height(), and the actual width used (see widthUsed()). Most -importantly, it can be drawn on any given TQPainter with draw(). -TQSimpleRichText can also be used to implement hypertext or active -text facilities by using anchorAt(). A hit test through inText() -makes it possible to use simple rich text for text objects in -editable drawing canvases. -

          Once constructed from a string the contents cannot be changed, -only resized. If the contents change, just throw the rich text -object away and make a new one with the new contents. -

          For large documents use TQTextEdit or TQTextBrowser. For very small -items of rich text you can use a TQLabel. -

          If you are using TQSimpleRichText to print in high resolution you -should call setWidth(TQPainter, int) so that the content will be -laid out properly on the page. -

          See also Text Related Classes. - -


          Member Function Documentation

          -

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 ) -

          -Constructs a TQSimpleRichText from the rich text string text and -the font fnt. -

          The font is used as a basis for the text rendering. When using -rich text rendering on a widget w, you would normally specify -the widget's font, for example: -

          -    TQSimpleRichText myrichtext( contents, mywidget->font() );
          -    
          - -

          context is the optional context of the rich text object. This -becomes important if text contains relative references, for -example within image tags. TQSimpleRichText always uses the default -mime source factory (see TQMimeSourceFactory::defaultFactory()) -to resolve those references. The context will then be used to -calculate the absolute path. See -TQMimeSourceFactory::makeAbsolute() for details. -

          The sheet is an optional style sheet. If it is 0, the default -style sheet will be used (see TQStyleSheet::defaultSheet()). - -

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE ) -

          -Constructs a TQSimpleRichText from the rich text string text and -the font fnt. -

          This is a slightly more complex constructor for TQSimpleRichText -that takes an additional mime source factory factory, a page -break parameter pageBreak and a bool linkUnderline. linkColor is only provided for compatibility, but has no effect, -as TQColorGroup's TQColorGroup::link() color is used now. -

          context is the optional context of the rich text object. This -becomes important if text contains relative references, for -example within image tags. TQSimpleRichText always uses the default -mime source factory (see TQMimeSourceFactory::defaultFactory()) -to resolve those references. The context will then be used to -calculate the absolute path. See -TQMimeSourceFactory::makeAbsolute() for details. -

          The sheet is an optional style sheet. If it is 0, the default -style sheet will be used (see TQStyleSheet::defaultSheet()). -

          This constructor is useful for creating a TQSimpleRichText object -suitable for printing. Set pageBreak to be the height of the -contents area of the pages. - -

          TQSimpleRichText::~TQSimpleRichText () -

          -Destroys the rich text object, freeing memory. - -

          void TQSimpleRichText::adjustSize () -

          -Adjusts the richt text object to a reasonable size. -

          See also setWidth(). - -

          TQString TQSimpleRichText::anchorAt ( const TQPoint & pos ) const -

          -Returns the anchor at the requested position, pos. An empty -string is returned if no anchor is specified for this position. - -

          TQString TQSimpleRichText::context () const -

          -Returns the context of the rich text object. If no context has -been specified in the constructor, a null string is returned. The -context is the path to use to look up relative links, such as -image tags and anchor references. - -

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const -

          -Draws the formatted text with painter p, at position (x, y), clipped to clipRect. The clipping rectangle is given in the -rich text object's coordinates translated by (x, y). Passing -an null rectangle results in no clipping. Colors from the color -group cg are used as needed, and if not 0, *paper is used as -the background brush. -

          Note that the display code is highly optimized to reduce flicker, -so passing a brush for paper is preferable to simply clearing -the area to be painted and then calling this without a brush. - -

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const -

          -

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

          Use the version with clipRect instead. The region version has -problems with larger documents on some platforms (on X11 regions -internally are represented with 16bit coordinates). - -

          int TQSimpleRichText::height () const -

          -Returns the height of the rich text object in pixels. -

          See also setWidth(). - -

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -

          bool TQSimpleRichText::inText ( const TQPoint & pos ) const -

          -Returns TRUE if pos is within a text line of the rich text -object; otherwise returns FALSE. - -

          void TQSimpleRichText::setDefaultFont ( const TQFont & f ) -

          -Sets the default font for the rich text object to f - -

          void TQSimpleRichText::setWidth ( TQPainter * p, int w ) -

          -Sets the width of the rich text object to w pixels, -recalculating the layout as if it were to be drawn with painter p. -

          Passing a painter is useful when you intend drawing on devices -other than the screen, for example a TQPrinter. -

          See also height() and adjustSize(). - -

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -

          void TQSimpleRichText::setWidth ( int w ) -

          -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          Sets the width of the rich text object to w pixels. -

          See also height() and adjustSize(). - -

          int TQSimpleRichText::width () const -

          -Returns the set width of the rich text object in pixels. -

          See also widthUsed(). - -

          int TQSimpleRichText::widthUsed () const -

          -Returns the width in pixels that is actually used by the rich text -object. This can be smaller or wider than the set width. -

          It may be wider, for example, if the text contains images or -non-breakable words that are already wider than the available -space. It's smaller when the object only consists of lines that do -not fill the width completely. -

          See also width(). - - -


          -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/ntqsyntaxhighlighter.html b/doc/html/ntqsyntaxhighlighter.html deleted file mode 100644 index 0f6e64f8e..000000000 --- a/doc/html/ntqsyntaxhighlighter.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -TQSyntaxHighlighter Class - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          TQSyntaxHighlighter Class Reference

          - -

          The TQSyntaxHighlighter class is a base class for -implementing TQTextEdit syntax highlighters. -More... -

          #include <ntqsyntaxhighlighter.h> -

          Inherits TQt. -

          List of all member functions. -

          Public Members

          - -

          Detailed Description

          - - -The TQSyntaxHighlighter class is a base class for -implementing TQTextEdit syntax highlighters. -

          - -

          A syntax highligher automatically highlights parts of the text in -a TQTextEdit. Syntax highlighters are often used when the user is -entering text in a specific format (for example, source code) and -help the user to read the text and identify syntax errors. -

          To provide your own syntax highlighting for TQTextEdit, you must -subclass TQSyntaxHighlighter and reimplement highlightParagraph(). -

          When you create an instance of your TQSyntaxHighlighter subclass, -pass it the TQTextEdit that you want the syntax highlighting to be -applied to. After this your highlightParagraph() function will be -called automatically whenever necessary. Use your -highlightParagraph() function to apply formatting (e.g. setting -the font and color) to the text that is passed to it. -

          See also Basic Widgets and Text Related Classes. - -


          Member Function Documentation

          -

          TQSyntaxHighlighter::TQSyntaxHighlighter ( TQTextEdit * textEdit ) -

          -Constructs the TQSyntaxHighlighter and installs it on textEdit. -

          It is the caller's responsibility to delete the -TQSyntaxHighlighter when it is no longer needed. - -

          TQSyntaxHighlighter::~TQSyntaxHighlighter () [virtual] -

          -Destructor. Uninstalls this syntax highlighter from the textEdit() - -

          int TQSyntaxHighlighter::currentParagraph () const -

          -Returns the id of the paragraph which is highlighted, or -1 of no -paragraph is currently highlighted. -

          Usually this function is called from within highlightParagraph(). - -

          int TQSyntaxHighlighter::highlightParagraph ( const TQString & text, int endStateOfLastPara ) [pure virtual] -

          - -

          This function is called when necessary by the rich text engine, -i.e. on paragraphs which have changed. -

          In your reimplementation you should parse the paragraph's text -and call setFormat() as often as necessary to apply any font and -color changes that you require. Your function must return a value -which indicates the paragraph's end state: see below. -

          Some syntaxes can have constructs that span paragraphs. For -example, a C++ syntax highlighter should be able to cope with -/*...*/ comments that span paragraphs. To deal -with these cases it is necessary to know the end state of the -previous paragraph (e.g. "in comment"). -

          If your syntax does not have paragraph spanning constructs, simply -ignore the endStateOfLastPara parameter and always return 0. -

          Whenever highlightParagraph() is called it is passed a value for -endStateOfLastPara. For the very first paragraph this value is -always -2. For any other paragraph the value is the value returned -by the most recent highlightParagraph() call that applied to the -preceding paragraph. -

          The value you return is up to you. We recommend only returning 0 -(to signify that this paragraph's syntax highlighting does not -affect the following paragraph), or a positive integer (to signify -that this paragraph has ended in the middle of a paragraph -spanning construct). -

          To find out which paragraph is highlighted, call -currentParagraph(). -

          For example, if you're writing a simple C++ syntax highlighter, -you might designate 1 to signify "in comment". For a paragraph -that ended in the middle of a comment you'd return 1, and for -other paragraphs you'd return 0. In your parsing code if endStateOfLastPara was 1, you would highlight the text as a C++ -comment until you reached the closing */. - -

          void TQSyntaxHighlighter::rehighlight () -

          Redoes the highlighting of the whole document. - -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color ) -

          -This function is applied to the syntax highlighter's current -paragraph (the text of which is passed to the highlightParagraph() -function). -

          The specified font and color are applied to the text from -position start for count characters. (If count is 0, -nothing is done.) - -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color ) -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. - -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font ) -

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. - -

          TQTextEdit * TQSyntaxHighlighter::textEdit () const -

          - -

          Returns the TQTextEdit on which this syntax highlighter is -installed - - -


          -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/ntqt.html b/doc/html/ntqt.html index b82616cc4..410f355e9 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/ntqwhatsthis.html b/doc/html/ntqwhatsthis.html deleted file mode 100644 index a6282b313..000000000 --- a/doc/html/ntqwhatsthis.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - -TQWhatsThis Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQWhatsThis Class Reference

            - -

            The TQWhatsThis class provides a simple description of any -widget, i.e. answering the question "What's this?". -More... -

            #include <ntqwhatsthis.h> -

            Inherits TQt. -

            List of all member functions. -

            Public Members

            - -

            Static Public Members

            -
              -
            • void setFont ( const TQFont & font )
            • -
            • void add ( TQWidget * widget, const TQString & text )
            • -
            • void remove ( TQWidget * widget )
            • -
            • TQString textFor ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE )
            • -
            • TQToolButton * whatsThisButton ( TQWidget * parent )
            • -
            • void enterWhatsThisMode ()
            • -
            • bool inWhatsThisMode ()
            • -
            • void leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )
            • -
            • void display ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )
            • -
            -

            Detailed Description

            - - -The TQWhatsThis class provides a simple description of any -widget, i.e. answering the question "What's this?". -

            - -

            "What's this?" help is part of an application's online help system -that provides users with information about functionality, usage, -background etc., in various levels of detail from short tool tips -to full text browsing help windows. -

            TQWhatsThis provides a single window with an explanatory text that -pops up when the user asks "What's this?". The default way to do -this is to focus the relevant widget and press Shift+F1. The help -text appears immediately; it goes away as soon as the user does -something else. -

            (Note that if there is an accelerator for Shift+F1, this mechanism -will not work.) -

            To add "What's this?" text to a widget you simply call -TQWhatsThis::add() for the widget. For example, to assign text to a -menu item, call TQMenuData::setWhatsThis(); for a global -accelerator key, call TQAccel::setWhatsThis() and If you're using -actions, use TQAction::setWhatsThis(). -

            The text can be either rich text or plain text. If you specify a -rich text formatted string, it will be rendered using the default -stylesheet. This makes it possible to embed images. See -TQStyleSheet::defaultSheet() for details. -

            - -

                    const char * fileOpenText = "<p><img source=\"fileopen\"> "
            -                         "Click this button to open a <em>new file</em>. <br>"
            -                         "You can also select the <b>Open</b> command "
            -                         "from the <b>File</b> menu.</p>";
            -        TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
            -                              fileOpenAction->iconSet().pixmap() );
            -        fileOpenAction->setWhatsThis( fileOpenText );
            -
            -

            An alternative way to enter "What's this?" mode is to use the -ready-made tool bar tool button from -TQWhatsThis::whatsThisButton(). By invoking this context help -button (in the picture below the first one from the right) the -user switches into "What's this?" mode. If they now click on a -widget the appropriate help text is shown. The mode is left when -help is given or when the user presses Esc. -

            -

            If you are using TQMainWindow you can also use the -TQMainWindow::whatsThis() slot to invoke the mode from a menu item. -

            For more control you can create a dedicated TQWhatsThis object for -a special widget. By subclassing and reimplementing -TQWhatsThis::text() it is possible to have different help texts, -depending on the position of the mouse click. By reimplementing -TQWhatsThis::clicked() it is possible to have hyperlinks inside the -help texts. -

            If you wish to control the "What's this?" behavior of a widget -manually see TQWidget::customWhatsThis(). -

            The What's This object can be removed using TQWhatsThis::remove(), -although this is rarely necessary because it is automatically -removed when the widget is destroyed. -

            See also TQToolTip and Help System. - -


            Member Function Documentation

            -

            TQWhatsThis::TQWhatsThis ( TQWidget * widget ) -

            -Constructs a dynamic "What's this?" object for widget. The -object is deleted when the widget is destroyed. -

            When the widget is queried by the user the text() function of this -TQWhatsThis will be called to provide the appropriate text, rather -than using the text assigned by add(). - -

            TQWhatsThis::~TQWhatsThis () [virtual] -

            -Destroys the object and frees any allocated resources. - -

            void TQWhatsThis::add ( TQWidget * widget, const TQString & text ) [static] -

            -Adds text as "What's this" help for widget. If the text is -rich text formatted (i.e. it contains markup) it will be rendered -with the default stylesheet TQStyleSheet::defaultSheet(). -

            The text is destroyed if the widget is later destroyed, so it need -not be explicitly removed. -

            See also remove(). - -

            Examples: application/application.cpp, helpsystem/mainwindow.cpp, and mdi/application.cpp. -

            bool TQWhatsThis::clicked ( const TQString & href ) [virtual] -

            - -

            This virtual function is called when the user clicks inside the -"What's this?" window. href is the link the user clicked on, or -TQString::null if there was no link. -

            If the function returns TRUE (the default), the "What's this?" -window is closed, otherwise it remains visible. -

            The default implementation ignores href and returns TRUE. - -

            void TQWhatsThis::display ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 ) [static] -

            -Display text in a help window at the global screen position pos. -

            If widget w is not 0 and has its own dedicated TQWhatsThis -object, this object will receive clicked() messages when the user -clicks on hyperlinks inside the help text. -

            See also TQWhatsThis::clicked(). - -

            void TQWhatsThis::enterWhatsThisMode () [static] -

            -Enters "What's this?" mode and returns immediately. -

            TQt will install a special cursor and take over mouse input until -the user clicks somewhere. It then shows any help available and -ends "What's this?" mode. Finally, TQt removes the special cursor -and help window and then restores ordinary event processing, at -which point the left mouse button is no longer pressed. -

            The user can also use the Esc key to leave "What's this?" mode. -

            See also inWhatsThisMode() and leaveWhatsThisMode(). - -

            bool TQWhatsThis::inWhatsThisMode () [static] -

            -Returns TRUE if the application is in "What's this?" mode; -otherwise returns FALSE. -

            See also enterWhatsThisMode() and leaveWhatsThisMode(). - -

            void TQWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 ) [static] -

            -Leaves "What's this?" question mode. -

            This function is used internally by widgets that support -TQWidget::customWhatsThis(); applications do not usually call it. -An example of such a widget is TQPopupMenu: menus still work -normally in "What's this?" mode but also provide help texts for -individual menu items. -

            If text is not TQString::null, a "What's this?" help window is -displayed at the global screen position pos. If widget w is -not 0 and has its own dedicated TQWhatsThis object, this object -will receive clicked() messages when the user clicks on hyperlinks -inside the help text. -

            See also inWhatsThisMode(), enterWhatsThisMode(), and TQWhatsThis::clicked(). - -

            void TQWhatsThis::remove ( TQWidget * widget ) [static] -

            -Removes the "What's this?" help associated with the widget. -This happens automatically if the widget is destroyed. -

            See also add(). - -

            void TQWhatsThis::setFont ( const TQFont & font ) [static] -

            -Sets the font for all "What's this?" helps to font. - -

            TQString TQWhatsThis::text ( const TQPoint & ) [virtual] -

            -This virtual function returns the text for position p in the -widget that this "What's this?" object documents. If there is no -"What's this?" text for the position, TQString::null is returned. -

            The default implementation returns TQString::null. - -

            TQString TQWhatsThis::textFor ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE ) [static] -

            -Returns the what's this text for widget w or TQString::null if -there is no "What's this?" help for the widget. pos contains -the mouse position; this is useful, for example, if you've -subclassed to make the text that is displayed position dependent. -

            If includeParents is TRUE, parent widgets are taken into -consideration as well when looking for what's this help text. -

            See also add(). - -

            TQToolButton * TQWhatsThis::whatsThisButton ( TQWidget * parent ) [static] -

            -Creates a TQToolButton preconfigured to enter "What's this?" mode -when clicked. You will often use this with a tool bar as parent: -
            -        (void) TQWhatsThis::whatsThisButton( my_help_tool_bar );
            -    
            - - -

            Example: helpsystem/mainwindow.cpp. - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/pictures.html b/doc/html/pictures.html index 0623452f8..7232c7879 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 949f29a33..7d7c14d32 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 431834937..6bd143cc3 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 e4a239128..a06b39114 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 880ccbf5f..cc448070f 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 34881cc56..0dd3819c9 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/qchar-members.html b/doc/html/qchar-members.html deleted file mode 100644 index ba6eff19a..000000000 --- a/doc/html/qchar-members.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - -TQChar Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQChar

            - -

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

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qchar.html b/doc/html/qchar.html deleted file mode 100644 index 91f85b924..000000000 --- a/doc/html/qchar.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - -TQChar Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQChar Class Reference

            - -

            The TQChar class provides a lightweight Unicode character. -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. -

            Public Members

            -
              -
            • TQChar ()
            • -
            • TQChar ( char c )
            • -
            • TQChar ( uchar c )
            • -
            • TQChar ( uchar c, uchar r )
            • -
            • TQChar ( const TQChar & c )
            • -
            • TQChar ( ushort rc )
            • -
            • TQChar ( short rc )
            • -
            • TQChar ( uint rc )
            • -
            • TQChar ( int rc )
            • -
            • enum Category { NoCategory, Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, Number_Letter, Number_Other, Separator_Space, Separator_Line, Separator_Paragraph, Other_Control, Other_Format, Other_Surrogate, Other_PrivateUse, Other_NotAssigned, Letter_Uppercase, Letter_Lowercase, Letter_Titlecase, Letter_Modifier, Letter_Other, Punctuation_Connector, Punctuation_Dash, Punctuation_Dask = Punctuation_Dash, Punctuation_Open, Punctuation_Close, Punctuation_InitialQuote, Punctuation_FinalQuote, Punctuation_Other, Symbol_Math, Symbol_Currency, Symbol_Modifier, Symbol_Other }
            • -
            • enum Direction { DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON, DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN }
            • -
            • enum Decomposition { Single, Canonical, Font, NoBreak, Initial, Medial, Final, Isolated, Circle, Super, Sub, Vertical, Wide, Narrow, Small, Square, Compat, Fraction }
            • -
            • enum Joining { OtherJoining, Dual, Right, Center }
            • -
            • enum CombiningClass { Combining_BelowLeftAttached = 200, Combining_BelowAttached = 202, Combining_BelowRightAttached = 204, Combining_LeftAttached = 208, Combining_RightAttached = 210, Combining_AboveLeftAttached = 212, Combining_AboveAttached = 214, Combining_AboveRightAttached = 216, Combining_BelowLeft = 218, Combining_Below = 220, Combining_BelowRight = 222, Combining_Left = 224, Combining_Right = 226, Combining_AboveLeft = 228, Combining_Above = 230, Combining_AboveRight = 232, Combining_DoubleBelow = 233, Combining_DoubleAbove = 234, Combining_IotaSubscript = 240 }
            • -
            • int digitValue () const
            • -
            • TQChar lower () const
            • -
            • TQChar upper () const
            • -
            • Category category () const
            • -
            • Direction direction () const
            • -
            • Joining joining () const
            • -
            • bool mirrored () const
            • -
            • TQChar mirroredChar () const
            • -
            • const TQString & decomposition () const
            • -
            • Decomposition decompositionTag () const
            • -
            • unsigned char combiningClass () const
            • -
            • char latin1 () const
            • -
            • ushort unicode () const
            • -
            • ushort & unicode ()
            • -
            • operator char () const
            • -
            • bool isNull () const
            • -
            • bool isPrint () const
            • -
            • bool isPunct () const
            • -
            • bool isSpace () const
            • -
            • bool isMark () const
            • -
            • bool isLetter () const
            • -
            • bool isNumber () const
            • -
            • bool isLetterOrNumber () const
            • -
            • bool isDigit () const
            • -
            • bool isSymbol () const
            • -
            • uchar cell () const
            • -
            • uchar row () const
            • -
            -

            Static Public Members

            -
              -
            • bool networkOrdered ()  (obsolete)
            • -
            -

            Related Functions

            - -

            Detailed Description

            - - - -The TQChar class provides a lightweight Unicode character. -

            -

            Unicode characters are (so far) 16-bit entities without any markup -or structure. This class represents such an entity. It is -lightweight, so it can be used everywhere. Most compilers treat it -like a "short int". (In a few years it may be necessary to make -TQChar 32-bit when more than 65536 Unicode code points have been -defined and come into use.) -

            TQChar provides a full complement of testing/classification -functions, converting to and from other formats, converting from -composed to decomposed Unicode, and trying to compare and -case-convert if you ask it to. -

            The classification functions include functions like those in -ctype.h, but operating on the full range of Unicode characters. -They all return TRUE if the character is a certain type of -character; otherwise they return FALSE. These classification -functions are isNull() (returns TRUE if the character is U+0000), -isPrint() (TRUE if the character is any sort of printable -character, including whitespace), isPunct() (any sort of -punctation), isMark() (Unicode Mark), isLetter (a letter), -isNumber() (any sort of numeric character), isLetterOrNumber(), -and isDigit() (decimal digits). All of these are wrappers around -category() which return the Unicode-defined category of each -character. -

            TQChar further provides direction(), which indicates the "natural" -writing direction of this character. The joining() function -indicates how the character joins with its neighbors (needed -mostly for Arabic) and finally mirrored(), which indicates whether -the character needs to be mirrored when it is printed in its -"unnatural" writing direction. -

            Composed Unicode characters (like å) can be converted to -decomposed Unicode ("a" followed by "ring above") by using -decomposition(). -

            In Unicode, comparison is not necessarily possible and case -conversion is very difficult at best. Unicode, covering the -"entire" world, also includes most of the world's case and sorting -problems. TQt tries, but not very hard: operator==() and friends -will do comparison based purely on the numeric Unicode value (code -point) of the characters, and upper() and lower() will do case -changes when the character has a well-defined upper/lower-case -equivalent. There is no provision for locale-dependent case -folding rules or comparison; these functions are meant to be fast -so they can be used unambiguously in data structures. (See -TQString::localeAwareCompare() though.) -

            The conversion functions include unicode() (to a scalar), latin1() -(to scalar, but converts all non-Latin-1 characters to 0), row() -(gives the Unicode row), cell() (gives the Unicode cell), -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. - -


            Member Type Documentation

            -

            TQChar::Category

            - -

            This enum maps the Unicode character categories. -

            The following characters are normative in Unicode: -

              -
            • TQChar::Mark_NonSpacing - Unicode class name Mn -
            • TQChar::Mark_SpacingCombining - Unicode class name Mc -
            • TQChar::Mark_Enclosing - Unicode class name Me -
            • TQChar::Number_DecimalDigit - Unicode class name Nd -
            • TQChar::Number_Letter - Unicode class name Nl -
            • TQChar::Number_Other - Unicode class name No -
            • TQChar::Separator_Space - Unicode class name Zs -
            • TQChar::Separator_Line - Unicode class name Zl -
            • TQChar::Separator_Paragraph - Unicode class name Zp -
            • TQChar::Other_Control - Unicode class name Cc -
            • TQChar::Other_Format - Unicode class name Cf -
            • TQChar::Other_Surrogate - Unicode class name Cs -
            • TQChar::Other_PrivateUse - Unicode class name Co -
            • TQChar::Other_NotAssigned - Unicode class name Cn -

            The following categories are informative in Unicode: -

              -
            • TQChar::Letter_Uppercase - Unicode class name Lu -
            • TQChar::Letter_Lowercase - Unicode class name Ll -
            • TQChar::Letter_Titlecase - Unicode class name Lt -
            • TQChar::Letter_Modifier - Unicode class name Lm -
            • TQChar::Letter_Other - Unicode class name Lo -
            • TQChar::Punctuation_Connector - Unicode class name Pc -
            • TQChar::Punctuation_Dash - Unicode class name Pd -
            • TQChar::Punctuation_Open - Unicode class name Ps -
            • TQChar::Punctuation_Close - Unicode class name Pe -
            • TQChar::Punctuation_InitialQuote - Unicode class name Pi -
            • TQChar::Punctuation_FinalQuote - Unicode class name Pf -
            • TQChar::Punctuation_Other - Unicode class name Po -
            • TQChar::Symbol_Math - Unicode class name Sm -
            • TQChar::Symbol_Currency - Unicode class name Sc -
            • TQChar::Symbol_Modifier - Unicode class name Sk -
            • TQChar::Symbol_Other - Unicode class name So -

            There are two categories that are specific to TQt: -

              -
            • TQChar::NoCategory - used when TQt is dazed and confused and cannot -make sense of anything. -
            • TQChar::Punctuation_Dask - old typo alias for Punctuation_Dash -

            -

            TQChar::CombiningClass

            - -

            This enum type defines names for some of the Unicode combining -classes. See the Unicode - Standard for a description of the values. - -

            TQChar::Decomposition

            - -

            This enum type defines the Unicode decomposition attributes. See -the Unicode Standard for a -description of the values. - -

            TQChar::Direction

            - -

            This enum type defines the Unicode direction attributes. See the Unicode Standard for a -description of the values. -

            In order to conform to C/C++ naming conventions "Dir" is prepended -to the codes used in the Unicode Standard. - -

            TQChar::Joining

            - -

            This enum type defines the Unicode joining attributes. See the Unicode Standard for a -description of the values. - -


            Member Function Documentation

            -

            TQChar::TQChar () -

            - -

            Constructs a null TQChar (one that isNull()). - -

            TQChar::TQChar ( char c ) -

            - -

            Constructs a TQChar corresponding to ASCII/Latin-1 character c. - -

            TQChar::TQChar ( uchar c ) -

            - -

            Constructs a TQChar corresponding to ASCII/Latin-1 character c. - -

            TQChar::TQChar ( uchar c, uchar r ) -

            - -

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

            TQChar::TQChar ( const TQChar & c ) -

            - -

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

            TQChar::TQChar ( ushort rc ) -

            - -

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

            TQChar::TQChar ( short rc ) -

            - -

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

            TQChar::TQChar ( uint rc ) -

            - -

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

            TQChar::TQChar ( int rc ) -

            - -

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

            Category TQChar::category () const -

            -Returns the character category. -

            See also Category. - -

            uchar TQChar::cell () const -

            - -

            Returns the cell (least significant byte) of the Unicode -character. - -

            unsigned char TQChar::combiningClass () const -

            -Returns the combining class for the character as defined in the -Unicode standard. This is mainly useful as a positioning hint for -marks attached to a base character. -

            The TQt text rendering engine uses this information to correctly -position non spacing marks around a base character. - -

            const TQString & TQChar::decomposition () const -

            Warning: This function is not reentrant.

            - - -

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

            Decomposition TQChar::decompositionTag () const -

            -Returns the tag defining the composition of the character. Returns -TQChar::Single if no decomposition exists. - -

            int TQChar::digitValue () const -

            -Returns the numeric value of the digit, or -1 if the character is -not a digit. - -

            Direction TQChar::direction () const -

            -Returns the character's direction. -

            See also Direction. - -

            bool TQChar::isDigit () const -

            -Returns TRUE if the character is a decimal digit -(Number_DecimalDigit); otherwise returns FALSE. - -

            bool TQChar::isLetter () const -

            -Returns TRUE if the character is a letter (Letter_* categories); -otherwise returns FALSE. - -

            bool TQChar::isLetterOrNumber () const -

            -Returns TRUE if the character is a letter or number (Letter_* or -Number_* categories); otherwise returns FALSE. - -

            bool TQChar::isMark () const -

            -Returns TRUE if the character is a mark (Mark_* categories); -otherwise returns FALSE. - -

            bool TQChar::isNull () const -

            - -

            Returns TRUE if the character is the Unicode character 0x0000 -(ASCII NUL); otherwise returns FALSE. - -

            bool TQChar::isNumber () const -

            -Returns TRUE if the character is a number (of any sort - Number_* -categories); otherwise returns FALSE. -

            See also isDigit(). - -

            bool TQChar::isPrint () const -

            -Returns TRUE if the character is a printable character; otherwise -returns FALSE. This is any character not of category Cc or Cn. -

            Note that this gives no indication of whether the character is -available in a particular font. - -

            bool TQChar::isPunct () const -

            -Returns TRUE if the character is a punctuation mark (Punctuation_* -categories); otherwise returns FALSE. - -

            bool TQChar::isSpace () const -

            -Returns TRUE if the character is a separator character -(Separator_* categories); otherwise returns FALSE. - -

            bool TQChar::isSymbol () const -

            -Returns TRUE if the character is a symbol (Symbol_* categories); -otherwise returns FALSE. - -

            Joining TQChar::joining () const -

            -Warning: This function is not supported (it may change to use -Unicode character classes). -

            Returns information about the joining properties of the character -(needed for example, for Arabic). - -

            char TQChar::latin1 () const -

            - -

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

            TQChar TQChar::lower () const -

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

            bool TQChar::mirrored () const -

            -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 -

            -Returns the mirrored character if this character is a mirrored -character, otherwise returns the character itself. - -

            bool TQChar::networkOrdered () [static] -

            - -

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

            Returns TRUE if this character is in network byte order (MSB -first); otherwise returns FALSE. This is platform dependent. - -

            TQChar::operator char () const -

            - -

            Returns the Latin-1 character equivalent to the TQChar, or 0. This -is mainly useful for non-internationalized software. -

            See also unicode(). - -

            uchar TQChar::row () const -

            - -

            Returns the row (most significant byte) of the Unicode character. - -

            ushort TQChar::unicode () const -

            - -

            Returns the numeric Unicode value equal to the TQChar. Normally, -you should use TQChar objects as they are equivalent, but for some -low-level tasks (e.g. indexing into an array of Unicode -information), this function is useful. - -

            ushort & TQChar::unicode () -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

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

            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 ) -

            - -

            -

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

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

            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 ) -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

            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 ) -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            -

            Returns TRUE if the numeric Unicode value of c1 is less than -that of c2, or they are the same Unicode character; otherwise -returns FALSE. - -

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

            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 ) -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

            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 ) -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

            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 ) -

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            -

            Returns TRUE if the numeric Unicode value of c1 is greater than -that of c2, or they are the same Unicode character; otherwise -returns FALSE. - -

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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

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

            - -

            This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

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


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qcharref-members.html b/doc/html/qcharref-members.html deleted file mode 100644 index 8dc1a07ad..000000000 --- a/doc/html/qcharref-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - -TQCharRef Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQCharRef

            - -

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

              -
            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qcharref.html b/doc/html/qcharref.html deleted file mode 100644 index d83b1c959..000000000 --- a/doc/html/qcharref.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - -TQCharRef Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQCharRef Class Reference

            - -

            The TQCharRef class is a helper class for TQString. -More... -

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

            -

            #include <tqstring.h> -

            List of all member functions. -


            Detailed Description

            - - - -The TQCharRef class is a helper class for TQString. -

            -

            When you get an object of type TQCharRef, if you can assign to it, -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. -

            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. - - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qconststring-members.html b/doc/html/qconststring-members.html deleted file mode 100644 index 6b3d678d7..000000000 --- a/doc/html/qconststring-members.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - -TQConstString Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQConstString

            - -

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

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qconststring.html b/doc/html/qconststring.html deleted file mode 100644 index 9872a566c..000000000 --- a/doc/html/qconststring.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - -TQConstString Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQConstString Class Reference

            - -

            The TQConstString class provides string objects using constant Unicode data. -More... -

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

            -

            #include <tqstring.h> -

            List of all member functions. -

            Public Members

            - -

            Detailed Description

            - - - - -The TQConstString class provides string objects using constant Unicode data. -

            In order to minimize copying, highly optimized applications can -use TQConstString to provide a TQString-compatible object from -existing Unicode data. It is then the programmer's responsibility -to ensure that the Unicode data exists for the entire lifetime of -the TQConstString object. -

            A TQConstString is created with the TQConstString constructor. The -string held by the object can be obtained by calling string(). -

            See also Text Related Classes. - -


            Member Function Documentation

            -

            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 -of the string will cause it to create a copy of the data, thus it -remains forever unmodified. -

            The data in unicode is not copied. The caller must be able to -guarantee that unicode will not be deleted or modified. - -

            TQConstString::~TQConstString () -

            -Destroys the TQConstString, creating a copy of the data if other -strings are still using it. - -

            const TQString & TQConstString::string () const -

            - -

            Returns a constant string referencing the data passed during -construction. - - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qfd-example.html b/doc/html/qfd-example.html index 45598e7a5..9690f9480 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 fbc85c46d..7e6fd4035 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/qlabel-h.html b/doc/html/qlabel-h.html deleted file mode 100644 index e5ef73951..000000000 --- a/doc/html/qlabel-h.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -ntqlabel.h Include File - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            ntqlabel.h

            - -

            This is the verbatim text of the ntqlabel.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


            -
            -/**********************************************************************
            -** $Id: qt/ntqlabel.h   3.3.8   edited Jan 11 14:38 $
            -**
            -** Definition of TQLabel widget class
            -**
            -** Created : 941215
            -**
            -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
            -**
            -** This file is part of the widgets module of the TQt GUI Toolkit.
            -**
            -** This file may be used under the terms of the GNU General Public
            -** License versions 2.0 or 3.0 as published by the Free Software
            -** Foundation and appearing in the file LICENSE.GPL included in the
            -** packaging of this file. Alternatively you may (at your option) use any
            -** later version of the GNU General Public License if such license has
            -** been publicly approved by Trolltech ASA (or its successors, if any)
            -** and the KDE Free TQt Foundation.
            -**
            -** Please review the following information to ensure GNU General
            -** Public Licensing requirements will be met:
            -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
            -** If you are unsure which license is appropriate for your use, please
            -** review the following information:
            -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
            -** or contact the sales department at sales@trolltech.com.
            -**
            -** This file may be used under the terms of the Q Public License as
            -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
            -** included in the packaging of this file.  Licensees holding valid TQt
            -** Commercial licenses may use this file in accordance with the TQt
            -** Commercial License Agreement provided with the Software.
            -**
            -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
            -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
            -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
            -** herein.
            -**
            -**********************************************************************/
            -
            -#ifndef TQLABEL_H
            -#define TQLABEL_H
            -
            -#ifndef QT_H
            -#include "ntqframe.h"
            -#endif // QT_H
            -
            -#ifndef TQT_NO_LABEL
            -
            -class TQSimpleRichText;
            -class TQLabelPrivate;
            -
            -class TQ_EXPORT TQLabel : public TQFrame
            -{
            -    TQ_OBJECT
            -    TQ_PROPERTY( TQString text READ text WRITE setText )
            -    TQ_PROPERTY( TextFormat textFormat READ textFormat WRITE setTextFormat )
            -    TQ_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )
            -    TQ_PROPERTY( bool scaledContents READ hasScaledContents WRITE setScaledContents )
            -    TQ_PROPERTY( Alignment alignment READ alignment WRITE setAlignment )
            -    TQ_PROPERTY( int indent READ indent WRITE setIndent )
            -    TQ_OVERRIDE( BackgroundMode backgroundMode DESIGNABLE true)
            -
            -public:
            -    TQLabel( TQWidget *parent, const char* name=0, WFlags f=0 );
            -    TQLabel( const TQString &text, TQWidget *parent, const char* name=0,
            -	    WFlags f=0 );
            -    TQLabel( TQWidget *buddy, const TQString &,
            -	    TQWidget *parent, const char* name=0, WFlags f=0 );
            -    ~TQLabel();
            -
            -    TQString	 text()		const	{ return ltext; }
            -    TQPixmap     *pixmap()	const	{ return lpixmap; }
            -#ifndef TQT_NO_PICTURE
            -    TQPicture    *picture()	const	{ return lpicture; }
            -#endif
            -#ifndef TQT_NO_MOVIE
            -    TQMovie      *movie()		const;
            -#endif
            -
            -    TextFormat textFormat() const;
            -    void 	 setTextFormat( TextFormat );
            -
            -    int		 alignment() const	{ return align; }
            -    virtual void setAlignment( int );
            -    int		 indent() const		{ return extraMargin; }
            -    void 	 setIndent( int );
            -
            -    bool 	 autoResize() const	{ return autoresize; }
            -    virtual void setAutoResize( bool );
            -#ifndef TQT_NO_IMAGE_SMOOTHSCALE
            -    bool 	hasScaledContents() const;
            -    void 	setScaledContents( bool );
            -#endif
            -    TQSize	 sizeHint() const;
            -    TQSize	 minimumSizeHint() const;
            -#ifndef TQT_NO_ACCEL
            -    virtual void setBuddy( TQWidget * );
            -    TQWidget     *buddy() const;
            -#endif
            -    int		 heightForWidth(int) const;
            -
            -    void setFont( const TQFont &f );
            -
            -public slots:
            -    virtual void setText( const TQString &);
            -    virtual void setPixmap( const TQPixmap & );
            -#ifndef TQT_NO_PICTURE
            -    virtual void setPicture( const TQPicture & );
            -#endif
            -#ifndef TQT_NO_MOVIE
            -    virtual void setMovie( const TQMovie & );
            -#endif
            -    virtual void setNum( int );
            -    virtual void setNum( double );
            -    void	 clear();
            -
            -protected:
            -    void	 drawContents( TQPainter * );
            -    void	 fontChange( const TQFont & );
            -    void	 resizeEvent( TQResizeEvent* );
            -
            -private slots:
            -#ifndef TQT_NO_ACCEL
            -    void	 acceleratorSlot();
            -    void	 buddyDied();
            -#endif
            -#ifndef TQT_NO_MOVIE
            -    void	 movieUpdated(const TQRect&);
            -    void	 movieResized(const TQSize&);
            -#endif
            -
            -private:
            -    void	init();
            -    void	clearContents();
            -    void	updateLabel( TQSize oldSizeHint );
            -    TQSize	sizeForWidth( int w ) const;
            -    TQString	ltext;
            -    TQPixmap    *lpixmap;
            -#ifndef TQT_NO_PICTURE
            -    TQPicture   *lpicture;
            -#endif
            -#ifndef TQT_NO_MOVIE
            -    TQMovie *	lmovie;
            -#endif
            -#ifndef TQT_NO_ACCEL
            -    TQWidget *	lbuddy;
            -#endif
            -    ushort	align;
            -    short	extraMargin;
            -    uint	autoresize:1;
            -    uint	scaledcontents :1;
            -    TextFormat textformat;
            -#ifndef TQT_NO_RICHTEXT
            -    TQSimpleRichText* doc;
            -#endif
            -#ifndef TQT_NO_ACCEL
            -    TQAccel *	accel;
            -#endif
            -    TQLabelPrivate* d;
            -
            -    friend class TQTipLabel;
            -
            -private:	// Disabled copy constructor and operator=
            -#if defined(TQ_DISABLE_COPY)
            -    TQLabel( const TQLabel & );
            -    TQLabel &operator=( const TQLabel & );
            -#endif
            -};
            -
            -
            -#endif // TQT_NO_LABEL
            -
            -#endif // TQLABEL_H
            -
            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qlabel-m.png b/doc/html/qlabel-m.png deleted file mode 100644 index 9747821a1..000000000 Binary files a/doc/html/qlabel-m.png and /dev/null differ diff --git a/doc/html/qlabel-members.html b/doc/html/qlabel-members.html deleted file mode 100644 index c10877e25..000000000 --- a/doc/html/qlabel-members.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - -TQLabel Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQLabel

            - -

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

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qlabel-w.png b/doc/html/qlabel-w.png deleted file mode 100644 index 9747821a1..000000000 Binary files a/doc/html/qlabel-w.png and /dev/null differ diff --git a/doc/html/qlocale-h.html b/doc/html/qlocale-h.html deleted file mode 100644 index 7fa22ebf6..000000000 --- a/doc/html/qlocale-h.html +++ /dev/null @@ -1,539 +0,0 @@ - - - - - -ntqlocale.h Include File - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            ntqlocale.h

            - -

            This is the verbatim text of the ntqlocale.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


            -
            -/****************************************************************************
            -** $Id: qt/ntqlocale.h   3.3.8   edited Jan 11 14:38 $
            -**
            -** Declaration of the TQLocale class
            -**
            -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
            -**
            -** This file is part of the tools module of the TQt GUI Toolkit.
            -**
            -** This file may be used under the terms of the GNU General Public
            -** License versions 2.0 or 3.0 as published by the Free Software
            -** Foundation and appearing in the file LICENSE.GPL included in the
            -** packaging of this file. Alternatively you may (at your option) use any
            -** later version of the GNU General Public License if such license has
            -** been publicly approved by Trolltech ASA (or its successors, if any)
            -** and the KDE Free TQt Foundation.
            -**
            -** Please review the following information to ensure GNU General
            -** Public Licensing requirements will be met:
            -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
            -** If you are unsure which license is appropriate for your use, please
            -** review the following information:
            -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
            -** or contact the sales department at sales@trolltech.com.
            -**
            -** This file may be used under the terms of the Q Public License as
            -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
            -** included in the packaging of this file.  Licensees holding valid TQt
            -** Commercial licenses may use this file in accordance with the TQt
            -** Commercial License Agreement provided with the Software.
            -**
            -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
            -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
            -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
            -** herein.
            -**
            -**********************************************************************/
            -
            -#ifndef TQLOCALE_H
            -#define TQLOCALE_H
            -
            -#include "tqstring.h"
            -
            -struct TQLocalePrivate;
            -
            -class TQ_EXPORT TQLocale
            -{
            -    friend class TQString;
            -
            -public:
            -    enum Language {
            -        C = 1,
            -        Abkhazian = 2,
            -        Afan = 3,
            -        Afar = 4,
            -        Afrikaans = 5,
            -        Albanian = 6,
            -        Amharic = 7,
            -        Arabic = 8,
            -        Armenian = 9,
            -        Assamese = 10,
            -        Aymara = 11,
            -        Azerbaijani = 12,
            -        Bashkir = 13,
            -        Basque = 14,
            -        Bengali = 15,
            -        Bhutani = 16,
            -        Bihari = 17,
            -        Bislama = 18,
            -        Breton = 19,
            -        Bulgarian = 20,
            -        Burmese = 21,
            -        Byelorussian = 22,
            -        Cambodian = 23,
            -        Catalan = 24,
            -        Chinese = 25,
            -        Corsican = 26,
            -        Croatian = 27,
            -        Czech = 28,
            -        Danish = 29,
            -        Dutch = 30,
            -        English = 31,
            -        Esperanto = 32,
            -        Estonian = 33,
            -        Faroese = 34,
            -        FijiLanguage = 35,
            -        Finnish = 36,
            -        French = 37,
            -        Frisian = 38,
            -        Gaelic = 39,
            -        Galician = 40,
            -        Georgian = 41,
            -        German = 42,
            -        Greek = 43,
            -        Greenlandic = 44,
            -        Guarani = 45,
            -        Gujarati = 46,
            -        Hausa = 47,
            -        Hebrew = 48,
            -        Hindi = 49,
            -        Hungarian = 50,
            -        Icelandic = 51,
            -        Indonesian = 52,
            -        Interlingua = 53,
            -        Interlingue = 54,
            -        Inuktitut = 55,
            -        Inupiak = 56,
            -        Irish = 57,
            -        Italian = 58,
            -        Japanese = 59,
            -        Javanese = 60,
            -        Kannada = 61,
            -        Kashmiri = 62,
            -        Kazakh = 63,
            -        Kinyarwanda = 64,
            -        Kirghiz = 65,
            -        Korean = 66,
            -        Kurdish = 67,
            -        Kurundi = 68,
            -        Laothian = 69,
            -        Latin = 70,
            -        Latvian = 71,
            -        Lingala = 72,
            -        Lithuanian = 73,
            -        Macedonian = 74,
            -        Malagasy = 75,
            -        Malay = 76,
            -        Malayalam = 77,
            -        Maltese = 78,
            -        Maori = 79,
            -        Marathi = 80,
            -        Moldavian = 81,
            -        Mongolian = 82,
            -        NauruLanguage = 83,
            -        Nepali = 84,
            -        Norwegian = 85,
            -        Occitan = 86,
            -        Oriya = 87,
            -        Pashto = 88,
            -        Persian = 89,
            -        Polish = 90,
            -        Portuguese = 91,
            -        Punjabi = 92,
            -        Quechua = 93,
            -        RhaetoRomance = 94,
            -        Romanian = 95,
            -        Russian = 96,
            -        Samoan = 97,
            -        Sangho = 98,
            -        Sanskrit = 99,
            -        Serbian = 100,
            -        SerboCroatian = 101,
            -        Sesotho = 102,
            -        Setswana = 103,
            -        Shona = 104,
            -        Sindhi = 105,
            -        Singhalese = 106,
            -        Siswati = 107,
            -        Slovak = 108,
            -        Slovenian = 109,
            -        Somali = 110,
            -        Spanish = 111,
            -        Sundanese = 112,
            -        Swahili = 113,
            -        Swedish = 114,
            -        Tagalog = 115,
            -        Tajik = 116,
            -        Tamil = 117,
            -        Tatar = 118,
            -        Telugu = 119,
            -        Thai = 120,
            -        Tibetan = 121,
            -        Tigrinya = 122,
            -        TongaLanguage = 123,
            -        Tsonga = 124,
            -        Turkish = 125,
            -        Turkmen = 126,
            -        Twi = 127,
            -        Uigur = 128,
            -        Ukrainian = 129,
            -        Urdu = 130,
            -        Uzbek = 131,
            -        Vietnamese = 132,
            -        Volapuk = 133,
            -        Welsh = 134,
            -        Wolof = 135,
            -        Xhosa = 136,
            -        Yiddish = 137,
            -        Yoruba = 138,
            -        Zhuang = 139,
            -        Zulu = 140,
            -        LastLanguage = Zulu
            -    };
            -
            -    enum Country {
            -        AnyCountry = 0,
            -        Afghanistan = 1,
            -        Albania = 2,
            -        Algeria = 3,
            -        AmericanSamoa = 4,
            -        Andorra = 5,
            -        Angola = 6,
            -        Anguilla = 7,
            -        Antarctica = 8,
            -        AntiguaAndBarbuda = 9,
            -        Argentina = 10,
            -        Armenia = 11,
            -        Aruba = 12,
            -        Australia = 13,
            -        Austria = 14,
            -        Azerbaijan = 15,
            -        Bahamas = 16,
            -        Bahrain = 17,
            -        Bangladesh = 18,
            -        Barbados = 19,
            -        Belarus = 20,
            -        Belgium = 21,
            -        Belize = 22,
            -        Benin = 23,
            -        Bermuda = 24,
            -        Bhutan = 25,
            -        Bolivia = 26,
            -        BosniaAndHerzegowina = 27,
            -        Botswana = 28,
            -        BouvetIsland = 29,
            -        Brazil = 30,
            -        BritishIndianOceanTerritory = 31,
            -        BruneiDarussalam = 32,
            -        Bulgaria = 33,
            -        BurkinaFaso = 34,
            -        Burundi = 35,
            -        Cambodia = 36,
            -        Cameroon = 37,
            -        Canada = 38,
            -        CapeVerde = 39,
            -        CaymanIslands = 40,
            -        CentralAfricanRepublic = 41,
            -        Chad = 42,
            -        Chile = 43,
            -        China = 44,
            -        ChristmasIsland = 45,
            -        CocosIslands = 46,
            -        Colombia = 47,
            -        Comoros = 48,
            -        DemocraticRepublicOfCongo = 49,
            -        PeoplesRepublicOfCongo = 50,
            -        CookIslands = 51,
            -        CostaRica = 52,
            -        IvoryCoast = 53,
            -        Croatia = 54,
            -        Cuba = 55,
            -        Cyprus = 56,
            -        CzechRepublic = 57,
            -        Denmark = 58,
            -        Djibouti = 59,
            -        Dominica = 60,
            -        DominicanRepublic = 61,
            -        EastTimor = 62,
            -        Ecuador = 63,
            -        Egypt = 64,
            -        ElSalvador = 65,
            -        EquatorialGuinea = 66,
            -        Eritrea = 67,
            -        Estonia = 68,
            -        Ethiopia = 69,
            -        FalklandIslands = 70,
            -        FaroeIslands = 71,
            -        FijiCountry = 72,
            -        Finland = 73,
            -        France = 74,
            -        MetropolitanFrance = 75,
            -        FrenchGuiana = 76,
            -        FrenchPolynesia = 77,
            -        FrenchSouthernTerritories = 78,
            -        Gabon = 79,
            -        Gambia = 80,
            -        Georgia = 81,
            -        Germany = 82,
            -        Ghana = 83,
            -        Gibraltar = 84,
            -        Greece = 85,
            -        Greenland = 86,
            -        Grenada = 87,
            -        Guadeloupe = 88,
            -        Guam = 89,
            -        Guatemala = 90,
            -        Guinea = 91,
            -        GuineaBissau = 92,
            -        Guyana = 93,
            -        Haiti = 94,
            -        HeardAndMcDonaldIslands = 95,
            -        Honduras = 96,
            -        HongKong = 97,
            -        Hungary = 98,
            -        Iceland = 99,
            -        India = 100,
            -        Indonesia = 101,
            -        Iran = 102,
            -        Iraq = 103,
            -        Ireland = 104,
            -        Israel = 105,
            -        Italy = 106,
            -        Jamaica = 107,
            -        Japan = 108,
            -        Jordan = 109,
            -        Kazakhstan = 110,
            -        Kenya = 111,
            -        Kiribati = 112,
            -        DemocraticRepublicOfKorea = 113,
            -        RepublicOfKorea = 114,
            -        Kuwait = 115,
            -        Kyrgyzstan = 116,
            -        Lao = 117,
            -        Latvia = 118,
            -        Lebanon = 119,
            -        Lesotho = 120,
            -        Liberia = 121,
            -        LibyanArabJamahiriya = 122,
            -        Liechtenstein = 123,
            -        Lithuania = 124,
            -        Luxembourg = 125,
            -        Macau = 126,
            -        Macedonia = 127,
            -        Madagascar = 128,
            -        Malawi = 129,
            -        Malaysia = 130,
            -        Maldives = 131,
            -        Mali = 132,
            -        Malta = 133,
            -        MarshallIslands = 134,
            -        Martinique = 135,
            -        Mauritania = 136,
            -        Mauritius = 137,
            -        Mayotte = 138,
            -        Mexico = 139,
            -        Micronesia = 140,
            -        Moldova = 141,
            -        Monaco = 142,
            -        Mongolia = 143,
            -        Montserrat = 144,
            -        Morocco = 145,
            -        Mozambique = 146,
            -        Myanmar = 147,
            -        Namibia = 148,
            -        NauruCountry = 149,
            -        Nepal = 150,
            -        Netherlands = 151,
            -        NetherlandsAntilles = 152,
            -        NewCaledonia = 153,
            -        NewZealand = 154,
            -        Nicaragua = 155,
            -        Niger = 156,
            -        Nigeria = 157,
            -        Niue = 158,
            -        NorfolkIsland = 159,
            -        NorthernMarianaIslands = 160,
            -        Norway = 161,
            -        Oman = 162,
            -        Pakistan = 163,
            -        Palau = 164,
            -        PalestinianTerritory = 165,
            -        Panama = 166,
            -        PapuaNewGuinea = 167,
            -        Paraguay = 168,
            -        Peru = 169,
            -        Philippines = 170,
            -        Pitcairn = 171,
            -        Poland = 172,
            -        Portugal = 173,
            -        PuertoRico = 174,
            -        Qatar = 175,
            -        Reunion = 176,
            -        Romania = 177,
            -        RussianFederation = 178,
            -        Rwanda = 179,
            -        SaintKittsAndNevis = 180,
            -        StLucia = 181,
            -        StVincentAndTheGrenadines = 182,
            -        Samoa = 183,
            -        SanMarino = 184,
            -        SaoTomeAndPrincipe = 185,
            -        SaudiArabia = 186,
            -        Senegal = 187,
            -        Seychelles = 188,
            -        SierraLeone = 189,
            -        Singapore = 190,
            -        Slovakia = 191,
            -        Slovenia = 192,
            -        SolomonIslands = 193,
            -        Somalia = 194,
            -        SouthAfrica = 195,
            -        SouthGeorgiaAndTheSouthSandwichIslands = 196,
            -        Spain = 197,
            -        SriLanka = 198,
            -        StHelena = 199,
            -        StPierreAndMiquelon = 200,
            -        Sudan = 201,
            -        Suriname = 202,
            -        SvalbardAndJanMayenIslands = 203,
            -        Swaziland = 204,
            -        Sweden = 205,
            -        Switzerland = 206,
            -        SyrianArabRepublic = 207,
            -        Taiwan = 208,
            -        Tajikistan = 209,
            -        Tanzania = 210,
            -        Thailand = 211,
            -        Togo = 212,
            -        Tokelau = 213,
            -        TongaCountry = 214,
            -        TrinidadAndTobago = 215,
            -        Tunisia = 216,
            -        Turkey = 217,
            -        Turkmenistan = 218,
            -        TurksAndCaicosIslands = 219,
            -        Tuvalu = 220,
            -        Uganda = 221,
            -        Ukraine = 222,
            -        UnitedArabEmirates = 223,
            -        UnitedKingdom = 224,
            -        UnitedStates = 225,
            -        UnitedStatesMinorOutlyingIslands = 226,
            -        Uruguay = 227,
            -        Uzbekistan = 228,
            -        Vanuatu = 229,
            -        VaticanCityState = 230,
            -        Venezuela = 231,
            -        VietNam = 232,
            -        BritishVirginIslands = 233,
            -        USVirginIslands = 234,
            -        WallisAndFutunaIslands = 235,
            -        WesternSahara = 236,
            -        Yemen = 237,
            -        Yugoslavia = 238,
            -        Zambia = 239,
            -        Zimbabwe = 240,
            -        LastCountry = Zimbabwe
            -    };
            -
            -    TQLocale();
            -    TQLocale(const TQString &name);
            -    TQLocale(Language language, Country country = AnyCountry);
            -    TQLocale(const TQLocale &other);
            -
            -    TQLocale &operator=(const TQLocale &other);
            -
            -    Language language() const;
            -    Country country() const;
            -    TQString name() const;
            -
            -    short toShort(const TQString &s, bool *ok = 0) const;
            -    ushort toUShort(const TQString &s, bool *ok = 0) const;
            -    int toInt(const TQString &s, bool *ok = 0) const;
            -    uint toUInt(const TQString &s, bool *ok = 0) const;
            -    TQ_LONG toLong(const TQString &s, bool *ok = 0) const;
            -    TQ_ULONG toULong(const TQString &s, bool *ok = 0) const;
            -    TQ_LLONG toLongLong(const TQString &s, bool *ok = 0) const;
            -    TQ_ULLONG toULongLong(const TQString &s, bool *ok = 0) const;
            -    float toFloat(const TQString &s, bool *ok = 0) const;
            -    double toDouble(const TQString &s, bool *ok = 0) const;
            -
            -    TQString toString(short i) const
            -    { return toString((TQ_LLONG)i); }
            -    TQString toString(ushort i) const
            -    { return toString((TQ_ULLONG)i); }
            -    TQString toString(int i) const
            -    { return toString((TQ_LLONG)i); }
            -    TQString toString(uint i) const
            -    { return toString((TQ_ULLONG)i); }
            -#if !defined(Q_OS_WIN64)
            -    TQString toString(TQ_LONG i) const
            -    { return toString((TQ_LLONG)i); }
            -    TQString toString(TQ_ULONG i) const
            -    { return toString((TQ_ULLONG)i); }
            -#endif
            -    TQString toString(TQ_LLONG i) const;
            -    TQString toString(TQ_ULLONG i) const;
            -    TQString toString(float i, char f = 'g', int prec = 6) const
            -    { return toString((double) i, f, prec); }
            -    TQString toString(double i, char f = 'g', int prec = 6) const;
            -
            -    static TQString languageToString(Language language);
            -    static TQString countryToString(Country country);
            -    static void setDefault(const TQLocale &locale);
            -
            -    static TQLocale c() { return TQLocale(C); }
            -    static TQLocale system();
            -
            -private:
            -    const TQLocalePrivate *d;
            -    static const TQLocalePrivate *default_d;
            -};
            -
            -#endif
            -
            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qlocale-members.html b/doc/html/qlocale-members.html deleted file mode 100644 index 2b3cdb43c..000000000 --- a/doc/html/qlocale-members.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - -TQLocale Member List - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            Complete Member List for TQLocale

            - -

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

            - -


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 5debea21f..3e8f4f0ba 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 a25b5a234..969637d39 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 6c849f0eb..eadc20ffc 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/qsimplerichtext-h.html b/doc/html/qsimplerichtext-h.html
          deleted file mode 100644
          index e4a72ee68..000000000
          --- a/doc/html/qsimplerichtext-h.html
          +++ /dev/null
          @@ -1,149 +0,0 @@
          -
          -
          -
          -
          -
          -ntqsimplerichtext.h Include File
          -
          -
          -
          -
          -
          -
          -
          -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          ntqsimplerichtext.h

          - -

          This is the verbatim text of the ntqsimplerichtext.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


          -
          -/****************************************************************************
          -** $Id: qt/ntqsimplerichtext.h   3.3.8   edited Jan 11 14:38 $
          -**
          -** Definition of the TQSimpleRichText class
          -**
          -** Created : 990101
          -**
          -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          -**
          -** This file is part of the kernel module of the TQt GUI Toolkit.
          -**
          -** This file may be used under the terms of the GNU General Public
          -** License versions 2.0 or 3.0 as published by the Free Software
          -** Foundation and appearing in the file LICENSE.GPL included in the
          -** packaging of this file. Alternatively you may (at your option) use any
          -** later version of the GNU General Public License if such license has
          -** been publicly approved by Trolltech ASA (or its successors, if any)
          -** and the KDE Free TQt Foundation.
          -**
          -** Please review the following information to ensure GNU General
          -** Public Licensing requirements will be met:
          -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          -** If you are unsure which license is appropriate for your use, please
          -** review the following information:
          -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          -** or contact the sales department at sales@trolltech.com.
          -**
          -** This file may be used under the terms of the Q Public License as
          -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          -** included in the packaging of this file.  Licensees holding valid TQt
          -** Commercial licenses may use this file in accordance with the TQt
          -** Commercial License Agreement provided with the Software.
          -**
          -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          -** herein.
          -**
          -**********************************************************************/
          -
          -#ifndef TQSIMPLERICHTEXT_H
          -#define TQSIMPLERICHTEXT_H
          -
          -#ifndef QT_H
          -#include "ntqnamespace.h"
          -#include "tqstring.h"
          -#include "tqregion.h"
          -#endif // QT_H
          -
          -#ifndef TQT_NO_RICHTEXT
          -
          -class TQPainter;
          -class TQWidget;
          -class TQStyleSheet;
          -class TQBrush;
          -class TQMimeSourceFactory;
          -class TQSimpleRichTextData;
          -
          -class TQ_EXPORT TQSimpleRichText
          -{
          -public:
          -    TQSimpleRichText( const TQString& text, const TQFont& fnt,
          -		     const TQString& context = TQString::null, const TQStyleSheet* sheet = 0);
          -    TQSimpleRichText( const TQString& text, const TQFont& fnt,
          -		     const TQString& context,  const TQStyleSheet* sheet,
          -		     const TQMimeSourceFactory* factory, int pageBreak = -1,
          -		     const TQColor& linkColor = TQt::blue, bool linkUnderline = TRUE );
          -    ~TQSimpleRichText();
          -
          -    void setWidth( int );
          -    void setWidth( TQPainter*, int );
          -    void setDefaultFont( const TQFont &f );
          -    int width() const;
          -    int widthUsed() const;
          -    int height() const;
          -    void adjustSize();
          -
          -    void draw( TQPainter* p,  int x, int y, const TQRect& clipRect,
          -	       const TQColorGroup& cg, const TQBrush* paper = 0) const;
          -
          -    // obsolete
          -    void draw( TQPainter* p,  int x, int y, const TQRegion& clipRegion,
          -	       const TQColorGroup& cg, const TQBrush* paper = 0) const {
          -	draw( p, x, y, clipRegion.boundingRect(), cg, paper );
          -    }
          -
          -    TQString context() const;
          -    TQString anchorAt( const TQPoint& pos ) const;
          -
          -    bool inText( const TQPoint& pos ) const;
          -
          -private:
          -    TQSimpleRichTextData* d;
          -
          -private:	// Disabled copy constructor and operator=
          -#if defined(TQ_DISABLE_COPY)
          -    TQSimpleRichText( const TQSimpleRichText & );
          -    TQSimpleRichText &operator=( const TQSimpleRichText & );
          -#endif
          -};
          -
          -#endif // TQT_NO_RICHTEXT
          -
          -#endif // TQSIMPLERICHTEXT_H
          -
          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qsimplerichtext-members.html b/doc/html/qsimplerichtext-members.html deleted file mode 100644 index 8ca5ab9a8..000000000 --- a/doc/html/qsimplerichtext-members.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - -TQSimpleRichText Member List - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          Complete Member List for TQSimpleRichText

          - -

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

          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qsyntaxhighlighter-h.html b/doc/html/qsyntaxhighlighter-h.html deleted file mode 100644 index 281607f41..000000000 --- a/doc/html/qsyntaxhighlighter-h.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - -ntqsyntaxhighlighter.h Include File - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          ntqsyntaxhighlighter.h

          - -

          This is the verbatim text of the ntqsyntaxhighlighter.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


          -
          -/****************************************************************************
          -** $Id: qt/ntqsyntaxhighlighter.h   3.3.8   edited Jan 11 14:39 $
          -**
          -** Definition of the TQSyntaxHighlighter class
          -**
          -** Created : 022407
          -**
          -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          -**
          -** This file is part of the widgets module of the TQt GUI Toolkit.
          -**
          -** This file may be used under the terms of the GNU General Public
          -** License versions 2.0 or 3.0 as published by the Free Software
          -** Foundation and appearing in the file LICENSE.GPL included in the
          -** packaging of this file. Alternatively you may (at your option) use any
          -** later version of the GNU General Public License if such license has
          -** been publicly approved by Trolltech ASA (or its successors, if any)
          -** and the KDE Free TQt Foundation.
          -**
          -** Please review the following information to ensure GNU General
          -** Public Licensing requirements will be met:
          -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          -** If you are unsure which license is appropriate for your use, please
          -** review the following information:
          -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          -** or contact the sales department at sales@trolltech.com.
          -**
          -** This file may be used under the terms of the Q Public License as
          -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          -** included in the packaging of this file.  Licensees holding valid TQt
          -** Commercial licenses may use this file in accordance with the TQt
          -** Commercial License Agreement provided with the Software.
          -**
          -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          -** herein.
          -**
          -**********************************************************************/
          -
          -#ifndef TQSYNTAXHIGHLIGHTER_H
          -#define TQSYNTAXHIGHLIGHTER_H
          -
          -#ifndef QT_H
          -#include "tqfont.h"
          -#include "tqcolor.h"
          -#include "tqstring.h"
          -#endif // QT_H
          -
          -class TQTextEdit;
          -class TQSyntaxHighlighterInternal;
          -class TQSyntaxHighlighterPrivate;
          -class TQTextParagraph;
          -
          -class TQ_EXPORT TQSyntaxHighlighter : public TQt
          -{
          -    friend class TQSyntaxHighlighterInternal;
          -
          -public:
          -    TQSyntaxHighlighter( TQTextEdit *textEdit );
          -    virtual ~TQSyntaxHighlighter();
          -
          -    virtual int highlightParagraph( const TQString &text, int endStateOfLastPara ) = 0;
          -
          -    void setFormat( int start, int count, const TQFont &font, const TQColor &color );
          -    void setFormat( int start, int count, const TQColor &color );
          -    void setFormat( int start, int count, const TQFont &font );
          -    TQTextEdit *textEdit() const { return edit; }
          -
          -    void rehighlight();
          -
          -    int currentParagraph() const;
          -
          -private:
          -    TQTextParagraph *para;
          -    TQTextEdit *edit;
          -    TQSyntaxHighlighterPrivate *d;
          -
          -};
          -
          -#endif
          -
          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qsyntaxhighlighter-members.html b/doc/html/qsyntaxhighlighter-members.html deleted file mode 100644 index 06dcdccb7..000000000 --- a/doc/html/qsyntaxhighlighter-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - -TQSyntaxHighlighter Member List - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          Complete Member List for TQSyntaxHighlighter

          - -

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

          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index ebb8a1fef..1b7a2df7c 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/qwhatsthis-h.html b/doc/html/qwhatsthis-h.html deleted file mode 100644 index 1e7ba92ab..000000000 --- a/doc/html/qwhatsthis-h.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - -ntqwhatsthis.h Include File - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          ntqwhatsthis.h

          - -

          This is the verbatim text of the ntqwhatsthis.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


          -
          -/****************************************************************************
          -** $Id: qt/ntqwhatsthis.h   3.3.8   edited Jan 11 14:39 $
          -**
          -** Definition of TQWhatsThis class
          -**
          -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          -**
          -** This file is part of the widgets module of the TQt GUI Toolkit.
          -**
          -** This file may be used under the terms of the GNU General Public
          -** License versions 2.0 or 3.0 as published by the Free Software
          -** Foundation and appearing in the file LICENSE.GPL included in the
          -** packaging of this file. Alternatively you may (at your option) use any
          -** later version of the GNU General Public License if such license has
          -** been publicly approved by Trolltech ASA (or its successors, if any)
          -** and the KDE Free TQt Foundation.
          -**
          -** Please review the following information to ensure GNU General
          -** Public Licensing requirements will be met:
          -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          -** If you are unsure which license is appropriate for your use, please
          -** review the following information:
          -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          -** or contact the sales department at sales@trolltech.com.
          -**
          -** This file may be used under the terms of the Q Public License as
          -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          -** included in the packaging of this file.  Licensees holding valid TQt
          -** Commercial licenses may use this file in accordance with the TQt
          -** Commercial License Agreement provided with the Software.
          -**
          -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          -** herein.
          -**
          -**********************************************************************/
          -
          -#ifndef TQWHATSTHIS_H
          -#define TQWHATSTHIS_H
          -
          -#ifndef QT_H
          -#include "tqobject.h"
          -#endif // QT_H
          -
          -#ifndef TQT_NO_WHATSTHIS
          -
          -#include "ntqcursor.h"
          -
          -class TQToolButton;
          -class TQPopupMenu;
          -class TQStyleSheet;
          -
          -class TQ_EXPORT TQWhatsThis: public TQt
          -{
          -public:
          -    TQWhatsThis( TQWidget *);
          -    virtual ~TQWhatsThis();
          -
          -    virtual TQString text( const TQPoint & );
          -    virtual bool clicked( const TQString& href );
          -
          -    // the common static functions
          -    static void setFont( const TQFont &font );    
          -    
          -    static void add( TQWidget *, const TQString &);
          -    static void remove( TQWidget * );
          -    static TQString textFor( TQWidget *, const TQPoint & pos = TQPoint(), bool includeParents = FALSE );
          -
          -    static TQToolButton * whatsThisButton( TQWidget * parent );
          -
          -    static void enterWhatsThisMode();
          -    static bool inWhatsThisMode();
          -    static void leaveWhatsThisMode( const TQString& = TQString::null, const TQPoint& pos = TQCursor::pos(), TQWidget* w = 0 );
          -
          -    static void display( const TQString& text, const TQPoint& pos = TQCursor::pos(), TQWidget* w = 0 );
          -};
          -
          -#endif // TQT_NO_WHATSTHIS
          -
          -#endif // TQWHATSTHIS_H
          -
          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qwhatsthis-members.html b/doc/html/qwhatsthis-members.html deleted file mode 100644 index 8a75bd697..000000000 --- a/doc/html/qwhatsthis-members.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - -TQWhatsThis Member List - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          Complete Member List for TQWhatsThis

          - -

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

          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/rangecontrols-example.html b/doc/html/rangecontrols-example.html index aeb32b2d2..5c2d2bd3c 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 794c8857b..0666ff806 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 d44a665b2..9437e1d1e 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 167907a36..ef2124b97 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 e8c2e5978..271a62364 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 efe781b30..eb9fd6968 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 b7dfccef9..f9a26f399 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 030691db7..13961bb5f 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 b63c30bfa..9087e3fd3 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 891f07b52..8f8dd8c91 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 15dcdfb64..7c235e3ae 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 34748eb3c..4b170081f 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 0e4d432e7..288d23ec2 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 84bbfa176..62f57870d 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 56238458e..d1140eb88 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 ce934cf47..40abeb305 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 360246843..c47150867 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 9934c0ac8..9ebd6d3ae 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 0f5f77aad..90935592d 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 1f2a41b6c..245c1318c 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 4ad99bfd3..fa33e954d 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 79b39aaa4..90921c91b 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 3b19dfaf8..c0d9b6e6a 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 f9e4cf526..d598910fc 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 136d099bd..efd2b2f59 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 2b395fee3..77af3b5af 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 e53d3519c..376ee1563 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 3e8d44773..baab0a2f6 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 ebbbc3122..36fb6b776 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/tqchar-members.html b/doc/html/tqchar-members.html new file mode 100644 index 000000000..eea550453 --- /dev/null +++ b/doc/html/tqchar-members.html @@ -0,0 +1,74 @@ + + + + + +TQChar Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQChar

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqchar.html b/doc/html/tqchar.html new file mode 100644 index 000000000..a27f379e8 --- /dev/null +++ b/doc/html/tqchar.html @@ -0,0 +1,599 @@ + + + + + +TQChar Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQChar Class Reference

          + +

          The TQChar class provides a lightweight Unicode character. +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. +

          Public Members

          +
            +
          • TQChar ()
          • +
          • TQChar ( char c )
          • +
          • TQChar ( uchar c )
          • +
          • TQChar ( uchar c, uchar r )
          • +
          • TQChar ( const TQChar & c )
          • +
          • TQChar ( ushort rc )
          • +
          • TQChar ( short rc )
          • +
          • TQChar ( uint rc )
          • +
          • TQChar ( int rc )
          • +
          • enum Category { NoCategory, Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, Number_Letter, Number_Other, Separator_Space, Separator_Line, Separator_Paragraph, Other_Control, Other_Format, Other_Surrogate, Other_PrivateUse, Other_NotAssigned, Letter_Uppercase, Letter_Lowercase, Letter_Titlecase, Letter_Modifier, Letter_Other, Punctuation_Connector, Punctuation_Dash, Punctuation_Dask = Punctuation_Dash, Punctuation_Open, Punctuation_Close, Punctuation_InitialQuote, Punctuation_FinalQuote, Punctuation_Other, Symbol_Math, Symbol_Currency, Symbol_Modifier, Symbol_Other }
          • +
          • enum Direction { DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON, DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN }
          • +
          • enum Decomposition { Single, Canonical, Font, NoBreak, Initial, Medial, Final, Isolated, Circle, Super, Sub, Vertical, Wide, Narrow, Small, Square, Compat, Fraction }
          • +
          • enum Joining { OtherJoining, Dual, Right, Center }
          • +
          • enum CombiningClass { Combining_BelowLeftAttached = 200, Combining_BelowAttached = 202, Combining_BelowRightAttached = 204, Combining_LeftAttached = 208, Combining_RightAttached = 210, Combining_AboveLeftAttached = 212, Combining_AboveAttached = 214, Combining_AboveRightAttached = 216, Combining_BelowLeft = 218, Combining_Below = 220, Combining_BelowRight = 222, Combining_Left = 224, Combining_Right = 226, Combining_AboveLeft = 228, Combining_Above = 230, Combining_AboveRight = 232, Combining_DoubleBelow = 233, Combining_DoubleAbove = 234, Combining_IotaSubscript = 240 }
          • +
          • int digitValue () const
          • +
          • TQChar lower () const
          • +
          • TQChar upper () const
          • +
          • Category category () const
          • +
          • Direction direction () const
          • +
          • Joining joining () const
          • +
          • bool mirrored () const
          • +
          • TQChar mirroredChar () const
          • +
          • const TQString & decomposition () const
          • +
          • Decomposition decompositionTag () const
          • +
          • unsigned char combiningClass () const
          • +
          • char latin1 () const
          • +
          • ushort unicode () const
          • +
          • ushort & unicode ()
          • +
          • operator char () const
          • +
          • bool isNull () const
          • +
          • bool isPrint () const
          • +
          • bool isPunct () const
          • +
          • bool isSpace () const
          • +
          • bool isMark () const
          • +
          • bool isLetter () const
          • +
          • bool isNumber () const
          • +
          • bool isLetterOrNumber () const
          • +
          • bool isDigit () const
          • +
          • bool isSymbol () const
          • +
          • uchar cell () const
          • +
          • uchar row () const
          • +
          +

          Static Public Members

          +
            +
          • bool networkOrdered ()  (obsolete)
          • +
          +

          Related Functions

          + +

          Detailed Description

          + + + +The TQChar class provides a lightweight Unicode character. +

          +

          Unicode characters are (so far) 16-bit entities without any markup +or structure. This class represents such an entity. It is +lightweight, so it can be used everywhere. Most compilers treat it +like a "short int". (In a few years it may be necessary to make +TQChar 32-bit when more than 65536 Unicode code points have been +defined and come into use.) +

          TQChar provides a full complement of testing/classification +functions, converting to and from other formats, converting from +composed to decomposed Unicode, and trying to compare and +case-convert if you ask it to. +

          The classification functions include functions like those in +ctype.h, but operating on the full range of Unicode characters. +They all return TRUE if the character is a certain type of +character; otherwise they return FALSE. These classification +functions are isNull() (returns TRUE if the character is U+0000), +isPrint() (TRUE if the character is any sort of printable +character, including whitespace), isPunct() (any sort of +punctation), isMark() (Unicode Mark), isLetter (a letter), +isNumber() (any sort of numeric character), isLetterOrNumber(), +and isDigit() (decimal digits). All of these are wrappers around +category() which return the Unicode-defined category of each +character. +

          TQChar further provides direction(), which indicates the "natural" +writing direction of this character. The joining() function +indicates how the character joins with its neighbors (needed +mostly for Arabic) and finally mirrored(), which indicates whether +the character needs to be mirrored when it is printed in its +"unnatural" writing direction. +

          Composed Unicode characters (like å) can be converted to +decomposed Unicode ("a" followed by "ring above") by using +decomposition(). +

          In Unicode, comparison is not necessarily possible and case +conversion is very difficult at best. Unicode, covering the +"entire" world, also includes most of the world's case and sorting +problems. TQt tries, but not very hard: operator==() and friends +will do comparison based purely on the numeric Unicode value (code +point) of the characters, and upper() and lower() will do case +changes when the character has a well-defined upper/lower-case +equivalent. There is no provision for locale-dependent case +folding rules or comparison; these functions are meant to be fast +so they can be used unambiguously in data structures. (See +TQString::localeAwareCompare() though.) +

          The conversion functions include unicode() (to a scalar), latin1() +(to scalar, but converts all non-Latin-1 characters to 0), row() +(gives the Unicode row), cell() (gives the Unicode cell), +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. + +


          Member Type Documentation

          +

          TQChar::Category

          + +

          This enum maps the Unicode character categories. +

          The following characters are normative in Unicode: +

            +
          • TQChar::Mark_NonSpacing - Unicode class name Mn +
          • TQChar::Mark_SpacingCombining - Unicode class name Mc +
          • TQChar::Mark_Enclosing - Unicode class name Me +
          • TQChar::Number_DecimalDigit - Unicode class name Nd +
          • TQChar::Number_Letter - Unicode class name Nl +
          • TQChar::Number_Other - Unicode class name No +
          • TQChar::Separator_Space - Unicode class name Zs +
          • TQChar::Separator_Line - Unicode class name Zl +
          • TQChar::Separator_Paragraph - Unicode class name Zp +
          • TQChar::Other_Control - Unicode class name Cc +
          • TQChar::Other_Format - Unicode class name Cf +
          • TQChar::Other_Surrogate - Unicode class name Cs +
          • TQChar::Other_PrivateUse - Unicode class name Co +
          • TQChar::Other_NotAssigned - Unicode class name Cn +

          The following categories are informative in Unicode: +

            +
          • TQChar::Letter_Uppercase - Unicode class name Lu +
          • TQChar::Letter_Lowercase - Unicode class name Ll +
          • TQChar::Letter_Titlecase - Unicode class name Lt +
          • TQChar::Letter_Modifier - Unicode class name Lm +
          • TQChar::Letter_Other - Unicode class name Lo +
          • TQChar::Punctuation_Connector - Unicode class name Pc +
          • TQChar::Punctuation_Dash - Unicode class name Pd +
          • TQChar::Punctuation_Open - Unicode class name Ps +
          • TQChar::Punctuation_Close - Unicode class name Pe +
          • TQChar::Punctuation_InitialQuote - Unicode class name Pi +
          • TQChar::Punctuation_FinalQuote - Unicode class name Pf +
          • TQChar::Punctuation_Other - Unicode class name Po +
          • TQChar::Symbol_Math - Unicode class name Sm +
          • TQChar::Symbol_Currency - Unicode class name Sc +
          • TQChar::Symbol_Modifier - Unicode class name Sk +
          • TQChar::Symbol_Other - Unicode class name So +

          There are two categories that are specific to TQt: +

            +
          • TQChar::NoCategory - used when TQt is dazed and confused and cannot +make sense of anything. +
          • TQChar::Punctuation_Dask - old typo alias for Punctuation_Dash +

          +

          TQChar::CombiningClass

          + +

          This enum type defines names for some of the Unicode combining +classes. See the Unicode + Standard for a description of the values. + +

          TQChar::Decomposition

          + +

          This enum type defines the Unicode decomposition attributes. See +the Unicode Standard for a +description of the values. + +

          TQChar::Direction

          + +

          This enum type defines the Unicode direction attributes. See the Unicode Standard for a +description of the values. +

          In order to conform to C/C++ naming conventions "Dir" is prepended +to the codes used in the Unicode Standard. + +

          TQChar::Joining

          + +

          This enum type defines the Unicode joining attributes. See the Unicode Standard for a +description of the values. + +


          Member Function Documentation

          +

          TQChar::TQChar () +

          + +

          Constructs a null TQChar (one that isNull()). + +

          TQChar::TQChar ( char c ) +

          + +

          Constructs a TQChar corresponding to ASCII/Latin-1 character c. + +

          TQChar::TQChar ( uchar c ) +

          + +

          Constructs a TQChar corresponding to ASCII/Latin-1 character c. + +

          TQChar::TQChar ( uchar c, uchar r ) +

          + +

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

          TQChar::TQChar ( const TQChar & c ) +

          + +

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

          TQChar::TQChar ( ushort rc ) +

          + +

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

          TQChar::TQChar ( short rc ) +

          + +

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

          TQChar::TQChar ( uint rc ) +

          + +

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

          TQChar::TQChar ( int rc ) +

          + +

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

          Category TQChar::category () const +

          +Returns the character category. +

          See also Category. + +

          uchar TQChar::cell () const +

          + +

          Returns the cell (least significant byte) of the Unicode +character. + +

          unsigned char TQChar::combiningClass () const +

          +Returns the combining class for the character as defined in the +Unicode standard. This is mainly useful as a positioning hint for +marks attached to a base character. +

          The TQt text rendering engine uses this information to correctly +position non spacing marks around a base character. + +

          const TQString & TQChar::decomposition () const +

          Warning: This function is not reentrant.

          + + +

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

          Decomposition TQChar::decompositionTag () const +

          +Returns the tag defining the composition of the character. Returns +TQChar::Single if no decomposition exists. + +

          int TQChar::digitValue () const +

          +Returns the numeric value of the digit, or -1 if the character is +not a digit. + +

          Direction TQChar::direction () const +

          +Returns the character's direction. +

          See also Direction. + +

          bool TQChar::isDigit () const +

          +Returns TRUE if the character is a decimal digit +(Number_DecimalDigit); otherwise returns FALSE. + +

          bool TQChar::isLetter () const +

          +Returns TRUE if the character is a letter (Letter_* categories); +otherwise returns FALSE. + +

          bool TQChar::isLetterOrNumber () const +

          +Returns TRUE if the character is a letter or number (Letter_* or +Number_* categories); otherwise returns FALSE. + +

          bool TQChar::isMark () const +

          +Returns TRUE if the character is a mark (Mark_* categories); +otherwise returns FALSE. + +

          bool TQChar::isNull () const +

          + +

          Returns TRUE if the character is the Unicode character 0x0000 +(ASCII NUL); otherwise returns FALSE. + +

          bool TQChar::isNumber () const +

          +Returns TRUE if the character is a number (of any sort - Number_* +categories); otherwise returns FALSE. +

          See also isDigit(). + +

          bool TQChar::isPrint () const +

          +Returns TRUE if the character is a printable character; otherwise +returns FALSE. This is any character not of category Cc or Cn. +

          Note that this gives no indication of whether the character is +available in a particular font. + +

          bool TQChar::isPunct () const +

          +Returns TRUE if the character is a punctuation mark (Punctuation_* +categories); otherwise returns FALSE. + +

          bool TQChar::isSpace () const +

          +Returns TRUE if the character is a separator character +(Separator_* categories); otherwise returns FALSE. + +

          bool TQChar::isSymbol () const +

          +Returns TRUE if the character is a symbol (Symbol_* categories); +otherwise returns FALSE. + +

          Joining TQChar::joining () const +

          +Warning: This function is not supported (it may change to use +Unicode character classes). +

          Returns information about the joining properties of the character +(needed for example, for Arabic). + +

          char TQChar::latin1 () const +

          + +

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

          TQChar TQChar::lower () const +

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

          bool TQChar::mirrored () const +

          +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 +

          +Returns the mirrored character if this character is a mirrored +character, otherwise returns the character itself. + +

          bool TQChar::networkOrdered () [static] +

          + +

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

          Returns TRUE if this character is in network byte order (MSB +first); otherwise returns FALSE. This is platform dependent. + +

          TQChar::operator char () const +

          + +

          Returns the Latin-1 character equivalent to the TQChar, or 0. This +is mainly useful for non-internationalized software. +

          See also unicode(). + +

          uchar TQChar::row () const +

          + +

          Returns the row (most significant byte) of the Unicode character. + +

          ushort TQChar::unicode () const +

          + +

          Returns the numeric Unicode value equal to the TQChar. Normally, +you should use TQChar objects as they are equivalent, but for some +low-level tasks (e.g. indexing into an array of Unicode +information), this function is useful. + +

          ushort & TQChar::unicode () +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

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

          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 ) +

          + +

          +

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

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

          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 ) +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

          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 ) +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          +

          Returns TRUE if the numeric Unicode value of c1 is less than +that of c2, or they are the same Unicode character; otherwise +returns FALSE. + +

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

          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 ) +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

          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 ) +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

          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 ) +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          +

          Returns TRUE if the numeric Unicode value of c1 is greater than +that of c2, or they are the same Unicode character; otherwise +returns FALSE. + +

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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

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

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          +

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


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqcharref-members.html b/doc/html/tqcharref-members.html new file mode 100644 index 000000000..afc8d3b7e --- /dev/null +++ b/doc/html/tqcharref-members.html @@ -0,0 +1,46 @@ + + + + + +TQCharRef Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQCharRef

          + +

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

            +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqcharref.html b/doc/html/tqcharref.html new file mode 100644 index 000000000..dfa9a8a3a --- /dev/null +++ b/doc/html/tqcharref.html @@ -0,0 +1,64 @@ + + + + + +TQCharRef Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQCharRef Class Reference

          + +

          The TQCharRef class is a helper class for TQString. +More... +

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

          +

          #include <tqstring.h> +

          List of all member functions. +


          Detailed Description

          + + + +The TQCharRef class is a helper class for TQString. +

          +

          When you get an object of type TQCharRef, if you can assign to it, +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. +

          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. + + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqconststring-members.html b/doc/html/tqconststring-members.html new file mode 100644 index 000000000..196c68d25 --- /dev/null +++ b/doc/html/tqconststring-members.html @@ -0,0 +1,49 @@ + + + + + +TQConstString Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQConstString

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqconststring.html b/doc/html/tqconststring.html new file mode 100644 index 000000000..dcfa9b256 --- /dev/null +++ b/doc/html/tqconststring.html @@ -0,0 +1,91 @@ + + + + + +TQConstString Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQConstString Class Reference

          + +

          The TQConstString class provides string objects using constant Unicode data. +More... +

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

          +

          #include <tqstring.h> +

          List of all member functions. +

          Public Members

          + +

          Detailed Description

          + + + + +The TQConstString class provides string objects using constant Unicode data. +

          In order to minimize copying, highly optimized applications can +use TQConstString to provide a TQString-compatible object from +existing Unicode data. It is then the programmer's responsibility +to ensure that the Unicode data exists for the entire lifetime of +the TQConstString object. +

          A TQConstString is created with the TQConstString constructor. The +string held by the object can be obtained by calling string(). +

          See also Text Related Classes. + +


          Member Function Documentation

          +

          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 +of the string will cause it to create a copy of the data, thus it +remains forever unmodified. +

          The data in unicode is not copied. The caller must be able to +guarantee that unicode will not be deleted or modified. + +

          TQConstString::~TQConstString () +

          +Destroys the TQConstString, creating a copy of the data if other +strings are still using it. + +

          const TQString & TQConstString::string () const +

          + +

          Returns a constant string referencing the data passed during +construction. + + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqdir-example.html b/doc/html/tqdir-example.html index c85843346..558f107fa 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 76de27ae9..2a575c942 100644 --- a/doc/html/tqfiledialog.html +++ b/doc/html/tqfiledialog.html @@ -212,10 +212,10 @@ function names differ, e.g. setContentsPreview that the user can see either the contents of the file, or information about the file.

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

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

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

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

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

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

          Adds the specified widgets to the bottom of the file dialog. The label l is placed underneath the "file name" and the "file types" @@ -361,7 +361,7 @@ The button b is placed underneath the Cancel pushbutton. MyFileDialog::MyFileDialog( TQWidget* parent, const char* name ) : TQFileDialog( parent, name ) { - TQLabel* label = new TQLabel( "Added widgets", this ); + TQLabel* label = new TQLabel( "Added widgets", this ); TQLineEdit* lineedit = new TQLineEdit( this ); TQPushButton* pushbutton = new TQPushButton( this ); @@ -626,10 +626,10 @@ TQFilePreview, so you should pass the same widget twice. If you don't, you must remember to delete the preview object in order to avoid memory leaks.

          -    class Preview : public TQLabel, public TQFilePreview
          +    class Preview : public TQLabel, public TQFilePreview
               {
               public:
          -        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
          +        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
           
                   void previewUrl( const TQUrl &u )
                   {
          @@ -729,10 +729,10 @@ TQFilePreview, so you should pass the same widget twice. If you
           don't, you must remember to delete the preview object in order to
           avoid memory leaks.
           

          -    class Preview : public TQLabel, public TQFilePreview
          +    class Preview : public TQLabel, public TQFilePreview
               {
               public:
          -        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
          +        Preview( TQWidget *parent=0 ) : TQLabel( parent ) {}
           
                   void previewUrl( const TQUrl &u )
                   {
          diff --git a/doc/html/tqfontmetrics.html b/doc/html/tqfontmetrics.html
          index 0a36b04c7..8d65e14a2 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 1a92b5531..8bc981f42 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/tqlabel-h.html b/doc/html/tqlabel-h.html new file mode 100644 index 000000000..637ea6fea --- /dev/null +++ b/doc/html/tqlabel-h.html @@ -0,0 +1,219 @@ + + + + + +tqlabel.h Include File + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          tqlabel.h

          + +

          This is the verbatim text of the tqlabel.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


          +
          +/**********************************************************************
          +** $Id: qt/tqlabel.h   3.3.8   edited Jan 11 14:38 $
          +**
          +** Definition of TQLabel widget class
          +**
          +** Created : 941215
          +**
          +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          +**
          +** This file is part of the widgets module of the TQt GUI Toolkit.
          +**
          +** This file may be used under the terms of the GNU General Public
          +** License versions 2.0 or 3.0 as published by the Free Software
          +** Foundation and appearing in the file LICENSE.GPL included in the
          +** packaging of this file. Alternatively you may (at your option) use any
          +** later version of the GNU General Public License if such license has
          +** been publicly approved by Trolltech ASA (or its successors, if any)
          +** and the KDE Free TQt Foundation.
          +**
          +** Please review the following information to ensure GNU General
          +** Public Licensing requirements will be met:
          +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          +** If you are unsure which license is appropriate for your use, please
          +** review the following information:
          +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          +** or contact the sales department at sales@trolltech.com.
          +**
          +** This file may be used under the terms of the Q Public License as
          +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          +** included in the packaging of this file.  Licensees holding valid TQt
          +** Commercial licenses may use this file in accordance with the TQt
          +** Commercial License Agreement provided with the Software.
          +**
          +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          +** herein.
          +**
          +**********************************************************************/
          +
          +#ifndef TQLABEL_H
          +#define TQLABEL_H
          +
          +#ifndef QT_H
          +#include "ntqframe.h"
          +#endif // QT_H
          +
          +#ifndef TQT_NO_LABEL
          +
          +class TQSimpleRichText;
          +class TQLabelPrivate;
          +
          +class TQ_EXPORT TQLabel : public TQFrame
          +{
          +    TQ_OBJECT
          +    TQ_PROPERTY( TQString text READ text WRITE setText )
          +    TQ_PROPERTY( TextFormat textFormat READ textFormat WRITE setTextFormat )
          +    TQ_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )
          +    TQ_PROPERTY( bool scaledContents READ hasScaledContents WRITE setScaledContents )
          +    TQ_PROPERTY( Alignment alignment READ alignment WRITE setAlignment )
          +    TQ_PROPERTY( int indent READ indent WRITE setIndent )
          +    TQ_OVERRIDE( BackgroundMode backgroundMode DESIGNABLE true)
          +
          +public:
          +    TQLabel( TQWidget *parent, const char* name=0, WFlags f=0 );
          +    TQLabel( const TQString &text, TQWidget *parent, const char* name=0,
          +	    WFlags f=0 );
          +    TQLabel( TQWidget *buddy, const TQString &,
          +	    TQWidget *parent, const char* name=0, WFlags f=0 );
          +    ~TQLabel();
          +
          +    TQString	 text()		const	{ return ltext; }
          +    TQPixmap     *pixmap()	const	{ return lpixmap; }
          +#ifndef TQT_NO_PICTURE
          +    TQPicture    *picture()	const	{ return lpicture; }
          +#endif
          +#ifndef TQT_NO_MOVIE
          +    TQMovie      *movie()		const;
          +#endif
          +
          +    TextFormat textFormat() const;
          +    void 	 setTextFormat( TextFormat );
          +
          +    int		 alignment() const	{ return align; }
          +    virtual void setAlignment( int );
          +    int		 indent() const		{ return extraMargin; }
          +    void 	 setIndent( int );
          +
          +    bool 	 autoResize() const	{ return autoresize; }
          +    virtual void setAutoResize( bool );
          +#ifndef TQT_NO_IMAGE_SMOOTHSCALE
          +    bool 	hasScaledContents() const;
          +    void 	setScaledContents( bool );
          +#endif
          +    TQSize	 sizeHint() const;
          +    TQSize	 minimumSizeHint() const;
          +#ifndef TQT_NO_ACCEL
          +    virtual void setBuddy( TQWidget * );
          +    TQWidget     *buddy() const;
          +#endif
          +    int		 heightForWidth(int) const;
          +
          +    void setFont( const TQFont &f );
          +
          +public slots:
          +    virtual void setText( const TQString &);
          +    virtual void setPixmap( const TQPixmap & );
          +#ifndef TQT_NO_PICTURE
          +    virtual void setPicture( const TQPicture & );
          +#endif
          +#ifndef TQT_NO_MOVIE
          +    virtual void setMovie( const TQMovie & );
          +#endif
          +    virtual void setNum( int );
          +    virtual void setNum( double );
          +    void	 clear();
          +
          +protected:
          +    void	 drawContents( TQPainter * );
          +    void	 fontChange( const TQFont & );
          +    void	 resizeEvent( TQResizeEvent* );
          +
          +private slots:
          +#ifndef TQT_NO_ACCEL
          +    void	 acceleratorSlot();
          +    void	 buddyDied();
          +#endif
          +#ifndef TQT_NO_MOVIE
          +    void	 movieUpdated(const TQRect&);
          +    void	 movieResized(const TQSize&);
          +#endif
          +
          +private:
          +    void	init();
          +    void	clearContents();
          +    void	updateLabel( TQSize oldSizeHint );
          +    TQSize	sizeForWidth( int w ) const;
          +    TQString	ltext;
          +    TQPixmap    *lpixmap;
          +#ifndef TQT_NO_PICTURE
          +    TQPicture   *lpicture;
          +#endif
          +#ifndef TQT_NO_MOVIE
          +    TQMovie *	lmovie;
          +#endif
          +#ifndef TQT_NO_ACCEL
          +    TQWidget *	lbuddy;
          +#endif
          +    ushort	align;
          +    short	extraMargin;
          +    uint	autoresize:1;
          +    uint	scaledcontents :1;
          +    TextFormat textformat;
          +#ifndef TQT_NO_RICHTEXT
          +    TQSimpleRichText* doc;
          +#endif
          +#ifndef TQT_NO_ACCEL
          +    TQAccel *	accel;
          +#endif
          +    TQLabelPrivate* d;
          +
          +    friend class TQTipLabel;
          +
          +private:	// Disabled copy constructor and operator=
          +#if defined(TQ_DISABLE_COPY)
          +    TQLabel( const TQLabel & );
          +    TQLabel &operator=( const TQLabel & );
          +#endif
          +};
          +
          +
          +#endif // TQT_NO_LABEL
          +
          +#endif // TQLABEL_H
          +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqlabel-m.png b/doc/html/tqlabel-m.png new file mode 100644 index 000000000..9747821a1 Binary files /dev/null and b/doc/html/tqlabel-m.png differ diff --git a/doc/html/tqlabel-members.html b/doc/html/tqlabel-members.html new file mode 100644 index 000000000..6a3df6807 --- /dev/null +++ b/doc/html/tqlabel-members.html @@ -0,0 +1,378 @@ + + + + + +TQLabel Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQLabel

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqlabel-w.png b/doc/html/tqlabel-w.png new file mode 100644 index 000000000..9747821a1 Binary files /dev/null and b/doc/html/tqlabel-w.png differ diff --git a/doc/html/tqlabel.html b/doc/html/tqlabel.html new file mode 100644 index 000000000..4284b03f4 --- /dev/null +++ b/doc/html/tqlabel.html @@ -0,0 +1,420 @@ + + + + + +TQLabel Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQLabel Class Reference

          + +

          The TQLabel widget provides a text or image display. +More... +

          #include <tqlabel.h> +

          Inherits TQFrame. +

          List of all member functions. +

          Public Members

          +
            +
          • TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • +
          • TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • +
          • TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )
          • +
          • ~TQLabel ()
          • +
          • TQString text () const
          • +
          • TQPixmap * pixmap () const
          • +
          • TQPicture * picture () const
          • +
          • TQMovie * movie () const
          • +
          • TextFormat textFormat () const
          • +
          • void setTextFormat ( TextFormat )
          • +
          • int alignment () const
          • +
          • virtual void setAlignment ( int )
          • +
          • int indent () const
          • +
          • void setIndent ( int )
          • +
          • bool autoResize () const  (obsolete)
          • +
          • virtual void setAutoResize ( bool enable )  (obsolete)
          • +
          • bool hasScaledContents () const
          • +
          • void setScaledContents ( bool )
          • +
          • virtual void setBuddy ( TQWidget * buddy )
          • +
          • TQWidget * buddy () const
          • +
          • virtual void setFont ( const TQFont & f )
          • +
          +

          Public Slots

          +
            +
          • virtual void setText ( const TQString & )
          • +
          • virtual void setPixmap ( const TQPixmap & )
          • +
          • virtual void setPicture ( const TQPicture & picture )
          • +
          • virtual void setMovie ( const TQMovie & movie )
          • +
          • virtual void setNum ( int num )
          • +
          • virtual void setNum ( double num )
          • +
          • void clear ()
          • +
          +

          Properties

          +
            +
          • Alignment alignment - the alignment of the label's contents
          • +
          • BackgroundMode backgroundMode - the label's background mode  (read only)
          • +
          • int indent - the label's text indent in pixels
          • +
          • TQPixmap pixmap - the label's pixmap
          • +
          • bool scaledContents - whether the label will scale its contents to fill all available space
          • +
          • TQString text - the label's text
          • +
          • TextFormat textFormat - the label's text format
          • +
          +

          Protected Members

          + +

          Detailed Description

          + + +The TQLabel widget provides a text or image display. +

          + + +

          TQLabel is used for displaying text or an image. No user +interaction functionality is provided. The visual appearance of +the label can be configured in various ways, and it can be used +for specifying a focus accelerator key for another widget. +

          A TQLabel can contain any of the following content types: +

          +
          Content Setting +
          Plain text +Pass a TQString to setText(). +
          Rich text +Pass a TQString that contains rich text to setText(). +
          A pixmap +Pass a TQPixmap to setPixmap(). +
          A movie +Pass a TQMovie to setMovie(). +
          A number +Pass an int or a double to setNum(), which converts +the number to plain text. +
          Nothing +The same as an empty plain text. This is the default. Set +by clear(). +
          +

          When the content is changed using any of these functions, any +previous content is cleared. +

          The look of a TQLabel can be tuned in several ways. All the +settings of TQFrame are available for specifying a widget frame. +The positioning of the content within the TQLabel widget area can +be tuned with setAlignment() and setIndent(). For example, this +code sets up a sunken panel with a two-line text in the bottom +right corner (both lines being flush with the right side of the +label): +

          +    TQLabel *label = new TQLabel( this );
          +    label->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
          +    label->setText( "first line\nsecond line" );
          +    label->setAlignment( AlignBottom | AlignRight );
          +    
          + +

          A TQLabel is often used as a label for an interactive widget. For +this use TQLabel provides a useful mechanism for adding an +accelerator key (see TQAccel) that will set the keyboard focus to +the other widget (called the TQLabel's "buddy"). For example: +

          +    TQLineEdit* phoneEdit = new TQLineEdit( this, "phoneEdit" );
          +    TQLabel* phoneLabel = new TQLabel( phoneEdit, "&Phone:", this, "phoneLabel" );
          +    
          + +

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

          +

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


          Member Function Documentation

          +

          TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 ) +

          +Constructs an empty label. +

          The parent, name and widget flag f, arguments are passed +to the TQFrame constructor. +

          See also alignment, setFrameStyle(), and indent. + +

          TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 ) +

          +Constructs a label that displays the text, text. +

          The parent, name and widget flag f, arguments are passed +to the TQFrame constructor. +

          See also text, alignment, setFrameStyle(), and indent. + +

          TQLabel::TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 ) +

          +Constructs a label that displays the text text. The label has a +buddy widget, buddy. +

          If the text contains an underlined letter (a letter preceded by +an ampersand, &), and the text is in plain text format, when the +user presses Alt+ the underlined letter, focus is passed to the +buddy widget. +

          The parent, name and widget flag, f, arguments are passed +to the TQFrame constructor. +

          See also text, setBuddy(), alignment, setFrameStyle(), and indent. + +

          TQLabel::~TQLabel () +

          +Destroys the label. + +

          int TQLabel::alignment () const +

          Returns the alignment of the label's contents. +See the "alignment" property for details. +

          bool TQLabel::autoResize () const +

          + +

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

          Returns TRUE if auto-resizing is enabled, or FALSE if auto-resizing +is disabled. +

          Auto-resizing is disabled by default. +

          See also setAutoResize(). + +

          TQWidget * TQLabel::buddy () const +

          +Returns this label's buddy, or 0 if no buddy is currently set. +

          See also setBuddy(). + +

          void TQLabel::clear () [slot] +

          +Clears any label contents. Equivalent to setText( "" ). + +

          void TQLabel::drawContents ( TQPainter * p ) [virtual protected] +

          +Draws the label contents using the painter p. + +

          Reimplemented from TQFrame. +

          bool TQLabel::hasScaledContents () const +

          Returns TRUE if the label will scale its contents to fill all available space; otherwise returns FALSE. +See the "scaledContents" property for details. +

          int TQLabel::indent () const +

          Returns the label's text indent in pixels. +See the "indent" property for details. +

          TQMovie * TQLabel::movie () const +

          +Returns a pointer to the label's movie, or 0 if no movie has been +set. +

          See also setMovie(). + +

          TQPicture * TQLabel::picture () const +

          + +

          Returns the label's picture or 0 if the label doesn't have a +picture. + +

          TQPixmap * TQLabel::pixmap () const +

          Returns the label's pixmap. +See the "pixmap" property for details. +

          void TQLabel::setAlignment ( int ) [virtual] +

          Sets the alignment of the label's contents. +See the "alignment" property for details. +

          void TQLabel::setAutoResize ( bool enable ) [virtual] +

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

          Enables auto-resizing if enable is TRUE, or disables it if enable is FALSE. +

          When auto-resizing is enabled the label will resize itself to fit +the contents whenever the contents change. The top-left corner is +not moved. This is useful for TQLabel widgets that are not managed by +a TQLayout (e.g., top-level widgets). +

          Auto-resizing is disabled by default. +

          See also autoResize(), adjustSize(), and sizeHint. + +

          void TQLabel::setBuddy ( TQWidget * buddy ) [virtual] +

          +Sets this label's buddy to buddy. +

          When the user presses the accelerator key indicated by this label, +the keyboard focus is transferred to the label's buddy widget. +

          The buddy mechanism is only available for TQLabels that contain +plain text in which one letter is prefixed with an ampersand, &. +This letter is set as the accelerator key. The letter is displayed +underlined, and the '&' is not displayed (i.e. the ShowPrefix +alignment flag is turned on; see setAlignment()). +

          In a dialog, you might create two data entry widgets and a label +for each, and set up the geometry layout so each label is just to +the left of its data entry widget (its "buddy"), for example: +

          +    TQLineEdit *nameEd  = new TQLineEdit( this );
          +    TQLabel    *nameLb  = new TQLabel( "&Name:", this );
          +    nameLb->setBuddy( nameEd );
          +    TQLineEdit *phoneEd = new TQLineEdit( this );
          +    TQLabel    *phoneLb = new TQLabel( "&Phone:", this );
          +    phoneLb->setBuddy( phoneEd );
          +    // ( layout setup not shown )
          +    
          + +

          With the code above, the focus jumps to the Name field when the +user presses Alt+N, and to the Phone field when the user presses +Alt+P. +

          To unset a previously set buddy, call this function with buddy +set to 0. +

          See also buddy(), text, TQAccel, and alignment. + +

          Examples: addressbook/centralwidget.cpp, chart/optionsform.cpp, and regexptester/regexptester.cpp. +

          void TQLabel::setFont ( const TQFont & f ) [virtual] +

          +Sets the font used on the TQLabel to font f. + +

          Example: menu/menu.cpp. +

          Reimplemented from TQWidget. +

          void TQLabel::setIndent ( int ) +

          Sets the label's text indent in pixels. +See the "indent" property for details. +

          void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot] +

          +Sets the label contents to movie. Any previous content is +cleared. +

          The buddy accelerator, if any, is disabled. +

          The label resizes itself if auto-resizing is enabled. +

          See also movie() and setBuddy(). + +

          void TQLabel::setNum ( int num ) [virtual slot] +

          +Sets the label contents to plain text containing the textual +representation of integer num. Any previous content is cleared. +Does nothing if the integer's string representation is the same as +the current contents of the label. +

          The buddy accelerator, if any, is disabled. +

          The label resizes itself if auto-resizing is enabled. +

          See also text, TQString::setNum(), and setBuddy(). + +

          void TQLabel::setNum ( double num ) [virtual slot] +

          +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          Sets the label contents to plain text containing the textual +representation of double num. Any previous content is cleared. +Does nothing if the double's string representation is the same as +the current contents of the label. +

          The buddy accelerator, if any, is disabled. +

          The label resizes itself if auto-resizing is enabled. +

          See also text, TQString::setNum(), and setBuddy(). + +

          void TQLabel::setPicture ( const TQPicture & picture ) [virtual slot] +

          +Sets the label contents to picture. Any previous content is +cleared. +

          The buddy accelerator, if any, is disabled. +

          See also picture() and setBuddy(). + +

          void TQLabel::setPixmap ( const TQPixmap & ) [virtual slot] +

          Sets the label's pixmap. +See the "pixmap" property for details. +

          void TQLabel::setScaledContents ( bool ) +

          Sets whether the label will scale its contents to fill all available space. +See the "scaledContents" property for details. +

          void TQLabel::setText ( const TQString & ) [virtual slot] +

          Sets the label's text. +See the "text" property for details. +

          void TQLabel::setTextFormat ( TextFormat ) +

          Sets the label's text format. +See the "textFormat" property for details. +

          TQString TQLabel::text () const +

          Returns the label's text. +See the "text" property for details. +

          TextFormat TQLabel::textFormat () const +

          Returns the label's text format. +See the "textFormat" property for details. +


          Property Documentation

          +

          Alignment alignment

          +

          This property holds the alignment of the label's contents. +

          The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; +otherwise they are ignored. The DontClip flag is always +ignored. WordBreak applies to both rich text and plain text +labels. The BreakAnywhere flag is not supported in TQLabel. +

          If the label has a buddy, the ShowPrefix flag is forced to +TRUE. +

          The default alignment is AlignAuto | AlignVCenter | ExpandTabs +if the label doesn't have a buddy and AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix if the label has a buddy. If the label +contains rich text, additionally WordBreak is turned on. +

          See also TQt::AlignmentFlags, setBuddy(), and text. + +

          Set this property's value with setAlignment() and get this property's value with alignment(). +

          BackgroundMode backgroundMode

          +

          This property holds the label's background mode. +

          Get this property with backgroundMode(). +

          See also TQWidget::backgroundMode. + +

          int indent

          +

          This property holds the label's text indent in pixels. +

          If a label displays text, the indent applies to the left edge if +alignment() is AlignLeft, to the right edge if alignment() is +AlignRight, to the top edge if alignment() is AlignTop, and +to to the bottom edge if alignment() is AlignBottom. +

          If indent is negative, or if no indent has been set, the label +computes the effective indent as follows: If frameWidth() is 0, +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 font(). +

          See also alignment, frameWidth, and font. + +

          Set this property's value with setIndent() and get this property's value with indent(). +

          TQPixmap pixmap

          +

          This property holds the label's pixmap. +

          If no pixmap has been set this will return an invalid pixmap. +

          Setting the pixmap clears any previous content, and resizes the +label if TQLabel::autoResize() is TRUE. The buddy accelerator, +if any, is disabled. + +

          Set this property's value with setPixmap() and get this property's value with pixmap(). +

          bool scaledContents

          +

          This property holds whether the label will scale its contents to fill all available space. +

          When enabled and the label shows a pixmap, it will scale the +pixmap to fill the available space. +

          This property's default is FALSE. +

          See also scaledContents. + +

          Set this property's value with setScaledContents() and get this property's value with hasScaledContents(). +

          TQString text

          +

          This property holds the label's text. +

          If no text has been set this will return an empty string. Setting +the text clears any previous content, unless they are the same. +

          The text will be interpreted either as a plain text or as a rich +text, depending on the text format setting; see setTextFormat(). +The default setting is AutoText, i.e. TQLabel will try to +auto-detect the format of the text set. +

          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. +

          The label resizes itself if auto-resizing is enabled. +

          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 TQTextEdit +in read-only mode instead. TQTextEdit will flicker less on resize +and can also provide a scrollbar when necessary. +

          See also textFormat, setBuddy(), and alignment. + +

          Set this property's value with setText() and get this property's value with text(). +

          TextFormat textFormat

          +

          This property holds the label's text format. +

          See the TQt::TextFormat enum for an explanation of the possible +options. +

          The default format is AutoText. +

          See also text. + +

          Set this property's value with setTextFormat() and get this property's value with textFormat(). + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqlocale-h.html b/doc/html/tqlocale-h.html new file mode 100644 index 000000000..163a3ba1b --- /dev/null +++ b/doc/html/tqlocale-h.html @@ -0,0 +1,539 @@ + + + + + +tqlocale.h Include File + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          tqlocale.h

          + +

          This is the verbatim text of the tqlocale.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


          +
          +/****************************************************************************
          +** $Id: qt/tqlocale.h   3.3.8   edited Jan 11 14:38 $
          +**
          +** Declaration of the TQLocale class
          +**
          +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          +**
          +** This file is part of the tools module of the TQt GUI Toolkit.
          +**
          +** This file may be used under the terms of the GNU General Public
          +** License versions 2.0 or 3.0 as published by the Free Software
          +** Foundation and appearing in the file LICENSE.GPL included in the
          +** packaging of this file. Alternatively you may (at your option) use any
          +** later version of the GNU General Public License if such license has
          +** been publicly approved by Trolltech ASA (or its successors, if any)
          +** and the KDE Free TQt Foundation.
          +**
          +** Please review the following information to ensure GNU General
          +** Public Licensing requirements will be met:
          +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          +** If you are unsure which license is appropriate for your use, please
          +** review the following information:
          +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          +** or contact the sales department at sales@trolltech.com.
          +**
          +** This file may be used under the terms of the Q Public License as
          +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          +** included in the packaging of this file.  Licensees holding valid TQt
          +** Commercial licenses may use this file in accordance with the TQt
          +** Commercial License Agreement provided with the Software.
          +**
          +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          +** herein.
          +**
          +**********************************************************************/
          +
          +#ifndef TQLOCALE_H
          +#define TQLOCALE_H
          +
          +#include "tqstring.h"
          +
          +struct TQLocalePrivate;
          +
          +class TQ_EXPORT TQLocale
          +{
          +    friend class TQString;
          +
          +public:
          +    enum Language {
          +        C = 1,
          +        Abkhazian = 2,
          +        Afan = 3,
          +        Afar = 4,
          +        Afrikaans = 5,
          +        Albanian = 6,
          +        Amharic = 7,
          +        Arabic = 8,
          +        Armenian = 9,
          +        Assamese = 10,
          +        Aymara = 11,
          +        Azerbaijani = 12,
          +        Bashkir = 13,
          +        Basque = 14,
          +        Bengali = 15,
          +        Bhutani = 16,
          +        Bihari = 17,
          +        Bislama = 18,
          +        Breton = 19,
          +        Bulgarian = 20,
          +        Burmese = 21,
          +        Byelorussian = 22,
          +        Cambodian = 23,
          +        Catalan = 24,
          +        Chinese = 25,
          +        Corsican = 26,
          +        Croatian = 27,
          +        Czech = 28,
          +        Danish = 29,
          +        Dutch = 30,
          +        English = 31,
          +        Esperanto = 32,
          +        Estonian = 33,
          +        Faroese = 34,
          +        FijiLanguage = 35,
          +        Finnish = 36,
          +        French = 37,
          +        Frisian = 38,
          +        Gaelic = 39,
          +        Galician = 40,
          +        Georgian = 41,
          +        German = 42,
          +        Greek = 43,
          +        Greenlandic = 44,
          +        Guarani = 45,
          +        Gujarati = 46,
          +        Hausa = 47,
          +        Hebrew = 48,
          +        Hindi = 49,
          +        Hungarian = 50,
          +        Icelandic = 51,
          +        Indonesian = 52,
          +        Interlingua = 53,
          +        Interlingue = 54,
          +        Inuktitut = 55,
          +        Inupiak = 56,
          +        Irish = 57,
          +        Italian = 58,
          +        Japanese = 59,
          +        Javanese = 60,
          +        Kannada = 61,
          +        Kashmiri = 62,
          +        Kazakh = 63,
          +        Kinyarwanda = 64,
          +        Kirghiz = 65,
          +        Korean = 66,
          +        Kurdish = 67,
          +        Kurundi = 68,
          +        Laothian = 69,
          +        Latin = 70,
          +        Latvian = 71,
          +        Lingala = 72,
          +        Lithuanian = 73,
          +        Macedonian = 74,
          +        Malagasy = 75,
          +        Malay = 76,
          +        Malayalam = 77,
          +        Maltese = 78,
          +        Maori = 79,
          +        Marathi = 80,
          +        Moldavian = 81,
          +        Mongolian = 82,
          +        NauruLanguage = 83,
          +        Nepali = 84,
          +        Norwegian = 85,
          +        Occitan = 86,
          +        Oriya = 87,
          +        Pashto = 88,
          +        Persian = 89,
          +        Polish = 90,
          +        Portuguese = 91,
          +        Punjabi = 92,
          +        Quechua = 93,
          +        RhaetoRomance = 94,
          +        Romanian = 95,
          +        Russian = 96,
          +        Samoan = 97,
          +        Sangho = 98,
          +        Sanskrit = 99,
          +        Serbian = 100,
          +        SerboCroatian = 101,
          +        Sesotho = 102,
          +        Setswana = 103,
          +        Shona = 104,
          +        Sindhi = 105,
          +        Singhalese = 106,
          +        Siswati = 107,
          +        Slovak = 108,
          +        Slovenian = 109,
          +        Somali = 110,
          +        Spanish = 111,
          +        Sundanese = 112,
          +        Swahili = 113,
          +        Swedish = 114,
          +        Tagalog = 115,
          +        Tajik = 116,
          +        Tamil = 117,
          +        Tatar = 118,
          +        Telugu = 119,
          +        Thai = 120,
          +        Tibetan = 121,
          +        Tigrinya = 122,
          +        TongaLanguage = 123,
          +        Tsonga = 124,
          +        Turkish = 125,
          +        Turkmen = 126,
          +        Twi = 127,
          +        Uigur = 128,
          +        Ukrainian = 129,
          +        Urdu = 130,
          +        Uzbek = 131,
          +        Vietnamese = 132,
          +        Volapuk = 133,
          +        Welsh = 134,
          +        Wolof = 135,
          +        Xhosa = 136,
          +        Yiddish = 137,
          +        Yoruba = 138,
          +        Zhuang = 139,
          +        Zulu = 140,
          +        LastLanguage = Zulu
          +    };
          +
          +    enum Country {
          +        AnyCountry = 0,
          +        Afghanistan = 1,
          +        Albania = 2,
          +        Algeria = 3,
          +        AmericanSamoa = 4,
          +        Andorra = 5,
          +        Angola = 6,
          +        Anguilla = 7,
          +        Antarctica = 8,
          +        AntiguaAndBarbuda = 9,
          +        Argentina = 10,
          +        Armenia = 11,
          +        Aruba = 12,
          +        Australia = 13,
          +        Austria = 14,
          +        Azerbaijan = 15,
          +        Bahamas = 16,
          +        Bahrain = 17,
          +        Bangladesh = 18,
          +        Barbados = 19,
          +        Belarus = 20,
          +        Belgium = 21,
          +        Belize = 22,
          +        Benin = 23,
          +        Bermuda = 24,
          +        Bhutan = 25,
          +        Bolivia = 26,
          +        BosniaAndHerzegowina = 27,
          +        Botswana = 28,
          +        BouvetIsland = 29,
          +        Brazil = 30,
          +        BritishIndianOceanTerritory = 31,
          +        BruneiDarussalam = 32,
          +        Bulgaria = 33,
          +        BurkinaFaso = 34,
          +        Burundi = 35,
          +        Cambodia = 36,
          +        Cameroon = 37,
          +        Canada = 38,
          +        CapeVerde = 39,
          +        CaymanIslands = 40,
          +        CentralAfricanRepublic = 41,
          +        Chad = 42,
          +        Chile = 43,
          +        China = 44,
          +        ChristmasIsland = 45,
          +        CocosIslands = 46,
          +        Colombia = 47,
          +        Comoros = 48,
          +        DemocraticRepublicOfCongo = 49,
          +        PeoplesRepublicOfCongo = 50,
          +        CookIslands = 51,
          +        CostaRica = 52,
          +        IvoryCoast = 53,
          +        Croatia = 54,
          +        Cuba = 55,
          +        Cyprus = 56,
          +        CzechRepublic = 57,
          +        Denmark = 58,
          +        Djibouti = 59,
          +        Dominica = 60,
          +        DominicanRepublic = 61,
          +        EastTimor = 62,
          +        Ecuador = 63,
          +        Egypt = 64,
          +        ElSalvador = 65,
          +        EquatorialGuinea = 66,
          +        Eritrea = 67,
          +        Estonia = 68,
          +        Ethiopia = 69,
          +        FalklandIslands = 70,
          +        FaroeIslands = 71,
          +        FijiCountry = 72,
          +        Finland = 73,
          +        France = 74,
          +        MetropolitanFrance = 75,
          +        FrenchGuiana = 76,
          +        FrenchPolynesia = 77,
          +        FrenchSouthernTerritories = 78,
          +        Gabon = 79,
          +        Gambia = 80,
          +        Georgia = 81,
          +        Germany = 82,
          +        Ghana = 83,
          +        Gibraltar = 84,
          +        Greece = 85,
          +        Greenland = 86,
          +        Grenada = 87,
          +        Guadeloupe = 88,
          +        Guam = 89,
          +        Guatemala = 90,
          +        Guinea = 91,
          +        GuineaBissau = 92,
          +        Guyana = 93,
          +        Haiti = 94,
          +        HeardAndMcDonaldIslands = 95,
          +        Honduras = 96,
          +        HongKong = 97,
          +        Hungary = 98,
          +        Iceland = 99,
          +        India = 100,
          +        Indonesia = 101,
          +        Iran = 102,
          +        Iraq = 103,
          +        Ireland = 104,
          +        Israel = 105,
          +        Italy = 106,
          +        Jamaica = 107,
          +        Japan = 108,
          +        Jordan = 109,
          +        Kazakhstan = 110,
          +        Kenya = 111,
          +        Kiribati = 112,
          +        DemocraticRepublicOfKorea = 113,
          +        RepublicOfKorea = 114,
          +        Kuwait = 115,
          +        Kyrgyzstan = 116,
          +        Lao = 117,
          +        Latvia = 118,
          +        Lebanon = 119,
          +        Lesotho = 120,
          +        Liberia = 121,
          +        LibyanArabJamahiriya = 122,
          +        Liechtenstein = 123,
          +        Lithuania = 124,
          +        Luxembourg = 125,
          +        Macau = 126,
          +        Macedonia = 127,
          +        Madagascar = 128,
          +        Malawi = 129,
          +        Malaysia = 130,
          +        Maldives = 131,
          +        Mali = 132,
          +        Malta = 133,
          +        MarshallIslands = 134,
          +        Martinique = 135,
          +        Mauritania = 136,
          +        Mauritius = 137,
          +        Mayotte = 138,
          +        Mexico = 139,
          +        Micronesia = 140,
          +        Moldova = 141,
          +        Monaco = 142,
          +        Mongolia = 143,
          +        Montserrat = 144,
          +        Morocco = 145,
          +        Mozambique = 146,
          +        Myanmar = 147,
          +        Namibia = 148,
          +        NauruCountry = 149,
          +        Nepal = 150,
          +        Netherlands = 151,
          +        NetherlandsAntilles = 152,
          +        NewCaledonia = 153,
          +        NewZealand = 154,
          +        Nicaragua = 155,
          +        Niger = 156,
          +        Nigeria = 157,
          +        Niue = 158,
          +        NorfolkIsland = 159,
          +        NorthernMarianaIslands = 160,
          +        Norway = 161,
          +        Oman = 162,
          +        Pakistan = 163,
          +        Palau = 164,
          +        PalestinianTerritory = 165,
          +        Panama = 166,
          +        PapuaNewGuinea = 167,
          +        Paraguay = 168,
          +        Peru = 169,
          +        Philippines = 170,
          +        Pitcairn = 171,
          +        Poland = 172,
          +        Portugal = 173,
          +        PuertoRico = 174,
          +        Qatar = 175,
          +        Reunion = 176,
          +        Romania = 177,
          +        RussianFederation = 178,
          +        Rwanda = 179,
          +        SaintKittsAndNevis = 180,
          +        StLucia = 181,
          +        StVincentAndTheGrenadines = 182,
          +        Samoa = 183,
          +        SanMarino = 184,
          +        SaoTomeAndPrincipe = 185,
          +        SaudiArabia = 186,
          +        Senegal = 187,
          +        Seychelles = 188,
          +        SierraLeone = 189,
          +        Singapore = 190,
          +        Slovakia = 191,
          +        Slovenia = 192,
          +        SolomonIslands = 193,
          +        Somalia = 194,
          +        SouthAfrica = 195,
          +        SouthGeorgiaAndTheSouthSandwichIslands = 196,
          +        Spain = 197,
          +        SriLanka = 198,
          +        StHelena = 199,
          +        StPierreAndMiquelon = 200,
          +        Sudan = 201,
          +        Suriname = 202,
          +        SvalbardAndJanMayenIslands = 203,
          +        Swaziland = 204,
          +        Sweden = 205,
          +        Switzerland = 206,
          +        SyrianArabRepublic = 207,
          +        Taiwan = 208,
          +        Tajikistan = 209,
          +        Tanzania = 210,
          +        Thailand = 211,
          +        Togo = 212,
          +        Tokelau = 213,
          +        TongaCountry = 214,
          +        TrinidadAndTobago = 215,
          +        Tunisia = 216,
          +        Turkey = 217,
          +        Turkmenistan = 218,
          +        TurksAndCaicosIslands = 219,
          +        Tuvalu = 220,
          +        Uganda = 221,
          +        Ukraine = 222,
          +        UnitedArabEmirates = 223,
          +        UnitedKingdom = 224,
          +        UnitedStates = 225,
          +        UnitedStatesMinorOutlyingIslands = 226,
          +        Uruguay = 227,
          +        Uzbekistan = 228,
          +        Vanuatu = 229,
          +        VaticanCityState = 230,
          +        Venezuela = 231,
          +        VietNam = 232,
          +        BritishVirginIslands = 233,
          +        USVirginIslands = 234,
          +        WallisAndFutunaIslands = 235,
          +        WesternSahara = 236,
          +        Yemen = 237,
          +        Yugoslavia = 238,
          +        Zambia = 239,
          +        Zimbabwe = 240,
          +        LastCountry = Zimbabwe
          +    };
          +
          +    TQLocale();
          +    TQLocale(const TQString &name);
          +    TQLocale(Language language, Country country = AnyCountry);
          +    TQLocale(const TQLocale &other);
          +
          +    TQLocale &operator=(const TQLocale &other);
          +
          +    Language language() const;
          +    Country country() const;
          +    TQString name() const;
          +
          +    short toShort(const TQString &s, bool *ok = 0) const;
          +    ushort toUShort(const TQString &s, bool *ok = 0) const;
          +    int toInt(const TQString &s, bool *ok = 0) const;
          +    uint toUInt(const TQString &s, bool *ok = 0) const;
          +    TQ_LONG toLong(const TQString &s, bool *ok = 0) const;
          +    TQ_ULONG toULong(const TQString &s, bool *ok = 0) const;
          +    TQ_LLONG toLongLong(const TQString &s, bool *ok = 0) const;
          +    TQ_ULLONG toULongLong(const TQString &s, bool *ok = 0) const;
          +    float toFloat(const TQString &s, bool *ok = 0) const;
          +    double toDouble(const TQString &s, bool *ok = 0) const;
          +
          +    TQString toString(short i) const
          +    { return toString((TQ_LLONG)i); }
          +    TQString toString(ushort i) const
          +    { return toString((TQ_ULLONG)i); }
          +    TQString toString(int i) const
          +    { return toString((TQ_LLONG)i); }
          +    TQString toString(uint i) const
          +    { return toString((TQ_ULLONG)i); }
          +#if !defined(Q_OS_WIN64)
          +    TQString toString(TQ_LONG i) const
          +    { return toString((TQ_LLONG)i); }
          +    TQString toString(TQ_ULONG i) const
          +    { return toString((TQ_ULLONG)i); }
          +#endif
          +    TQString toString(TQ_LLONG i) const;
          +    TQString toString(TQ_ULLONG i) const;
          +    TQString toString(float i, char f = 'g', int prec = 6) const
          +    { return toString((double) i, f, prec); }
          +    TQString toString(double i, char f = 'g', int prec = 6) const;
          +
          +    static TQString languageToString(Language language);
          +    static TQString countryToString(Country country);
          +    static void setDefault(const TQLocale &locale);
          +
          +    static TQLocale c() { return TQLocale(C); }
          +    static TQLocale system();
          +
          +private:
          +    const TQLocalePrivate *d;
          +    static const TQLocalePrivate *default_d;
          +};
          +
          +#endif
          +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqlocale-members.html b/doc/html/tqlocale-members.html new file mode 100644 index 000000000..6e7843a6b --- /dev/null +++ b/doc/html/tqlocale-members.html @@ -0,0 +1,67 @@ + + + + + +TQLocale Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQLocale

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqlocale.html b/doc/html/tqlocale.html new file mode 100644 index 000000000..089aef5b5 --- /dev/null +++ b/doc/html/tqlocale.html @@ -0,0 +1,852 @@ + + + + + +TQLocale Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQLocale Class Reference

          + +

          The TQLocale class converts between numbers and their +string representations in various languages. +More... +

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

          #include <tqlocale.h> +

          List of all member functions. +

          Public Members

          +
            +
          • enum Language { C = 1, Abkhazian = 2, Afan = 3, Afar = 4, Afrikaans = 5, Albanian = 6, Amharic = 7, Arabic = 8, Armenian = 9, Assamese = 10, Aymara = 11, Azerbaijani = 12, Bashkir = 13, Basque = 14, Bengali = 15, Bhutani = 16, Bihari = 17, Bislama = 18, Breton = 19, Bulgarian = 20, Burmese = 21, Byelorussian = 22, Cambodian = 23, Catalan = 24, Chinese = 25, Corsican = 26, Croatian = 27, Czech = 28, Danish = 29, Dutch = 30, English = 31, Esperanto = 32, Estonian = 33, Faroese = 34, FijiLanguage = 35, Finnish = 36, French = 37, Frisian = 38, Gaelic = 39, Galician = 40, Georgian = 41, German = 42, Greek = 43, Greenlandic = 44, Guarani = 45, Gujarati = 46, Hausa = 47, Hebrew = 48, Hindi = 49, Hungarian = 50, Icelandic = 51, Indonesian = 52, Interlingua = 53, Interlingue = 54, Inuktitut = 55, Inupiak = 56, Irish = 57, Italian = 58, Japanese = 59, Javanese = 60, Kannada = 61, Kashmiri = 62, Kazakh = 63, Kinyarwanda = 64, Kirghiz = 65, Korean = 66, Kurdish = 67, Kurundi = 68, Laothian = 69, Latin = 70, Latvian = 71, Lingala = 72, Lithuanian = 73, Macedonian = 74, Malagasy = 75, Malay = 76, Malayalam = 77, Maltese = 78, Maori = 79, Marathi = 80, Moldavian = 81, Mongolian = 82, NauruLanguage = 83, Nepali = 84, Norwegian = 85, Occitan = 86, Oriya = 87, Pashto = 88, Persian = 89, Polish = 90, Portuguese = 91, Punjabi = 92, Quechua = 93, RhaetoRomance = 94, Romanian = 95, Russian = 96, Samoan = 97, Sangho = 98, Sanskrit = 99, Serbian = 100, SerboCroatian = 101, Sesotho = 102, Setswana = 103, Shona = 104, Sindhi = 105, Singhalese = 106, Siswati = 107, Slovak = 108, Slovenian = 109, Somali = 110, Spanish = 111, Sundanese = 112, Swahili = 113, Swedish = 114, Tagalog = 115, Tajik = 116, Tamil = 117, Tatar = 118, Telugu = 119, Thai = 120, Tibetan = 121, Tigrinya = 122, TongaLanguage = 123, Tsonga = 124, Turkish = 125, Turkmen = 126, Twi = 127, Uigur = 128, Ukrainian = 129, Urdu = 130, Uzbek = 131, Vietnamese = 132, Volapuk = 133, Welsh = 134, Wolof = 135, Xhosa = 136, Yiddish = 137, Yoruba = 138, Zhuang = 139, Zulu = 140, LastLanguage = Zulu }
          • +
          • enum Country { AnyCountry = 0, Afghanistan = 1, Albania = 2, Algeria = 3, AmericanSamoa = 4, Andorra = 5, Angola = 6, Anguilla = 7, Antarctica = 8, AntiguaAndBarbuda = 9, Argentina = 10, Armenia = 11, Aruba = 12, Australia = 13, Austria = 14, Azerbaijan = 15, Bahamas = 16, Bahrain = 17, Bangladesh = 18, Barbados = 19, Belarus = 20, Belgium = 21, Belize = 22, Benin = 23, Bermuda = 24, Bhutan = 25, Bolivia = 26, BosniaAndHerzegowina = 27, Botswana = 28, BouvetIsland = 29, Brazil = 30, BritishIndianOceanTerritory = 31, BruneiDarussalam = 32, Bulgaria = 33, BurkinaFaso = 34, Burundi = 35, Cambodia = 36, Cameroon = 37, Canada = 38, CapeVerde = 39, CaymanIslands = 40, CentralAfricanRepublic = 41, Chad = 42, Chile = 43, China = 44, ChristmasIsland = 45, CocosIslands = 46, Colombia = 47, Comoros = 48, DemocraticRepublicOfCongo = 49, PeoplesRepublicOfCongo = 50, CookIslands = 51, CostaRica = 52, IvoryCoast = 53, Croatia = 54, Cuba = 55, Cyprus = 56, CzechRepublic = 57, Denmark = 58, Djibouti = 59, Dominica = 60, DominicanRepublic = 61, EastTimor = 62, Ecuador = 63, Egypt = 64, ElSalvador = 65, EquatorialGuinea = 66, Eritrea = 67, Estonia = 68, Ethiopia = 69, FalklandIslands = 70, FaroeIslands = 71, FijiCountry = 72, Finland = 73, France = 74, MetropolitanFrance = 75, FrenchGuiana = 76, FrenchPolynesia = 77, FrenchSouthernTerritories = 78, Gabon = 79, Gambia = 80, Georgia = 81, Germany = 82, Ghana = 83, Gibraltar = 84, Greece = 85, Greenland = 86, Grenada = 87, Guadeloupe = 88, Guam = 89, Guatemala = 90, Guinea = 91, GuineaBissau = 92, Guyana = 93, Haiti = 94, HeardAndMcDonaldIslands = 95, Honduras = 96, HongKong = 97, Hungary = 98, Iceland = 99, India = 100, Indonesia = 101, Iran = 102, Iraq = 103, Ireland = 104, Israel = 105, Italy = 106, Jamaica = 107, Japan = 108, Jordan = 109, Kazakhstan = 110, Kenya = 111, Kiribati = 112, DemocraticRepublicOfKorea = 113, RepublicOfKorea = 114, Kuwait = 115, Kyrgyzstan = 116, Lao = 117, Latvia = 118, Lebanon = 119, Lesotho = 120, Liberia = 121, LibyanArabJamahiriya = 122, Liechtenstein = 123, Lithuania = 124, Luxembourg = 125, Macau = 126, Macedonia = 127, Madagascar = 128, Malawi = 129, Malaysia = 130, Maldives = 131, Mali = 132, Malta = 133, MarshallIslands = 134, Martinique = 135, Mauritania = 136, Mauritius = 137, Mayotte = 138, Mexico = 139, Micronesia = 140, Moldova = 141, Monaco = 142, Mongolia = 143, Montserrat = 144, Morocco = 145, Mozambique = 146, Myanmar = 147, Namibia = 148, NauruCountry = 149, Nepal = 150, Netherlands = 151, NetherlandsAntilles = 152, NewCaledonia = 153, NewZealand = 154, Nicaragua = 155, Niger = 156, Nigeria = 157, Niue = 158, NorfolkIsland = 159, NorthernMarianaIslands = 160, Norway = 161, Oman = 162, Pakistan = 163, Palau = 164, PalestinianTerritory = 165, Panama = 166, PapuaNewGuinea = 167, Paraguay = 168, Peru = 169, Philippines = 170, Pitcairn = 171, Poland = 172, Portugal = 173, PuertoRico = 174, Qatar = 175, Reunion = 176, Romania = 177, RussianFederation = 178, Rwanda = 179, SaintKittsAndNevis = 180, StLucia = 181, StVincentAndTheGrenadines = 182, Samoa = 183, SanMarino = 184, SaoTomeAndPrincipe = 185, SaudiArabia = 186, Senegal = 187, Seychelles = 188, SierraLeone = 189, Singapore = 190, Slovakia = 191, Slovenia = 192, SolomonIslands = 193, Somalia = 194, SouthAfrica = 195, SouthGeorgiaAndTheSouthSandwichIslands = 196, Spain = 197, SriLanka = 198, StHelena = 199, StPierreAndMiquelon = 200, Sudan = 201, Suriname = 202, SvalbardAndJanMayenIslands = 203, Swaziland = 204, Sweden = 205, Switzerland = 206, SyrianArabRepublic = 207, Taiwan = 208, Tajikistan = 209, Tanzania = 210, Thailand = 211, Togo = 212, Tokelau = 213, TongaCountry = 214, TrinidadAndTobago = 215, Tunisia = 216, Turkey = 217, Turkmenistan = 218, TurksAndCaicosIslands = 219, Tuvalu = 220, Uganda = 221, Ukraine = 222, UnitedArabEmirates = 223, UnitedKingdom = 224, UnitedStates = 225, UnitedStatesMinorOutlyingIslands = 226, Uruguay = 227, Uzbekistan = 228, Vanuatu = 229, VaticanCityState = 230, Venezuela = 231, VietNam = 232, BritishVirginIslands = 233, USVirginIslands = 234, WallisAndFutunaIslands = 235, WesternSahara = 236, Yemen = 237, Yugoslavia = 238, Zambia = 239, Zimbabwe = 240, LastCountry = Zimbabwe }
          • +
          • TQLocale ()
          • +
          • TQLocale ( const TQString & name )
          • +
          • TQLocale ( Language language, Country country = AnyCountry )
          • +
          • TQLocale ( const TQLocale & other )
          • +
          • TQLocale & operator= ( const TQLocale & other )
          • +
          • Language language () const
          • +
          • Country country () const
          • +
          • TQString name () const
          • +
          • short toShort ( const TQString & s, bool * ok = 0 ) const
          • +
          • ushort toUShort ( const TQString & s, bool * ok = 0 ) const
          • +
          • int toInt ( const TQString & s, bool * ok = 0 ) const
          • +
          • uint toUInt ( const TQString & s, bool * ok = 0 ) const
          • +
          • TQ_LONG toLong ( const TQString & s, bool * ok = 0 ) const
          • +
          • TQ_ULONG toULong ( const TQString & s, bool * ok = 0 ) const
          • +
          • TQ_LLONG toLongLong ( const TQString & s, bool * ok = 0 ) const
          • +
          • TQ_ULLONG toULongLong ( const TQString & s, bool * ok = 0 ) const
          • +
          • float toFloat ( const TQString & s, bool * ok = 0 ) const
          • +
          • double toDouble ( const TQString & s, bool * ok = 0 ) const
          • +
          • TQString toString ( short i ) const
          • +
          • TQString toString ( ushort i ) const
          • +
          • TQString toString ( int i ) const
          • +
          • TQString toString ( uint i ) const
          • +
          • TQString toString ( TQ_LONG i ) const
          • +
          • TQString toString ( TQ_ULONG i ) const
          • +
          • TQString toString ( TQ_LLONG i ) const
          • +
          • TQString toString ( TQ_ULLONG i ) const
          • +
          • TQString toString ( float i, char f = 'g', int prec = 6 ) const
          • +
          • TQString toString ( double i, char f = 'g', int prec = 6 ) const
          • +
          +

          Static Public Members

          + +

          Detailed Description

          + + +The TQLocale class converts between numbers and their +string representations in various languages. +

          + +

          It is initialized with a country/language pair in its constructor +and offers number-to-string and string-to-number conversion +functions simmilar to those in TQString. +

          +    TQLocale egyptian(TQLocale::Arabic, TQLocale::Egypt);
          +    TQString s1 = egyptian.toString(1.571429E+07, 'e');
          +    TQString s2 = egyptian.toString(10);
          +
          +    double d = egyptian.toDouble(s1);
          +    int s2 = egyptian.toInt(s2);
          +    
          + +

          TQLocale supports the concept of a default locale, which is +determined from the system's locale settings at application +startup. The default locale can be changed by calling the +static member setDefault(). The default locale has the +following effects: +

            +
          • If a TQLocale object is constructed with the default constructor, +it will use the default locale's settings. +
          • TQString::toDouble() interprets the string according to the default +locale. If this fails, it falls back on the "C" locale. +
          • TQString::arg() uses the default locale to format a number when +its position specifier in the format string contains an 'L', +e.g. "%L1". +
          +

          +    TQLocale::setDefault(TQLocale(TQLocale::Hebrew, TQLocale::Israel));
          +    TQLocale hebrew; // Constructs a default TQLocale
          +    TQString s1 = hebrew.toString(15714.3, 'e');
          +
          +    bool ok;
          +    double d;
          +
          +    TQLocale::setDefault(TQLocale::C);
          +    d = TQString( "1234,56" ).toDouble(&ok); // ok == false
          +    d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
          +
          +    TQLocale::setDefault(TQLocale::German);
          +    d = TQString( "1234,56" ).toDouble(&ok); // ok == true, d == 1234.56
          +    d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
          +
          +    TQLocale::setDefault(TQLocale(TQLocale::English, TQLocale::UnitedStates));
          +    str = TQString( "%1 %L2 %L3" )
          +            .arg( 12345 )
          +            .arg( 12345 )
          +            .arg( 12345, 0, 16 );
          +    // str == "12345 12,345 3039"
          +    
          + +

          When a language/country pair is specified in the constructor, one +of three things can happen: +

            +
          • If the language/country pair is found in the database, it is used. +
          • If the language is found but the country is not, or if the country +is AnyCountry, the language is used with the most +appropriate available country (for example, Germany for German), +
          • If neither the language nor the country are found, TQLocale +defaults to the default locale (see setDefault()). +
          +

          The "C" locale is identical to English/UnitedStates. +

          Use language() and country() to determine the actual language and +country values used. +

          An alternative method for constructing a TQLocale object is by +specifying the locale name. +

          +    TQLocale korean("ko");
          +    TQLocale swiss("de_CH");
          +    
          + +

          This constructor converts the locale name to a language/country +pair; it does not use the system locale database. +

          All the methods in TQLocale, with the exception of setDefault(), +are reentrant. +

          See also TQString::toDouble(), TQString::arg(), and Text Related Classes. + +

          The double-to-string and string-to-double conversion functions are +covered by the following licenses: +

          +

          Copyright (c) 1991 by AT&T. +

          Permission to use, copy, modify, and distribute this software for any +purpose without fee is hereby granted, provided that this entire notice +is included in all copies of any software which is or includes a copy +or modification of this software and in all copies of the supporting +documentation for such software. +

          THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED +WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY +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. + +


          Member Type Documentation

          +

          TQLocale::Country

          + +

          This enumerated type is used to specify a country. +

            +
          • TQLocale::AnyCountry +
          • TQLocale::Afghanistan +
          • TQLocale::Albania +
          • TQLocale::Algeria +
          • TQLocale::AmericanSamoa +
          • TQLocale::Andorra +
          • TQLocale::Angola +
          • TQLocale::Anguilla +
          • TQLocale::Antarctica +
          • TQLocale::AntiguaAndBarbuda +
          • TQLocale::Argentina +
          • TQLocale::Armenia +
          • TQLocale::Aruba +
          • TQLocale::Australia +
          • TQLocale::Austria +
          • TQLocale::Azerbaijan +
          • TQLocale::Bahamas +
          • TQLocale::Bahrain +
          • TQLocale::Bangladesh +
          • TQLocale::Barbados +
          • TQLocale::Belarus +
          • TQLocale::Belgium +
          • TQLocale::Belize +
          • TQLocale::Benin +
          • TQLocale::Bermuda +
          • TQLocale::Bhutan +
          • TQLocale::Bolivia +
          • TQLocale::BosniaAndHerzegowina +
          • TQLocale::Botswana +
          • TQLocale::BouvetIsland +
          • TQLocale::Brazil +
          • TQLocale::BritishIndianOceanTerritory +
          • TQLocale::BruneiDarussalam +
          • TQLocale::Bulgaria +
          • TQLocale::BurkinaFaso +
          • TQLocale::Burundi +
          • TQLocale::Cambodia +
          • TQLocale::Cameroon +
          • TQLocale::Canada +
          • TQLocale::CapeVerde +
          • TQLocale::CaymanIslands +
          • TQLocale::CentralAfricanRepublic +
          • TQLocale::Chad +
          • TQLocale::Chile +
          • TQLocale::China +
          • TQLocale::ChristmasIsland +
          • TQLocale::CocosIslands +
          • TQLocale::Colombia +
          • TQLocale::Comoros +
          • TQLocale::DemocraticRepublicOfCongo +
          • TQLocale::PeoplesRepublicOfCongo +
          • TQLocale::CookIslands +
          • TQLocale::CostaRica +
          • TQLocale::IvoryCoast +
          • TQLocale::Croatia +
          • TQLocale::Cuba +
          • TQLocale::Cyprus +
          • TQLocale::CzechRepublic +
          • TQLocale::Denmark +
          • TQLocale::Djibouti +
          • TQLocale::Dominica +
          • TQLocale::DominicanRepublic +
          • TQLocale::EastTimor +
          • TQLocale::Ecuador +
          • TQLocale::Egypt +
          • TQLocale::ElSalvador +
          • TQLocale::EquatorialGuinea +
          • TQLocale::Eritrea +
          • TQLocale::Estonia +
          • TQLocale::Ethiopia +
          • TQLocale::FalklandIslands +
          • TQLocale::FaroeIslands +
          • TQLocale::FijiCountry +
          • TQLocale::Finland +
          • TQLocale::France +
          • TQLocale::MetropolitanFrance +
          • TQLocale::FrenchGuiana +
          • TQLocale::FrenchPolynesia +
          • TQLocale::FrenchSouthernTerritories +
          • TQLocale::Gabon +
          • TQLocale::Gambia +
          • TQLocale::Georgia +
          • TQLocale::Germany +
          • TQLocale::Ghana +
          • TQLocale::Gibraltar +
          • TQLocale::Greece +
          • TQLocale::Greenland +
          • TQLocale::Grenada +
          • TQLocale::Guadeloupe +
          • TQLocale::Guam +
          • TQLocale::Guatemala +
          • TQLocale::Guinea +
          • TQLocale::GuineaBissau +
          • TQLocale::Guyana +
          • TQLocale::Haiti +
          • TQLocale::HeardAndMcDonaldIslands +
          • TQLocale::Honduras +
          • TQLocale::HongKong +
          • TQLocale::Hungary +
          • TQLocale::Iceland +
          • TQLocale::India +
          • TQLocale::Indonesia +
          • TQLocale::Iran +
          • TQLocale::Iraq +
          • TQLocale::Ireland +
          • TQLocale::Israel +
          • TQLocale::Italy +
          • TQLocale::Jamaica +
          • TQLocale::Japan +
          • TQLocale::Jordan +
          • TQLocale::Kazakhstan +
          • TQLocale::Kenya +
          • TQLocale::Kiribati +
          • TQLocale::DemocraticRepublicOfKorea +
          • TQLocale::RepublicOfKorea +
          • TQLocale::Kuwait +
          • TQLocale::Kyrgyzstan +
          • TQLocale::Lao +
          • TQLocale::Latvia +
          • TQLocale::Lebanon +
          • TQLocale::Lesotho +
          • TQLocale::Liberia +
          • TQLocale::LibyanArabJamahiriya +
          • TQLocale::Liechtenstein +
          • TQLocale::Lithuania +
          • TQLocale::Luxembourg +
          • TQLocale::Macau +
          • TQLocale::Macedonia +
          • TQLocale::Madagascar +
          • TQLocale::Malawi +
          • TQLocale::Malaysia +
          • TQLocale::Maldives +
          • TQLocale::Mali +
          • TQLocale::Malta +
          • TQLocale::MarshallIslands +
          • TQLocale::Martinique +
          • TQLocale::Mauritania +
          • TQLocale::Mauritius +
          • TQLocale::Mayotte +
          • TQLocale::Mexico +
          • TQLocale::Micronesia +
          • TQLocale::Moldova +
          • TQLocale::Monaco +
          • TQLocale::Mongolia +
          • TQLocale::Montserrat +
          • TQLocale::Morocco +
          • TQLocale::Mozambique +
          • TQLocale::Myanmar +
          • TQLocale::Namibia +
          • TQLocale::NauruCountry +
          • TQLocale::Nepal +
          • TQLocale::Netherlands +
          • TQLocale::NetherlandsAntilles +
          • TQLocale::NewCaledonia +
          • TQLocale::NewZealand +
          • TQLocale::Nicaragua +
          • TQLocale::Niger +
          • TQLocale::Nigeria +
          • TQLocale::Niue +
          • TQLocale::NorfolkIsland +
          • TQLocale::NorthernMarianaIslands +
          • TQLocale::Norway +
          • TQLocale::Oman +
          • TQLocale::Pakistan +
          • TQLocale::Palau +
          • TQLocale::PalestinianTerritory +
          • TQLocale::Panama +
          • TQLocale::PapuaNewGuinea +
          • TQLocale::Paraguay +
          • TQLocale::Peru +
          • TQLocale::Philippines +
          • TQLocale::Pitcairn +
          • TQLocale::Poland +
          • TQLocale::Portugal +
          • TQLocale::PuertoRico +
          • TQLocale::Qatar +
          • TQLocale::Reunion +
          • TQLocale::Romania +
          • TQLocale::RussianFederation +
          • TQLocale::Rwanda +
          • TQLocale::SaintKittsAndNevis +
          • TQLocale::StLucia +
          • TQLocale::StVincentAndTheGrenadines +
          • TQLocale::Samoa +
          • TQLocale::SanMarino +
          • TQLocale::SaoTomeAndPrincipe +
          • TQLocale::SaudiArabia +
          • TQLocale::Senegal +
          • TQLocale::Seychelles +
          • TQLocale::SierraLeone +
          • TQLocale::Singapore +
          • TQLocale::Slovakia +
          • TQLocale::Slovenia +
          • TQLocale::SolomonIslands +
          • TQLocale::Somalia +
          • TQLocale::SouthAfrica +
          • TQLocale::SouthGeorgiaAndTheSouthSandwichIslands +
          • TQLocale::Spain +
          • TQLocale::SriLanka +
          • TQLocale::StHelena +
          • TQLocale::StPierreAndMiquelon +
          • TQLocale::Sudan +
          • TQLocale::Suriname +
          • TQLocale::SvalbardAndJanMayenIslands +
          • TQLocale::Swaziland +
          • TQLocale::Sweden +
          • TQLocale::Switzerland +
          • TQLocale::SyrianArabRepublic +
          • TQLocale::Taiwan +
          • TQLocale::Tajikistan +
          • TQLocale::Tanzania +
          • TQLocale::Thailand +
          • TQLocale::Togo +
          • TQLocale::Tokelau +
          • TQLocale::TongaCountry +
          • TQLocale::TrinidadAndTobago +
          • TQLocale::Tunisia +
          • TQLocale::Turkey +
          • TQLocale::Turkmenistan +
          • TQLocale::TurksAndCaicosIslands +
          • TQLocale::Tuvalu +
          • TQLocale::Uganda +
          • TQLocale::Ukraine +
          • TQLocale::UnitedArabEmirates +
          • TQLocale::UnitedKingdom +
          • TQLocale::UnitedStates +
          • TQLocale::UnitedStatesMinorOutlyingIslands +
          • TQLocale::Uruguay +
          • TQLocale::Uzbekistan +
          • TQLocale::Vanuatu +
          • TQLocale::VaticanCityState +
          • TQLocale::Venezuela +
          • TQLocale::VietNam +
          • TQLocale::BritishVirginIslands +
          • TQLocale::USVirginIslands +
          • TQLocale::WallisAndFutunaIslands +
          • TQLocale::WesternSahara +
          • TQLocale::Yemen +
          • TQLocale::Yugoslavia +
          • TQLocale::Zambia +
          • TQLocale::Zimbabwe +
          +

          TQLocale::Language

          + +

          This enumerated type is used to specify a language. +

            +
          • TQLocale::C - Identical to English/UnitedStates +
          • TQLocale::Abkhazian +
          • TQLocale::Afan +
          • TQLocale::Afar +
          • TQLocale::Afrikaans +
          • TQLocale::Albanian +
          • TQLocale::Amharic +
          • TQLocale::Arabic +
          • TQLocale::Armenian +
          • TQLocale::Assamese +
          • TQLocale::Aymara +
          • TQLocale::Azerbaijani +
          • TQLocale::Bashkir +
          • TQLocale::Basque +
          • TQLocale::Bengali +
          • TQLocale::Bhutani +
          • TQLocale::Bihari +
          • TQLocale::Bislama +
          • TQLocale::Breton +
          • TQLocale::Bulgarian +
          • TQLocale::Burmese +
          • TQLocale::Byelorussian +
          • TQLocale::Cambodian +
          • TQLocale::Catalan +
          • TQLocale::Chinese +
          • TQLocale::Corsican +
          • TQLocale::Croatian +
          • TQLocale::Czech +
          • TQLocale::Danish +
          • TQLocale::Dutch +
          • TQLocale::English +
          • TQLocale::Esperanto +
          • TQLocale::Estonian +
          • TQLocale::Faroese +
          • TQLocale::FijiLanguage +
          • TQLocale::Finnish +
          • TQLocale::French +
          • TQLocale::Frisian +
          • TQLocale::Gaelic +
          • TQLocale::Galician +
          • TQLocale::Georgian +
          • TQLocale::German +
          • TQLocale::Greek +
          • TQLocale::Greenlandic +
          • TQLocale::Guarani +
          • TQLocale::Gujarati +
          • TQLocale::Hausa +
          • TQLocale::Hebrew +
          • TQLocale::Hindi +
          • TQLocale::Hungarian +
          • TQLocale::Icelandic +
          • TQLocale::Indonesian +
          • TQLocale::Interlingua +
          • TQLocale::Interlingue +
          • TQLocale::Inuktitut +
          • TQLocale::Inupiak +
          • TQLocale::Irish +
          • TQLocale::Italian +
          • TQLocale::Japanese +
          • TQLocale::Javanese +
          • TQLocale::Kannada +
          • TQLocale::Kashmiri +
          • TQLocale::Kazakh +
          • TQLocale::Kinyarwanda +
          • TQLocale::Kirghiz +
          • TQLocale::Korean +
          • TQLocale::Kurdish +
          • TQLocale::Kurundi +
          • TQLocale::Laothian +
          • TQLocale::Latin +
          • TQLocale::Latvian +
          • TQLocale::Lingala +
          • TQLocale::Lithuanian +
          • TQLocale::Macedonian +
          • TQLocale::Malagasy +
          • TQLocale::Malay +
          • TQLocale::Malayalam +
          • TQLocale::Maltese +
          • TQLocale::Maori +
          • TQLocale::Marathi +
          • TQLocale::Moldavian +
          • TQLocale::Mongolian +
          • TQLocale::NauruLanguage +
          • TQLocale::Nepali +
          • TQLocale::Norwegian +
          • TQLocale::Occitan +
          • TQLocale::Oriya +
          • TQLocale::Pashto +
          • TQLocale::Persian +
          • TQLocale::Polish +
          • TQLocale::Portuguese +
          • TQLocale::Punjabi +
          • TQLocale::Quechua +
          • TQLocale::RhaetoRomance +
          • TQLocale::Romanian +
          • TQLocale::Russian +
          • TQLocale::Samoan +
          • TQLocale::Sangho +
          • TQLocale::Sanskrit +
          • TQLocale::Serbian +
          • TQLocale::SerboCroatian +
          • TQLocale::Sesotho +
          • TQLocale::Setswana +
          • TQLocale::Shona +
          • TQLocale::Sindhi +
          • TQLocale::Singhalese +
          • TQLocale::Siswati +
          • TQLocale::Slovak +
          • TQLocale::Slovenian +
          • TQLocale::Somali +
          • TQLocale::Spanish +
          • TQLocale::Sundanese +
          • TQLocale::Swahili +
          • TQLocale::Swedish +
          • TQLocale::Tagalog +
          • TQLocale::Tajik +
          • TQLocale::Tamil +
          • TQLocale::Tatar +
          • TQLocale::Telugu +
          • TQLocale::Thai +
          • TQLocale::Tibetan +
          • TQLocale::Tigrinya +
          • TQLocale::TongaLanguage +
          • TQLocale::Tsonga +
          • TQLocale::Turkish +
          • TQLocale::Turkmen +
          • TQLocale::Twi +
          • TQLocale::Uigur +
          • TQLocale::Ukrainian +
          • TQLocale::Urdu +
          • TQLocale::Uzbek +
          • TQLocale::Vietnamese +
          • TQLocale::Volapuk +
          • TQLocale::Welsh +
          • TQLocale::Wolof +
          • TQLocale::Xhosa +
          • TQLocale::Yiddish +
          • TQLocale::Yoruba +
          • TQLocale::Zhuang +
          • TQLocale::Zulu +
          +

          Member Function Documentation

          +

          TQLocale::TQLocale () +

          +Constructs a TQLocale object initialized with the default locale. +

          See also setDefault(). + +

          TQLocale::TQLocale ( const TQString & name ) +

          +Constructs a TQLocale object with the specified name, +which has the format +"language[_country][.codeset][@modifier]" or "C", where: +

            +
          • language is a lowercase, two-letter, ISO 639 language code, +
          • territory is an uppercase, two-letter, ISO 3166 country code, +
          • and codeset and modifier are ignored. +
          +

          If the string violates the locale format, or language is not +a valid ISO 369 code, the "C" locale is used instead. If country +is not present, or is not a valid ISO 3166 code, the most +appropriate country is chosen for the specified language. +

          The language and country codes are converted to their respective +Language and Country enums. After this conversion is +performed the constructor behaves exactly like TQLocale(Country, +Language). +

          This constructor is much slower than TQLocale(Country, Language). +

          See also name(). + +

          TQLocale::TQLocale ( Language language, Country country = AnyCountry ) +

          +Constructs a TQLocale object with the specified language and country. +

            +
          • If the language/country pair is found in the database, it is used. +
          • If the language is found but the country is not, or if the country +is AnyCountry, the language is used with the most +appropriate available country (for example, Germany for German), +
          • If neither the language nor the country are found, TQLocale +defaults to the default locale (see setDefault()). +
          +

          The language and country that are actually used can be queried +using language() and country(). +

          See also setDefault(), language(), and country(). + +

          TQLocale::TQLocale ( const TQLocale & other ) +

          +Constructs a TQLocale object as a copy of other. + +

          TQLocale TQLocale::c () [static] +

          + +

          Returns a TQLocale object initialized to the "C" locale. +

          See also system(). + +

          Country TQLocale::country () const +

          +Returns the country of this locale. +

          See also TQLocale(). + +

          TQString TQLocale::countryToString ( Country country ) [static] +

          +Returns a TQString containing the name of country. + +

          Language TQLocale::language () const +

          +Returns the language of this locale. +

          See also TQLocale(). + +

          TQString TQLocale::languageToString ( Language language ) [static] +

          +Returns a TQString containing the name of language. + +

          TQString TQLocale::name () const +

          +Returns the language and country of this locale as a +string of the form "language_country", where +language is a lowercase, two-letter ISO 639 language code, +and country is an uppercase, two-letter ISO 3166 country code. +

          See also TQLocale(). + +

          TQLocale & TQLocale::operator= ( const TQLocale & other ) +

          +Assigns other to this TQLocale object and returns a reference +to this TQLocale object. + +

          void TQLocale::setDefault ( const TQLocale & locale ) [static] +

          Warning: This function is not reentrant.

          + + +

          Sets the global default locale to locale. These +values are used when a TQLocale object is constructed with +no arguments. If this function is not called, the system's +locale is used. +

          Warning: In a multithreaded application, the default locale +should be set at application startup, before any non-GUI threads +are created. +

          See also system() and c(). + +

          TQLocale TQLocale::system () [static] +

          +Returns a TQLocale object initialized to the system locale. + +

          double TQLocale::toDouble ( const TQString & s, bool * ok = 0 ) const +

          +Returns the double represented by the localized string s, or +0.0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          Unlike TQString::toDouble(), this function does not fall back to +the "C" locale if the string cannot be interpreted in this +locale. +

          +        bool ok;
          +        double d;
          +
          +        TQLocale c(TQLocale::C);
          +        d = c.toDouble( "1234.56", &ok );  // ok == true, d == 1234.56
          +        d = c.toDouble( "1,234.56", &ok ); // ok == true, d == 1234.56
          +        d = c.toDouble( "1234,56", &ok );  // ok == false
          +
          +        TQLocale german(TQLocale::German);
          +        d = german.toDouble( "1234,56", &ok );  // ok == true, d == 1234.56
          +        d = german.toDouble( "1.234,56", &ok ); // ok == true, d == 1234.56
          +        d = german.toDouble( "1234.56", &ok );  // ok == false
          +
          +        d = german.toDouble( "1.234", &ok );    // ok == true, d == 1234.0
          +    
          + +

          Notice that the last conversion returns 1234.0, because '.' is the +thousands group separator in the German locale. +

          This function ignores leading and trailing whitespace. +

          See also toString() and TQString::toDouble(). + +

          float TQLocale::toFloat ( const TQString & s, bool * ok = 0 ) const +

          +Returns the float represented by the localized string s, or 0.0 +if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          int TQLocale::toInt ( const TQString & s, bool * ok = 0 ) const +

          +Returns the int represented by the localized string s, or 0 if +the conversion failed. +

          If ok is not 0, reports failure by setting *ok to false and +success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          TQ_LONG TQLocale::toLong ( const TQString & s, bool * ok = 0 ) const +

          +Returns the long int represented by the localized string s, or +0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          TQ_LLONG TQLocale::toLongLong ( const TQString & s, bool * ok = 0 ) const +

          +Returns the long long int represented by the localized string s, or 0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          short TQLocale::toShort ( const TQString & s, bool * ok = 0 ) const +

          +Returns the short int represented by the localized string s, or +0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          TQString TQLocale::toString ( TQ_LLONG i ) const +

          +Returns a localized string representation of i. +

          See also toLongLong(). + +

          TQString TQLocale::toString ( short i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toShort(). + +

          TQString TQLocale::toString ( ushort i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toUShort(). + +

          TQString TQLocale::toString ( int i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toInt(). + +

          TQString TQLocale::toString ( uint i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toUInt(). + +

          TQString TQLocale::toString ( TQ_LONG i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toLong(). + +

          TQString TQLocale::toString ( TQ_ULONG i ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toULong(). + +

          TQString TQLocale::toString ( TQ_ULLONG i ) const +

          +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          See also toULongLong(). + +

          TQString TQLocale::toString ( float i, char f = 'g', int prec = 6 ) const +

          + +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          f and prec have the same meaning as in TQString::number(double, char, int). +

          See also toDouble(). + +

          TQString TQLocale::toString ( double i, char f = 'g', int prec = 6 ) const +

          +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          f and prec have the same meaning as in TQString::number(double, char, int). +

          See also toDouble(). + +

          uint TQLocale::toUInt ( const TQString & s, bool * ok = 0 ) const +

          +Returns the unsigned int represented by the localized string s, +or 0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          TQ_ULONG TQLocale::toULong ( const TQString & s, bool * ok = 0 ) const +

          +Returns the unsigned long int represented by the localized string +s, or 0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          TQ_ULLONG TQLocale::toULongLong ( const TQString & s, bool * ok = 0 ) const +

          +Returns the unsigned long long int represented by the localized +string s, or 0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + +

          ushort TQLocale::toUShort ( const TQString & s, bool * ok = 0 ) const +

          +Returns the unsigned short int represented by the localized string +s, or 0 if the conversion failed. +

          If ok is not 0, reports failure by setting +*ok to false and success by setting *ok to true. +

          This function ignores leading and trailing whitespace. +

          See also toString(). + + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqmainwindow.html b/doc/html/tqmainwindow.html index cdd64ba83..c6abc5d92 100644 --- a/doc/html/tqmainwindow.html +++ b/doc/html/tqmainwindow.html @@ -848,7 +848,7 @@ to this signal.

          void TQMainWindow::whatsThis () [virtual slot]

          Enters 'What's This?' mode and returns immediately. -

          This is the same as TQWhatsThis::enterWhatsThisMode(), but +

          This is the same as TQWhatsThis::enterWhatsThisMode(), but implemented as a main window object's slot. This way it can easily be used for popup menus, for example:

          @@ -856,7 +856,7 @@ be used for popup menus, for example:
               help->insertItem( "What's &This", this , TQ_SLOT(whatsThis()), SHIFT+Key_F1);
               
          -

          See also TQWhatsThis::enterWhatsThisMode(). +

          See also TQWhatsThis::enterWhatsThisMode().


          Property Documentation

          bool dockWindowsMovable

          diff --git a/doc/html/tqmenubar.html b/doc/html/tqmenubar.html index 1eb2448ba..763f41387 100644 --- a/doc/html/tqmenubar.html +++ b/doc/html/tqmenubar.html @@ -441,7 +441,7 @@ practice, this only makes sense with certain widgets.

          If a widget is not focus-enabled (see TQWidget::isFocusEnabled()), the menu treats it as a separator; this means that the item is not selectable and will never get -focus. In this way you can, for example, simply insert a TQLabel if +focus. In this way you can, for example, simply insert a TQLabel if you need a popup menu with a title.

          If the widget is focus-enabled it will get focus when the user traverses the popup menu with the arrow keys. If the widget does diff --git a/doc/html/tqmenudata.html b/doc/html/tqmenudata.html index c82cf318a..736734fc4 100644 --- a/doc/html/tqmenudata.html +++ b/doc/html/tqmenudata.html @@ -465,7 +465,7 @@ practice, this only makes sense with certain widgets.

          If a widget is not focus-enabled (see TQWidget::isFocusEnabled()), the menu treats it as a separator; this means that the item is not selectable and will never get -focus. In this way you can, for example, simply insert a TQLabel if +focus. In this way you can, for example, simply insert a TQLabel if you need a popup menu with a title.

          If the widget is focus-enabled it will get focus when the user traverses the popup menu with the arrow keys. If the widget does diff --git a/doc/html/tqmimesourcefactory.html b/doc/html/tqmimesourcefactory.html index e95845ee7..c1da24d8b 100644 --- a/doc/html/tqmimesourcefactory.html +++ b/doc/html/tqmimesourcefactory.html @@ -82,7 +82,7 @@ TQMimeSourceFactory to resolve references such as images or links within rich text documents. They either access the default factory (see defaultFactory()) or their own (see TQTextEdit::setMimeSourceFactory()). Other classes that are -capable of displaying rich text (such as TQLabel, TQWhatsThis or +capable of displaying rich text (such as TQLabel, TQWhatsThis or TQMessageBox) always use the default factory.

          A factory can also be used as a container to store data associated with a name. This technique is useful whenever rich text contains @@ -105,7 +105,7 @@ insert it into the factory with a unique name:

          Now you can create a rich text TQLabel with

          -    TQLabel* label = new TQLabel(
          +    TQLabel* label = new TQLabel(
                   "Rich text with embedded image:<img source=\"myimage\">"
                   "Isn't that <em>cute</em>?" );
               
          @@ -193,7 +193,7 @@ file name is given in abs_or_rel_name and the path is in context Returns the application-wide default mime source factory. This factory is used by rich text rendering classes such as -TQSimpleRichText, TQWhatsThis and TQMessageBox to resolve named +TQSimpleRichText, TQWhatsThis and TQMessageBox to resolve named references within rich text documents. It serves also as the initial factory for the more complex render widgets, TQTextEdit and TQTextBrowser. diff --git a/doc/html/tqmovie.html b/doc/html/tqmovie.html index 6d4734cc7..2568a7967 100644 --- a/doc/html/tqmovie.html +++ b/doc/html/tqmovie.html @@ -81,8 +81,8 @@ The TQMovie class provides incremental loading of animations or images, signalli -

          The simplest way to display a TQMovie is to use a TQLabel and -TQLabel::setMovie(). +

          The simplest way to display a TQMovie is to use a TQLabel and +TQLabel::setMovie().

          A TQMovie provides a TQPixmap as the framePixmap(); connections can be made via connectResize() and connectUpdate() to receive notification of size and pixmap changes. All decoding is driven @@ -112,7 +112,7 @@ the USA, France, Germany, Italy and the UK.

          GIF support may be removed completely in a future version of TQt. We recommend using the MNG or PNG format.

          TQMovie
          -

          See also TQLabel::setMovie(), Graphics Classes, Image Processing Classes, and Multimedia Classes. +

          See also TQLabel::setMovie(), Graphics Classes, Image Processing Classes, and Multimedia Classes.


          Member Type Documentation

          TQMovie::Status

          diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index d78f692f8..3b3262874 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -282,10 +282,10 @@ returns FALSE.

          You must use the TQ_SIGNAL() and TQ_SLOT() macros when specifying the signal and the member, for example:

          -    TQLabel     *label  = new TQLabel;
          +    TQLabel     *label  = new TQLabel;
               TQScrollBar *scroll = new TQScrollBar;
               TQObject::connect( scroll, TQ_SIGNAL(valueChanged(int)),
          -                      label,  TQ_SLOT(setNum(int)) );
          +                      label,  TQ_SLOT(setNum(int)) );
               

          This example ensures that the label always displays the current diff --git a/doc/html/tqpixmap.html b/doc/html/tqpixmap.html index 430d46f88..7930345c2 100644 --- a/doc/html/tqpixmap.html +++ b/doc/html/tqpixmap.html @@ -137,7 +137,7 @@ underlying window system. Pixels can be accessed only through TQPainter functions, through bitBlt(), and by converting the TQPixmap to a TQImage.

          You can easily display a TQPixmap on the screen using -TQLabel::setPixmap(). For example, all the TQButton subclasses +TQLabel::setPixmap(). For example, all the TQButton subclasses support pixmap use.

          The TQPixmap class uses copy-on-write, so it is practical to pass TQPixmap objects by value. diff --git a/doc/html/tqpopupmenu.html b/doc/html/tqpopupmenu.html index 3eecff805..b24d1be55 100644 --- a/doc/html/tqpopupmenu.html +++ b/doc/html/tqpopupmenu.html @@ -158,7 +158,7 @@ correct enabled/disabled states of all menu items before the user sees it. The corresponding aboutToHide() signal is emitted when the menu hides again.

          You can provide What's This? help for single menu items with -setWhatsThis(). See TQWhatsThis for general information about this +setWhatsThis(). See TQWhatsThis for general information about this kind of lightweight online help.

          For ultimate flexibility, you can also add entire widgets as items into a popup menu (for example, a color selector). @@ -567,7 +567,7 @@ practice, this only makes sense with certain widgets.

          If a widget is not focus-enabled (see TQWidget::isFocusEnabled()), the menu treats it as a separator; this means that the item is not selectable and will never get -focus. In this way you can, for example, simply insert a TQLabel if +focus. In this way you can, for example, simply insert a TQLabel if you need a popup menu with a title.

          If the widget is focus-enabled it will get focus when the user traverses the popup menu with the arrow keys. If the widget does diff --git a/doc/html/tqregexp.html b/doc/html/tqregexp.html index 03527728b..21f12a731 100644 --- a/doc/html/tqregexp.html +++ b/doc/html/tqregexp.html @@ -268,15 +268,15 @@ corresponding to the octal number ooo (between 0 and 0377).

          . (dot) This matches any character (including newline).
          \d -This matches a digit (TQChar::isDigit()). +This matches a digit (TQChar::isDigit()).
          \D This matches a non-digit.
          \s -This matches a whitespace (TQChar::isSpace()). +This matches a whitespace (TQChar::isSpace()).
          \S This matches a non-whitespace.
          \w -This matches a word character (TQChar::isLetterOrNumber() or '_'). +This matches a word character (TQChar::isLetterOrNumber() or '_').
          \W This matches a non-word character.
          \n @@ -863,7 +863,7 @@ null pointer. the string will match the start of string anchor, ^, in the regexp, if present. Otherwise, position 0 in str will match.

          Use search() and matchedLength() instead of this function. -

          See also TQString::mid() and TQConstString. +

          See also TQString::mid() and TQConstString.

          Example: qmag/qmag.cpp.

          int TQRegExp::matchedLength () const diff --git a/doc/html/tqsettings.html b/doc/html/tqsettings.html index ebf32dcad..6c363ef42 100644 --- a/doc/html/tqsettings.html +++ b/doc/html/tqsettings.html @@ -438,7 +438,7 @@ over a copy, e.g.

          See also readEntry(), readDoubleEntry(), readBoolEntry(), writeEntry(), removeEntry(), and TQStringList::split(). -

          TQStringList TQSettings::readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const +

          TQStringList TQSettings::readListEntry ( const TQString & key, const TQChar & separator, bool * ok = 0 ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. @@ -592,7 +592,7 @@ by value. returned; otherwise returns TRUE.

          See also readListEntry(), readNumEntry(), readDoubleEntry(), readBoolEntry(), and removeEntry(). -

          bool TQSettings::writeEntry ( const TQString & key, const TQStringList & value, const TQChar & separator ) +

          bool TQSettings::writeEntry ( const TQString & key, const TQStringList & value, const TQChar & separator )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. diff --git a/doc/html/tqsimplerichtext-h.html b/doc/html/tqsimplerichtext-h.html new file mode 100644 index 000000000..2061a3f53 --- /dev/null +++ b/doc/html/tqsimplerichtext-h.html @@ -0,0 +1,149 @@ + + + + + +tqsimplerichtext.h Include File + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          tqsimplerichtext.h

          + +

          This is the verbatim text of the tqsimplerichtext.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


          +
          +/****************************************************************************
          +** $Id: qt/tqsimplerichtext.h   3.3.8   edited Jan 11 14:38 $
          +**
          +** Definition of the TQSimpleRichText class
          +**
          +** Created : 990101
          +**
          +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          +**
          +** This file is part of the kernel module of the TQt GUI Toolkit.
          +**
          +** This file may be used under the terms of the GNU General Public
          +** License versions 2.0 or 3.0 as published by the Free Software
          +** Foundation and appearing in the file LICENSE.GPL included in the
          +** packaging of this file. Alternatively you may (at your option) use any
          +** later version of the GNU General Public License if such license has
          +** been publicly approved by Trolltech ASA (or its successors, if any)
          +** and the KDE Free TQt Foundation.
          +**
          +** Please review the following information to ensure GNU General
          +** Public Licensing requirements will be met:
          +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          +** If you are unsure which license is appropriate for your use, please
          +** review the following information:
          +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          +** or contact the sales department at sales@trolltech.com.
          +**
          +** This file may be used under the terms of the Q Public License as
          +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          +** included in the packaging of this file.  Licensees holding valid TQt
          +** Commercial licenses may use this file in accordance with the TQt
          +** Commercial License Agreement provided with the Software.
          +**
          +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          +** herein.
          +**
          +**********************************************************************/
          +
          +#ifndef TQSIMPLERICHTEXT_H
          +#define TQSIMPLERICHTEXT_H
          +
          +#ifndef QT_H
          +#include "ntqnamespace.h"
          +#include "tqstring.h"
          +#include "tqregion.h"
          +#endif // QT_H
          +
          +#ifndef TQT_NO_RICHTEXT
          +
          +class TQPainter;
          +class TQWidget;
          +class TQStyleSheet;
          +class TQBrush;
          +class TQMimeSourceFactory;
          +class TQSimpleRichTextData;
          +
          +class TQ_EXPORT TQSimpleRichText
          +{
          +public:
          +    TQSimpleRichText( const TQString& text, const TQFont& fnt,
          +		     const TQString& context = TQString::null, const TQStyleSheet* sheet = 0);
          +    TQSimpleRichText( const TQString& text, const TQFont& fnt,
          +		     const TQString& context,  const TQStyleSheet* sheet,
          +		     const TQMimeSourceFactory* factory, int pageBreak = -1,
          +		     const TQColor& linkColor = TQt::blue, bool linkUnderline = TRUE );
          +    ~TQSimpleRichText();
          +
          +    void setWidth( int );
          +    void setWidth( TQPainter*, int );
          +    void setDefaultFont( const TQFont &f );
          +    int width() const;
          +    int widthUsed() const;
          +    int height() const;
          +    void adjustSize();
          +
          +    void draw( TQPainter* p,  int x, int y, const TQRect& clipRect,
          +	       const TQColorGroup& cg, const TQBrush* paper = 0) const;
          +
          +    // obsolete
          +    void draw( TQPainter* p,  int x, int y, const TQRegion& clipRegion,
          +	       const TQColorGroup& cg, const TQBrush* paper = 0) const {
          +	draw( p, x, y, clipRegion.boundingRect(), cg, paper );
          +    }
          +
          +    TQString context() const;
          +    TQString anchorAt( const TQPoint& pos ) const;
          +
          +    bool inText( const TQPoint& pos ) const;
          +
          +private:
          +    TQSimpleRichTextData* d;
          +
          +private:	// Disabled copy constructor and operator=
          +#if defined(TQ_DISABLE_COPY)
          +    TQSimpleRichText( const TQSimpleRichText & );
          +    TQSimpleRichText &operator=( const TQSimpleRichText & );
          +#endif
          +};
          +
          +#endif // TQT_NO_RICHTEXT
          +
          +#endif // TQSIMPLERICHTEXT_H
          +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqsimplerichtext-members.html b/doc/html/tqsimplerichtext-members.html new file mode 100644 index 000000000..e20c3f9f1 --- /dev/null +++ b/doc/html/tqsimplerichtext-members.html @@ -0,0 +1,58 @@ + + + + + +TQSimpleRichText Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQSimpleRichText

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqsimplerichtext.html b/doc/html/tqsimplerichtext.html new file mode 100644 index 000000000..332b81c1e --- /dev/null +++ b/doc/html/tqsimplerichtext.html @@ -0,0 +1,223 @@ + + + + + +TQSimpleRichText Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQSimpleRichText Class Reference

          + +

          The TQSimpleRichText class provides a small displayable piece of rich text. +More... +

          #include <tqsimplerichtext.h> +

          List of all member functions. +

          Public Members

          +
            +
          • TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )
          • +
          • TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )
          • +
          • ~TQSimpleRichText ()
          • +
          • void setWidth ( int w )
          • +
          • void setWidth ( TQPainter * p, int w )
          • +
          • void setDefaultFont ( const TQFont & f )
          • +
          • int width () const
          • +
          • int widthUsed () const
          • +
          • int height () const
          • +
          • void adjustSize ()
          • +
          • void draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const
          • +
          • void draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const  (obsolete)
          • +
          • TQString context () const
          • +
          • TQString anchorAt ( const TQPoint & pos ) const
          • +
          • bool inText ( const TQPoint & pos ) const
          • +
          +

          Detailed Description

          + + +The TQSimpleRichText class provides a small displayable piece of rich text. +

          + +

          This class encapsulates simple rich text usage in which a string +is interpreted as rich text and can be drawn. This is particularly +useful if you want to display some rich text in a custom widget. A +TQStyleSheet is needed to interpret the tags and format the rich +text. TQt provides a default HTML-like style sheet, but you may +define custom style sheets. +

          Once created, the rich text object can be queried for its width(), +height(), and the actual width used (see widthUsed()). Most +importantly, it can be drawn on any given TQPainter with draw(). +TQSimpleRichText can also be used to implement hypertext or active +text facilities by using anchorAt(). A hit test through inText() +makes it possible to use simple rich text for text objects in +editable drawing canvases. +

          Once constructed from a string the contents cannot be changed, +only resized. If the contents change, just throw the rich text +object away and make a new one with the new contents. +

          For large documents use TQTextEdit or TQTextBrowser. For very small +items of rich text you can use a TQLabel. +

          If you are using TQSimpleRichText to print in high resolution you +should call setWidth(TQPainter, int) so that the content will be +laid out properly on the page. +

          See also Text Related Classes. + +


          Member Function Documentation

          +

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 ) +

          +Constructs a TQSimpleRichText from the rich text string text and +the font fnt. +

          The font is used as a basis for the text rendering. When using +rich text rendering on a widget w, you would normally specify +the widget's font, for example: +

          +    TQSimpleRichText myrichtext( contents, mywidget->font() );
          +    
          + +

          context is the optional context of the rich text object. This +becomes important if text contains relative references, for +example within image tags. TQSimpleRichText always uses the default +mime source factory (see TQMimeSourceFactory::defaultFactory()) +to resolve those references. The context will then be used to +calculate the absolute path. See +TQMimeSourceFactory::makeAbsolute() for details. +

          The sheet is an optional style sheet. If it is 0, the default +style sheet will be used (see TQStyleSheet::defaultSheet()). + +

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE ) +

          +Constructs a TQSimpleRichText from the rich text string text and +the font fnt. +

          This is a slightly more complex constructor for TQSimpleRichText +that takes an additional mime source factory factory, a page +break parameter pageBreak and a bool linkUnderline. linkColor is only provided for compatibility, but has no effect, +as TQColorGroup's TQColorGroup::link() color is used now. +

          context is the optional context of the rich text object. This +becomes important if text contains relative references, for +example within image tags. TQSimpleRichText always uses the default +mime source factory (see TQMimeSourceFactory::defaultFactory()) +to resolve those references. The context will then be used to +calculate the absolute path. See +TQMimeSourceFactory::makeAbsolute() for details. +

          The sheet is an optional style sheet. If it is 0, the default +style sheet will be used (see TQStyleSheet::defaultSheet()). +

          This constructor is useful for creating a TQSimpleRichText object +suitable for printing. Set pageBreak to be the height of the +contents area of the pages. + +

          TQSimpleRichText::~TQSimpleRichText () +

          +Destroys the rich text object, freeing memory. + +

          void TQSimpleRichText::adjustSize () +

          +Adjusts the richt text object to a reasonable size. +

          See also setWidth(). + +

          TQString TQSimpleRichText::anchorAt ( const TQPoint & pos ) const +

          +Returns the anchor at the requested position, pos. An empty +string is returned if no anchor is specified for this position. + +

          TQString TQSimpleRichText::context () const +

          +Returns the context of the rich text object. If no context has +been specified in the constructor, a null string is returned. The +context is the path to use to look up relative links, such as +image tags and anchor references. + +

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const +

          +Draws the formatted text with painter p, at position (x, y), clipped to clipRect. The clipping rectangle is given in the +rich text object's coordinates translated by (x, y). Passing +an null rectangle results in no clipping. Colors from the color +group cg are used as needed, and if not 0, *paper is used as +the background brush. +

          Note that the display code is highly optimized to reduce flicker, +so passing a brush for paper is preferable to simply clearing +the area to be painted and then calling this without a brush. + +

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. +

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const +

          +

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

          Use the version with clipRect instead. The region version has +problems with larger documents on some platforms (on X11 regions +internally are represented with 16bit coordinates). + +

          int TQSimpleRichText::height () const +

          +Returns the height of the rich text object in pixels. +

          See also setWidth(). + +

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. +

          bool TQSimpleRichText::inText ( const TQPoint & pos ) const +

          +Returns TRUE if pos is within a text line of the rich text +object; otherwise returns FALSE. + +

          void TQSimpleRichText::setDefaultFont ( const TQFont & f ) +

          +Sets the default font for the rich text object to f + +

          void TQSimpleRichText::setWidth ( TQPainter * p, int w ) +

          +Sets the width of the rich text object to w pixels, +recalculating the layout as if it were to be drawn with painter p. +

          Passing a painter is useful when you intend drawing on devices +other than the screen, for example a TQPrinter. +

          See also height() and adjustSize(). + +

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. +

          void TQSimpleRichText::setWidth ( int w ) +

          +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

          Sets the width of the rich text object to w pixels. +

          See also height() and adjustSize(). + +

          int TQSimpleRichText::width () const +

          +Returns the set width of the rich text object in pixels. +

          See also widthUsed(). + +

          int TQSimpleRichText::widthUsed () const +

          +Returns the width in pixels that is actually used by the rich text +object. This can be smaller or wider than the set width. +

          It may be wider, for example, if the text contains images or +non-breakable words that are already wider than the available +space. It's smaller when the object only consists of lines that do +not fill the width completely. +

          See also width(). + + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqsizepolicy.html b/doc/html/tqsizepolicy.html index 771bbdea0..7797980d7 100644 --- a/doc/html/tqsizepolicy.html +++ b/doc/html/tqsizepolicy.html @@ -147,7 +147,7 @@ subclass. vertical sizing types, hor and ver respectively. These sizing types affect how the widget is treated by the layout engine.

          If hfw is TRUE, the preferred height of the widget is dependent -on the width of the widget (for example, a TQLabel with line +on the width of the widget (for example, a TQLabel with line wrapping).

          See also horData(), verData(), and hasHeightForWidth(). diff --git a/doc/html/tqsqlpropertymap.html b/doc/html/tqsqlpropertymap.html index 892aad5f1..c131d2f68 100644 --- a/doc/html/tqsqlpropertymap.html +++ b/doc/html/tqsqlpropertymap.html @@ -134,7 +134,7 @@ new default map.)

          source
          TQButton, TQDial, -TQLabel, +TQLabel, TQLineEdit, TQMultiLineEdit, TQPushButton, diff --git a/doc/html/tqstatusbar.html b/doc/html/tqstatusbar.html index ce4247cdc..5767bb1c3 100644 --- a/doc/html/tqstatusbar.html +++ b/doc/html/tqstatusbar.html @@ -102,7 +102,7 @@ one that has a time limit:

          Normal and Permanent messages are displayed by creating a small widget and then adding it to the status bar with -addWidget(). Widgets like TQLabel, TQProgressBar or even TQToolButton +addWidget(). Widgets like TQLabel, TQProgressBar or even TQToolButton are useful for adding to status bars. removeWidget() is used to remove widgets.

          @@ -112,7 +112,7 @@ remove widgets.
           

          By default TQStatusBar provides a TQSizeGrip in the lower-right corner. You can disable it with setSizeGripEnabled(FALSE);

          -

          See also TQToolBar, TQMainWindow, TQLabel, GUI Design Handbook: Status Bar, Main Window and Related Classes, and Help System. +

          See also TQToolBar, TQMainWindow, TQLabel, GUI Design Handbook: Status Bar, Main Window and Related Classes, and Help System.


          Member Function Documentation

          TQStatusBar::TQStatusBar ( TQWidget * parent = 0, const char * name = 0 ) diff --git a/doc/html/tqstring.html b/doc/html/tqstring.html index 380b8825f..0fb529254 100644 --- a/doc/html/tqstring.html +++ b/doc/html/tqstring.html @@ -253,7 +253,7 @@ parameters, the const char * is interpreted as a classic C-style '\0'-terminated ASCII string. It is legal for the const char * parameter to be 0. If the const char * is not '\0'-terminated, the results are undefined. Functions that copy classic C strings into a TQString will not copy the terminating -'\0' character. The TQChar array of the TQString (as returned by +'\0' character. The TQChar array of the TQString (as returned by unicode()) is generally not terminated by a '\0'. If you need to pass a TQString to a function that requires a C '\0'-terminated string use latin1(). @@ -317,7 +317,7 @@ shared classes) operates on a copy-on-write basis, only copying if an instance is actually changed.

          If you wish to create a deep copy of a TQString without losing any Unicode information then you should use TQDeepCopy. -

          See also TQChar, TQCString, TQByteArray, TQConstString, Implicitly and Explicitly Shared Classes, Text Related Classes, and Non-GUI Classes. +

          See also TQChar, TQCString, TQByteArray, TQConstString, Implicitly and Explicitly Shared Classes, Text Related Classes, and Non-GUI Classes.


          Member Type Documentation

          TQString::SectionFlags

          @@ -346,7 +346,7 @@ case-insensitively. are 0.

          See also isNull(). -

          TQString::TQString ( TQChar ch ) +

          TQString::TQString ( TQChar ch )

          Constructs a string of length one, containing the character ch. @@ -360,10 +360,10 @@ since it only involves incrementing a reference count. Constructs a string that is a deep copy of ba interpreted as a classic C string. -

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

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

          Constructs a string that is a deep copy of the first length -characters in the TQChar array. +characters in the TQChar array.

          If unicode and length are 0, then a null string is created.

          If only unicode is 0, the string is empty but has length characters of space preallocated: TQString expands automatically @@ -419,7 +419,7 @@ result. the result.

          Equivalent to operator+=(). -

          TQString & TQString::append ( TQChar ch ) +

          TQString & TQString::append ( TQChar ch )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -483,7 +483,7 @@ be between 2 and 36. replaced with a localized representation of a. The conversion uses the default locale. The default locale is determined from the system's locale settings at application startup. It can be changed -using TQLocale::setDefault(). The 'L' flag is ignored if base is +using TQLocale::setDefault(). The 'L' flag is ignored if base is not 10.

                   TQString str;
          @@ -491,7 +491,7 @@ not 10.
                           .arg( 63, 0, 16 );
                   // str == "Decimal 63 is 3f in hexadecimal"
           
          -        TQLocale::setDefault(TQLocale::English, TQLocale::UnitedStates);
          +        TQLocale::setDefault(TQLocale::English, TQLocale::UnitedStates);
                   str = TQString( "%1 %L2 %L3" )
                           .arg( 12345 )
                           .arg( 12345 )
          @@ -584,7 +584,7 @@ significant digits (trailing zeroes are omitted).
           This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
           

          a is assumed to be in the Latin-1 character set. -

          TQString TQString::arg ( TQChar a, int fieldWidth = 0 ) const +

          TQString TQString::arg ( TQChar a, int fieldWidth = 0 ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          @@ -629,14 +629,14 @@ does the same as latin1().

          See also fromAscii(), latin1(), utf8(), and local8Bit().

          Example: network/networkprotocol/nntp.cpp. -

          TQChar TQString::at ( uint i ) const +

          TQChar TQString::at ( uint i ) const

          Returns the character at index i, or 0 if i is beyond the length of the string.

                   const TQString string( "abcdefgh" );
          -        TQChar ch = string.at( 4 );
          +        TQChar ch = string.at( 4 );
                   // ch == 'e'
               
          @@ -644,7 +644,7 @@ length of the string. const TQString &), then the non-const overload of at() will be used instead. -

          TQCharRef TQString::at ( uint i ) +

          TQCharRef TQString::at ( uint i )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -694,18 +694,18 @@ interest to those experimenting with Arabic and other composition-rich texts.

          Applies possible ligatures to a TQString. Useful when composition-rich text requires rendering with glyph-poor fonts, -but it also makes compositions such as TQChar(0x0041) ('A') and +but it also makes compositions such as TQChar(0x0041) ('A') and TQChar(0x0308) (Unicode accent diaresis), giving TQChar(0x00c4) (German A Umlaut). -

          TQChar TQString::constref ( uint i ) const +

          TQChar TQString::constref ( uint i ) const

          -

          Returns the TQChar at index i by value. +

          Returns the TQChar at index i by value.

          Equivalent to at(i).

          See also ref(). -

          int TQString::contains ( TQChar c, bool cs = TRUE ) const +

          int TQString::contains ( TQChar c, bool cs = TRUE ) const

          Returns the number of times the character c occurs in the string. @@ -793,7 +793,7 @@ otherwise the search is case insensitive.

          See also startsWith().

          Example: chart/main.cpp. -

          TQString & TQString::fill ( TQChar c, int len = -1 ) +

          TQString & TQString::fill ( TQChar c, int len = -1 )

          Fills the string with len characters of value c, and returns a reference to the string. @@ -821,7 +821,7 @@ was found.

          See also findRev(), replace(), and contains().

          Example: network/mail/smtp.cpp. -

          int TQString::find ( TQChar c, int index = 0, bool cs = TRUE ) const +

          int TQString::find ( TQChar c, int index = 0, bool cs = TRUE ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Finds the first occurrence of the character c, starting at @@ -862,7 +862,7 @@ otherwise the search is case insensitive.

          Equivalent to findRev(TQString(str), index). -

          int TQString::findRev ( TQChar c, int index = -1, bool cs = TRUE ) const +

          int TQString::findRev ( TQChar c, int index = -1, bool cs = TRUE ) const

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Finds the first occurrence of the character c, starting at @@ -1008,13 +1008,13 @@ This is an overloaded member function, provided for convenience. It behaves esse

          Inserts s into the string at position index and returns a reference to the string. -

          TQString & TQString::insert ( uint index, const TQChar * s, uint len ) +

          TQString & TQString::insert ( uint index, const TQChar * s, uint len )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Inserts the first len characters in s into the string at position index and returns a reference to the string. -

          TQString & TQString::insert ( uint index, TQChar c ) +

          TQString & TQString::insert ( uint index, TQChar c )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Insert c into the string at position index and returns a @@ -1088,7 +1088,7 @@ string.

          See also right(), mid(), and isEmpty().

          Example: themes/themes.cpp. -

          TQString TQString::leftJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const +

          TQString TQString::leftJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const

          Returns a string of length width that contains this string padded by the fill character. @@ -1298,7 +1298,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Appends str to the string and returns a reference to the string. -

          TQString & TQString::operator+= ( TQChar c ) +

          TQString & TQString::operator+= ( TQChar c )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Appends c to the string and returns a reference to the string. @@ -1307,7 +1307,7 @@ This is an overloaded member function, provided for convenience. It behaves esse This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Appends c to the string and returns a reference to the string. -

          TQString & TQString::operator= ( TQChar c ) +

          TQString & TQString::operator= ( TQChar c )

          Sets the string to contain just the single character c. @@ -1346,7 +1346,7 @@ string, to this string. Returns a reference to this string.

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Sets the string to contain just the single character c. -

          TQChar TQString::operator[] ( int i ) const +

          TQChar TQString::operator[] ( int i ) const

          Returns the character at index i, or TQChar::null if i is @@ -1355,7 +1355,7 @@ beyond the length of the string. (i.e., const TQString&), then the non-const overload of operator[] will be used instead. -

          TQCharRef TQString::operator[] ( int i ) +

          TQCharRef TQString::operator[] ( int i )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -1364,10 +1364,10 @@ The resulting reference can then be assigned to, or used immediately, but it will become invalid once further modifications are made to the original string.

          If i is beyond the length of the string then the string is -expanded with TQChar::nulls, so that the TQCharRef references a +expanded with TQChar::nulls, so that the TQCharRef references a valid (null) character in the string.

          The TQCharRef internal class can be used much like a constant -TQChar, but if you assign to it, you change the original string +TQChar, but if you assign to it, you change the original string (which will detach itself because of TQString's copy-on-write semantics). You will get compilation errors if you try to use the result as anything but a TQChar. @@ -1395,7 +1395,7 @@ reference to the string.

          Equivalent to insert(0, ch).

          See also insert(). -

          TQString & TQString::prepend ( TQChar ch ) +

          TQString & TQString::prepend ( TQChar ch )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -1425,16 +1425,16 @@ This is an overloaded member function, provided for convenience. It behaves esse

          Equivalent to insert(0, s).

          See also insert(). -

          TQChar & TQString::ref ( uint i ) +

          TQChar & TQString::ref ( uint i )

          -

          Returns the TQChar at index i by reference, expanding the string +

          Returns the TQChar at index i by reference, expanding the string with TQChar::null if necessary. The resulting reference can be assigned to, or otherwise used immediately, but becomes invalid once furher modifications are made to the string.

                   TQString string("ABCDEF");
          -        TQChar ch = string.ref( 3 );         // ch == 'D'
          +        TQChar ch = string.ref( 3 );         // ch == 'D'
               

          See also constref(). @@ -1460,7 +1460,7 @@ reference to the string. otherwise the search is case insensitive.

          This is the same as replace(str, "", cs). -

          TQString & TQString::remove ( TQChar c ) +

          TQString & TQString::remove ( TQChar c )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Removes every occurrence of the character c in the string. Returns a reference to the string. @@ -1508,24 +1508,24 @@ length().

          See also insert() and remove().

          Examples: listviews/listviews.cpp, network/networkprotocol/nntp.cpp, qmag/qmag.cpp, and regexptester/regexptester.cpp. -

          TQString & TQString::replace ( uint index, uint len, const TQChar * s, uint slen ) +

          TQString & TQString::replace ( uint index, uint len, const TQChar * s, uint slen )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          Replaces len characters with slen characters of TQChar data +

          Replaces len characters with slen characters of TQChar data from s, starting at position index, and returns a reference to the string.

          See also insert() and remove(). -

          TQString & TQString::replace ( uint index, uint len, TQChar c ) +

          TQString & TQString::replace ( uint index, uint len, TQChar c )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          This is the same as replace(index, len, TQString(c)).

          TQString & TQString::replace ( uint index, uint len, char c )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          -

          This is the same as replace(index, len, TQChar(c)). +

          This is the same as replace(index, len, TQChar(c)). -

          TQString & TQString::replace ( TQChar c, const TQString & after, bool cs = TRUE ) +

          TQString & TQString::replace ( TQChar c, const TQString & after, bool cs = TRUE )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Replaces every occurrence of the character c in the string with after. Returns a reference to the string. @@ -1582,7 +1582,7 @@ in after are replaced with rx.cap(1), cap(2), ...

          See also find(), findRev(), and TQRegExp::cap(). -

          TQString & TQString::replace ( TQChar c1, TQChar c2 ) +

          TQString & TQString::replace ( TQChar c1, TQChar c2 )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          Replaces every occurrence of c1 with the char c2. Returns a reference to the string. @@ -1625,7 +1625,7 @@ string is returned.

          See also left(), mid(), and isEmpty().

          Example: fileiconview/tqfileiconview.cpp. -

          TQString TQString::rightJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const +

          TQString TQString::rightJustify ( uint width, TQChar fill = ' ', bool truncate = FALSE ) const

          Returns a string of length width that contains the fill character followed by the string. @@ -1640,7 +1640,7 @@ character followed by the string.

          See also leftJustify(). -

          TQString TQString::section ( TQChar sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const +

          TQString TQString::section ( TQChar sep, int start, int end = 0xffffffff, int flags = SectionDefault ) const

          This function returns a section of the string. @@ -1757,7 +1757,7 @@ strlen(str). string is created.

          See also isNull() and isEmpty(). -

          void TQString::setExpand ( uint index, TQChar c ) +

          void TQString::setExpand ( uint index, TQChar c )

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

          Sets the character at position index to c and expands the string if necessary, filling with spaces. @@ -1857,7 +1857,7 @@ This is an overloaded member function, provided for convenience. It behaves esse string.

          The format f can be 'f', 'F', 'e', 'E', 'g' or 'G'. See arg() for an explanation of the formats. -

          TQString & TQString::setUnicode ( const TQChar * unicode, uint len ) +

          TQString & TQString::setUnicode ( const TQChar * unicode, uint len )

          Resizes the string to len characters and copies unicode into the string. If unicode is 0, nothing is copied, but the @@ -1879,7 +1879,7 @@ a null string. Returns a string that has whitespace removed from the start and the end, and which has each sequence of internal whitespace replaced with a single space. -

          Whitespace means any character for which TQChar::isSpace() returns +

          Whitespace means any character for which TQChar::isSpace() returns TRUE. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR), and 32 (Space).

          @@ -1913,7 +1913,7 @@ consider using the arg() function instead. This allows the order
           of the replacements to be controlled by the translator, and has
           Unicode support.
           

          The %lc escape sequence expects a unicode character of type ushort -(as returned by TQChar::unicode()). +(as returned by TQChar::unicode()). The %ls escape sequence expects a pointer to a zero-terminated array of unicode characters of type ushort (as returned by TQString::ucs2()). @@ -1943,7 +1943,7 @@ otherwise the search is case insensitive. Returns a string that has whitespace removed from the start and the end. -

          Whitespace means any character for which TQChar::isSpace() returns +

          Whitespace means any character for which TQChar::isSpace() returns TRUE. This includes Unicode characters with decimal values 9 (TAB), 10 (LF), 11 (VT), 12 (FF), 13 (CR) and 32 (Space), and may also include other Unicode characters. @@ -1983,18 +1983,18 @@ characters for the decimal point, thousands group sepearator and even individual digits. TQString's functions try to interpret the string according to the current locale. The current locale is determined from the system at application startup and can be changed -by calling TQLocale::setDefault(). If the string cannot be interpreted +by calling TQLocale::setDefault(). If the string cannot be interpreted according to the current locale, this function falls back on the "C" locale.

                   bool ok;
                   double d;
           
          -        TQLocale::setDefault(TQLocale::C);
          +        TQLocale::setDefault(TQLocale::C);
                   d = TQString( "1234,56" ).toDouble(&ok); // ok == false
                   d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
           
          -        TQLocale::setDefault(TQLocale::German);
          +        TQLocale::setDefault(TQLocale::German);
                   d = TQString( "1234,56" ).toDouble(&ok); // ok == true, d == 1234.56
                   d = TQString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56
               
          @@ -2002,17 +2002,17 @@ on the "C" locale.

          Due to the ambiguity between the decimal point and thousands group separator in various locales, these functions do not handle thousands group separators. If you need to convert such numbers, -use the corresponding function in TQLocale. +use the corresponding function in TQLocale.

                   bool ok;
          -        TQLocale::setDefault(TQLocale::C);
          +        TQLocale::setDefault(TQLocale::C);
                   double d = TQString( "1,234,567.89" ).toDouble(&ok); // ok == false
               

          Warning: If the string contains trailing whitespace this function will fail, and set *ok to false if ok is not 0. Leading whitespace is ignored. -

          See also number(), TQLocale::setDefault(), TQLocale::toDouble(), and stripWhiteSpace(). +

          See also number(), TQLocale::setDefault(), TQLocale::toDouble(), and stripWhiteSpace().

          float TQString::toFloat ( bool * ok = 0 ) const

          @@ -2206,7 +2206,7 @@ if the string is not null; otherwise returns zero.

          The result remains valid so long as one unmodified copy of the source string exists. -

          const TQChar * TQString::unicode () const +

          const TQChar * TQString::unicode () const

          Returns the Unicode representation of the string. The result diff --git a/doc/html/tqstringlist.html b/doc/html/tqstringlist.html index 029a2cd98..22c58777a 100644 --- a/doc/html/tqstringlist.html +++ b/doc/html/tqstringlist.html @@ -289,10 +289,10 @@ the list wherever the separator matches twice without intervening text.

          See also join() and TQString::section(). -

          TQStringList TQStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE ) [static] +

          TQStringList TQStringList::split ( const TQChar & sep, const TQString & str, bool allowEmptyEntries = FALSE ) [static]

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          This version of the function uses a TQChar as separator, rather +

          This version of the function uses a TQChar as separator, rather than a regular expression.

          See also join() and TQString::section(). diff --git a/doc/html/tqstyle.html b/doc/html/tqstyle.html index f281fdcd2..59357ff4e 100644 --- a/doc/html/tqstyle.html +++ b/doc/html/tqstyle.html @@ -510,7 +510,7 @@ custom values must be greater than this value. use a 3D frame when the mouse is over them

        • TQStyle::SH_ToolBox_SelectedPageTitleBold - Boldness of the selected page title in a TQToolBox. -
        • TQStyle::SH_LineEdit_PasswordCharacter - The TQChar Unicode character +
        • TQStyle::SH_LineEdit_PasswordCharacter - The TQChar Unicode character to be used for passwords.
        • TQStyle::SH_Table_GridLineColor
        • TQStyle::SH_UnderlineAccelerator - whether accelerators are underlined diff --git a/doc/html/tqstylesheet.html b/doc/html/tqstylesheet.html index dd325d067..0e062fcba 100644 --- a/doc/html/tqstylesheet.html +++ b/doc/html/tqstylesheet.html @@ -67,9 +67,9 @@ rendering and a generator of tags. definition of a set of tags. This definition will be used by the internal rich text rendering system to parse and display text documents to which the style sheet applies. Rich text is normally -visualized in a TQTextEdit or a TQTextBrowser. However, TQLabel, -TQWhatsThis and TQMessageBox also support it, and other classes are -likely to follow. With TQSimpleRichText it is possible to use the +visualized in a TQTextEdit or a TQTextBrowser. However, TQLabel, +TQWhatsThis and TQMessageBox also support it, and other classes are +likely to follow. With TQSimpleRichText it is possible to use the rich text renderer for custom widgets as well.

          The default TQStyleSheet object has the following style bindings, sorted by structuring bindings, anchors, character style bindings @@ -90,7 +90,7 @@ page of its own. Another style is detail, which can be used to explain certain expressions in more detail in a few sentences. For detail, TQTextBrowser will then keep the current page and display the new document in a small -popup similar to TQWhatsThis. Note that links will not work +popup similar to TQWhatsThis. Note that links will not work in documents with <qt type="detail">...</qt>.

        • bgcolor -- The background color, for example bgcolor="yellow" or bgcolor="#0000FF".
        • background -- The background pixmap, for example background="granite.xpm". The pixmap name will be resolved @@ -295,8 +295,8 @@ simplified whitespaces).

          TQStyleSheet * TQStyleSheet::defaultSheet () [static]

          Returns the application-wide default style sheet. This style sheet -is used by rich text rendering classes such as TQSimpleRichText, -TQWhatsThis and TQMessageBox to define the rendering style and +is used by rich text rendering classes such as TQSimpleRichText, +TQWhatsThis and TQMessageBox to define the rendering style and available tags within rich text documents. It also serves as the initial style sheet for the more complex render widgets, TQTextEdit and TQTextBrowser. @@ -363,7 +363,7 @@ the mime source factory factory.

          context is the optional context of the document, i.e. the path to look for relative links. This becomes important if the text contains relative references, for example within image tags. -TQSimpleRichText always uses the default mime source factory (see +TQSimpleRichText always uses the default mime source factory (see TQMimeSourceFactory::defaultFactory()) to resolve these references. The context will then be used to calculate the absolute path. See TQMimeSourceFactory::makeAbsolute() for details. diff --git a/doc/html/tqsyntaxhighlighter-h.html b/doc/html/tqsyntaxhighlighter-h.html new file mode 100644 index 000000000..3aa958fc5 --- /dev/null +++ b/doc/html/tqsyntaxhighlighter-h.html @@ -0,0 +1,126 @@ + + + + + +tqsyntaxhighlighter.h Include File + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          tqsyntaxhighlighter.h

          + +

          This is the verbatim text of the tqsyntaxhighlighter.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


          +
          +/****************************************************************************
          +** $Id: qt/tqsyntaxhighlighter.h   3.3.8   edited Jan 11 14:39 $
          +**
          +** Definition of the TQSyntaxHighlighter class
          +**
          +** Created : 022407
          +**
          +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          +**
          +** This file is part of the widgets module of the TQt GUI Toolkit.
          +**
          +** This file may be used under the terms of the GNU General Public
          +** License versions 2.0 or 3.0 as published by the Free Software
          +** Foundation and appearing in the file LICENSE.GPL included in the
          +** packaging of this file. Alternatively you may (at your option) use any
          +** later version of the GNU General Public License if such license has
          +** been publicly approved by Trolltech ASA (or its successors, if any)
          +** and the KDE Free TQt Foundation.
          +**
          +** Please review the following information to ensure GNU General
          +** Public Licensing requirements will be met:
          +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          +** If you are unsure which license is appropriate for your use, please
          +** review the following information:
          +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          +** or contact the sales department at sales@trolltech.com.
          +**
          +** This file may be used under the terms of the Q Public License as
          +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          +** included in the packaging of this file.  Licensees holding valid TQt
          +** Commercial licenses may use this file in accordance with the TQt
          +** Commercial License Agreement provided with the Software.
          +**
          +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          +** herein.
          +**
          +**********************************************************************/
          +
          +#ifndef TQSYNTAXHIGHLIGHTER_H
          +#define TQSYNTAXHIGHLIGHTER_H
          +
          +#ifndef QT_H
          +#include "tqfont.h"
          +#include "tqcolor.h"
          +#include "tqstring.h"
          +#endif // QT_H
          +
          +class TQTextEdit;
          +class TQSyntaxHighlighterInternal;
          +class TQSyntaxHighlighterPrivate;
          +class TQTextParagraph;
          +
          +class TQ_EXPORT TQSyntaxHighlighter : public TQt
          +{
          +    friend class TQSyntaxHighlighterInternal;
          +
          +public:
          +    TQSyntaxHighlighter( TQTextEdit *textEdit );
          +    virtual ~TQSyntaxHighlighter();
          +
          +    virtual int highlightParagraph( const TQString &text, int endStateOfLastPara ) = 0;
          +
          +    void setFormat( int start, int count, const TQFont &font, const TQColor &color );
          +    void setFormat( int start, int count, const TQColor &color );
          +    void setFormat( int start, int count, const TQFont &font );
          +    TQTextEdit *textEdit() const { return edit; }
          +
          +    void rehighlight();
          +
          +    int currentParagraph() const;
          +
          +private:
          +    TQTextParagraph *para;
          +    TQTextEdit *edit;
          +    TQSyntaxHighlighterPrivate *d;
          +
          +};
          +
          +#endif
          +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqsyntaxhighlighter-members.html b/doc/html/tqsyntaxhighlighter-members.html new file mode 100644 index 000000000..21aaa55c2 --- /dev/null +++ b/doc/html/tqsyntaxhighlighter-members.html @@ -0,0 +1,53 @@ + + + + + +TQSyntaxHighlighter Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQSyntaxHighlighter

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqsyntaxhighlighter.html b/doc/html/tqsyntaxhighlighter.html new file mode 100644 index 000000000..9c082b74a --- /dev/null +++ b/doc/html/tqsyntaxhighlighter.html @@ -0,0 +1,158 @@ + + + + + +TQSyntaxHighlighter Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQSyntaxHighlighter Class Reference

          + +

          The TQSyntaxHighlighter class is a base class for +implementing TQTextEdit syntax highlighters. +More... +

          #include <tqsyntaxhighlighter.h> +

          Inherits TQt. +

          List of all member functions. +

          Public Members

          + +

          Detailed Description

          + + +The TQSyntaxHighlighter class is a base class for +implementing TQTextEdit syntax highlighters. +

          + +

          A syntax highligher automatically highlights parts of the text in +a TQTextEdit. Syntax highlighters are often used when the user is +entering text in a specific format (for example, source code) and +help the user to read the text and identify syntax errors. +

          To provide your own syntax highlighting for TQTextEdit, you must +subclass TQSyntaxHighlighter and reimplement highlightParagraph(). +

          When you create an instance of your TQSyntaxHighlighter subclass, +pass it the TQTextEdit that you want the syntax highlighting to be +applied to. After this your highlightParagraph() function will be +called automatically whenever necessary. Use your +highlightParagraph() function to apply formatting (e.g. setting +the font and color) to the text that is passed to it. +

          See also Basic Widgets and Text Related Classes. + +


          Member Function Documentation

          +

          TQSyntaxHighlighter::TQSyntaxHighlighter ( TQTextEdit * textEdit ) +

          +Constructs the TQSyntaxHighlighter and installs it on textEdit. +

          It is the caller's responsibility to delete the +TQSyntaxHighlighter when it is no longer needed. + +

          TQSyntaxHighlighter::~TQSyntaxHighlighter () [virtual] +

          +Destructor. Uninstalls this syntax highlighter from the textEdit() + +

          int TQSyntaxHighlighter::currentParagraph () const +

          +Returns the id of the paragraph which is highlighted, or -1 of no +paragraph is currently highlighted. +

          Usually this function is called from within highlightParagraph(). + +

          int TQSyntaxHighlighter::highlightParagraph ( const TQString & text, int endStateOfLastPara ) [pure virtual] +

          + +

          This function is called when necessary by the rich text engine, +i.e. on paragraphs which have changed. +

          In your reimplementation you should parse the paragraph's text +and call setFormat() as often as necessary to apply any font and +color changes that you require. Your function must return a value +which indicates the paragraph's end state: see below. +

          Some syntaxes can have constructs that span paragraphs. For +example, a C++ syntax highlighter should be able to cope with +/*...*/ comments that span paragraphs. To deal +with these cases it is necessary to know the end state of the +previous paragraph (e.g. "in comment"). +

          If your syntax does not have paragraph spanning constructs, simply +ignore the endStateOfLastPara parameter and always return 0. +

          Whenever highlightParagraph() is called it is passed a value for +endStateOfLastPara. For the very first paragraph this value is +always -2. For any other paragraph the value is the value returned +by the most recent highlightParagraph() call that applied to the +preceding paragraph. +

          The value you return is up to you. We recommend only returning 0 +(to signify that this paragraph's syntax highlighting does not +affect the following paragraph), or a positive integer (to signify +that this paragraph has ended in the middle of a paragraph +spanning construct). +

          To find out which paragraph is highlighted, call +currentParagraph(). +

          For example, if you're writing a simple C++ syntax highlighter, +you might designate 1 to signify "in comment". For a paragraph +that ended in the middle of a comment you'd return 1, and for +other paragraphs you'd return 0. In your parsing code if endStateOfLastPara was 1, you would highlight the text as a C++ +comment until you reached the closing */. + +

          void TQSyntaxHighlighter::rehighlight () +

          Redoes the highlighting of the whole document. + +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color ) +

          +This function is applied to the syntax highlighter's current +paragraph (the text of which is passed to the highlightParagraph() +function). +

          The specified font and color are applied to the text from +position start for count characters. (If count is 0, +nothing is done.) + +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color ) +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. + +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font ) +

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. + +

          TQTextEdit * TQSyntaxHighlighter::textEdit () const +

          + +

          Returns the TQTextEdit on which this syntax highlighter is +installed + + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqtextbrowser.html b/doc/html/tqtextbrowser.html index bf9598e40..465992f5c 100644 --- a/doc/html/tqtextbrowser.html +++ b/doc/html/tqtextbrowser.html @@ -114,7 +114,7 @@ the default style sheet. Change the style sheet with TQTextEdit. If you want a text browser without hypertext navigation use TQTextEdit, and use TQTextEdit::setReadOnly() to disable editing. If you just need to display a small piece of rich text -use TQSimpleRichText or TQLabel. +use TQSimpleRichText or TQLabel.

          See also Advanced Widgets, Help System, and Text Related Classes. diff --git a/doc/html/tqtextcodec.html b/doc/html/tqtextcodec.html index 407ee9b6d..7ee90726e 100644 --- a/doc/html/tqtextcodec.html +++ b/doc/html/tqtextcodec.html @@ -242,7 +242,7 @@ Return a TQTextEncoder. TQCString fromUnicode(const TQString& uc, int& lenInOut ) const

        • -Converts lenInOut characters (of type TQChar) from the start of +Converts lenInOut characters (of type TQChar) from the start of the string uc, returning a TQCString result, and also returning the length of the result in lenInOut. @@ -261,7 +261,7 @@ sources.

          A TQTextCodec subclass might have improved performance if you also re-implement:

          -    bool canEncode( TQChar ) const
          +    bool canEncode( TQChar ) const
               
          Test if a Unicode character can be encoded. @@ -294,7 +294,7 @@ terminates.

          Destroys the TQTextCodec. Note that you should not delete codecs yourself: once created they become TQt's responsibility. -

          bool TQTextCodec::canEncode ( TQChar ch ) const [virtual] +

          bool TQTextCodec::canEncode ( TQChar ch ) const [virtual]

          Returns TRUE if the Unicode character ch can be fully encoded with this codec; otherwise returns FALSE. The default diff --git a/doc/html/tqtextedit.html b/doc/html/tqtextedit.html index aee63b096..6538682c2 100644 --- a/doc/html/tqtextedit.html +++ b/doc/html/tqtextedit.html @@ -273,7 +273,7 @@ tags (for color, bold, italic and underline) may be used.

          1.A more complete API that supports setting margins, images, etc., is planned for a later TQt release.

          TQTextEdit can be used as a syntax highlighting editor when used in -conjunction with TQSyntaxHighlighter. +conjunction with TQSyntaxHighlighter.

          We recommend that you always call setTextFormat() to set the mode you want to use. If you use AutoText then setText() and append() will try to determine whether the text they are given is @@ -309,8 +309,8 @@ style sheet. Change the style sheet with setStyleSheet< displayed if they can be interpreted using the text edit's TQMimeSourceFactory; see setMimeSourceFactory().

          If you want a text browser with more navigation use TQTextBrowser. -If you just need to display a small piece of rich text use TQLabel -or TQSimpleRichText. +If you just need to display a small piece of rich text use TQLabel +or TQSimpleRichText.

          If you create a new TQTextEdit, and want to allow the user to edit rich text, call setTextFormat(TQt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set @@ -1360,9 +1360,9 @@ to be formatted. For example, if after calling setText(), to know the height of the document (using contentsHeight()), you would call this function first. -

          TQSyntaxHighlighter * TQTextEdit::syntaxHighlighter () const +

          TQSyntaxHighlighter * TQTextEdit::syntaxHighlighter () const

          -Returns the TQSyntaxHighlighter set on this TQTextEdit. 0 is +Returns the TQSyntaxHighlighter set on this TQTextEdit. 0 is returned if no syntax highlighter is set.

          bool TQTextEdit::tabChangesFocus () const diff --git a/doc/html/tqtextstream.html b/doc/html/tqtextstream.html index 62b606a1c..505aa9b1a 100644 --- a/doc/html/tqtextstream.html +++ b/doc/html/tqtextstream.html @@ -319,7 +319,7 @@ otherwise.

          Sets the stream flags to f. Returns the previous stream flags.

          See also setf() and unsetf(). -

          TQTextStream & TQTextStream::operator<< ( TQChar c ) +

          TQTextStream & TQTextStream::operator<< ( TQChar c )

          Writes character char to the stream and returns a reference to the stream. @@ -407,7 +407,7 @@ This is an overloaded member function, provided for convenience. It behaves esse stream.

          The ptr is output as an unsigned long hexadecimal integer. -

          TQTextStream & TQTextStream::operator>> ( TQChar & c ) +

          TQTextStream & TQTextStream::operator>> ( TQChar & c )

          Reads a char c from the stream and returns a reference to the stream. Note that whitespace is not skipped. diff --git a/doc/html/tqtooltip.html b/doc/html/tqtooltip.html index 1c6b2883b..c136bd7b5 100644 --- a/doc/html/tqtooltip.html +++ b/doc/html/tqtooltip.html @@ -142,7 +142,7 @@ should pop up, and maybeTip() decides whether to show a tip. a widget using textFor().

          The global tooltip font and palette can be set with the static setFont() and setPalette() functions respectively. -

          See also TQStatusBar, TQWhatsThis, TQToolTipGroup, GUI Design Handbook: Tool Tip, and Help System. +

          See also TQStatusBar, TQWhatsThis, TQToolTipGroup, GUI Design Handbook: Tool Tip, and Help System.


          Member Function Documentation

          TQToolTip::TQToolTip ( TQWidget * widget, TQToolTipGroup * group = 0 ) diff --git a/doc/html/tqwhatsthis-h.html b/doc/html/tqwhatsthis-h.html new file mode 100644 index 000000000..e1d14cbd7 --- /dev/null +++ b/doc/html/tqwhatsthis-h.html @@ -0,0 +1,126 @@ + + + + + +tqwhatsthis.h Include File + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          tqwhatsthis.h

          + +

          This is the verbatim text of the tqwhatsthis.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


          +
          +/****************************************************************************
          +** $Id: qt/tqwhatsthis.h   3.3.8   edited Jan 11 14:39 $
          +**
          +** Definition of TQWhatsThis class
          +**
          +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          +**
          +** This file is part of the widgets module of the TQt GUI Toolkit.
          +**
          +** This file may be used under the terms of the GNU General Public
          +** License versions 2.0 or 3.0 as published by the Free Software
          +** Foundation and appearing in the file LICENSE.GPL included in the
          +** packaging of this file. Alternatively you may (at your option) use any
          +** later version of the GNU General Public License if such license has
          +** been publicly approved by Trolltech ASA (or its successors, if any)
          +** and the KDE Free TQt Foundation.
          +**
          +** Please review the following information to ensure GNU General
          +** Public Licensing requirements will be met:
          +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          +** If you are unsure which license is appropriate for your use, please
          +** review the following information:
          +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          +** or contact the sales department at sales@trolltech.com.
          +**
          +** This file may be used under the terms of the Q Public License as
          +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          +** included in the packaging of this file.  Licensees holding valid TQt
          +** Commercial licenses may use this file in accordance with the TQt
          +** Commercial License Agreement provided with the Software.
          +**
          +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          +** herein.
          +**
          +**********************************************************************/
          +
          +#ifndef TQWHATSTHIS_H
          +#define TQWHATSTHIS_H
          +
          +#ifndef QT_H
          +#include "tqobject.h"
          +#endif // QT_H
          +
          +#ifndef TQT_NO_WHATSTHIS
          +
          +#include "ntqcursor.h"
          +
          +class TQToolButton;
          +class TQPopupMenu;
          +class TQStyleSheet;
          +
          +class TQ_EXPORT TQWhatsThis: public TQt
          +{
          +public:
          +    TQWhatsThis( TQWidget *);
          +    virtual ~TQWhatsThis();
          +
          +    virtual TQString text( const TQPoint & );
          +    virtual bool clicked( const TQString& href );
          +
          +    // the common static functions
          +    static void setFont( const TQFont &font );    
          +    
          +    static void add( TQWidget *, const TQString &);
          +    static void remove( TQWidget * );
          +    static TQString textFor( TQWidget *, const TQPoint & pos = TQPoint(), bool includeParents = FALSE );
          +
          +    static TQToolButton * whatsThisButton( TQWidget * parent );
          +
          +    static void enterWhatsThisMode();
          +    static bool inWhatsThisMode();
          +    static void leaveWhatsThisMode( const TQString& = TQString::null, const TQPoint& pos = TQCursor::pos(), TQWidget* w = 0 );
          +
          +    static void display( const TQString& text, const TQPoint& pos = TQCursor::pos(), TQWidget* w = 0 );
          +};
          +
          +#endif // TQT_NO_WHATSTHIS
          +
          +#endif // TQWHATSTHIS_H
          +
          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqwhatsthis-members.html b/doc/html/tqwhatsthis-members.html new file mode 100644 index 000000000..e14392546 --- /dev/null +++ b/doc/html/tqwhatsthis-members.html @@ -0,0 +1,59 @@ + + + + + +TQWhatsThis Member List + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          Complete Member List for TQWhatsThis

          + +

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

          + +


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqwhatsthis.html b/doc/html/tqwhatsthis.html new file mode 100644 index 000000000..e1217762a --- /dev/null +++ b/doc/html/tqwhatsthis.html @@ -0,0 +1,239 @@ + + + + + +TQWhatsThis Class + + + + + + + +
          + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

          TQWhatsThis Class Reference

          + +

          The TQWhatsThis class provides a simple description of any +widget, i.e. answering the question "What's this?". +More... +

          #include <tqwhatsthis.h> +

          Inherits TQt. +

          List of all member functions. +

          Public Members

          + +

          Static Public Members

          +
            +
          • void setFont ( const TQFont & font )
          • +
          • void add ( TQWidget * widget, const TQString & text )
          • +
          • void remove ( TQWidget * widget )
          • +
          • TQString textFor ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE )
          • +
          • TQToolButton * whatsThisButton ( TQWidget * parent )
          • +
          • void enterWhatsThisMode ()
          • +
          • bool inWhatsThisMode ()
          • +
          • void leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )
          • +
          • void display ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 )
          • +
          +

          Detailed Description

          + + +The TQWhatsThis class provides a simple description of any +widget, i.e. answering the question "What's this?". +

          + +

          "What's this?" help is part of an application's online help system +that provides users with information about functionality, usage, +background etc., in various levels of detail from short tool tips +to full text browsing help windows. +

          TQWhatsThis provides a single window with an explanatory text that +pops up when the user asks "What's this?". The default way to do +this is to focus the relevant widget and press Shift+F1. The help +text appears immediately; it goes away as soon as the user does +something else. +

          (Note that if there is an accelerator for Shift+F1, this mechanism +will not work.) +

          To add "What's this?" text to a widget you simply call +TQWhatsThis::add() for the widget. For example, to assign text to a +menu item, call TQMenuData::setWhatsThis(); for a global +accelerator key, call TQAccel::setWhatsThis() and If you're using +actions, use TQAction::setWhatsThis(). +

          The text can be either rich text or plain text. If you specify a +rich text formatted string, it will be rendered using the default +stylesheet. This makes it possible to embed images. See +TQStyleSheet::defaultSheet() for details. +

          + +

                  const char * fileOpenText = "<p><img source=\"fileopen\"> "
          +                         "Click this button to open a <em>new file</em>. <br>"
          +                         "You can also select the <b>Open</b> command "
          +                         "from the <b>File</b> menu.</p>";
          +        TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
          +                              fileOpenAction->iconSet().pixmap() );
          +        fileOpenAction->setWhatsThis( fileOpenText );
          +
          +

          An alternative way to enter "What's this?" mode is to use the +ready-made tool bar tool button from +TQWhatsThis::whatsThisButton(). By invoking this context help +button (in the picture below the first one from the right) the +user switches into "What's this?" mode. If they now click on a +widget the appropriate help text is shown. The mode is left when +help is given or when the user presses Esc. +

          +

          If you are using TQMainWindow you can also use the +TQMainWindow::whatsThis() slot to invoke the mode from a menu item. +

          For more control you can create a dedicated TQWhatsThis object for +a special widget. By subclassing and reimplementing +TQWhatsThis::text() it is possible to have different help texts, +depending on the position of the mouse click. By reimplementing +TQWhatsThis::clicked() it is possible to have hyperlinks inside the +help texts. +

          If you wish to control the "What's this?" behavior of a widget +manually see TQWidget::customWhatsThis(). +

          The What's This object can be removed using TQWhatsThis::remove(), +although this is rarely necessary because it is automatically +removed when the widget is destroyed. +

          See also TQToolTip and Help System. + +


          Member Function Documentation

          +

          TQWhatsThis::TQWhatsThis ( TQWidget * widget ) +

          +Constructs a dynamic "What's this?" object for widget. The +object is deleted when the widget is destroyed. +

          When the widget is queried by the user the text() function of this +TQWhatsThis will be called to provide the appropriate text, rather +than using the text assigned by add(). + +

          TQWhatsThis::~TQWhatsThis () [virtual] +

          +Destroys the object and frees any allocated resources. + +

          void TQWhatsThis::add ( TQWidget * widget, const TQString & text ) [static] +

          +Adds text as "What's this" help for widget. If the text is +rich text formatted (i.e. it contains markup) it will be rendered +with the default stylesheet TQStyleSheet::defaultSheet(). +

          The text is destroyed if the widget is later destroyed, so it need +not be explicitly removed. +

          See also remove(). + +

          Examples: application/application.cpp, helpsystem/mainwindow.cpp, and mdi/application.cpp. +

          bool TQWhatsThis::clicked ( const TQString & href ) [virtual] +

          + +

          This virtual function is called when the user clicks inside the +"What's this?" window. href is the link the user clicked on, or +TQString::null if there was no link. +

          If the function returns TRUE (the default), the "What's this?" +window is closed, otherwise it remains visible. +

          The default implementation ignores href and returns TRUE. + +

          void TQWhatsThis::display ( const TQString & text, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 ) [static] +

          +Display text in a help window at the global screen position pos. +

          If widget w is not 0 and has its own dedicated TQWhatsThis +object, this object will receive clicked() messages when the user +clicks on hyperlinks inside the help text. +

          See also TQWhatsThis::clicked(). + +

          void TQWhatsThis::enterWhatsThisMode () [static] +

          +Enters "What's this?" mode and returns immediately. +

          TQt will install a special cursor and take over mouse input until +the user clicks somewhere. It then shows any help available and +ends "What's this?" mode. Finally, TQt removes the special cursor +and help window and then restores ordinary event processing, at +which point the left mouse button is no longer pressed. +

          The user can also use the Esc key to leave "What's this?" mode. +

          See also inWhatsThisMode() and leaveWhatsThisMode(). + +

          bool TQWhatsThis::inWhatsThisMode () [static] +

          +Returns TRUE if the application is in "What's this?" mode; +otherwise returns FALSE. +

          See also enterWhatsThisMode() and leaveWhatsThisMode(). + +

          void TQWhatsThis::leaveWhatsThisMode ( const TQString & text = TQString::null, const TQPoint & pos = TQCursor::pos ( ), TQWidget * w = 0 ) [static] +

          +Leaves "What's this?" question mode. +

          This function is used internally by widgets that support +TQWidget::customWhatsThis(); applications do not usually call it. +An example of such a widget is TQPopupMenu: menus still work +normally in "What's this?" mode but also provide help texts for +individual menu items. +

          If text is not TQString::null, a "What's this?" help window is +displayed at the global screen position pos. If widget w is +not 0 and has its own dedicated TQWhatsThis object, this object +will receive clicked() messages when the user clicks on hyperlinks +inside the help text. +

          See also inWhatsThisMode(), enterWhatsThisMode(), and TQWhatsThis::clicked(). + +

          void TQWhatsThis::remove ( TQWidget * widget ) [static] +

          +Removes the "What's this?" help associated with the widget. +This happens automatically if the widget is destroyed. +

          See also add(). + +

          void TQWhatsThis::setFont ( const TQFont & font ) [static] +

          +Sets the font for all "What's this?" helps to font. + +

          TQString TQWhatsThis::text ( const TQPoint & ) [virtual] +

          +This virtual function returns the text for position p in the +widget that this "What's this?" object documents. If there is no +"What's this?" text for the position, TQString::null is returned. +

          The default implementation returns TQString::null. + +

          TQString TQWhatsThis::textFor ( TQWidget * w, const TQPoint & pos = TQPoint ( ), bool includeParents = FALSE ) [static] +

          +Returns the what's this text for widget w or TQString::null if +there is no "What's this?" help for the widget. pos contains +the mouse position; this is useful, for example, if you've +subclassed to make the text that is displayed position dependent. +

          If includeParents is TRUE, parent widgets are taken into +consideration as well when looking for what's this help text. +

          See also add(). + +

          TQToolButton * TQWhatsThis::whatsThisButton ( TQWidget * parent ) [static] +

          +Creates a TQToolButton preconfigured to enter "What's this?" mode +when clicked. You will often use this with a tool bar as parent: +
          +        (void) TQWhatsThis::whatsThisButton( my_help_tool_bar );
          +    
          + + +

          Example: helpsystem/mainwindow.cpp. + +


          +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


          + +
          Copyright © 2007 +TrolltechTrademarks +
          TQt 3.3.8
          +
          + diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index 8c567bc28..1063a49d2 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -731,7 +731,7 @@ can override the application's settings. On Windows, TQt can set whatever flags you want.

          Example:

          -    TQLabel *splashScreen = new TQLabel( 0, "mySplashScreen",
          +    TQLabel *splashScreen = new TQLabel( 0, "mySplashScreen",
                                           WStyle_Customize | WStyle_Splash );
               
          @@ -2002,7 +2002,7 @@ focus proxy.

          void TQWidget::setFont ( const TQFont & ) [virtual]

          Sets the font currently set for the widget. See the "font" property for details. -

          Reimplemented in TQComboBox, TQLabel, and TQTabDialog. +

          Reimplemented in TQComboBox, TQLabel, and TQTabDialog.

          void TQWidget::setFont ( const TQFont & f, bool )

          @@ -2686,12 +2686,12 @@ on top-level widgets. which means the widget will not receive any events in Whats This mode.

          The widget may leave What's This mode by calling -TQWhatsThis::leaveWhatsThisMode(), with or without actually +TQWhatsThis::leaveWhatsThisMode(), with or without actually displaying any help text.

          You can also reimplement customWhatsThis() if your widget is a "passive interactor" supposed to work under all circumstances. Simply don't call TQWhatsThis::leaveWhatsThisMode() in that case. -

          See also TQWhatsThis::inWhatsThisMode() and TQWhatsThis::leaveWhatsThisMode(). +

          See also TQWhatsThis::inWhatsThisMode() and TQWhatsThis::leaveWhatsThisMode().

          Get this property's value with customWhatsThis().

          bool enabled

          diff --git a/doc/html/tqxmlinputsource.html b/doc/html/tqxmlinputsource.html index 1cd23db52..117148589 100644 --- a/doc/html/tqxmlinputsource.html +++ b/doc/html/tqxmlinputsource.html @@ -148,7 +148,7 @@ starts at the beginning of a new XML document and looks for an encoding declaration. If beginning is FALSE, it converts the raw data using the encoding determined from prior calls. -

          TQChar TQXmlInputSource::next () [virtual] +

          TQChar TQXmlInputSource::next () [virtual]

          Returns the next character of the input source. If this function reaches the end of available data, it returns diff --git a/doc/html/tutorial1-12.html b/doc/html/tutorial1-12.html index 3a90243c8..ef3cabd86 100644 --- a/doc/html/tutorial1-12.html +++ b/doc/html/tutorial1-12.html @@ -55,7 +55,7 @@ implementation.

              class TQLabel;
           
          -

          We name declare TQLabel because we want to use a pointer to it in the class +

          We name declare TQLabel because we want to use a pointer to it in the class definition.

              class LCDRange : public TQVBox
               {
          @@ -78,7 +78,7 @@ the parent and name.
           

          Because we now have two constructors, we have chosen to put the common initialization in the private init() function. -

                  TQLabel      *label;
          +

                  TQLabel      *label;
           

          We also have a new private variable: a TQLabel. TQLabel is one of TQt's standard widgets and can show a text or a pixmap with or without a @@ -87,9 +87,9 @@ frame.

          -

              #include <ntqlabel.h>
          +

              #include <tqlabel.h>
           
          -

          Here we include the TQLabel class definition. +

          Here we include the TQLabel class definition.

              LCDRange::LCDRange( TQWidget *parent, const char *name )
                       : TQVBox( parent, name )
               {
          @@ -114,8 +114,8 @@ initialization code.
                   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)) );
          @@ -126,18 +126,18 @@ initialization code.
               }
           

          The setup of lcd and slider is the same as in the previous -chapter. Next we create a TQLabel and tell it to align the contents +chapter. Next we create a TQLabel and tell it to align the contents centered (both vertically and horizontally). The connect() statements have also been taken from the previous chapter.

              const char *LCDRange::text() const
               {
          -        return label->text();
          +        return label->text();
               }
           

          This function returns the label text.

              void LCDRange::setText( const char *s )
               {
          -        label->setText( s );
          +        label->setText( s );
               }
           

          This function sets the label text. diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index f8b304804..c2a54718f 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -288,12 +288,12 @@ with the other buttons. Clicking this button will activate the newGame() slot in this widget.

                  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" );
           

          We create four new widgets. Note that we don't bother to keep the -pointers to the TQLabel widgets in the GameBoard class because there's +pointers to the TQLabel widgets in the GameBoard class because there's nothing much we want to do with them. TQt will delete them when the GameBoard widget is destroyed, and the layout classes will resize them appropriately. diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html index dbc4ad9d5..174c2d3e1 100644 --- a/doc/html/tutorial2-09.html +++ b/doc/html/tutorial2-09.html @@ -50,16 +50,16 @@ apply to all data sets in one place. 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; @@ -117,7 +117,7 @@ vertical box layout.

                  chartTypeLayout = new TQHBoxLayout( 0, 0, 6 );
           

          The chart type label and combobox will be laid out side by side. -

                  chartTypeTextLabel = new TQLabel( "&Chart Type", this );
          +

                  chartTypeTextLabel = new TQLabel( "&Chart Type", this );
                   chartTypeLayout->addWidget( chartTypeTextLabel );
           
                   chartTypeComboBox = new TQComboBox( FALSE, this );
          @@ -143,7 +143,7 @@ vertical layout.
                                                          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 );
           
          @@ -198,8 +198,8 @@ caller to read the data from the dialog's widgets and perform any necessary actions.
        • If the user clicks Cancel we call TQDialog::reject(). -

                  chartTypeTextLabel->setBuddy( chartTypeComboBox );
          -        decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
          +

                  chartTypeTextLabel->setBuddy( chartTypeComboBox );
          +        decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
           

          We use the setBuddy() function to associate widgets with label accelerators. @@ -225,7 +225,7 @@ will present a textual description of the font in the font label. label += " Bold"; if ( font.italic() ) label += " Italic"; - fontTextLabel->setText( label ); + fontTextLabel->setText( label ); m_font = font; }

          diff --git a/doc/html/unicode.html b/doc/html/unicode.html index 07a74ef47..61692afc2 100644 --- a/doc/html/unicode.html +++ b/doc/html/unicode.html @@ -80,7 +80,7 @@ all user-visible strings, and performing all text file I/O using widgets you write; it does not make much difference for slow typists in Western Europe or North America, but for fast typists or people using special input methods using text() is beneficial. -

          All the function arguments in TQt that may be user-visible strings, TQLabel::setText() and a many others, take const TQString &s. +

          All the function arguments in TQt that may be user-visible strings, TQLabel::setText() and a many others, take const TQString &s. TQString provides implicit casting from const char * so that things like

          diff --git a/doc/html/whatsthis b/doc/html/whatsthis
          index e9328f740..fbf74ee06 100644
          --- a/doc/html/whatsthis
          +++ b/doc/html/whatsthis
          @@ -36,7 +36,7 @@ Array of bytes. | TQByteArray
           Array of points. | TQPointArray
           Asynchronous DNS lookups. | TQDns
           Base class for TQMenuBar and TQPopupMenu. | TQMenuData
          -Base class for implementing TQTextEdit syntax highlighters. | QSyntaxHighlighter
          +Base class for implementing TQTextEdit syntax highlighters. | TQSyntaxHighlighter
           Basic functions for reading and writing text using a TQIODevice. | TQTextStream
           Blank space in a layout. | QSpacerItem
           Browsing and editing of SQL tables and views. | TQSqlCursor
          @@ -77,7 +77,7 @@ Conversion to and from the Chinese GB2312 encoding. | TQGb2312Codec
           Conversion to and from the Chinese GBK encoding. | TQGbkCodec
           Conversion to and from the Tamil TSCII encoding. | TQTsciiCodec
           Conversion to and from visually ordered Hebrew. | TQHebrewCodec
          -Converts between numbers and their string representations in various languages. | QLocale
          +Converts between numbers and their string representations in various languages. | TQLocale
           Corner-grip for resizing a top-level window. | TQSizeGrip
           Creates TQStyle objects. | TQStyleFactory
           Creates and manages data entry forms tied to SQL databases. | TQSqlForm
          @@ -147,7 +147,7 @@ Handles keyboard accelerator and shortcut keys. | QAccel
           Hardware-independent pixmap representation with direct access to the pixel data. | TQImage
           Header information for HTTP. | TQHttpHeader
           Header row or column, e.g. for tables and listviews. | QHeader
          -Helper class for TQString. | QCharRef
          +Helper class for TQString. | TQCharRef
           Helper class for XML readers which want to include namespace support. | TQXmlNamespaceSupport
           Horizontal bar suitable for presenting status information. | TQStatusBar
           Horizontal geometry management for its child widgets. | QHBox
          @@ -295,12 +295,12 @@ Serialization of binary data to a TQIODevice. | TQDataStream
           Set of icons with different styles and sizes. | TQIconSet
           Signals that a main icon drag has begun. | TQIconDragEvent
           Simple convenience dialog to get a single value from the user. | QInputDialog
          -Simple description of any widget, i.e. answering the question "What's this?". | QWhatsThis
          +Simple description of any widget, i.e. answering the question "What's this?". | TQWhatsThis
           Simple geometry management of its children. | QGrid
           Simple stored-value drag object for arbitrary MIME data. | TQStoredDrag
           Simplifies locking and unlocking TQMutexes. | TQMutexLocker
           Single item in a TQIconView. | TQIconViewItem
          -Small displayable piece of rich text. | QSimpleRichText
          +Small displayable piece of rich text. | TQSimpleRichText
           Spin box widget (spin button). | QSpinBox
           Splash screen that can be shown during application startup. | QSplashScreen
           Stack of tabbed widgets. | QTabDialog
          @@ -312,7 +312,7 @@ Stores information about URLs. | TQUrlInfo
           Stores meta data about a property. | QMetaProperty
           Stores meta data associated with a SQL field. | TQSqlFieldInfo
           Stream of data provided to a QNPInstance by the browser. | QNPStream
          -String objects using constant Unicode data. | QConstString
          +String objects using constant Unicode data. | TQConstString
           Support for custom events. | QCustomEvent
           Support for socket callbacks. | TQSocketNotifier
           Supports drag and drop operations within a TQIconView. | TQIconDrag
          @@ -334,7 +334,7 @@ Template class that provides guarded pointers to TQObjects. | QGuardedPtr
           Template class which ensures that implicitly shared and explicitly shared classes reference unique data. | TQDeepCopy
           Template collection class that provides a vector (array). | TQPtrVector
           Text object on a TQCanvas. | TQCanvasText
          -Text or image display. | QLabel
          +Text or image display. | TQLabel
           The QDialog API for Motif-based dialogs. | QMotifDialog
           The TQWidget API for Xt/Motif widgets. | QMotifWidget
           The XML handler classes with information about the parsing position within a file. | TQXmlLocator
          diff --git a/doc/html/wizard-example.html b/doc/html/wizard-example.html
          index 98af583a2..d1175ec15 100644
          --- a/doc/html/wizard-example.html
          +++ b/doc/html/wizard-example.html
          @@ -73,7 +73,7 @@ protected:
           
               TQHBox *page1, *page2, *page3;
               TQLineEdit *key, *firstName, *lastName, *address, *phone, *email;
          -    TQLabel *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail;
          +    TQLabel *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail;
           
           protected slots:
               void keyChanged( const TQString & );
          @@ -101,7 +101,7 @@ protected slots:
           #include <tqwidget.h>
           #include <ntqhbox.h>
           #include <ntqvbox.h>
          -#include <ntqlabel.h>
          +#include <tqlabel.h>
           #include <ntqlineedit.h>
           #include <ntqpushbutton.h>
           #include <ntqvalidator.h>
          @@ -122,10 +122,10 @@ void Wizard::setupPage1()
               page1 = new TQHBox( this );
               page1->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page1 );
          +    TQLabel *info = new TQLabel( page1 );
               info->setMargin( 11 );
               info->setPalette( yellow );
          -    info->setText( "Enter your personal\n"
          +    info->setText( "Enter your personal\n"
                              "key here.\n\n"
                              "Your personal key\n"
                              "consists of 4 digits" );
          @@ -135,7 +135,7 @@ void Wizard::setupPage1()
           
               TQHBox *row1 = new TQHBox( page );
           
          -    (void)new TQLabel( "Key:", row1 );
          +    (void)new TQLabel( "Key:", row1 );
           
               key = new TQLineEdit( row1 );
               key->setMaxLength( 4 );
          @@ -155,10 +155,10 @@ void Wizard::setupPage2()
               page2 = new TQHBox( this );
               page2->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page2 );
          +    TQLabel *info = new TQLabel( page2 );
               info->setMargin( 11 );
               info->setPalette( yellow );
          -    info->setText( "\n"
          +    info->setText( "\n"
                              "Enter your personal\n"
                              "data here.\n\n"
                              "The required fields are\n"
          @@ -174,16 +174,16 @@ void Wizard::setupPage2()
               TQHBox *row4 = new TQHBox( page );
               TQHBox *row5 = new TQHBox( page );
           
          -    TQLabel *label1 = new TQLabel( " First Name: ", row1 );
          -    label1->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label2 = new TQLabel( " Last Name: ", row2 );
          -    label2->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label3 = new TQLabel( " Address: ", row3 );
          -    label3->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label4 = new TQLabel( " Phone Number: ", row4 );
          -    label4->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label5 = new TQLabel( " E-Mail: ", row5 );
          -    label5->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label1 = new TQLabel( " First Name: ", row1 );
          +    label1->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label2 = new TQLabel( " Last Name: ", row2 );
          +    label2->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label3 = new TQLabel( " Address: ", row3 );
          +    label3->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label4 = new TQLabel( " Phone Number: ", row4 );
          +    label4->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label5 = new TQLabel( " E-Mail: ", row5 );
          +    label5->setAlignment( TQt::AlignVCenter );
           
               label1->setMinimumWidth( label4->sizeHint().width() );
               label2->setMinimumWidth( label4->sizeHint().width() );
          @@ -214,9 +214,9 @@ void Wizard::setupPage3()
               page3 = new TQHBox( this );
               page3->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page3 );
          +    TQLabel *info = new TQLabel( page3 );
               info->setPalette( yellow );
          -    info->setText( "\n"
          +    info->setText( "\n"
                              "Look here to see of\n"
                              "the data you entered\n"
                              "is correct. To confirm,\n"
          @@ -224,7 +224,7 @@ void Wizard::setupPage3()
                              "else go back to correct\n"
                              "mistakes." );
               info->setMargin( 11 );
          -    info->setAlignment( AlignTop|AlignLeft );
          +    info->setAlignment( AlignTop|AlignLeft );
               info->setMaximumWidth( info->sizeHint().width() );
           
               TQVBox *page = new TQVBox( page3 );
          @@ -236,18 +236,18 @@ void Wizard::setupPage3()
               TQHBox *row5 = new TQHBox( page );
               TQHBox *row6 = new TQHBox( page );
           
          -    TQLabel *label1 = new TQLabel( " Personal Key: ", row1 );
          -    label1->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label2 = new TQLabel( " First Name: ", row2 );
          -    label2->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label3 = new TQLabel( " Last Name: ", row3 );
          -    label3->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label4 = new TQLabel( " Address: ", row4 );
          -    label4->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label5 = new TQLabel( " Phone Number: ", row5 );
          -    label5->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label6 = new TQLabel( " E-Mail: ", row6 );
          -    label6->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label1 = new TQLabel( " Personal Key: ", row1 );
          +    label1->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label2 = new TQLabel( " First Name: ", row2 );
          +    label2->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label3 = new TQLabel( " Last Name: ", row3 );
          +    label3->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label4 = new TQLabel( " Address: ", row4 );
          +    label4->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label5 = new TQLabel( " Phone Number: ", row5 );
          +    label5->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label6 = new TQLabel( " E-Mail: ", row6 );
          +    label6->setAlignment( TQt::AlignVCenter );
           
               label1->setMinimumWidth( label1->sizeHint().width() );
               label2->setMinimumWidth( label1->sizeHint().width() );
          @@ -256,12 +256,12 @@ void Wizard::setupPage3()
               label5->setMinimumWidth( label1->sizeHint().width() );
               label6->setMinimumWidth( label1->sizeHint().width() );
           
          -    lKey = new TQLabel( row1 );
          -    lFirstName = new TQLabel( row2 );
          -    lLastName = new TQLabel( row3 );
          -    lAddress = new TQLabel( row4 );
          -    lPhone = new TQLabel( row5 );
          -    lEmail = new TQLabel( row6 );
          +    lKey = new TQLabel( row1 );
          +    lFirstName = new TQLabel( row2 );
          +    lLastName = new TQLabel( row3 );
          +    lAddress = new TQLabel( row4 );
          +    lPhone = new TQLabel( row5 );
          +    lEmail = new TQLabel( row6 );
           
               addPage( page3, "Finish" );
           
          @@ -274,12 +274,12 @@ void Wizard::setupPage3()
               if ( page == page1 ) {
               } else if ( page == page2 ) {
               } else if ( page == page3 ) {
          -        lKey->setText( key->text() );
          -        lFirstName->setText( firstName->text() );
          -        lLastName->setText( lastName->text() );
          -        lAddress->setText( address->text() );
          -        lPhone->setText( phone->text() );
          -        lEmail->setText( email->text() );
          +        lKey->setText( key->text() );
          +        lFirstName->setText( firstName->text() );
          +        lLastName->setText( lastName->text() );
          +        lAddress->setText( address->text() );
          +        lPhone->setText( phone->text() );
          +        lEmail->setText( email->text() );
               }
           
               TQWizard::showPage(page);
          diff --git a/doc/html/wizard-wizard-cpp.html b/doc/html/wizard-wizard-cpp.html
          index 7a9c1c835..05215f56a 100644
          --- a/doc/html/wizard-wizard-cpp.html
          +++ b/doc/html/wizard-wizard-cpp.html
          @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; }
           #include <tqwidget.h>
           #include <ntqhbox.h>
           #include <ntqvbox.h>
          -#include <ntqlabel.h>
          +#include <tqlabel.h>
           #include <ntqlineedit.h>
           #include <ntqpushbutton.h>
           #include <ntqvalidator.h>
          @@ -68,10 +68,10 @@ void Wizard::setupPage1()
               page1 = new TQHBox( this );
               page1->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page1 );
          +    TQLabel *info = new TQLabel( page1 );
               info->setMargin( 11 );
               info->setPalette( yellow );
          -    info->setText( "Enter your personal\n"
          +    info->setText( "Enter your personal\n"
                              "key here.\n\n"
                              "Your personal key\n"
                              "consists of 4 digits" );
          @@ -81,7 +81,7 @@ void Wizard::setupPage1()
           
               TQHBox *row1 = new TQHBox( page );
           
          -    (void)new TQLabel( "Key:", row1 );
          +    (void)new TQLabel( "Key:", row1 );
           
               key = new TQLineEdit( row1 );
               key->setMaxLength( 4 );
          @@ -101,10 +101,10 @@ void Wizard::setupPage2()
               page2 = new TQHBox( this );
               page2->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page2 );
          +    TQLabel *info = new TQLabel( page2 );
               info->setMargin( 11 );
               info->setPalette( yellow );
          -    info->setText( "\n"
          +    info->setText( "\n"
                              "Enter your personal\n"
                              "data here.\n\n"
                              "The required fields are\n"
          @@ -120,16 +120,16 @@ void Wizard::setupPage2()
               TQHBox *row4 = new TQHBox( page );
               TQHBox *row5 = new TQHBox( page );
           
          -    TQLabel *label1 = new TQLabel( " First Name: ", row1 );
          -    label1->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label2 = new TQLabel( " Last Name: ", row2 );
          -    label2->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label3 = new TQLabel( " Address: ", row3 );
          -    label3->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label4 = new TQLabel( " Phone Number: ", row4 );
          -    label4->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label5 = new TQLabel( " E-Mail: ", row5 );
          -    label5->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label1 = new TQLabel( " First Name: ", row1 );
          +    label1->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label2 = new TQLabel( " Last Name: ", row2 );
          +    label2->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label3 = new TQLabel( " Address: ", row3 );
          +    label3->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label4 = new TQLabel( " Phone Number: ", row4 );
          +    label4->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label5 = new TQLabel( " E-Mail: ", row5 );
          +    label5->setAlignment( TQt::AlignVCenter );
           
               label1->setMinimumWidth( label4->sizeHint().width() );
               label2->setMinimumWidth( label4->sizeHint().width() );
          @@ -160,9 +160,9 @@ void Wizard::setupPage3()
               page3 = new TQHBox( this );
               page3->setSpacing(8);
           
          -    TQLabel *info = new TQLabel( page3 );
          +    TQLabel *info = new TQLabel( page3 );
               info->setPalette( yellow );
          -    info->setText( "\n"
          +    info->setText( "\n"
                              "Look here to see of\n"
                              "the data you entered\n"
                              "is correct. To confirm,\n"
          @@ -170,7 +170,7 @@ void Wizard::setupPage3()
                              "else go back to correct\n"
                              "mistakes." );
               info->setMargin( 11 );
          -    info->setAlignment( AlignTop|AlignLeft );
          +    info->setAlignment( AlignTop|AlignLeft );
               info->setMaximumWidth( info->sizeHint().width() );
           
               TQVBox *page = new TQVBox( page3 );
          @@ -182,18 +182,18 @@ void Wizard::setupPage3()
               TQHBox *row5 = new TQHBox( page );
               TQHBox *row6 = new TQHBox( page );
           
          -    TQLabel *label1 = new TQLabel( " Personal Key: ", row1 );
          -    label1->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label2 = new TQLabel( " First Name: ", row2 );
          -    label2->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label3 = new TQLabel( " Last Name: ", row3 );
          -    label3->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label4 = new TQLabel( " Address: ", row4 );
          -    label4->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label5 = new TQLabel( " Phone Number: ", row5 );
          -    label5->setAlignment( TQt::AlignVCenter );
          -    TQLabel *label6 = new TQLabel( " E-Mail: ", row6 );
          -    label6->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label1 = new TQLabel( " Personal Key: ", row1 );
          +    label1->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label2 = new TQLabel( " First Name: ", row2 );
          +    label2->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label3 = new TQLabel( " Last Name: ", row3 );
          +    label3->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label4 = new TQLabel( " Address: ", row4 );
          +    label4->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label5 = new TQLabel( " Phone Number: ", row5 );
          +    label5->setAlignment( TQt::AlignVCenter );
          +    TQLabel *label6 = new TQLabel( " E-Mail: ", row6 );
          +    label6->setAlignment( TQt::AlignVCenter );
           
               label1->setMinimumWidth( label1->sizeHint().width() );
               label2->setMinimumWidth( label1->sizeHint().width() );
          @@ -202,12 +202,12 @@ void Wizard::setupPage3()
               label5->setMinimumWidth( label1->sizeHint().width() );
               label6->setMinimumWidth( label1->sizeHint().width() );
           
          -    lKey = new TQLabel( row1 );
          -    lFirstName = new TQLabel( row2 );
          -    lLastName = new TQLabel( row3 );
          -    lAddress = new TQLabel( row4 );
          -    lPhone = new TQLabel( row5 );
          -    lEmail = new TQLabel( row6 );
          +    lKey = new TQLabel( row1 );
          +    lFirstName = new TQLabel( row2 );
          +    lLastName = new TQLabel( row3 );
          +    lAddress = new TQLabel( row4 );
          +    lPhone = new TQLabel( row5 );
          +    lEmail = new TQLabel( row6 );
           
               addPage( page3, "Finish" );
           
          @@ -220,12 +220,12 @@ void Wizard::setupPage3()
               if ( page == page1 ) {
               } else if ( page == page2 ) {
               } else if ( page == page3 ) {
          -        lKey->setText( key->text() );
          -        lFirstName->setText( firstName->text() );
          -        lLastName->setText( lastName->text() );
          -        lAddress->setText( address->text() );
          -        lPhone->setText( phone->text() );
          -        lEmail->setText( email->text() );
          +        lKey->setText( key->text() );
          +        lFirstName->setText( firstName->text() );
          +        lLastName->setText( lastName->text() );
          +        lAddress->setText( address->text() );
          +        lPhone->setText( phone->text() );
          +        lEmail->setText( email->text() );
               }
           
               TQWizard::showPage(page);
          diff --git a/doc/html/wizard-wizard-h.html b/doc/html/wizard-wizard-h.html
          index 3c8a7c768..4aa9d2b8d 100644
          --- a/doc/html/wizard-wizard-h.html
          +++ b/doc/html/wizard-wizard-h.html
          @@ -68,7 +68,7 @@ protected:
           
               TQHBox *page1, *page2, *page3;
               TQLineEdit *key, *firstName, *lastName, *address, *phone, *email;
          -    TQLabel *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail;
          +    TQLabel *lKey, *lFirstName, *lLastName, *lAddress, *lPhone, *lEmail;
           
           protected slots:
               void keyChanged( const TQString & );
          diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html
          index 7a7752c68..3a7b9bab9 100644
          --- a/doc/html/xform-example.html
          +++ b/doc/html/xform-example.html
          @@ -50,7 +50,7 @@ arbitrarily.
           #include <ntqapplication.h>
           
           #include <ntqdialog.h>
          -#include <ntqlabel.h>
          +#include <tqlabel.h>
           #include <ntqlineedit.h>
           #include <ntqpushbutton.h>
           #include <ntqcheckbox.h>
          diff --git a/doc/html/xml-sax-features-walkthrough.html b/doc/html/xml-sax-features-walkthrough.html
          index d9a201a89..51708fff9 100644
          --- a/doc/html/xml-sax-features-walkthrough.html
          +++ b/doc/html/xml-sax-features-walkthrough.html
          @@ -62,7 +62,7 @@ part: we include all the classes we need:
               #include <ntqlistview.h>
               #include <ntqgrid.h>
               #include <tqmainwindow.h>
          -    #include <ntqlabel.h>
          +    #include <tqlabel.h>
           

          structureparser.h contains the API of the XML parser that we implement in structureparser.cpp. @@ -155,21 +155,21 @@ settings (TRUE/TRUE). with the feature setting http://xml.org/sax/features/namespaces FALSE and http://xml.org/sax/features/namespace-prefixes TRUE.

                  // 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",
          -- 
          cgit v1.2.3