34 lines
431 B
C++
34 lines
431 B
C++
#include "combodata.h"
|
|
|
|
ComboData::ComboData(const QVariant &index, const QString &label)
|
|
{
|
|
m_index = index;
|
|
m_label = label;
|
|
}
|
|
|
|
ComboData::~ComboData()
|
|
{
|
|
|
|
}
|
|
QVariant ComboData::index() const
|
|
{
|
|
return m_index;
|
|
}
|
|
|
|
void ComboData::setIndex(const QVariant &index)
|
|
{
|
|
m_index = index;
|
|
}
|
|
QString ComboData::label() const
|
|
{
|
|
return m_label;
|
|
}
|
|
|
|
void ComboData::setLabel(const QString &label)
|
|
{
|
|
m_label = label;
|
|
}
|
|
|
|
|
|
|