#include <FileQuery.h>
|
| virtual bool | openUrl (const QUrl &url) const |
| |
◆ FileQuery()
◆ getDefaultSystemFontFamily()
| auto qml_components::FileQuery::getDefaultSystemFontFamily |
( |
bool |
fixedPitchOnly, |
|
|
bool |
tabularDigitsOnly |
|
) |
| const |
◆ getSelectableFilesForDirectory() [1/2]
| auto qml_components::FileQuery::getSelectableFilesForDirectory |
( |
const QString & |
directory | ) |
const |
Get a list of all files in a directory EXCLUDING ini files.
- Parameters
-
| directory | The directory to search. |
- Returns
- A list of all files in the directory EXCLUDING ini files.
◆ getSelectableFilesForDirectory() [2/2]
| auto qml_components::FileQuery::getSelectableFilesForDirectory |
( |
const QString & |
directory, |
|
|
const QStringList & |
filters |
|
) |
| const |
◆ getSelectableFontFilesForDirectory()
| auto qml_components::FileQuery::getSelectableFontFilesForDirectory |
( |
const QString & |
directory, |
|
|
bool |
fixedPitchOnly, |
|
|
bool |
tabularDigitsOnly |
|
) |
| const |
◆ getSystemFontFamilies()
| auto qml_components::FileQuery::getSystemFontFamilies |
( |
bool |
fixedPitchOnly, |
|
|
bool |
tabularDigitsOnly |
|
) |
| const |
◆ localFileUrl()
| auto qml_components::FileQuery::localFileUrl |
( |
const QString & |
path | ) |
const |
◆ openFolder()
| auto qml_components::FileQuery::openFolder |
( |
const QString & |
path | ) |
const |
◆ openUrl()
| auto qml_components::FileQuery::openUrl |
( |
const QUrl & |
url | ) |
const |
|
protectedvirtual |
◆ readTextFile()
| auto qml_components::FileQuery::readTextFile |
( |
const QString & |
path, |
|
|
const QString & |
encoding = "UTF-8" |
|
) |
| const |
Reads local or virtual text, honoring a BOM. The fallback is UTF-8; legacy chart readmes can request CP932 explicitly.
The documentation for this class was generated from the following files: