Changeset View
Changeset View
Standalone View
Standalone View
krusader/FileSystem/dirlisterinterface.h
Show All 29 Lines | |||||
30 | /** | 30 | /** | ||
31 | * A minimal interface representing a list of files in a directory. | 31 | * A minimal interface representing a list of files in a directory. | ||
32 | */ | 32 | */ | ||
33 | class DirListerInterface : public QObject | 33 | class DirListerInterface : public QObject | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | public: | 36 | public: | ||
37 | explicit DirListerInterface(QObject *parent) : QObject(parent) {} | 37 | explicit DirListerInterface(QObject *parent) : QObject(parent) {} | ||
38 | virtual ~DirListerInterface() {} | 38 | ~DirListerInterface() override = default; | ||
39 | 39 | | |||
40 | /** | 40 | /** | ||
41 | * Return the file items of all files and directories. Without current (".") and parent ("..") | 41 | * Return the file items of all files and directories. Without current (".") and parent ("..") | ||
42 | * directory. | 42 | * directory. | ||
43 | */ | 43 | */ | ||
44 | virtual QList<FileItem *> fileItems() const = 0; | 44 | virtual QList<FileItem *> fileItems() const = 0; | ||
45 | /** | 45 | /** | ||
46 | * Return the number of all file items. | 46 | * Return the number of all file items. | ||
Show All 31 Lines |