You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
540 B
C++
29 lines
540 B
C++
#ifndef COMBODATA_H
|
|
#define COMBODATA_H
|
|
|
|
#include <QVariant>
|
|
#include <QSharedDataPointer>
|
|
|
|
#include "core_global.h"
|
|
#include "data/comboitem.h"
|
|
|
|
class CORESHARED_EXPORT ComboData
|
|
{
|
|
public:
|
|
ComboData(const QVariant &index, const QString &label);
|
|
ComboData(const QSharedPointer<QObject> &index);
|
|
~ComboData();
|
|
|
|
QVariant index() const;
|
|
void setIndex(const QVariant &index);
|
|
|
|
QString label() const;
|
|
void setLabel(const QString &label);
|
|
|
|
private:
|
|
QVariant m_index;
|
|
QString m_label;
|
|
};
|
|
|
|
#endif // COMBODATA_H
|