summaryrefslogtreecommitdiff
path: root/src/frontend/mainindex/bookmarks/btbookmarkitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mainindex/bookmarks/btbookmarkitem.cpp')
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkitem.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/frontend/mainindex/bookmarks/btbookmarkitem.cpp b/src/frontend/mainindex/bookmarks/btbookmarkitem.cpp
index ba9632e..40dc79e 100644
--- a/src/frontend/mainindex/bookmarks/btbookmarkitem.cpp
+++ b/src/frontend/mainindex/bookmarks/btbookmarkitem.cpp
@@ -7,21 +7,18 @@
*
**********/
+#include "frontend/mainindex/bookmarks/btbookmarkitem.h"
-#include "btbookmarkitem.h"
-#include "btbookmarkfolder.h"
-
+#include <boost/scoped_ptr.hpp>
+#include <QDebug>
+#include "backend/config/cbtconfig.h"
#include "backend/drivers/cswordmoduleinfo.h"
#include "backend/keys/cswordversekey.h"
#include "frontend/cinputdialog.h"
-#include "util/cresmgr.h"
-#include "util/directoryutil.h"
-#include "backend/config/cbtconfig.h"
+#include "frontend/mainindex/bookmarks/btbookmarkfolder.h"
#include "util/cpointers.h"
-
-#include <QDebug>
-
-#include <boost/scoped_ptr.hpp>
+#include "util/cresmgr.h"
+#include "util/directory.h"
BtBookmarkItem::BtBookmarkItem(CSwordModuleInfo* module, QString key, QString& description)
@@ -141,8 +138,10 @@ QString BtBookmarkItem::englishKey() const {
}
void BtBookmarkItem::update() {
+ namespace DU = util::directory;
+
qDebug() << "BtBookmarkItem::update";
- setIcon(0, util::filesystem::DirectoryUtil::getIcon(CResMgr::mainIndex::bookmark::icon));
+ setIcon(0, DU::getIcon(CResMgr::mainIndex::bookmark::icon));
const QString title = QString::fromLatin1("%1 (%2)").arg(key()).arg(module() ? module()->name() : QObject::tr("unknown"));
setText(0, title);