FieldConcatModel.cpp   FieldConcatModel.cpp 
skipping to change at line 68 skipping to change at line 68
FieldConcatModel::~FieldConcatModel() FieldConcatModel::~FieldConcatModel()
{ {
} }
/* ********************************************************************* */ /* ********************************************************************* */
#if 0 #if 0
#pragma mark - #pragma mark -
#pragma mark QAbstractTableModel subclass methods #pragma mark QAbstractTableModel subclass methods
#endif #endif
/* ********************************************************************* */ /* ********************************************************************* */
int FieldConcatModel::columnCount(const QModelIndex & parent) const int FieldConcatModel::columnCount(const QModelIndex&) const
{ {
return 2; return 2;
} }
QString FieldConcatModel::displayStringForRecord(QSqlRecord& record) const QString FieldConcatModel::displayStringForRecord(QSqlRecord& record) const
{ {
QString data; QString data;
if (!record.isEmpty()) { if (!record.isEmpty()) {
data = QString(""); data = QString("");
foreach (QString field, fields) { foreach (QString field, fields) {
skipping to change at line 109 skipping to change at line 109
if (index.column() == 0) { if (index.column() == 0) {
data = record.value(0); data = record.value(0);
} else { } else {
data = QVariant(displayStringForRecord(recor d)); data = QVariant(displayStringForRecord(recor d));
} }
} }
} }
return data; return data;
} }
int FieldConcatModel::idForDisplayString(QString displayString) int FieldConcatModel::idForDisplayString(QString)
{ {
return 0; return 0;
} }
int FieldConcatModel::rowCount(const QModelIndex & parent) const int FieldConcatModel::rowCount(const QModelIndex & parent) const
{ {
return dataModel->rowCount(parent); return dataModel->rowCount(parent);
} }
void FieldConcatModel::setFilter(const QString& filter) void FieldConcatModel::setFilter(const QString& filter)
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/