Class sh::filesystem::FilesystemModelDirectoryTreeProxy

class sh::filesystem::FilesystemModelDirectoryTreeProxy : public QSortFilterProxyModel, public sh::base::Singleton

A filesystem proxy model for the directory tree.

It has a special sorting and filtering behavior.

Used internally, mostly for the user interface.

Public Functions

void enforceVisibility(std::shared_ptr<FilesystemNode> node)

Marks a node as visible in the directory tree, even if it is a hidden node.

void deEnforceVisibility(std::shared_ptr<FilesystemNode> node)

Unmarks a node for being visible even if hidden (reverses enforceVisibility()).

void doShutdown()

Executes singleton shutdown.

void shutdown()

Shutdown down this singleton.

bool isAlive()

Returns if this singleton is alive (true until its shutdown begins).

Private Functions

FilesystemModelDirectoryTreeProxy()