|
Cppcheck
|
#include "common.h"#include <QCoreApplication>#include <QDir>#include <QFileInfo>#include <QList>#include <QSettings>#include <QStringList>#include <QVariant>#include <Qt>Go to the source code of this file.
Functions | |
| QString | getPath (const QString &type) |
| Obtains the path of specified type Returns the path of specified type if not empty. More... | |
| void | setPath (const QString &type, const QString &value) |
| Stores last used path of specified type Stores provided path as last used path for specified type. More... | |
| QString | toFilterString (const QMap< QString, QString > &filters, bool addAllSupported, bool addAll) |
| Creates a string suitable for passing as the filter argument to methods like QFileDialog::getOpenFileName. More... | |
| QString | getDataDir () |
| Get configured data dir. More... | |