Falkon Develop
Cross-platform Qt-based web browser
qmlqzobjects.h
Go to the documentation of this file.
1/* ============================================================
2* Falkon - Qt web browser
3* Copyright (C) 2018 Anmol Gautam <tarptaeya@gmail.com>
4*
5* This program is free software: you can redistribute it and/or modify
6* it under the terms of the GNU General Public License as published by
7* the Free Software Foundation, either version 3 of the License, or
8* (at your option) any later version.
9*
10* This program is distributed in the hope that it will be useful,
11* but WITHOUT ANY WARRANTY; without even the implied warranty of
12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13* GNU General Public License for more details.
14*
15* You should have received a copy of the GNU General Public License
16* along with this program. If not, see <http://www.gnu.org/licenses/>.
17* ============================================================ */
18#pragma once
19
20#include "qzcommon.h"
21#include <QObject>
22
26class QmlQzObjects : public QObject
27{
28 Q_OBJECT
29public:
38 };
39 Q_ENUM(ObjectName)
40
41 explicit QmlQzObjects(QObject *parent = nullptr);
42};
The class exposing Qz ObjectName to QML.
Definition: qmlqzobjects.h:27
ObjectName
The ObjectName enum.
Definition: qmlqzobjects.h:33
@ ON_TabWidget
Represents object is tabwidget.
Definition: qmlqzobjects.h:36
@ ON_WebView
Represents object is webview.
Definition: qmlqzobjects.h:34
@ ON_TabBar
Represents object is tabbar.
Definition: qmlqzobjects.h:35
@ ON_BrowserWindow
Represents object is browser window.
Definition: qmlqzobjects.h:37
QmlQzObjects(QObject *parent=nullptr)
@ ON_TabWidget
Definition: qzcommon.h:92
@ ON_TabBar
Definition: qzcommon.h:91
@ ON_BrowserWindow
Definition: qzcommon.h:93
@ ON_WebView
Definition: qzcommon.h:90