refactored item type; moved navigation to qml component

This commit is contained in:
Anika Raemer 2018-10-20 17:34:08 +02:00
parent a32fd01e81
commit bf145a9be9
7 changed files with 54 additions and 55 deletions

View file

@ -45,15 +45,7 @@ bool NavigationItemModel::setPath(const QString &path)
bool NavigationItemModel::isCircleDelegate() const
{
return mIsCircleDelegate;
}
void NavigationItemModel::setCircleDelegate(bool value)
{
if(value != mIsCircleDelegate){
mIsCircleDelegate = value;
emit isCircleDelegateChanged();
}
return hasChildren();
}
bool NavigationItemModel::isRoot() const

View file

@ -42,7 +42,6 @@ public:
private:
QString mPath = QString("");
QString mImageSource;
bool mIsCircleDelegate = false;
QList<NavigationItemModel*> mChildren = QList<NavigationItemModel*>();
NavigationItemModel* mParentItem;