summaryrefslogtreecommitdiffstats
path: root/malloryclient/mallorybutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloryclient/mallorybutton.h')
-rw-r--r--malloryclient/mallorybutton.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/malloryclient/mallorybutton.h b/malloryclient/mallorybutton.h
index e4e430b..351f5aa 100644
--- a/malloryclient/mallorybutton.h
+++ b/malloryclient/mallorybutton.h
@@ -12,35 +12,35 @@
#ifndef MALLORYBUTTON_H
#define MALLORYBUTTON_H
-#include <qbutton.h>
+#include <tqbutton.h>
#include "malloryclient.h"
#include "enums.h"
class MalloryClient;
-class MalloryButton : public QButton
+class MalloryButton : public TQButton
{
Q_OBJECT
public:
- MalloryButton(MalloryClient *parent = 0, const char *name = 0, const QString &tip=NULL, ButtonType type = (ButtonType)0);
+ MalloryButton(MalloryClient *parent = 0, const char *name = 0, const TQString &tip=NULL, ButtonType type = (ButtonType)0);
~MalloryButton();
- void setTipText(const QString &tip);
+ void setTipText(const TQString &tip);
void setOnAllDesktops(bool oad) { isOnAllDesktops = oad; repaint(false); }
void setMaximized(bool max) { isMaximized = max; repaint(false); }
- QSize sizeHint() const;
+ TQSize sizeHint() const;
int lastMousePress() const { return m_lastMouse; }
void reset() { repaint(false); }
MalloryClient* client() { return m_client; }
private:
- void enterEvent(QEvent *e);
- void leaveEvent(QEvent *e);
- void mousePressEvent(QMouseEvent *e);
- void mouseReleaseEvent(QMouseEvent *e);
- void drawButton(QPainter *painter);
+ void enterEvent(TQEvent *e);
+ void leaveEvent(TQEvent *e);
+ void mousePressEvent(TQMouseEvent *e);
+ void mouseReleaseEvent(TQMouseEvent *e);
+ void drawButton(TQPainter *painter);
MalloryClient *m_client;
int m_lastMouse;