#pragma once
#include <QObject>
#include <QVariantList>

#include <MauiKit4/Core/mauilist.h>

class PlacesModel : public MauiList
{
    Q_OBJECT
    Q_PROPERTY(QVariantList quickPlaces READ quickPlaces)

public:
    explicit PlacesModel(QObject *parent = nullptr);

    QVariantList quickPlaces() const;

private:
    QVariantList m_quickPlaces;
    FMH::MODEL_LIST m_list;

    void setList();
    FMH::MODEL_LIST tags();
    // QQmlParserStatus interface
public:
    void classBegin() override final;
    void componentComplete() override final;
    const FMH::MODEL_LIST &items() const override final;
};

