7 #ifndef SCXMLSTREAMREADER_H
8 #define SCXMLSTREAMREADER_H
10 #include <QXmlStreamAttributes>
11 #include <QXmlStreamReader>
13 #include "scribusapi.h"
22 bool valueAsBool (
const char* attrName,
bool def =
false)
const;
23 bool valueAsBool (
const QString& attrName,
bool def =
false)
const;
24 int valueAsInt (
const char* attrName,
int def = 0)
const;
25 int valueAsInt (
const QString& attrName,
int def = 0)
const;
26 int valueAsInt (
const char* attrName,
int min,
int max,
int def = 0)
const;
27 int valueAsInt (
const QString& attrName,
int min,
int max,
int def = 0)
const;
28 uint valueAsUInt (
const char* attrName, uint def = 0)
const;
29 uint valueAsUInt (
const QString& attrName, uint def = 0)
const;
30 double valueAsDouble (
const char* attrName,
double def = 0.0)
const;
31 double valueAsDouble (
const QString& attrName,
double def = 0.0)
const;
32 QString valueAsString (
const char* attrName,
const QString def = QString())
const;
33 QString valueAsString (
const QString& attrName,
const QString def = QString())
const;
43 void readToElementEnd(
void);
Definition: scxmlstreamreader.h:36
Definition: scxmlstreamreader.h:15