diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
commit | fef846914f8db6dc117e206ef913d519bf6bb33e (patch) | |
tree | d6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/man/man3/tqchecklistitem.3qt | |
parent | 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff) | |
download | tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip |
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqchecklistitem.3qt')
-rw-r--r-- | doc/man/man3/tqchecklistitem.3qt | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/doc/man/man3/tqchecklistitem.3qt b/doc/man/man3/tqchecklistitem.3qt index 879c5d88d..cc0307078 100644 --- a/doc/man/man3/tqchecklistitem.3qt +++ b/doc/man/man3/tqchecklistitem.3qt @@ -1,5 +1,5 @@ '\" t -.TH QCheckListItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQCheckListItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QCheckListItem \- Checkable list view items +TQCheckListItem \- Checkable list view items .SH SYNOPSIS \fC#include <ntqlistview.h>\fR .PP @@ -22,31 +22,31 @@ Inherits QListViewItem. .BI "enum \fBToggleState\fR { Off, NoChange, On }" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QCheckListItem * parent, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( TQCheckListItem * parent, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QCheckListItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( TQCheckListItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListViewItem * parent, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( QListViewItem * parent, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListViewItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( QListViewItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListView * parent, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( QListView * parent, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.BI "\fBTQCheckListItem\fR ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" +.BI "\fBTQCheckListItem\fR ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" .br .ti -1c -.BI "\fBQCheckListItem\fR ( QListView * parent, const TQString & text, const TQPixmap & p )" +.BI "\fBTQCheckListItem\fR ( QListView * parent, const TQString & text, const TQPixmap & p )" .br .ti -1c -.BI "\fB~QCheckListItem\fR ()" +.BI "\fB~TQCheckListItem\fR ()" .br .ti -1c .BI "virtual void \fBpaintCell\fR ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )" @@ -95,9 +95,9 @@ Inherits QListViewItem. .br .in -1c .SH DESCRIPTION -The QCheckListItem class provides checkable list view items. +The TQCheckListItem class provides checkable list view items. .PP -QCheckListItems are used in QListViews to provide QListViewItems that are checkboxes, radio buttons or controllers. +TQCheckListItems are used in QListViews to provide QListViewItems that are checkboxes, radio buttons or controllers. .PP Checkbox and controller check list items may be inserted at any level in a list view. Radio button check list items must be children of a controller check list item. .PP @@ -111,72 +111,72 @@ The item can be checked or unchecked with setOn(). Its type can be retrieved wit .PP See also QListViewItem, QListView, and Advanced Widgets. .SS "Member Type Documentation" -.SH "QCheckListItem::ToggleState" -This enum specifies a QCheckListItem's toggle state. +.SH "TQCheckListItem::ToggleState" +This enum specifies a TQCheckListItem's toggle state. .TP -\fCQCheckListItem::Off\fR +\fCTQCheckListItem::Off\fR .TP -\fCQCheckListItem::NoChange\fR +\fCTQCheckListItem::NoChange\fR .TP -\fCQCheckListItem::On\fR -.SH "QCheckListItem::Type" -This enum type specifies a QCheckListItem's type: +\fCTQCheckListItem::On\fR +.SH "TQCheckListItem::Type" +This enum type specifies a TQCheckListItem's type: .TP -\fCQCheckListItem::RadioButton\fR +\fCTQCheckListItem::RadioButton\fR .TP -\fCQCheckListItem::CheckBox\fR +\fCTQCheckListItem::CheckBox\fR .TP -\fCQCheckListItem::Controller\fR - \fIobsolete\fR (use RadioButtonController instead) +\fCTQCheckListItem::Controller\fR - \fIobsolete\fR (use RadioButtonController instead) .TP -\fCQCheckListItem::RadioButtonController\fR +\fCTQCheckListItem::RadioButtonController\fR .TP -\fCQCheckListItem::CheckBoxController\fR +\fCTQCheckListItem::CheckBoxController\fR .SH MEMBER FUNCTION DOCUMENTATION -.SH "QCheckListItem::QCheckListItem ( QCheckListItem * parent, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( TQCheckListItem * parent, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, text \fItext\fR and of type \fItt\fR. Note that a RadioButton must be the child of a RadioButtonController, otherwise it will not toggle. -.SH "QCheckListItem::QCheckListItem ( QCheckListItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( TQCheckListItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, which is after \fIafter\fR in the parent's list of children, and with text \fItext\fR and of type \fItt\fR. Note that a RadioButton must be the child of a RadioButtonController, otherwise it will not toggle. -.SH "QCheckListItem::QCheckListItem ( QListViewItem * parent, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( QListViewItem * parent, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, text \fItext\fR and of type \fItt\fR. Note that this item must \fInot\fR be a RadioButton. Radio buttons must be children of a RadioButtonController. -.SH "QCheckListItem::QCheckListItem ( QListViewItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( QListViewItem * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, which is after \fIafter\fR in the parent's list of children, with text \fItext\fR and of type \fItt\fR. Note that this item must \fInot\fR be a RadioButton. Radio buttons must be children of a RadioButtonController. -.SH "QCheckListItem::QCheckListItem ( QListView * parent, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( QListView * parent, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, text \fItext\fR and of type \fItt\fR. Note that \fItt\fR must \fInot\fR be RadioButton. Radio buttons must be children of a RadioButtonController. -.SH "QCheckListItem::QCheckListItem ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" +.SH "TQCheckListItem::TQCheckListItem ( QListView * parent, QListViewItem * after, const TQString & text, Type tt = RadioButtonController )" Constructs a checkable item with parent \fIparent\fR, which is after \fIafter\fR in the parent's list of children, with text \fItext\fR and of type \fItt\fR. Note that \fItt\fR must \fInot\fR be RadioButton. Radio buttons must be children of a RadioButtonController. -.SH "QCheckListItem::QCheckListItem ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" +.SH "TQCheckListItem::TQCheckListItem ( QListViewItem * parent, const TQString & text, const TQPixmap & p )" Constructs a RadioButtonController item with parent \fIparent\fR, text \fItext\fR and pixmap \fIp\fR. -.SH "QCheckListItem::QCheckListItem ( QListView * parent, const TQString & text, const TQPixmap & p )" +.SH "TQCheckListItem::TQCheckListItem ( QListView * parent, const TQString & text, const TQPixmap & p )" Constructs a RadioButtonController item with parent \fIparent\fR, text \fItext\fR and pixmap \fIp\fR. -.SH "QCheckListItem::~QCheckListItem ()" +.SH "TQCheckListItem::~TQCheckListItem ()" Destroys the item, and all its children to any depth, freeing up all allocated resources. -.SH "void QCheckListItem::activate ()\fC [virtual protected]\fR" +.SH "void TQCheckListItem::activate ()\fC [virtual protected]\fR" Toggle check box or set radio button to on. .PP Reimplemented from QListViewItem. -.SH "bool QCheckListItem::isOn () const" +.SH "bool TQCheckListItem::isOn () const" Returns TRUE if the item is toggled on; otherwise returns FALSE. -.SH "bool QCheckListItem::isTristate () const" +.SH "bool TQCheckListItem::isTristate () const" Returns TRUE if the item is tristate; otherwise returns FALSE. .PP See also setTristate(). -.SH "void QCheckListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" +.SH "void TQCheckListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align )\fC [virtual]\fR" Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See TQt::AlignmentFlags for valid alignments.) .PP Reimplemented from QListViewItem. -.SH "void QCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )\fC [virtual]\fR" +.SH "void TQCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r )\fC [virtual]\fR" Draws the focus rectangle \fIr\fR using the color group \fIcg\fR on the painter \fIp\fR. .PP Reimplemented from QListViewItem. -.SH "int QCheckListItem::rtti () const\fC [virtual]\fR" +.SH "int TQCheckListItem::rtti () const\fC [virtual]\fR" Returns 1. .PP Make your derived classes return their own values for rtti(), and you can distinguish between list view items. You should use values greater than 1000, to allow for extensions to this class. .PP Reimplemented from QListViewItem. -.SH "void QCheckListItem::setOn ( bool b )\fC [virtual]\fR" +.SH "void TQCheckListItem::setOn ( bool b )\fC [virtual]\fR" Sets the button on if \fIb\fR is TRUE, otherwise sets it off. Maintains radio button exclusivity. -.SH "void QCheckListItem::setState ( ToggleState s )" +.SH "void TQCheckListItem::setState ( ToggleState s )" Sets the toggle state of the checklistitem to \fIs\fR. \fIs\fR can be Off, NoChange or On. .PP Tristate can only be enabled for CheckBox or CheckBoxController, therefore the NoChange only applies to them. @@ -184,27 +184,27 @@ Tristate can only be enabled for CheckBox or CheckBoxController, therefore the N Setting the state to On or Off on a CheckBoxController will recursivly set the states of its children to the same state. .PP Setting the state to NoChange on a CheckBoxController will make it recursivly recall the previous stored state of its children. If there was no previous stored state the children are all set to On. -.SH "void QCheckListItem::setTristate ( bool b )" +.SH "void TQCheckListItem::setTristate ( bool b )" Sets tristate to \fIb\fR if the Type is either a CheckBoxController or a CheckBox. .PP \fCCheckBoxControllers\fR are tristate by default. .PP See also state() and isTristate(). -.SH "ToggleState QCheckListItem::state () const" +.SH "ToggleState TQCheckListItem::state () const" Returns the state of the item. .PP -See also QCheckListItem::ToggleState. -.SH "void QCheckListItem::stateChange ( bool )\fC [virtual protected]\fR" +See also TQCheckListItem::ToggleState. +.SH "void TQCheckListItem::stateChange ( bool )\fC [virtual protected]\fR" This virtual function is called when the item changes its state. NoChange (if tristate is enabled and the type is either CheckBox or CheckBoxController) reports the same as Off, so use state() to determine if the state is actually Off or NoChange. -.SH "TQString QCheckListItem::text () const" +.SH "TQString TQCheckListItem::text () const" Returns the item's text. -.SH "void QCheckListItem::turnOffChild ()\fC [protected]\fR" +.SH "void TQCheckListItem::turnOffChild ()\fC [protected]\fR" If this is a RadioButtonController that has RadioButton children, turn off the child that is on. -.SH "Type QCheckListItem::type () const" +.SH "Type TQCheckListItem::type () const" Returns the type of this item. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qchecklistitem.html +.BR http://doc.trolltech.com/tqchecklistitem.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |