QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QHttpResponseHeader.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H
2 #define QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H
3 
4 #include <qhttp.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QHttpResponseHeader : public QHttpResponseHeader
9 {
10 public:
12  QtScriptShell_QHttpResponseHeader(const QHttpResponseHeader& header);
13  QtScriptShell_QHttpResponseHeader(const QString& str);
14  QtScriptShell_QHttpResponseHeader(int code, const QString& text = QString(), int majorVer = 1, int minorVer = 1);
16 
17  int majorVersion() const;
18  int minorVersion() const;
19  bool parseLine(const QString& line, int number);
20  QString toString() const;
21 
22  QScriptValue __qtscript_self;
23 };
24 
25 #endif // QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H