tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
filepaths.h
Go to the documentation of this file.
1 #ifndef FILEPATHS_H
2 #define FILEPATHS_H
3 
4 #include <QString>
5 #include <QStringList>
6 
7 // Classes
8 // Externals
9 // Help
10 // Libraries
11 // Patches
12 // Scripts
13 // Settings
14 
15 namespace tilde {
16 
17 class FilePaths {
18  QString _docFolder;
19  QString _basePath;
20 
21 public:
22  FilePaths();
23 
24  //void setBasePath(QString path); // cannot change?
25  QString basePath();
26 
27  QString settings();
28 
29  QStringList bundlesDirList();
30 
31  QStringList dirListFor(QString path);
32  QStringList recursiveDirListFor(QStringList paths);
33  QStringList fileListFor(QStringList list, QString filter);
34 
35  QStringList classesDirList();
36  QStringList externalsDirList();
37  QStringList helpDirList();
38  QStringList librariesDirList();
39  QStringList patchesDirList();
40  QStringList scriptsDirList();
41 
42  QStringList librariesFileList();
43  QStringList scriptsFileList();
44 };
45 }
46 
47 #endif // FILEPATHS_H
QStringList helpDirList()
Definition: filepaths.cpp:159
QStringList librariesDirList()
Definition: filepaths.cpp:164
QString basePath()
Definition: filepaths.cpp:37
FilePaths()
Definition: filepaths.cpp:15
QStringList bundlesDirList()
Definition: filepaths.cpp:76
QString settings()
Definition: filepaths.cpp:44
QStringList recursiveDirListFor(QStringList paths)
Definition: filepaths.cpp:106
QStringList scriptsFileList()
Definition: filepaths.cpp:216
QStringList classesDirList()
Definition: filepaths.cpp:149
QStringList fileListFor(QStringList list, QString filter)
Definition: filepaths.cpp:190
QStringList externalsDirList()
Definition: filepaths.cpp:154
QStringList patchesDirList()
Definition: filepaths.cpp:179
QStringList librariesFileList()
Definition: filepaths.cpp:211
QStringList dirListFor(QString path)
Definition: filepaths.cpp:131
Definition: filepaths.h:17
QStringList scriptsDirList()
Definition: filepaths.cpp:184