status-desktop/storybook/modelutils.h

14 lines
241 B
C++

#pragma once
#include <optional>
#include <QString>
class QAbstractItemModel;
struct ModelUtils
{
static std::optional<int> findRole(const QByteArray &role,
const QAbstractItemModel *model);
};