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