Changeset View
Changeset View
Standalone View
Standalone View
src/views/dolphinview.h
Show First 20 Lines • Show All 205 Lines • ▼ Show 20 Line(s) | 66 | public: | |||
---|---|---|---|---|---|
206 | 206 | | |||
207 | void setSortOrder(Qt::SortOrder order); | 207 | void setSortOrder(Qt::SortOrder order); | ||
208 | Qt::SortOrder sortOrder() const; | 208 | Qt::SortOrder sortOrder() const; | ||
209 | 209 | | |||
210 | /** Sets a separate sorting with folders first (true) or a mixed sorting of files and folders (false). */ | 210 | /** Sets a separate sorting with folders first (true) or a mixed sorting of files and folders (false). */ | ||
211 | void setSortFoldersFirst(bool foldersFirst); | 211 | void setSortFoldersFirst(bool foldersFirst); | ||
212 | bool sortFoldersFirst() const; | 212 | bool sortFoldersFirst() const; | ||
213 | 213 | | |||
214 | /** Sets a separate sorting with hidden files and folders last (true) or not (false). */ | ||||
215 | void setSortHiddenLast(bool hiddenLast); | ||||
216 | bool sortHiddenLast() const; | ||||
217 | | ||||
214 | /** Sets the additional information which should be shown for the items. */ | 218 | /** Sets the additional information which should be shown for the items. */ | ||
215 | void setVisibleRoles(const QList<QByteArray>& roles); | 219 | void setVisibleRoles(const QList<QByteArray>& roles); | ||
216 | 220 | | |||
217 | /** Returns the additional information which should be shown for the items. */ | 221 | /** Returns the additional information which should be shown for the items. */ | ||
218 | QList<QByteArray> visibleRoles() const; | 222 | QList<QByteArray> visibleRoles() const; | ||
219 | 223 | | |||
220 | void reload(); | 224 | void reload(); | ||
221 | 225 | | |||
▲ Show 20 Lines • Show All 226 Lines • ▼ Show 20 Line(s) | 403 | signals: | |||
448 | void sortOrderChanged(Qt::SortOrder order); | 452 | void sortOrderChanged(Qt::SortOrder order); | ||
449 | 453 | | |||
450 | /** | 454 | /** | ||
451 | * Is emitted if the sorting of files and folders (separate with folders | 455 | * Is emitted if the sorting of files and folders (separate with folders | ||
452 | * first or mixed) has been changed. | 456 | * first or mixed) has been changed. | ||
453 | */ | 457 | */ | ||
454 | void sortFoldersFirstChanged(bool foldersFirst); | 458 | void sortFoldersFirstChanged(bool foldersFirst); | ||
455 | 459 | | |||
460 | /** | ||||
461 | * Is emitted if the sorting of hidden files has been changed. | ||||
462 | */ | ||||
463 | void sortHiddenLastChanged(bool hiddenLast); | ||||
464 | | ||||
456 | /** Is emitted if the additional information shown for this view has been changed. */ | 465 | /** Is emitted if the additional information shown for this view has been changed. */ | ||
457 | void visibleRolesChanged(const QList<QByteArray>& current, | 466 | void visibleRolesChanged(const QList<QByteArray>& current, | ||
458 | const QList<QByteArray>& previous); | 467 | const QList<QByteArray>& previous); | ||
459 | 468 | | |||
460 | /** Is emitted if the zoom level has been changed by zooming in or out. */ | 469 | /** Is emitted if the zoom level has been changed by zooming in or out. */ | ||
461 | void zoomLevelChanged(int current, int previous); | 470 | void zoomLevelChanged(int current, int previous); | ||
462 | 471 | | |||
463 | /** | 472 | /** | ||
▲ Show 20 Lines • Show All 177 Lines • ▼ Show 20 Line(s) | 593 | private slots: | |||
641 | 650 | | |||
642 | /** | 651 | /** | ||
643 | * Updates the view properties of the current URL to the | 652 | * Updates the view properties of the current URL to the | ||
644 | * sorting of files and folders (separate with folders first or mixed) given by \a foldersFirst. | 653 | * sorting of files and folders (separate with folders first or mixed) given by \a foldersFirst. | ||
645 | */ | 654 | */ | ||
646 | void updateSortFoldersFirst(bool foldersFirst); | 655 | void updateSortFoldersFirst(bool foldersFirst); | ||
647 | 656 | | |||
648 | /** | 657 | /** | ||
658 | * Updates the view properties of the current URL to the | ||||
659 | * sorting of hidden files given by \a hiddenLast. | ||||
660 | */ | ||||
661 | void updateSortHiddenLast(bool hiddenLast); | ||||
662 | | ||||
663 | /** | ||||
649 | * Indicates in the status bar that the delete operation | 664 | * Indicates in the status bar that the delete operation | ||
650 | * of the job \a job has been finished. | 665 | * of the job \a job has been finished. | ||
651 | */ | 666 | */ | ||
652 | void slotDeleteFileFinished(KJob* job); | 667 | void slotDeleteFileFinished(KJob* job); | ||
653 | 668 | | |||
654 | /** | 669 | /** | ||
655 | * Indicates in the status bar that the trash operation | 670 | * Indicates in the status bar that the trash operation | ||
656 | * of the job \a job has been finished. | 671 | * of the job \a job has been finished. | ||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |