void AbstractTextFormatter::fetchHeaderList( QStringList *headers, const SharedUiItem &item) const { Q_ASSERT(headers); if (_columnHeadersEnabled) { int n = item.uiSectionCount(); for (int i = 0; i < n; ++i) headers->append(item.uiHeaderString(i)); } }
SharedUiItemLogWrapperData(SharedUiItem wrapped, QDateTime timestamp) : _id(QString::number(_sequence.fetchAndAddOrdered(1))), _wrapped(wrapped), _timestamp(timestamp), _timestampSection(wrapped.uiSectionCount()) { }