Changeset View
Changeset View
Standalone View
Standalone View
src/core/models/entityorderproxymodel.cpp
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 61 | { | |||
---|---|---|---|---|---|
63 | //setSortCaseSensitivity( Qt::CaseInsensitive ); | 63 | //setSortCaseSensitivity( Qt::CaseInsensitive ); | ||
64 | } | 64 | } | ||
65 | 65 | | |||
66 | EntityOrderProxyModel::~EntityOrderProxyModel() | 66 | EntityOrderProxyModel::~EntityOrderProxyModel() | ||
67 | { | 67 | { | ||
68 | delete d_ptr; | 68 | delete d_ptr; | ||
69 | } | 69 | } | ||
70 | 70 | | |||
71 | void EntityOrderProxyModel::setOrderConfig(KConfigGroup &configGroup) | 71 | void EntityOrderProxyModel::setOrderConfig(const KConfigGroup &configGroup) | ||
72 | { | 72 | { | ||
73 | Q_D(EntityOrderProxyModel); | 73 | Q_D(EntityOrderProxyModel); | ||
74 | Q_EMIT layoutAboutToBeChanged(); | 74 | Q_EMIT layoutAboutToBeChanged(); | ||
75 | d->m_orderConfig = configGroup; | 75 | d->m_orderConfig = configGroup; | ||
76 | Q_EMIT layoutChanged(); | 76 | Q_EMIT layoutChanged(); | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | bool EntityOrderProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const | 79 | bool EntityOrderProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const | ||
▲ Show 20 Lines • Show All 229 Lines • Show Last 20 Lines |