Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QString Q3Table::text ( int  row,
int  col 
) const [virtual]

Returns the text in the cell at row, col, or an empty string if the relevant item does not exist or has no text.

See also:
setText() setPixmap()

Reimplemented in Q3DataTable.

Definition at line 3144 of file q3table.cpp.

References item(), and Q3TableItem::text().

{
    Q3TableItem *itm = item(row, col);
    if (itm)
        return itm->text();
    return QString();
}


Generated by  Doxygen 1.6.0   Back to index