status-desktop/storybook/modelutils.h

14 lines
241 B
C
Raw Normal View History

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