blob: 56cc5fcac9b6c5960e80c2a894c9d3a14a9bb0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*********
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
* Copyright 1999-2008 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
#include "btindexfolder.h"
#include "backend/btmoduletreeitem.h"
#include "util/directoryutil.h"
BTIndexFolder::BTIndexFolder(BTModuleTreeItem* treeItem, QTreeWidgetItem* parent)
: BTIndexItem(parent) {
setText(0, treeItem->text());
setIcon(0, util::filesystem::DirectoryUtil::getIcon(treeItem->iconName()));
}
|