diff options
Diffstat (limited to 'doc/man/man3/tqcombobox.3qt')
-rw-r--r-- | doc/man/man3/tqcombobox.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqcombobox.3qt b/doc/man/man3/tqcombobox.3qt index 083dd60d5..f4ebe0d89 100644 --- a/doc/man/man3/tqcombobox.3qt +++ b/doc/man/man3/tqcombobox.3qt @@ -241,9 +241,9 @@ The other constructor creates a new-style combobox in Motif style, and can creat .PP .nf .br - TQComboBox *c1 = new TQComboBox( FALSE, this, "read-only combobox" ); + TQComboBox *c1 = new TQComboBox( false, this, "read-only combobox" ); .br - TQComboBox *c2 = new TQComboBox( TRUE, this, "editable combobox" ); + TQComboBox *c2 = new TQComboBox( true, this, "editable combobox" ); .br .fi .PP @@ -315,7 +315,7 @@ Note: If you use this constructor to create your TQComboBox, then the pixmap() f .SH "TQComboBox::TQComboBox ( bool rw, TQWidget * parent = 0, const char * name = 0 )" Constructs a combobox with a maximum size and either Motif 2.0 or Windows look and feel. .PP -The input field can be edited if \fIrw\fR is TRUE, otherwise the user may only choose one of the items in the combobox. +The input field can be edited if \fIrw\fR is true, otherwise the user may only choose one of the items in the combobox. .PP The \fIparent\fR and \fIname\fR arguments are passed on to the TQWidget constructor. .SH "TQComboBox::~TQComboBox ()" @@ -334,9 +334,9 @@ This signal is emitted when a new item has been activated (selected). \fIstring\ .PP You can also use the activated(int) signal, but be aware that its argument is meaningful only for selected strings, not for user entered strings. .SH "bool TQComboBox::autoCompletion () const" -Returns TRUE if auto-completion is enabled; otherwise returns FALSE. See the "autoCompletion" property for details. +Returns true if auto-completion is enabled; otherwise returns false. See the "autoCompletion" property for details. .SH "bool TQComboBox::autoResize () const" -Returns TRUE if auto resize is enabled; otherwise returns FALSE. See the "autoResize" property for details. +Returns true if auto resize is enabled; otherwise returns false. See the "autoResize" property for details. .SH "void TQComboBox::changeItem ( const TQString & t, int index )" Replaces the item at position \fIindex\fR with the text \fIt\fR. .SH "void TQComboBox::changeItem ( const TQPixmap & im, int index )" @@ -368,9 +368,9 @@ Returns the index of the current item in the combobox. See the "currentItem" pro .SH "TQString TQComboBox::currentText () const" Returns the text of the combobox's current item. See the "currentText" property for details. .SH "bool TQComboBox::duplicatesEnabled () const" -Returns TRUE if duplicates are allowed; otherwise returns FALSE. See the "duplicatesEnabled" property for details. +Returns true if duplicates are allowed; otherwise returns false. See the "duplicatesEnabled" property for details. .SH "bool TQComboBox::editable () const" -Returns TRUE if the combobox is editable; otherwise returns FALSE. See the "editable" property for details. +Returns true if the combobox is editable; otherwise returns false. See the "editable" property for details. .SH "void TQComboBox::highlighted ( int index )\fC [signal]\fR" This signal is emitted when a new item has been set to be the current item. The \fIindex\fR is the position of the item in the combobox. .PP @@ -511,7 +511,7 @@ See also setValidator(), clearValidator(), and TQValidator. .SH "bool autoCompletion" This property holds whether auto-completion is enabled. .PP -This property can only be set for editable comboboxes, for non-editable comboboxes it has no effect. It is FALSE by default. +This property can only be set for editable comboboxes, for non-editable comboboxes it has no effect. It is false by default. .PP Set this property's value with setAutoCompletion() and get this property's value with autoCompletion(). .SH "bool autoMask" @@ -523,7 +523,7 @@ This property holds whether auto resize is enabled. .PP \fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -If this property is set to TRUE then the combobox will resize itself whenever its contents change. The default is FALSE. +If this property is set to true then the combobox will resize itself whenever its contents change. The default is false. .PP Set this property's value with setAutoResize() and get this property's value with autoResize(). .SH "int count" @@ -547,9 +547,9 @@ If the combobox is editable and the user enters some text in the combobox's line .TP If the text is not already in the list, the text is inserted. .TP -If the text is in the list and this property is TRUE (the default), the text is inserted. +If the text is in the list and this property is true (the default), the text is inserted. .TP -If the text is in the list and this property is FALSE, the text is \fInot\fR inserted; instead the item which has matching text becomes the current item. +If the text is in the list and this property is false, the text is \fInot\fR inserted; instead the item which has matching text becomes the current item. .PP This property only affects user-interaction. You can use insertItem() to insert duplicates if you wish regardless of this setting. .PP @@ -557,7 +557,7 @@ Set this property's value with setDuplicatesEnabled() and get this property's va .SH "bool editable" This property holds whether the combobox is editable. .PP -This property's default is FALSE. Note that the combobox will be cleared if this property is set to TRUE for a 1.x Motif style combobox. To avoid this, use setEditable() before inserting any items. Also note that the 1.x version of Motif didn't have any editable comboboxes, so the combobox will change it's appearance to a 2.0 style Motif combobox is it is set to be editable. +This property's default is false. Note that the combobox will be cleared if this property is set to true for a 1.x Motif style combobox. To avoid this, use setEditable() before inserting any items. Also note that the 1.x version of Motif didn't have any editable comboboxes, so the combobox will change it's appearance to a 2.0 style Motif combobox is it is set to be editable. .PP Set this property's value with setEditable() and get this property's value with editable(). .SH "Policy insertionPolicy" |