- Reworked Qt frontend to be fully based on QML (Qtmain.cpp still contains most of the old code as I need to perform additional tests on Maemo/Meego and Linux)

- Modified the download of resources to happen on every platform
- Resources are now stored based on the home directory
This commit is contained in:
Xawotihs
2012-01-06 21:45:08 +00:00
parent 6d5342c02b
commit 1f3aedcd3f
7 changed files with 516 additions and 151 deletions

View File

@@ -13,6 +13,7 @@
class FileDownloader : public QObject
{
Q_OBJECT
Q_PROPERTY(bool done READ isDone NOTIFY downloaded)
Q_PROPERTY(qint64 received READ received NOTIFY receivedChanged)
public:
explicit FileDownloader(QUrl url, QString localPath, QObject *parent = 0);
@@ -32,6 +33,7 @@ private slots:
m_tmp.setAutoRemove(false);
m_done = true;
//emit a signal
emit downloaded();
};