The QuickAccessModel class.
More...
#include <quickaccessmodel.h>
Inherits QObject, and Model< ui::TreeViewItemData >.
◆ QuickAccessModel() [1/3]
◆ QuickAccessModel() [2/3]
◆ QuickAccessModel() [3/3]
◆ ~QuickAccessModel()
◆ pushRecentProject()
| void pushRecentProject |
( |
const FilePath & |
fp | ) |
|
|
noexcept |
◆ discardRecentProject()
| void discardRecentProject |
( |
const FilePath & |
fp | ) |
|
|
noexcept |
◆ setFavoriteProject()
| void setFavoriteProject |
( |
const FilePath & |
fp, |
|
|
bool |
favorite |
|
) |
| |
|
noexcept |
◆ isFavoriteProject()
| bool isFavoriteProject |
( |
const FilePath & |
fp | ) |
const |
|
noexcept |
◆ row_count()
| std::size_t row_count |
( |
| ) |
const |
|
override |
◆ row_data()
| std::optional< ui::TreeViewItemData > row_data |
( |
std::size_t |
i | ) |
const |
|
override |
◆ set_row_data()
| void set_row_data |
( |
std::size_t |
i, |
|
|
const ui::TreeViewItemData & |
data |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ favoriteProjectChanged
| void favoriteProjectChanged |
( |
const FilePath & |
fp, |
|
|
bool |
favorite |
|
) |
| |
|
signal |
◆ openFileTriggered
| void openFileTriggered |
( |
const FilePath & |
fp | ) |
|
|
signal |
◆ load()
◆ saveRecentProjects()
| void saveRecentProjects |
( |
| ) |
|
|
privatenoexcept |
◆ saveFavoriteProjects()
| void saveFavoriteProjects |
( |
| ) |
|
|
privatenoexcept |
◆ refreshItems()
◆ setWatchedProjects()
| void setWatchedProjects |
( |
const QSet< FilePath > & |
projects | ) |
|
|
privatenoexcept |
◆ trigger()
| void trigger |
( |
const FilePath & |
fp, |
|
|
ui::TreeViewItemAction |
a |
|
) |
| |
|
privatenoexcept |
◆ mWorkspace
◆ mRecentProjectsFp
◆ mFavoriteProjectsFp
◆ mIcon
◆ mRecentProjects
◆ mFavoriteProjects
◆ mItems
| std::vector<ui::TreeViewItemData> mItems |
|
private |
◆ mWatcher
| QFileSystemWatcher mWatcher |
|
private |
◆ mWatcherTimer
The documentation for this class was generated from the following files: