Chris@383: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@383: Chris@383: /* Chris@383: Sonic Visualiser Chris@383: An audio file viewer and annotation editor. Chris@383: Centre for Digital Music, Queen Mary, University of London. Chris@383: This file copyright 2007 QMUL. Chris@383: Chris@383: This program is free software; you can redistribute it and/or Chris@383: modify it under the terms of the GNU General Public License as Chris@383: published by the Free Software Foundation; either version 2 of the Chris@383: License, or (at your option) any later version. See the file Chris@383: COPYING included with this distribution for more information. Chris@383: */ Chris@383: Chris@383: #ifndef _PROGRESS_PRINTER_H_ Chris@383: #define _PROGRESS_PRINTER_H_ Chris@383: Chris@383: #include Chris@383: #include Chris@383: Chris@383: class ProgressPrinter : public QObject Chris@383: { Chris@383: Q_OBJECT Chris@383: Chris@383: public: Chris@383: ProgressPrinter(QString prefix = "", QObject *parent = 0); Chris@383: virtual ~ProgressPrinter(); Chris@383: Chris@383: public slots: Chris@383: void progress(int); Chris@383: Chris@383: protected: Chris@383: QString m_prefix; Chris@383: int m_lastProgress; Chris@383: }; Chris@383: Chris@383: #endif