28 class DocumentLoader : public QObject |
28 class DocumentLoader : public QObject |
29 { |
29 { |
30 Q_OBJECT |
30 Q_OBJECT |
31 |
31 |
32 public: |
32 public: |
33 DocumentLoader (bool onForeground = false, QObject* parent = 0); |
33 DocumentLoader(bool onForeground = false, QObject* parent = 0); |
34 |
34 |
35 Q_SLOT void abort(); |
35 Q_SLOT void abort(); |
36 bool hasAborted(); |
36 bool hasAborted(); |
37 bool isDone() const; |
37 bool isDone() const; |
38 bool isOnForeground() const; |
38 bool isOnForeground() const; |
39 const LDObjectList& objects() const; |
39 const LDObjectList& objects() const; |
40 int progress() const; |
40 int progress() const; |
41 void read (QIODevice* fp); |
41 void read(QIODevice* fp); |
42 Q_SLOT void start(); |
42 Q_SLOT void start(); |
43 int warningCount() const; |
43 int warningCount() const; |
44 |
44 |
45 private: |
45 private: |
46 class OpenProgressDialog* m_progressDialog; |
46 class OpenProgressDialog* m_progressDialog; |