* \brief Return the content of row 'row'. * * Use this only when columnMode() is Text */
| 2731 | * Use this only when columnMode() is Text |
| 2732 | */ |
| 2733 | QString ColumnPrivate::textAt(int row) const { |
| 2734 | if (!m_data || m_columnMode != AbstractColumn::ColumnMode::Text) |
| 2735 | return {}; |
| 2736 | return static_cast<QVector<QString>*>(m_data)->value(row); |
| 2737 | } |
| 2738 | |
| 2739 | /** |
| 2740 | * \brief Return the date part of row 'row' |