summaryrefslogtreecommitdiffstats
path: root/krdc/events.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /krdc/events.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/events.h')
-rw-r--r--krdc/events.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/krdc/events.h b/krdc/events.h
index 7c211183..d9856449 100644
--- a/krdc/events.h
+++ b/krdc/events.h
@@ -1,5 +1,5 @@
/***************************************************************************
- events.h - QCustomEvents
+ events.h - TQCustomEvents
-------------------
begin : Wed Jun 05 01:13:42 CET 2002
copyright : (C) 2002 by Tim Jansen
@@ -33,10 +33,10 @@
* REMOTE_VIEW_DISCONNECTING
* @li You can move from REMOTE_VIEW_DISCONNECTED to REMOTE_VIEW_CONNECTING
*
- * @ref KRemoteView::setStatus() will follow this rules for you.
+ * @ref KRemoteView::settqStatus() will follow this rules for you.
* (If you add/remove a state here, you must adapt it)
*/
-enum RemoteViewStatus {
+enum RemoteViewtqStatus {
REMOTE_VIEW_CONNECTING = 0,
REMOTE_VIEW_AUTHENTICATING = 1,
REMOTE_VIEW_PREPARING = 2,
@@ -59,7 +59,7 @@ enum ErrorCode {
const int ScreenResizeEventType = 41001;
-class ScreenResizeEvent : public QCustomEvent
+class ScreenResizeEvent : public TQCustomEvent
{
private:
int m_width, m_height;
@@ -75,21 +75,21 @@ public:
const int StatusChangeEventType = 41002;
-class StatusChangeEvent : public QCustomEvent
+class StatusChangeEvent : public TQCustomEvent
{
private:
- RemoteViewStatus m_status;
+ RemoteViewtqStatus m_status;
public:
- StatusChangeEvent(RemoteViewStatus s) :
+ StatusChangeEvent(RemoteViewtqStatus s) :
TQCustomEvent(StatusChangeEventType),
m_status(s)
{};
- RemoteViewStatus status() const { return m_status; };
+ RemoteViewtqStatus status() const { return m_status; };
};
const int PasswordRequiredEventType = 41003;
-class PasswordRequiredEvent : public QCustomEvent
+class PasswordRequiredEvent : public TQCustomEvent
{
public:
PasswordRequiredEvent() :
@@ -99,7 +99,7 @@ public:
const int FatalErrorEventType = 41004;
-class FatalErrorEvent : public QCustomEvent
+class FatalErrorEvent : public TQCustomEvent
{
ErrorCode m_error;
public:
@@ -113,7 +113,7 @@ public:
const int DesktopInitEventType = 41005;
-class DesktopInitEvent : public QCustomEvent
+class DesktopInitEvent : public TQCustomEvent
{
public:
DesktopInitEvent() :
@@ -123,7 +123,7 @@ public:
const int ScreenRepaintEventType = 41006;
-class ScreenRepaintEvent : public QCustomEvent
+class ScreenRepaintEvent : public TQCustomEvent
{
private:
int m_x, m_y, m_width, m_height;
@@ -143,7 +143,7 @@ public:
const int BeepEventType = 41007;
-class BeepEvent : public QCustomEvent
+class BeepEvent : public TQCustomEvent
{
public:
BeepEvent() :
@@ -153,7 +153,7 @@ public:
const int ServerCutEventType = 41008;
-class ServerCutEvent : public QCustomEvent
+class ServerCutEvent : public TQCustomEvent
{
private:
char *m_bytes;
@@ -173,7 +173,7 @@ public:
const int MouseStateEventType = 41009;
-class MouseStateEvent : public QCustomEvent
+class MouseStateEvent : public TQCustomEvent
{
private:
int m_x, m_y, m_buttonMask;
@@ -193,7 +193,7 @@ public:
const int WalletOpenEventType = 41010;
-class WalletOpenEvent : public QCustomEvent
+class WalletOpenEvent : public TQCustomEvent
{
public:
WalletOpenEvent() :