volume control
This commit is contained in:
parent
fe7bbed7c1
commit
e9a031e6d3
7 changed files with 39 additions and 40 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue