Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/shell/problemmodel.cpp
Show First 20 Lines • Show All 246 Lines • ▼ Show 20 Line(s) | |||||
247 | 247 | | |||
248 | ProblemModel::Features ProblemModel::features() const | 248 | ProblemModel::Features ProblemModel::features() const | ||
249 | { | 249 | { | ||
250 | return d->m_features; | 250 | return d->m_features; | ||
251 | } | 251 | } | ||
252 | 252 | | |||
253 | void ProblemModel::setFeatures(Features features) | 253 | void ProblemModel::setFeatures(Features features) | ||
254 | { | 254 | { | ||
255 | if (d->m_features == features) { | ||||
256 | return; | ||||
257 | } | ||||
258 | | ||||
255 | d->m_features = features; | 259 | d->m_features = features; | ||
260 | emit featuresChanged(); | ||||
256 | } | 261 | } | ||
257 | 262 | | |||
258 | QString ProblemModel::fullUpdateTooltip() const | 263 | QString ProblemModel::fullUpdateTooltip() const | ||
259 | { | 264 | { | ||
260 | return d->m_fullUpdateTooltip; | 265 | return d->m_fullUpdateTooltip; | ||
261 | } | 266 | } | ||
262 | 267 | | |||
263 | void ProblemModel::setFullUpdateTooltip(const QString& tooltip) | 268 | void ProblemModel::setFullUpdateTooltip(const QString& tooltip) | ||
▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines |