Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/PanelView/krview.h
Show First 20 Lines • Show All 248 Lines • ▼ Show 20 Line(s) | 247 | public: | |||
---|---|---|---|---|---|
249 | // the following functions are already implemented, // | 249 | // the following functions are already implemented, // | ||
250 | // and normally - should NOT be re-implemented. // | 250 | // and normally - should NOT be re-implemented. // | ||
251 | ////////////////////////////////////////////////////// | 251 | ////////////////////////////////////////////////////// | ||
252 | uint numFiles() const { return _count - _numDirs; } | 252 | uint numFiles() const { return _count - _numDirs; } | ||
253 | uint numDirs() const { return _numDirs; } | 253 | uint numDirs() const { return _numDirs; } | ||
254 | uint count() const { return _count; } | 254 | uint count() const { return _count; } | ||
255 | void getSelectedItems(QStringList *names, bool fallbackToFocused = true); | 255 | void getSelectedItems(QStringList *names, bool fallbackToFocused = true); | ||
256 | void getItemsByMask(QString mask, QStringList *names, bool dirs = true, bool files = true); | 256 | void getItemsByMask(QString mask, QStringList *names, bool dirs = true, bool files = true); | ||
257 | void getSelectedKrViewItems(KrViewItemList *items); | 257 | KrViewItemList getSelectedKrViewItems(); | ||
258 | void selectAllIncludingDirs() { changeSelection(KRQuery("*"), true, true); } | 258 | void selectAllIncludingDirs() { changeSelection(KRQuery("*"), true, true); } | ||
259 | void select(const KRQuery &filter = KRQuery("*")) { changeSelection(filter, true); } | 259 | void select(const KRQuery &filter = KRQuery("*")) { changeSelection(filter, true); } | ||
260 | void unselect(const KRQuery &filter = KRQuery("*")) { changeSelection(filter, false); } | 260 | void unselect(const KRQuery &filter = KRQuery("*")) { changeSelection(filter, false); } | ||
261 | void unselectAll() { changeSelection(KRQuery("*"), false, true); } | 261 | void unselectAll() { changeSelection(KRQuery("*"), false, true); } | ||
262 | void invertSelection(); | 262 | void invertSelection(); | ||
263 | QString nameToMakeCurrent() const { return _nameToMakeCurrent; } | 263 | QString nameToMakeCurrent() const { return _nameToMakeCurrent; } | ||
264 | void setNameToMakeCurrent(const QString name) { _nameToMakeCurrent = name; } | 264 | void setNameToMakeCurrent(const QString name) { _nameToMakeCurrent = name; } | ||
265 | QString firstUnmarkedBelowCurrent(const bool skipCurrent); | 265 | QString firstUnmarkedBelowCurrent(const bool skipCurrent); | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |