%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/PyQt5/bindings/QtWebEngineCore/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/PyQt5/bindings/QtWebEngineCore/qwebengineurlscheme.sip

// qwebengineurlscheme.sip generated by MetaSIP
//
// This file is part of the QtWebEngineCore Python extension module.
//
// Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
// 
// This file is part of PyQtWebEngine.
// 
// This file may be used under the terms of the GNU General Public License
// version 3.0 as published by the Free Software Foundation and appearing in
// the file LICENSE included in the packaging of this file.  Please review the
// following information to ensure the GNU General Public License version 3.0
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
// 
// If you do not wish to use this file under the terms of the GPL version 3.0
// then you may purchase a commercial license.  For more information contact
// info@riverbankcomputing.com.
// 
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


%If (QtWebEngine_5_12_0 -)

class QWebEngineUrlScheme
{
%TypeHeaderCode
#include <qwebengineurlscheme.h>
%End

public:
    enum class Syntax
    {
        HostPortAndUserInformation,
        HostAndPort,
        Host,
        Path,
    };

    enum SpecialPort
    {
        PortUnspecified,
    };

    enum Flag
    {
        SecureScheme,
        LocalScheme,
        LocalAccessAllowed,
        NoAccessAllowed,
        ServiceWorkersAllowed,
        ViewSourceAllowed,
        ContentSecurityPolicyIgnored,
%If (QtWebEngine_5_14_0 -)
        CorsEnabled,
%End
    };

    typedef QFlags<QWebEngineUrlScheme::Flag> Flags;
    QWebEngineUrlScheme();
    explicit QWebEngineUrlScheme(const QByteArray &name);
    QWebEngineUrlScheme(const QWebEngineUrlScheme &that);
    ~QWebEngineUrlScheme();
    bool operator==(const QWebEngineUrlScheme &that) const;
    bool operator!=(const QWebEngineUrlScheme &that) const;
    QByteArray name() const;
    void setName(const QByteArray &newValue);
    QWebEngineUrlScheme::Syntax syntax() const;
    void setSyntax(QWebEngineUrlScheme::Syntax newValue);
    int defaultPort() const;
    void setDefaultPort(int newValue);
    QWebEngineUrlScheme::Flags flags() const;
    void setFlags(QWebEngineUrlScheme::Flags newValue);
    static void registerScheme(const QWebEngineUrlScheme &scheme);
    static QWebEngineUrlScheme schemeByName(const QByteArray &name);
};

%End
%If (QtWebEngine_5_12_0 -)
QFlags<QWebEngineUrlScheme::Flag> operator|(QWebEngineUrlScheme::Flag f1, QFlags<QWebEngineUrlScheme::Flag> f2);
%End

Zerion Mini Shell 1.0