RhythmGame 1.4.3
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
qml_components::SongFolderFactory Class Reference

#include <SongFolderFactory.h>

Inheritance diagram for qml_components::SongFolderFactory:
Inheritance graph
[legend]
Collaboration diagram for qml_components::SongFolderFactory:
Collaboration graph
[legend]

Signals

void refreshRequested (bool force)
 
void refreshStatusChanged ()
 
void contentsChanged ()
 

Public Member Functions

 SongFolderFactory (db::SqliteCppDb *db, QObject *parent=nullptr)
 
Q_INVOKABLE QVariantList open (const QString &path)
 
Q_INVOKABLE QVariantList openChartDirectory (const QString &path)
 
Q_INVOKABLE QVariantList openRecursive (const QString &path)
 
Q_INVOKABLE int folderSize (const QString &path)
 
Q_INVOKABLE QString parentFolder (const QString &path)
 
Q_INVOKABLE QVariantList search (const QString &query)
 
Q_INVOKABLE void refresh (bool force=false)
 
auto isRefreshing () const -> bool
 
auto getRefreshError () const -> QString
 
void setRefreshing (bool value)
 
void setRefreshError (const QString &value)
 

Properties

bool refreshing = false
 
QString refreshError
 

Constructor & Destructor Documentation

◆ SongFolderFactory()

qml_components::SongFolderFactory::SongFolderFactory ( db::SqliteCppDb *  db,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ contentsChanged

void qml_components::SongFolderFactory::contentsChanged ( )
signal

◆ folderSize()

auto qml_components::SongFolderFactory::folderSize ( const QString &  path)

◆ getRefreshError()

auto qml_components::SongFolderFactory::getRefreshError ( ) const -> QString
inline

◆ isRefreshing()

auto qml_components::SongFolderFactory::isRefreshing ( ) const -> bool
inline

◆ open()

QVariantList qml_components::SongFolderFactory::open ( const QString &  path)

◆ openChartDirectory()

QVariantList qml_components::SongFolderFactory::openChartDirectory ( const QString &  path)

◆ openRecursive()

QVariantList qml_components::SongFolderFactory::openRecursive ( const QString &  path)

◆ parentFolder()

QString qml_components::SongFolderFactory::parentFolder ( const QString &  path)

◆ refresh()

Q_INVOKABLE void qml_components::SongFolderFactory::refresh ( bool  force = false)
inline

◆ refreshRequested

void qml_components::SongFolderFactory::refreshRequested ( bool  force)
signal

◆ refreshStatusChanged

void qml_components::SongFolderFactory::refreshStatusChanged ( )
signal

◆ search()

QVariantList qml_components::SongFolderFactory::search ( const QString &  query)

◆ setRefreshError()

void qml_components::SongFolderFactory::setRefreshError ( const QString &  value)

◆ setRefreshing()

void qml_components::SongFolderFactory::setRefreshing ( bool  value)

Property Documentation

◆ refreshError

QString qml_components::SongFolderFactory::refreshError
read

◆ refreshing

bool qml_components::SongFolderFactory::refreshing = false
read

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