This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-03-29 23:19:59 +02:00

23 lines
316 B
C++

#include "qhashqml.h"
QHashQml::QHashQml(QObject *parent)
: QObject{parent}
{
}
void QHashQml::insert(int key, const QVariant &value)
{
m_hash.insert(key, value);
}
bool QHashQml::contains(int key)
{
return m_hash.contains(key);
}
QVariant QHashQml::value(int key)
{
return m_hash.value(key);
}