Mercurial > hg > svcore
diff data/fileio/FileSource.h @ 327:1d656dcda8ef
* some tweaks to improve usability of these classes in a console application
author | Chris Cannam |
---|---|
date | Fri, 02 Nov 2007 16:50:31 +0000 |
parents | 82a2d3161e14 |
children | b92513201610 |
line wrap: on
line diff
--- a/data/fileio/FileSource.h Thu Nov 01 16:02:01 2007 +0000 +++ b/data/fileio/FileSource.h Fri Nov 02 16:50:31 2007 +0000 @@ -237,4 +237,19 @@ static int m_count; }; +class FileSourceProgressPrinter : public QObject +{ + Q_OBJECT + +public: + FileSourceProgressPrinter(); + virtual ~FileSourceProgressPrinter(); + +public slots: + void progress(int); + +protected: + int m_lastProgress; +}; + #endif