#pragma once #include #include "common/SignalVectorModel.hpp" #include "controllers/highlights/HighlightPhrase.hpp" namespace chatterino { class HighlightController; class UserHighlightModel : public SignalVectorModel { explicit UserHighlightModel(QObject *parent); protected: // vector into model row virtual HighlightPhrase getItemFromRow( std::vector &row, const HighlightPhrase &original) override; virtual void getRowFromItem(const HighlightPhrase &item, std::vector &row) override; friend class HighlightController; }; } // namespace chatterino