class KConfigGroup{};
#include <QClipboard>
+#include <QTextEdit>
extern "C" {
#include <rfb/rfbclient.h>
QSize minimumSizeHint() const;
void startQuitting();
bool isQuitting();
+ void reloadSettings();
bool start();
bool supportsScaling() const;
bool supportsLocalCursor() const;
void setQuality(int q);
void setViewOnly(bool viewOnly);
void showDotCursor(DotCursorState state);
- void sendKey(Qt::Key key);
- virtual void updateConfiguration();
-
public slots:
void enableScaling(bool scale);
void scaleResize(int w, int h);
+ void sendKey(Qt::Key key);
+ void sendKeySequence(QKeySequence keys);
void forceFullRepaint();
protected:
bool event(QEvent *event);
void resizeEvent(QResizeEvent *event);
bool eventFilter(QObject *obj, QEvent *event);
+ void inputMethodEvent(QInputMethodEvent *event);
private:
VncClientThread vncThread;
bool m_repaint;
bool m_quitFlag;
bool m_firstPasswordTry;
- bool m_authenticaionCanceled;
bool m_dontSendClipboard;
qreal m_horizontalFactor;
qreal m_verticalFactor;
bool m_forceLocalCursor;
bool force_full_repaint;
RemoteView::Quality quality;
+ int left_zoom, right_zoom;
+ bool disable_tapping;
void keyEventHandler(QKeyEvent *e);
void unpressModifiers();