Changeset 34 in tspsg-svn for trunk/src/tspmodel.cpp
- Timestamp:
- Jun 30, 2009, 7:22:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tspmodel.cpp
r31 r34 47 47 QVariant CTSPModel::headerData(int section, Qt::Orientation orientation, int role) const 48 48 { 49 if (role == Qt::DisplayRole) 49 if (role == Qt::DisplayRole) { 50 50 if (orientation == Qt::Vertical) 51 51 return trUtf8("City %1").arg(section + 1); 52 52 else 53 53 return trUtf8("%1").arg(section + 1); 54 } 54 55 return QVariant(); 55 56 }
Note: See TracChangeset
for help on using the changeset viewer.