summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/kvncview.h
diff options
context:
space:
mode:
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();