19#ifndef KIS_LABEL_PROGRESS_H_
20#define KIS_LABEL_PROGRESS_H_
25#include "kis_progress_display_interface.h"
30class KisLabelProgress : public TQLabel, public KisProgressDisplayInterface {
33 typedef TQLabel super;
36 KisLabelProgress(TQWidget *parent, const char *name = 0, WFlags f = 0);
37 virtual ~KisLabelProgress();
41 void setSubject(KisProgressSubject *subject, bool modal, bool canCancel);
44 bool event(TQEvent * ev);
47 virtual void update( int percent);
48 virtual void updateStage( const TQString& stage, int percent);
51 virtual void subjectDestroyed();
59 KisProgressSubject *m_subject;
61 TQToolButton *m_cancelButton;
|