summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_label_progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_label_progress.h')
-rw-r--r--krita/ui/kis_label_progress.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/krita/ui/kis_label_progress.h b/krita/ui/kis_label_progress.h
index f5385121..a2c42fd9 100644
--- a/krita/ui/kis_label_progress.h
+++ b/krita/ui/kis_label_progress.h
@@ -19,32 +19,33 @@
#ifndef KIS_LABEL_PROGRESS_H_
#define KIS_LABEL_PROGRESS_H_
-#include <qlabel.h>
-#include <qevent.h>
+#include <tqlabel.h>
+#include <tqevent.h>
#include "kis_progress_display_interface.h"
-class QToolButton;
+class TQToolButton;
class KProgress;
-class KisLabelProgress : public QLabel, public KisProgressDisplayInterface {
+class KisLabelProgress : public TQLabel, public KisProgressDisplayInterface {
Q_OBJECT
- typedef QLabel super;
+ TQ_OBJECT
+ typedef TQLabel super;
public:
- KisLabelProgress(QWidget *parent, const char *name = 0, WFlags f = 0);
+ KisLabelProgress(TQWidget *tqparent, const char *name = 0, WFlags f = 0);
virtual ~KisLabelProgress();
public:
// Implements KisProgressDisplayInterface
void setSubject(KisProgressSubject *subject, bool modal, bool canCancel);
- // Overrides QLabel::event()
- bool event(QEvent * ev);
+ // Overrides TQLabel::event()
+ bool event(TQEvent * ev);
private slots:
virtual void update(int percent);
- virtual void updateStage(const QString& stage, int percent);
+ virtual void updateStage(const TQString& stage, int percent);
virtual void done();
virtual void error();
virtual void subjectDestroyed();
@@ -57,7 +58,7 @@ private:
KisProgressSubject *m_subject;
KProgress *m_bar;
- QToolButton *m_cancelButton;
+ TQToolButton *m_cancelButton;
bool m_modal;
};