summaryrefslogtreecommitdiffstats
path: root/src/qtivisupportwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtivisupportwidget.h')
-rw-r--r--src/qtivisupportwidget.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/qtivisupportwidget.h b/src/qtivisupportwidget.h
new file mode 100644
index 0000000..8256181
--- /dev/null
+++ b/src/qtivisupportwidget.h
@@ -0,0 +1,58 @@
+/****************************************************************************
+**
+** Copyright (C) 2016 Klaralvdalens Datakonsult AB, a KDAB Group company.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the QtIvi plug-in for GammaRay.
+**
+** $QT_BEGIN_LICENSE:GPL-QTAS$
+** Commercial License Usage
+** Licensees holding valid commercial Qt Automotive Suite licenses may use
+** this file in accordance with the commercial license agreement provided
+** with the Software or, alternatively, in accordance with the terms
+** contained in a written agreement between you and The Qt Company. For
+** licensing terms and conditions see https://www.qt.io/terms-conditions.
+** For further information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 as published by the Free Software
+** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef GAMMARAY_QTIVI_QTIVIWIDGET_H
+#define GAMMARAY_QTIVI_QTIVIWIDGET_H
+
+#include <QWidget>
+
+#include <ui/tooluifactory.h>
+
+QT_BEGIN_NAMESPACE
+class QModelIndex;
+QT_END_NAMESPACE
+
+namespace GammaRay {
+
+class QtIVIWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit QtIVIWidget(QWidget *parent = 0);
+};
+
+class QtIVIUiFactory : public QObject, public StandardToolUiFactory<QtIVIWidget>
+{
+ Q_OBJECT
+ Q_INTERFACES(GammaRay::ToolUiFactory)
+ Q_PLUGIN_METADATA(IID "com.kdab.GammaRay.ToolUiFactory" FILE "gammaray_qtivi.json")
+};
+
+}
+
+#endif