Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/debugger/util/treeitem.cpp
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | |||||
183 | class EllipsisItem : public TreeItem | 183 | class EllipsisItem : public TreeItem | ||
184 | { | 184 | { | ||
185 | Q_OBJECT | 185 | Q_OBJECT | ||
186 | public: | 186 | public: | ||
187 | EllipsisItem(TreeModel *model, TreeItem *parent) | 187 | EllipsisItem(TreeModel *model, TreeItem *parent) | ||
188 | : TreeItem(model, parent) | 188 | : TreeItem(model, parent) | ||
189 | { | 189 | { | ||
190 | QVector<QVariant> data; | 190 | QVector<QVariant> data; | ||
191 | data.push_back("..."); | 191 | data.push_back(QVariant(QStringLiteral("..."))); | ||
192 | for (int i = 1; i < model->columnCount(QModelIndex()); ++i) | 192 | for (int i = 1; i < model->columnCount(QModelIndex()); ++i) | ||
193 | data.push_back(""); | 193 | data.push_back(QString()); | ||
194 | setData(data); | 194 | setData(data); | ||
195 | } | 195 | } | ||
196 | 196 | | |||
197 | void clicked() override | 197 | void clicked() override | ||
198 | { | 198 | { | ||
199 | qCDebug(DEBUGGER) << "Ellipsis item clicked"; | 199 | qCDebug(DEBUGGER) << "Ellipsis item clicked"; | ||
200 | /* FIXME: restore | 200 | /* FIXME: restore | ||
201 | Q_ASSERT (parentItem->hasMore()); */ | 201 | Q_ASSERT (parentItem->hasMore()); */ | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |