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.
26 lines
429 B
C
26 lines
429 B
C
9 years ago
|
#ifndef COMBODATA_H
|
||
|
#define COMBODATA_H
|
||
|
|
||
|
#include <QVariant>
|
||
|
|
||
|
#include "core_global.h"
|
||
|
|
||
|
class CORESHARED_EXPORT ComboData
|
||
|
{
|
||
|
public:
|
||
|
ComboData(const QVariant &index, const QString &label);
|
||
|
~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
|