Changeset View
Changeset View
Standalone View
Standalone View
krusader/DiskUsage/diskusage.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 63 | public: | |||
---|---|---|---|---|---|
72 | } | 72 | } | ||
73 | 73 | | |||
74 | void setView(int view); | 74 | void setView(int view); | ||
75 | int getActiveView() { | 75 | int getActiveView() { | ||
76 | return activeView; | 76 | return activeView; | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | Directory* getDirectory(QString path); | 79 | Directory* getDirectory(QString path); | ||
80 | File * getFile(QString path); | 80 | File * getFile(const QString& path); | ||
81 | 81 | | |||
82 | QString getConfigGroup() { | 82 | QString getConfigGroup() { | ||
83 | return configGroup; | 83 | return configGroup; | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | void * getProperty(File *, QString); | 86 | void * getProperty(File *, const QString&); | ||
87 | void addProperty(File *, QString, void *); | 87 | void addProperty(File *, const QString&, void *); | ||
88 | void removeProperty(File *, QString); | 88 | void removeProperty(File *, const QString&); | ||
89 | 89 | | |||
90 | int exclude(File *file, bool calcPercents = true, int depth = 0); | 90 | int exclude(File *file, bool calcPercents = true, int depth = 0); | ||
91 | void includeAll(); | 91 | void includeAll(); | ||
92 | 92 | | |||
93 | int del(File *file, bool calcPercents = true, int depth = 0); | 93 | int del(File *file, bool calcPercents = true, int depth = 0); | ||
94 | 94 | | |||
95 | QString getToolTip(File *); | 95 | QString getToolTip(File *); | ||
96 | 96 | | |||
97 | void rightClickMenu(const QPoint &, File *, QMenu * = 0, QString = QString()); | 97 | void rightClickMenu(const QPoint &, File *, QMenu * = 0, const QString& = QString()); | ||
98 | 98 | | |||
99 | void changeDirectory(Directory *dir); | 99 | void changeDirectory(Directory *dir); | ||
100 | 100 | | |||
101 | Directory* getCurrentDir(); | 101 | Directory* getCurrentDir(); | ||
102 | File* getCurrentFile(); | 102 | File* getCurrentFile(); | ||
103 | 103 | | |||
104 | QPixmap getIcon(QString mime); | 104 | QPixmap getIcon(const QString& mime); | ||
105 | 105 | | |||
106 | QUrl getBaseURL() { | 106 | QUrl getBaseURL() { | ||
107 | return baseURL; | 107 | return baseURL; | ||
108 | } | 108 | } | ||
109 | 109 | | |||
110 | public slots: | 110 | public slots: | ||
111 | void dirUp(); | 111 | void dirUp(); | ||
112 | void clear(); | 112 | void clear(); | ||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |