Added support for dropping folders to import them. TODO update the foldersView properly (now all the tree model is reloaded).

This commit is contained in:
Luis Ángel San Martín
2014-10-14 23:24:27 +02:00
parent 5e355f85bf
commit 46e4cfceb9
13 changed files with 223 additions and 93 deletions

View File

@ -544,3 +544,8 @@ QStringList TreeModel::getSubfoldersNames(const QModelIndex &mi)
qSort(result.begin(),result.end(),naturalSortLessThanCI);
return result;
}
void TreeModel::fetchMore(const QModelIndex &parent)
{
}

View File

@ -87,6 +87,8 @@ public:
QStringList getSubfoldersNames(const QModelIndex & mi);
void fetchMore(const QModelIndex & parent);
enum Columns {
Name = 0,
Path = 1,