1.1 --- a/xmlobj.cpp Fri Apr 09 14:24:04 2010 +0000
1.2 +++ b/xmlobj.cpp Wed Jun 09 13:14:08 2010 +0000
1.3 @@ -19,6 +19,29 @@
1.4 return r;
1.5 }
1.6
1.7 +QString quoteUmlaut(const QString &s)
1.8 +{
1.9 + QString r=s;
1.10 + QRegExp rx( "ü");
1.11 + r.replace ( rx,"ü");
1.12 + rx.setPattern( "Ü");
1.13 + r.replace ( rx,"Ü");
1.14 + rx.setPattern( "ö");
1.15 + r.replace ( rx,"ö");
1.16 + rx.setPattern( "Ö");
1.17 + r.replace ( rx,"Ö");
1.18 + rx.setPattern( "ä");
1.19 + r.replace ( rx,"ä");
1.20 + rx.setPattern( "Ö");
1.21 + r.replace ( rx,"Ä");
1.22 + rx.setPattern( "ß");
1.23 + r.replace ( rx,"ß");
1.24 + rx.setPattern( "€");
1.25 + r.replace ( rx,"€");
1.26 + return r;
1.27 +}
1.28 +
1.29 +
1.30
1.31
1.32 int XMLObj::actindent=0; // make instance of actindent