Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/classmodel/classmodel.cpp
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | 114 | { | |||
---|---|---|---|---|---|
127 | } | 127 | } | ||
128 | 128 | | |||
129 | return QVariant(); | 129 | return QVariant(); | ||
130 | } | 130 | } | ||
131 | 131 | | |||
132 | QVariant ClassModel::headerData(int, Qt::Orientation, int role) const | 132 | QVariant ClassModel::headerData(int, Qt::Orientation, int role) const | ||
133 | { | 133 | { | ||
134 | if ( role == Qt::DisplayRole ) | 134 | if ( role == Qt::DisplayRole ) | ||
135 | return "Class"; | 135 | return QStringLiteral("Class"); | ||
136 | 136 | | |||
137 | return QVariant(); | 137 | return QVariant(); | ||
138 | } | 138 | } | ||
139 | 139 | | |||
140 | int ClassModel::columnCount(const QModelIndex&) const | 140 | int ClassModel::columnCount(const QModelIndex&) const | ||
141 | { | 141 | { | ||
142 | return 1; | 142 | return 1; | ||
143 | } | 143 | } | ||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |