2016-02-11 12:11:32 +01:00
|
|
|
#ifndef COMBOITEM_H
|
|
|
|
|
#define COMBOITEM_H
|
|
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
#include "../core_global.h"
|
2016-02-11 12:11:32 +01:00
|
|
|
#include <QSharedPointer>
|
|
|
|
|
#include <QVariant>
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
class CORESHARED_EXPORT ComboItem : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit ComboItem(QObject *parent = NULL);
|
|
|
|
|
~ComboItem();
|
|
|
|
|
|
|
|
|
|
virtual bool eq(ComboItem *other) = 0;
|
|
|
|
|
virtual QString toString() = 0;
|
|
|
|
|
};
|
|
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
QX_REGISTER_HPP_CORE(ComboItem, QObject, 0)
|
|
|
|
|
|
2016-02-11 12:11:32 +01:00
|
|
|
#endif // COMBOITEM_H
|