summaryrefslogtreecommitdiffstats
path: root/krdc/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/events.h')
-rw-r--r--krdc/events.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/krdc/events.h b/krdc/events.h
index 7ac262a7..7c211183 100644
--- a/krdc/events.h
+++ b/krdc/events.h
@@ -20,7 +20,7 @@
#ifndef EVENTS_H
#define EVENTS_H
-#include <qevent.h>
+#include <tqevent.h>
/**
* State of the connection. The state of the connection is returned
@@ -65,7 +65,7 @@ private:
int m_width, m_height;
public:
ScreenResizeEvent(int w, int h) :
- QCustomEvent(ScreenResizeEventType),
+ TQCustomEvent(ScreenResizeEventType),
m_width(w),
m_height(h)
{};
@@ -81,7 +81,7 @@ private:
RemoteViewStatus m_status;
public:
StatusChangeEvent(RemoteViewStatus s) :
- QCustomEvent(StatusChangeEventType),
+ TQCustomEvent(StatusChangeEventType),
m_status(s)
{};
RemoteViewStatus status() const { return m_status; };
@@ -93,7 +93,7 @@ class PasswordRequiredEvent : public QCustomEvent
{
public:
PasswordRequiredEvent() :
- QCustomEvent(PasswordRequiredEventType)
+ TQCustomEvent(PasswordRequiredEventType)
{};
};
@@ -104,7 +104,7 @@ class FatalErrorEvent : public QCustomEvent
ErrorCode m_error;
public:
FatalErrorEvent(ErrorCode e) :
- QCustomEvent(FatalErrorEventType),
+ TQCustomEvent(FatalErrorEventType),
m_error(e)
{};
@@ -117,7 +117,7 @@ class DesktopInitEvent : public QCustomEvent
{
public:
DesktopInitEvent() :
- QCustomEvent(DesktopInitEventType)
+ TQCustomEvent(DesktopInitEventType)
{};
};
@@ -129,7 +129,7 @@ private:
int m_x, m_y, m_width, m_height;
public:
ScreenRepaintEvent(int x, int y, int w, int h) :
- QCustomEvent(ScreenRepaintEventType),
+ TQCustomEvent(ScreenRepaintEventType),
m_x(x),
m_y(y),
m_width(w),
@@ -147,7 +147,7 @@ class BeepEvent : public QCustomEvent
{
public:
BeepEvent() :
- QCustomEvent(BeepEventType)
+ TQCustomEvent(BeepEventType)
{};
};
@@ -160,7 +160,7 @@ private:
int m_length;
public:
ServerCutEvent(char *bytes, int length) :
- QCustomEvent(ServerCutEventType),
+ TQCustomEvent(ServerCutEventType),
m_bytes(bytes),
m_length(length)
{};
@@ -179,7 +179,7 @@ private:
int m_x, m_y, m_buttonMask;
public:
MouseStateEvent(int x, int y, int buttonMask) :
- QCustomEvent(MouseStateEventType),
+ TQCustomEvent(MouseStateEventType),
m_x(x),
m_y(y),
m_buttonMask(buttonMask)
@@ -197,7 +197,7 @@ class WalletOpenEvent : public QCustomEvent
{
public:
WalletOpenEvent() :
- QCustomEvent(WalletOpenEventType)
+ TQCustomEvent(WalletOpenEventType)
{};
};