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.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/krdc/vnc/kvncview.h b/krdc/vnc/kvncview.h
index c0f9fba3..a9de2378 100644
--- a/krdc/vnc/kvncview.h
+++ b/krdc/vnc/kvncview.h
@@ -19,8 +19,8 @@
#define KVNCVIEW_H
#include "kremoteview.h"
-#include <qcursor.h>
-#include <qmap.h>
+#include <tqcursor.h>
+#include <tqmap.h>
#include "pointerlatencyometer.h"
#include "hostpreferences.h"
@@ -36,54 +36,54 @@ private:
ControllerThread m_cthread;
WriterThread m_wthread;
volatile bool m_quitFlag; // if set: all threads should die ASAP
- QMutex m_framebufferLock;
+ TQMutex m_framebufferLock;
bool m_enableFramebufferLocking;
bool m_enableClientCursor;
- QSize m_framebufferSize;
+ TQSize m_framebufferSize;
bool m_scaling;
bool m_remoteMouseTracking;
bool m_viewOnly;
int m_buttonMask;
- QMap<unsigned int,bool> m_mods;
+ TQMap<unsigned int,bool> m_mods;
- QString m_host;
+ TQString m_host;
int m_port;
QClipboard *m_cb;
bool m_dontSendCb;
- QCursor m_cursor;
+ TQCursor m_cursor;
DotCursorState m_cursorState;
PointerLatencyOMeter m_plom;
- void mouseEvent(QMouseEvent*);
- unsigned long toKeySym(QKeyEvent *k);
+ void mouseEvent(TQMouseEvent*);
+ unsigned long toKeySym(TQKeyEvent *k);
bool checkLocalKRfb();
- void paintMessage(const QString &msg);
+ void paintMessage(const TQString &msg);
void showDotCursorInternal();
void unpressModifiers();
protected:
- void paintEvent(QPaintEvent*);
- void customEvent(QCustomEvent*);
- void mousePressEvent(QMouseEvent*);
- void mouseDoubleClickEvent(QMouseEvent*);
- void mouseReleaseEvent(QMouseEvent*);
- void mouseMoveEvent(QMouseEvent*);
- void wheelEvent(QWheelEvent *);
- void focusOutEvent(QFocusEvent *);
+ void paintEvent(TQPaintEvent*);
+ void customEvent(TQCustomEvent*);
+ void mousePressEvent(TQMouseEvent*);
+ void mouseDoubleClickEvent(TQMouseEvent*);
+ void mouseReleaseEvent(TQMouseEvent*);
+ void mouseMoveEvent(TQMouseEvent*);
+ void wheelEvent(TQWheelEvent *);
+ void focusOutEvent(TQFocusEvent *);
bool x11Event(XEvent*);
public:
- KVncView(QWidget* parent=0, const char *name=0,
- const QString &host = QString(""), int port = 5900,
- const QString &password = QString::null,
+ KVncView(TQWidget* parent=0, const char *name=0,
+ const TQString &host = TQString(""), int port = 5900,
+ const TQString &password = TQString::null,
Quality quality = QUALITY_UNKNOWN,
DotCursorState dotCursorState = DOT_CURSOR_AUTO,
- const QString &encodings = QString::null);
+ const TQString &encodings = TQString::null);
~KVncView();
- QSize sizeHint();
+ TQSize sizeHint();
void drawRegion(int x, int y, int w, int h);
void lockFramebuffer();
void unlockFramebuffer();
@@ -91,15 +91,15 @@ public:
virtual bool scaling() const;
virtual bool supportsScaling() const;
virtual bool supportsLocalCursor() const;
- virtual QSize framebufferSize();
+ virtual TQSize framebufferSize();
void setRemoteMouseTracking(bool s);
bool remoteMouseTracking();
- void configureApp(Quality q, const QString specialEncodings = QString::null);
+ void configureApp(Quality q, const TQString specialEncodings = TQString::null);
void showDotCursor(DotCursorState state);
DotCursorState dotCursorState() const;
virtual void startQuitting();
virtual bool isQuitting();
- virtual QString host();
+ virtual TQString host();
virtual int port();
virtual bool start();