summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/cwloadingwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/gui/cwloadingwidget.h')
-rw-r--r--kbugbuster/gui/cwloadingwidget.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kbugbuster/gui/cwloadingwidget.h b/kbugbuster/gui/cwloadingwidget.h
index 17c91f05..9aa3b0b5 100644
--- a/kbugbuster/gui/cwloadingwidget.h
+++ b/kbugbuster/gui/cwloadingwidget.h
@@ -18,8 +18,8 @@
#ifndef KBBMAINWINDOW_CWLOADINGWIDGET_H
#define KBBMAINWINDOW_CWLOADINGWIDGET_H
-#include <qlabel.h>
-#include <qframe.h>
+#include <tqlabel.h>
+#include <tqframe.h>
class QPixmap;
class KPixmap;
@@ -42,19 +42,19 @@ public:
*/
enum WidgetMode { TopFrame = 0, BottomFrame };
- CWLoadingWidget( WidgetMode mode = TopFrame, QWidget* parent = 0,
+ CWLoadingWidget( WidgetMode mode = TopFrame, TQWidget* parent = 0,
const char* name = 0 );
- CWLoadingWidget( const QString &text, WidgetMode mode = TopFrame,
- QWidget* parent = 0, const char* name = 0 );
+ CWLoadingWidget( const TQString &text, WidgetMode mode = TopFrame,
+ TQWidget* parent = 0, const char* name = 0 );
~CWLoadingWidget();
- QString text() const { return m_text; }
- void setText( const QString &text );
+ TQString text() const { return m_text; }
+ void setText( const TQString &text );
protected:
- virtual void mouseReleaseEvent( QMouseEvent * );
- virtual void drawContents( QPainter *p );
- virtual void resizeEvent( QResizeEvent * );
+ virtual void mouseReleaseEvent( TQMouseEvent * );
+ virtual void drawContents( TQPainter *p );
+ virtual void resizeEvent( TQResizeEvent * );
signals:
void clicked();
@@ -63,19 +63,19 @@ private:
void init( WidgetMode mode );
void updatePixmap();
- QString m_text;
+ TQString m_text;
WidgetMode m_mode;
// Pixmaps used
- QPixmap *m_toolsPixmap;
- QPixmap *m_logoPixmap;
- QPixmap *m_topRightPixmap;
- QPixmap *m_barsPixmap;
+ TQPixmap *m_toolsPixmap;
+ TQPixmap *m_logoPixmap;
+ TQPixmap *m_topRightPixmap;
+ TQPixmap *m_barsPixmap;
// For performance reasons we apply the KPixmapEffect only once
KPixmap *m_toolsPixmapEffect;
- QPixmap *m_buffer;
+ TQPixmap *m_buffer;
};