Changeset View
Changeset View
Standalone View
Standalone View
sidebar/module_manager.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
56 | /// Returns the full path for a given module. TEMP HACK, TO BE REMOVED | 56 | /// Returns the full path for a given module. TEMP HACK, TO BE REMOVED | ||
57 | QString moduleFullPath(const QString &fileName) const; | 57 | QString moduleFullPath(const QString &fileName) const; | ||
58 | 58 | | |||
59 | void rollbackToDefault(); | 59 | void rollbackToDefault(); | ||
60 | 60 | | |||
61 | void setModuleName(const QString &fileName, const QString &moduleName); | 61 | void setModuleName(const QString &fileName, const QString &moduleName); | ||
62 | void setModuleUrl(const QString &fileName, const QUrl &url); | 62 | void setModuleUrl(const QString &fileName, const QUrl &url); | ||
63 | void setModuleIcon(const QString &fileName, const QString &icon); | 63 | void setModuleIcon(const QString &fileName, const QString &icon); | ||
64 | void setShowHiddenFolders(const QString &fileName, const bool &newState); | ||||
64 | 65 | | |||
65 | /// Find a unique filename for a new module, based on a template name | 66 | /// Find a unique filename for a new module, based on a template name | ||
66 | /// like "dirtree%1.desktop". | 67 | /// like "dirtree%1.desktop". | ||
67 | /// @return the full path. templ is modified to contain the filename only. | 68 | /// @return the full path. templ is modified to contain the filename only. | ||
68 | QString addModuleFromTemplate(QString &templ); | 69 | QString addModuleFromTemplate(QString &templ); | ||
69 | 70 | | |||
70 | /// Called when a module was added | 71 | /// Called when a module was added | ||
71 | void moduleAdded(const QString &fileName); | 72 | void moduleAdded(const QString &fileName); | ||
Show All 12 Lines |