summaryrefslogtreecommitdiff
path: root/src/frontend/bookshelfmanager/btinstallmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/bookshelfmanager/btinstallmgr.cpp')
-rw-r--r--src/frontend/bookshelfmanager/btinstallmgr.cpp22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/frontend/bookshelfmanager/btinstallmgr.cpp b/src/frontend/bookshelfmanager/btinstallmgr.cpp
index 799fa0d..ace804f 100644
--- a/src/frontend/bookshelfmanager/btinstallmgr.cpp
+++ b/src/frontend/bookshelfmanager/btinstallmgr.cpp
@@ -7,31 +7,27 @@
*
**********/
-//BibleTime includes
-#include "btinstallmgr.h"
+#include "frontend/bookshelfmanager/btinstallmgr.h"
-#include "frontend/bookshelfmanager/instbackend.h"
#include "backend/managers/cswordbackend.h"
-
-//Qt includes
-#include <QObject>
+#include "frontend/bookshelfmanager/instbackend.h"
+#include <QDebug>
#include <QList>
+#include <QObject>
#include <QString>
#include <QStringList>
-#include <QDebug>
-
-//sword includes
+// Sword includes:
#include <installmgr.h>
#include <ftptrans.h>
-using namespace sword;
+using namespace sword;
BtInstallMgr::BtInstallMgr()
: InstallMgr(instbackend::configPath().toLatin1(), this),
m_firstCallOfPreStatus(true) { //use this class also as status reporter
- qDebug("BtInstallMgr::BtInstallMgr");
+ qDebug() << "BtInstallMgr::BtInstallMgr";
this->setFTPPassive(true);
}
@@ -41,13 +37,13 @@ BtInstallMgr::~BtInstallMgr() {
}
bool BtInstallMgr::isUserDisclaimerConfirmed() const {
- // TODO: Check from config if it's been confirmed with "don't show this anymore" checked.
+ // \todo Check from config if it's been confirmed with "don't show this anymore" checked.
// Create a dialog with the message, checkbox and Continue/Cancel, Cancel as default.
return true;
}
void BtInstallMgr::statusUpdate(double dltotal, double dlnow) {
- //qDebug("BtInstallMgr::statusUpdate");
+ //qDebug() << "BtInstallMgr::statusUpdate";
if (dlnow > dltotal)
dlnow = dltotal;