Changeset View
Changeset View
Standalone View
Standalone View
krusader/Locate/locate.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | |||||
80 | 80 | | |||
81 | class LocateListView : public KrTreeWidget | 81 | class LocateListView : public KrTreeWidget | ||
82 | { | 82 | { | ||
83 | public: | 83 | public: | ||
84 | explicit LocateListView(QWidget * parent) : KrTreeWidget(parent) { | 84 | explicit LocateListView(QWidget * parent) : KrTreeWidget(parent) { | ||
85 | setAlternatingRowColors(true); | 85 | setAlternatingRowColors(true); | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | void startDrag(Qt::DropActions supportedActs) Q_DECL_OVERRIDE { | 88 | void startDrag(Qt::DropActions supportedActs) override { | ||
89 | Q_UNUSED(supportedActs); | 89 | Q_UNUSED(supportedActs); | ||
90 | 90 | | |||
91 | QList<QUrl> urls; | 91 | QList<QUrl> urls; | ||
92 | QList<QTreeWidgetItem *> list = selectedItems(); | 92 | QList<QTreeWidgetItem *> list = selectedItems(); | ||
93 | 93 | | |||
94 | QListIterator<QTreeWidgetItem *> it(list); | 94 | QListIterator<QTreeWidgetItem *> it(list); | ||
95 | 95 | | |||
96 | while (it.hasNext()) { | 96 | while (it.hasNext()) { | ||
▲ Show 20 Lines • Show All 594 Lines • Show Last 20 Lines |