summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/kvncview.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/vnc/kvncview.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/vnc/kvncview.h')
-rw-r--r--krdc/vnc/kvncview.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/krdc/vnc/kvncview.h b/krdc/vnc/kvncview.h
index a9de2378..3cd72a5c 100644
--- a/krdc/vnc/kvncview.h
+++ b/krdc/vnc/kvncview.h
@@ -27,11 +27,12 @@
#include "vnctypes.h"
#include "threads.h"
-class QClipBoard;
+class TQClipBoard;
class KVncView : public KRemoteView
{
Q_OBJECT
+ TQ_OBJECT
private:
ControllerThread m_cthread;
WriterThread m_wthread;
@@ -51,7 +52,7 @@ private:
TQString m_host;
int m_port;
- QClipboard *m_cb;
+ TQClipboard *m_cb;
bool m_dontSendCb;
TQCursor m_cursor;
DotCursorState m_cursorState;
@@ -76,14 +77,14 @@ protected:
bool x11Event(XEvent*);
public:
- KVncView(TQWidget* parent=0, const char *name=0,
+ KVncView(TQWidget* tqparent=0, const char *name=0,
const TQString &host = TQString(""), int port = 5900,
- const TQString &password = TQString::null,
- Quality quality = QUALITY_UNKNOWN,
+ const TQString &password = TQString(),
+ Quality quality = TQUALITY_UNKNOWN,
DotCursorState dotCursorState = DOT_CURSOR_AUTO,
- const TQString &encodings = TQString::null);
+ const TQString &encodings = TQString());
~KVncView();
- TQSize sizeHint();
+ TQSize tqsizeHint();
void drawRegion(int x, int y, int w, int h);
void lockFramebuffer();
void unlockFramebuffer();
@@ -94,7 +95,7 @@ public:
virtual TQSize framebufferSize();
void setRemoteMouseTracking(bool s);
bool remoteMouseTracking();
- void configureApp(Quality q, const TQString specialEncodings = TQString::null);
+ void configureApp(Quality q, const TQString specialEncodings = TQString());
void showDotCursor(DotCursorState state);
DotCursorState dotCursorState() const;
virtual void startQuitting();