Go to the documentation of this file.00001
00004 #ifndef BPSMDEHTML_H
00005 #define BPSMDEHTML_H
00006
00007 #include "bpscore_global.h"
00008 #include <QString>
00009
00010 class BpsMdeApplication;
00011 class BpsMdeRequest;
00012 class BpsMdeSession;
00013
00018 class BPSCORE_EXPORT BpsMdeHtml : public QString
00019 {
00020 public:
00025 BpsMdeHtml(const QString& aString);
00026
00031 BpsMdeHtml(const char* aFile);
00032
00040 BpsMdeHtml trn(const QString& aText, const QString& aTranslated);
00041
00049 BpsMdeHtml set(const QString& aTag, const QString& aValue);
00050
00057 BpsMdeHtml set(const QString& aTag, bool aValue);
00058
00065 BpsMdeHtml set(const QString& aTag, int aValue);
00066
00073 BpsMdeHtml set(const QString& aTag, qlonglong aValue);
00074
00081 BpsMdeHtml set(const QString& aTag, qulonglong aValue);
00082
00089 static QString toHtml(const QString& aText);
00090
00096 static QString escapeHtml(const QString& aText);
00097
00101 static QString nbsp();
00102
00111 static void errorPage(
00112 BpsMdeRequest* aRequest,
00113 BpsMdeSession* aSession,
00114 const QString& aTitle,
00115 const QString& aMessage,
00116 const QString& aUrl = QString());
00117
00129 static void menuPage(
00130 BpsMdeRequest* aRequest,
00131 BpsMdeSession* aSession,
00132 const QString& aTitle,
00133 const QList<BpsMdeApplication*>& aApplications);
00134 };
00135
00136 #endif // BPSMDEHTML_H