author | hgs |
Thu, 19 Aug 2010 17:35:34 +0530 | |
changeset 60 | eb6690d0d439 |
permissions | -rw-r--r-- |
60 | 1 |
#ifndef QTSYNCSTATUSLOG_H |
2 |
#define QTSYNCSTATUSLOG_H |
|
3 |
||
4 |
#include <QObject> |
|
5 |
#include <qfile.h> |
|
6 |
||
7 |
class QtSyncStatusLog : public QObject |
|
8 |
{ |
|
9 |
public: |
|
10 |
QtSyncStatusLog(); |
|
11 |
~QtSyncStatusLog(); |
|
12 |
||
13 |
void clear(); |
|
14 |
void write(QString& string); |
|
15 |
QStringList lines(); |
|
16 |
||
17 |
private: |
|
18 |
void open(); |
|
19 |
||
20 |
private: |
|
21 |
QFile mLogFile; |
|
22 |
}; |
|
23 |
||
24 |
#endif // QTSYNCSTATUSLOG_H |