summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/krfbdecoder.h
Side-by-side diff
Diffstat (limited to 'noncore/comm/keypebble/krfbdecoder.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/krfbdecoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/comm/keypebble/krfbdecoder.h b/noncore/comm/keypebble/krfbdecoder.h
index 4ba0185..db6271d 100644
--- a/noncore/comm/keypebble/krfbdecoder.h
+++ b/noncore/comm/keypebble/krfbdecoder.h
@@ -77,58 +77,59 @@ protected:
void handleRawRect();
void handleCopyRect();
void handleRRERect();
void handleCoRRERect();
void handleHexTileRect();
void getRawRectChunk( int lines );
protected slots:
void gotServerInit();
void gotDesktopName();
void gotUpdateHeader();
void gotRectHeader();
void gotRawRectChunk();
void gotCopyRectPos();
void gotServerCut();
void gotServerCutLength();
void gotServerCutText();
void gotBell();
signals:
void error( const QString & );
void status( const QString & );
+protected:
+ /** The connection to the server. */
+ KRFBConnection *con;
private:
State currentState;
// Used to store the state we were in before a cut or bell msg
State oldState;
// The number of rects we're expecting
CARD16 noRects;
//
// Info about the current rect.
//
CARD16 x, y, w, h;
int lines;
CARD32 encoding;
CARD32 serverCutTextLen;
/** Where we draw the data (and the source of our events). */
KRFBBuffer *buf;
- /** The connection to the server. */
- KRFBConnection *con;
/** Info about the RFB server. */
KRFBServerInfo *info;
/** The pixel format we want. */
KRFBPixelFormat *format;
CARD8 buttonMask;
};
#endif // KRFBDECODER_H