volume control

This commit is contained in:
Anika Raemer 2021-10-13 13:01:19 +02:00
parent fe7bbed7c1
commit e9a031e6d3
7 changed files with 39 additions and 40 deletions

View file

@ -10,12 +10,12 @@ NavigationItemModel::NavigationItemModel(QObject *parent) : QObject(parent),
qRegisterMetaType<NavigationItemModel*>("NavigationItemModel*");
}
QString NavigationItemModel::getImageSource() const
const QString& NavigationItemModel::getImageSource() const
{
return mImageSource;
}
QString NavigationItemModel::getPath() const
const QString& NavigationItemModel::getPath() const
{
return mPath;
}

View file

@ -36,13 +36,13 @@ public:
* represented by this item. If no such image is found, a default image is displayed
* on the delegate.
*/
QString getImageSource() const;
const QString &getImageSource() const;
/**
* @brief Get path to folder represented by this navigation item.
* @return Path to folder
*/
QString getPath() const;
const QString& getPath() const;
/**
* @brief Set folder path and set image source displayed on delegate.
* @param path Path to directory that is represented by this navigation item.