add more spacing
[personal-kdebase.git] / apps / konqueror / settings / konqhtml / css / template.h
blob2594eace1ab789e5dafb4a99f11da549ca100c21
1 #ifndef __TEMPLATE_H__
2 #define __TEMPLATE_H__
4 #include <QtCore/QString>
5 #include <QtCore/QTextStream>
6 #include <QtCore/QMap>
8 class CSSTemplate
10 public:
12 CSSTemplate(const QString& templateFilename):m_templateFilename(templateFilename) {}
13 bool expandToFile(const QString& outputFilename, const QMap<QString,QString> &dict);
14 QString expandToString(const QMap<QString,QString> &dict);
16 protected:
17 void doExpand(QTextStream &is, QTextStream &os, const QMap<QString,QString> &dict);
19 QString m_templateFilename;
23 #endif