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