File: qtscriptshell_QHttpResponseHeader.h

package info (click to toggle)
musescore 0.9.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128,372 kB
  • ctags: 30,007
  • sloc: cpp: 366,359; xml: 86,115; ansic: 6,146; python: 2,186; sh: 724; perl: 710; makefile: 236
file content (25 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H
#define QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H

#include <qhttp.h>

#include <QtScript/qscriptvalue.h>

class QtScriptShell_QHttpResponseHeader : public QHttpResponseHeader
{
public:
    QtScriptShell_QHttpResponseHeader();
    QtScriptShell_QHttpResponseHeader(const QHttpResponseHeader&  header);
    QtScriptShell_QHttpResponseHeader(const QString&  str);
    QtScriptShell_QHttpResponseHeader(int  code, const QString&  text = QString(), int  majorVer = 1, int  minorVer = 1);
    ~QtScriptShell_QHttpResponseHeader();

    int  majorVersion() const;
    int  minorVersion() const;
    bool  parseLine(const QString&  line, int  number);
    QString  toString() const;

    QScriptValue __qtscript_self;
};

#endif // QTSCRIPTSHELL_QHTTPRESPONSEHEADER_H