LMMS
Loading...
Searching...
No Matches
LocalFileMng.h
Go to the documentation of this file.
1#ifndef LFILEMNG_H
2#define LFILEMNG_H
3
4#include <QDomDocument>
5
6namespace lmms
7{
8
9
11{
12public:
13 static QString readXmlString( QDomNode , const QString& nodeName, const QString& defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
14 static float readXmlFloat( QDomNode , const QString& nodeName, float defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
15 static int readXmlInt( QDomNode , const QString& nodeName, int defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
16 static bool readXmlBool( QDomNode , const QString& nodeName, bool defaultValue, bool bShouldExists = true , bool tinyXmlCompatMode = false );
17 static void convertFromTinyXMLString( QByteArray* str );
18 static bool checkTinyXMLCompatMode( const QString& filename );
19 static QDomDocument openXmlDocument( const QString& filename );
20};
21
22
23} // namespace lmms
24
25#endif //LFILEMNG_H
26
Definition LocalFileMng.h:11
static float readXmlFloat(QDomNode, const QString &nodeName, float defaultValue, bool bCanBeEmpty=false, bool bShouldExists=true, bool tinyXmlCompatMode=false)
Definition LocalFileMng.cpp:38
static bool readXmlBool(QDomNode, const QString &nodeName, bool defaultValue, bool bShouldExists=true, bool tinyXmlCompatMode=false)
Definition LocalFileMng.cpp:82
static QDomDocument openXmlDocument(const QString &filename)
Definition LocalFileMng.cpp:188
static bool checkTinyXMLCompatMode(const QString &filename)
Definition LocalFileMng.cpp:159
static void convertFromTinyXMLString(QByteArray *str)
Definition LocalFileMng.cpp:109
static QString readXmlString(QDomNode, const QString &nodeName, const QString &defaultValue, bool bCanBeEmpty=false, bool bShouldExists=true, bool tinyXmlCompatMode=false)
Definition LocalFileMng.cpp:16
static int readXmlInt(QDomNode, const QString &nodeName, int defaultValue, bool bCanBeEmpty=false, bool bShouldExists=true, bool tinyXmlCompatMode=false)
Definition LocalFileMng.cpp:60
Definition AudioAlsa.cpp:35
QString filename
Definition HydrogenImport.cpp:42