summaryrefslogtreecommitdiff
path: root/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/designer/worldtimeclockplugin/worldtimeclockplugin.h')
-rw-r--r--examples/designer/worldtimeclockplugin/worldtimeclockplugin.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
deleted file mode 100644
index 3f7b4b80f..000000000
--- a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#ifndef WORLDTIMECLOCKPLUGIN_H
-#define WORLDTIMECLOCKPLUGIN_H
-
-#include <QtUiPlugin/QDesignerCustomWidgetInterface>
-
-//! [0]
-class WorldTimeClockPlugin : public QObject,
- public QDesignerCustomWidgetInterface
-{
- Q_OBJECT
-//! [1]
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface")
-//! [1]
- Q_INTERFACES(QDesignerCustomWidgetInterface)
-
-public:
- explicit WorldTimeClockPlugin(QObject *parent = nullptr);
-
- bool isContainer() const override;
- bool isInitialized() const override;
- QIcon icon() const override;
- QString domXml() const override;
- QString group() const override;
- QString includeFile() const override;
- QString name() const override;
- QString toolTip() const override;
- QString whatsThis() const override;
- QWidget *createWidget(QWidget *parent) override;
- void initialize(QDesignerFormEditorInterface *core) override;
-
-private:
- bool initialized = false;
-};
-//! [0]
-
-#endif