changeset 393:cfd11e44ad87

...
author Chris Cannam
date Fri, 14 Mar 2008 17:24:42 +0000
parents 183ee2a55fc7
children 44d1e22918f3
files base/ProgressPrinter.cpp base/ProgressPrinter.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/ProgressPrinter.cpp	Fri Mar 14 17:14:21 2008 +0000
+++ b/base/ProgressPrinter.cpp	Fri Mar 14 17:24:42 2008 +0000
@@ -33,6 +33,12 @@
 }
 
 void
+ProgressPrinter::setMessage(QString message)
+{
+    m_prefix = message;
+}
+
+void
 ProgressPrinter::setProgress(int progress)
 {
     if (progress == m_lastProgress) return;
--- a/base/ProgressPrinter.h	Fri Mar 14 17:14:21 2008 +0000
+++ b/base/ProgressPrinter.h	Fri Mar 14 17:24:42 2008 +0000
@@ -27,6 +27,7 @@
     virtual ~ProgressPrinter();
     
 public slots:
+    virtual void setMessage(QString);
     virtual void setProgress(int);
 
 protected: