<class name="QTableWidgetItem" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; class provides an item for use with the &lt;a href=&quot;QTableWidget.html&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; class.&lt;/p&gt;
&lt;p&gt;Table items are used to hold pieces of information for table widgets. Items usually contain text, icons, or checkboxes&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; class is a convenience class that replaces the &lt;tt&gt;QTableItem&lt;/tt&gt; class in Qt 3. It provides an item for use with the &lt;a href=&quot;QTableWidget.html&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt; class.&lt;/p&gt;
&lt;p&gt;Top-level items are constructed without a parent then inserted at the position specified by a pair of row and column numbers:&lt;/p&gt;
&lt;pre&gt;        QTableWidgetItem *newItem = new QTableWidgetItem(tr(&amp;quot;%1&amp;quot;).arg(
            pow(row, column+1)));
        tableWidget-&amp;gt;setItem(row, column, newItem);&lt;/pre&gt;
&lt;p&gt;Each item can have its own background brush which is set with the &lt;a href=&quot;QTableWidgetItem.html#setBackground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setBackground&lt;/tt&gt;&lt;/a&gt; function. The current background brush can be found with &lt;a href=&quot;QTableWidgetItem.html#background()&quot;&gt;&lt;tt&gt;background&lt;/tt&gt;&lt;/a&gt;. The text label for each item can be rendered with its own font and brush. These are specified with the &lt;a href=&quot;QTableWidgetItem.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTableWidgetItem.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt; functions, and read with &lt;a href=&quot;QTableWidgetItem.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTableWidgetItem.html#foreground()&quot;&gt;&lt;tt&gt;foreground&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By default, items are enabled, editable, selectable, checkable, and can be used both as the source of a drag and drop operation and as a drop target. Each item's flags can be changed by calling &lt;a href=&quot;QTableWidgetItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)&quot;&gt;&lt;tt&gt;setFlags&lt;/tt&gt;&lt;/a&gt; with the appropriate value (see &lt;tt&gt;Qt::ItemFlags&lt;/tt&gt;). Checkable items can be checked and unchecked with the setChecked() function. The corresponding checked() function indicates whether the item is currently checked.&lt;/p&gt;
&lt;a name=&quot;subclassing&quot;&gt;&lt;/a&gt;
&lt;h3&gt;Subclassing&lt;/h3&gt;
&lt;p&gt;When subclassing &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; to provide custom items, it is possible to define new types for them so that they can be distinguished from standard items. The constructors for subclasses that require this feature need to call the base class constructor with a new type value equal to or greater than &lt;a href=&quot;QTableWidgetItem.html#ItemType-enum&quot;&gt;&lt;tt&gt;UserType&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidget.html&quot;&gt;&lt;tt&gt;QTableWidget&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/model-view-programming.html&quot;&gt;Model/View Programming&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QListWidgetItem.html&quot;&gt;&lt;tt&gt;QListWidgetItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTreeWidgetItem.html&quot;&gt;&lt;tt&gt;QTreeWidgetItem&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QTableWidgetItem(com.trolltech.qt.gui.QIcon icon, java.lang.String text, int type)" doc="/**
&lt;p&gt;Constructs a table item with the given &lt;tt&gt;icon&lt;/tt&gt; and &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QTableWidgetItem(com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;icon&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, Type). */"/>
    <method name="public QTableWidgetItem(java.lang.String text, int type)" doc="/**
&lt;p&gt;Constructs a table item with the given &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QTableWidgetItem(java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;text&lt;/tt&gt;, Type). */"/>
    <method name="public QTableWidgetItem(int type)" doc="/**
&lt;p&gt;Constructs a table item of the specified &lt;tt&gt;type&lt;/tt&gt; that does not belong to any table.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QTableWidgetItem()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt;(Type). */"/>
    <method name="public QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem other)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;other&lt;/tt&gt;. Note that &lt;a href=&quot;QTableWidgetItem.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTableWidgetItem.html#tableWidget()&quot;&gt;&lt;tt&gt;tableWidget&lt;/tt&gt;&lt;/a&gt; are not copied.&lt;/p&gt;
&lt;p&gt;This function is useful when reimplementing &lt;a href=&quot;QTableWidgetItem.html#clone()&quot;&gt;&lt;tt&gt;clone&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#data(int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QBrush background()" doc="/**
&lt;p&gt;Returns the brush used to render the item's background.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setBackground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setBackground&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#foreground()&quot;&gt;&lt;tt&gt;foreground&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.CheckState checkState()" doc="/**
&lt;p&gt;Returns the checked state of the table item.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setCheckState(com.trolltech.qt.core.Qt.CheckState)&quot;&gt;&lt;tt&gt;setCheckState&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int column()" doc="/**
&lt;p&gt;Returns the column of the item in the table. If the item is not in a table, this function will return -1.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#row()&quot;&gt;&lt;tt&gt;row&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.ItemFlags flags()" doc="/**
&lt;p&gt;Returns the flags used to describe the item. These determine whether the item can be checked, edited, and selected.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setFlags(com.trolltech.qt.core.Qt.ItemFlags)&quot;&gt;&lt;tt&gt;setFlags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFont font()" doc="/**
&lt;p&gt;Returns the font used to render the item's text.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QBrush foreground()" doc="/**
&lt;p&gt;Returns the brush used to render the item's foreground (e.g&amp;#x2e; text).&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#background()&quot;&gt;&lt;tt&gt;background&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QIcon icon()" doc="/**
&lt;p&gt;Returns the item's icon.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setIcon(com.trolltech.qt.gui.QIcon)&quot;&gt;&lt;tt&gt;setIcon&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;iconSize&lt;/tt&gt; */"/>
    <method name="public final boolean isSelected()" doc="/**
&lt;p&gt;Returns true if the item is selected, otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setSelected(boolean)&quot;&gt;&lt;tt&gt;setSelected&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QDataStream out)"/>
    <method name="public final void readFrom(com.trolltech.qt.core.QDataStream in)"/>
    <method name="public final int row()" doc="/**
&lt;p&gt;Returns the row of the item in the table. If the item is not in a table, this function will return -1.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#column()&quot;&gt;&lt;tt&gt;column&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setBackground(com.trolltech.qt.gui.QBrush brush)" doc="/**
&lt;p&gt;Sets the item's background brush to the specified &lt;tt&gt;brush&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#background()&quot;&gt;&lt;tt&gt;background&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCheckState(com.trolltech.qt.core.Qt.CheckState state)" doc="/**
&lt;p&gt;Sets the check state of the table item to be &lt;tt&gt;state&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#checkState()&quot;&gt;&lt;tt&gt;checkState&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFlags(com.trolltech.qt.core.Qt.ItemFlags flags)" doc="/**
&lt;p&gt;Sets the flags for the item to the given &lt;tt&gt;flags&lt;/tt&gt;. These determine whether the item can be selected or modified.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#flags()&quot;&gt;&lt;tt&gt;flags&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFont(com.trolltech.qt.gui.QFont font)" doc="/**
&lt;p&gt;Sets the font used to display the item's text to the given &lt;tt&gt;font&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setForeground(com.trolltech.qt.gui.QBrush brush)" doc="/**
&lt;p&gt;Sets the item's foreground brush to the specified &lt;tt&gt;brush&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#foreground()&quot;&gt;&lt;tt&gt;foreground&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setBackground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setBackground&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIcon(com.trolltech.qt.gui.QIcon icon)" doc="/**
&lt;p&gt;Sets the item's icon to the &lt;tt&gt;icon&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#icon()&quot;&gt;&lt;tt&gt;icon&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;iconSize&lt;/tt&gt; */"/>
    <method name="public final void setSelected(boolean select)" doc="/**
&lt;p&gt;Sets the selected state of the item to &lt;tt&gt;select&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#isSelected()&quot;&gt;&lt;tt&gt;isSelected&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSizeHint(com.trolltech.qt.core.QSize size)" doc="/**
&lt;p&gt;Sets the size hint for the table item to be &lt;tt&gt;size&lt;/tt&gt;. If no size hint is set, the item delegate will compute the size hint based on the item data.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStatusTip(java.lang.String statusTip)" doc="/**
&lt;p&gt;Sets the item's status tip to the string specified by &lt;tt&gt;statusTip&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#statusTip()&quot;&gt;&lt;tt&gt;statusTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setWhatsThis(java.lang.String)&quot;&gt;&lt;tt&gt;setWhatsThis&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setText(java.lang.String text)" doc="/**
&lt;p&gt;Sets the item's text to the &lt;tt&gt;text&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#text()&quot;&gt;&lt;tt&gt;text&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextAlignment(int alignment)" doc="/**
&lt;p&gt;Sets the text alignment for the item's text to the &lt;tt&gt;alignment&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#textAlignment()&quot;&gt;&lt;tt&gt;textAlignment&lt;/tt&gt;&lt;/a&gt;
@see Qt::Alignment&lt;/tt&gt; */"/>
    <method name="public final void setToolTip(java.lang.String toolTip)" doc="/**
&lt;p&gt;Sets the item's tooltip to the string specified by &lt;tt&gt;toolTip&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#toolTip()&quot;&gt;&lt;tt&gt;toolTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setStatusTip(java.lang.String)&quot;&gt;&lt;tt&gt;setStatusTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setWhatsThis(java.lang.String)&quot;&gt;&lt;tt&gt;setWhatsThis&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWhatsThis(java.lang.String whatsThis)" doc="/**
&lt;p&gt;Sets the item's &amp;quot;What's This?&amp;quot; help to the string specified by &lt;tt&gt;whatsThis&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#whatsThis()&quot;&gt;&lt;tt&gt;whatsThis&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setStatusTip(java.lang.String)&quot;&gt;&lt;tt&gt;setStatusTip&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;Returns the size hint set for the table item.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setSizeHint(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setSizeHint&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String statusTip()" doc="/**
&lt;p&gt;Returns the item's status tip.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setStatusTip(java.lang.String)&quot;&gt;&lt;tt&gt;setStatusTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTableWidget tableWidget()" doc="/**
&lt;p&gt;Returns the table widget that contains the item.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String text()" doc="/**
&lt;p&gt;Returns the item's text.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setText(java.lang.String)&quot;&gt;&lt;tt&gt;setText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int textAlignment()" doc="/**
&lt;p&gt;Returns the text alignment for the item's text.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setTextAlignment(int)&quot;&gt;&lt;tt&gt;setTextAlignment&lt;/tt&gt;&lt;/a&gt;
@see Qt::Alignment&lt;/tt&gt; */"/>
    <method name="public final java.lang.String toolTip()" doc="/**
&lt;p&gt;Returns the item's tooltip.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int type()" doc="/**
&lt;p&gt;Returns the type passed to the &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; constructor.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String whatsThis()" doc="/**
&lt;p&gt;Returns the item's &amp;quot;What's This?&amp;quot; help.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setWhatsThis(java.lang.String)&quot;&gt;&lt;tt&gt;setWhatsThis&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.gui.QTableWidgetItem clone()" doc="/**
&lt;p&gt;Creates a copy of the item.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object data(int role)" doc="/**
&lt;p&gt;Returns the item's data for the given &lt;tt&gt;role&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#setData(int, java.lang.Object)&quot;&gt;&lt;tt&gt;setData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void read(com.trolltech.qt.core.QDataStream in)" doc="/**
&lt;p&gt;Reads the item from stream &lt;tt&gt;in&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#write(com.trolltech.qt.core.QDataStream)&quot;&gt;&lt;tt&gt;write&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void setData(int role, java.lang.Object value)" doc="/**
&lt;p&gt;Sets the item's data for the given &lt;tt&gt;role&lt;/tt&gt; to the specified &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;

@see &lt;tt&gt;Qt::ItemDataRole&lt;/tt&gt;
@see &lt;a href=&quot;QTableWidgetItem.html#data(int)&quot;&gt;&lt;tt&gt;data&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public void write(com.trolltech.qt.core.QDataStream out)" doc="/**
&lt;p&gt;Writes the item to stream &lt;tt&gt;out&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#read(com.trolltech.qt.core.QDataStream)&quot;&gt;&lt;tt&gt;read&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="ItemType" doc="/**
&lt;p&gt;This enum describes the types that are used to describe table widget items.&lt;/p&gt;
&lt;p&gt;You can define new user types in &lt;a href=&quot;QTableWidgetItem.html#QTableWidgetItem(com.trolltech.qt.gui.QTableWidgetItem)&quot;&gt;&lt;tt&gt;QTableWidgetItem&lt;/tt&gt;&lt;/a&gt; subclasses to ensure that custom items are treated specially.&lt;/p&gt;

@see &lt;a href=&quot;QTableWidgetItem.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The default type for table widget items.&lt;/p&gt;
 */"/>
        <enum-value name="UserType" doc="/**
&lt;p&gt;The minimum value for custom types. Values below &lt;a href=&quot;QTableWidgetItem.html#ItemType-enum&quot;&gt;&lt;tt&gt;UserType&lt;/tt&gt;&lt;/a&gt; are reserved by Qt.&lt;/p&gt;
 */"/>
</enum>
</class>
