2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
#include <aggregate.h>
|
|
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QString>
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
class IComboEntry : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
IComboEntry(QString title) : m_title(title) {}
|
|
|
|
|
virtual ~IComboEntry() {}
|
|
|
|
|
QString title() const { return m_title; }
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
private:
|
|
|
|
|
QString m_title;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class IText1 : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
IText1(QString text) : m_text(text) {}
|
|
|
|
|
virtual ~IText1() {}
|
|
|
|
|
QString text() const { return m_text; }
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
private:
|
|
|
|
|
QString m_text;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class IText2 : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
IText2(QString text) : m_text(text) {}
|
|
|
|
|
QString text() const { return m_text; }
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
private:
|
|
|
|
|
QString m_text;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class IText3 : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
IText3(QString text) : m_text(text) {}
|
|
|
|
|
virtual ~IText3() {}
|
|
|
|
|
QString text() const { return m_text; }
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
private:
|
|
|
|
|
QString m_text;
|
|
|
|
|
};
|