From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: 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 --- krdc/events.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'krdc/events.h') 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() : -- cgit v1.2.1