Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::RecentProjectsModel Class Reference
Inheritance diagram for zrythm::gui::RecentProjectsModel:
Collaboration diagram for zrythm::gui::RecentProjectsModel:

Public Types

enum  RecentProjectRoles { NameRole = Qt::UserRole + 1 , PathRole , DateRole }

Public Member Functions

 RecentProjectsModel (utils::AppSettings &app_settings, QObject *parent=nullptr)
int rowCount (const QModelIndex &parent=QModelIndex()) const override
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
QHash< int, QByteArray > roleNames () const override
Q_INVOKABLE void addRecentProject (const QString &path)
Q_INVOKABLE void removeRecentProject (const QString &path)
Q_INVOKABLE void clearRecentProjects ()

Detailed Description

Definition at line 16 of file recent_projects_model.h.

Member Enumeration Documentation

◆ RecentProjectRoles

enum zrythm::gui::RecentProjectsModel::RecentProjectRoles

Definition at line 23 of file recent_projects_model.h.


The documentation for this class was generated from the following file: