diff options
author | Darrell Anderson <[email protected]> | 2012-04-13 01:04:19 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-04-13 01:04:19 -0500 |
commit | 008eae43da364c9a910416652cf277c4ef5895c9 (patch) | |
tree | 5f9060ce2395120f3ce327d444b035a6ece978a4 /krdc/vnc/kvncview.cpp | |
parent | 2bc02dc6e21b9f38a76c6733a0931c7ebc944547 (diff) | |
download | tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.tar.gz tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.zip |
Fix inadvertent "TQ" changes.
Diffstat (limited to 'krdc/vnc/kvncview.cpp')
-rw-r--r-- | krdc/vnc/kvncview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp index 6f4066e6..c332afbd 100644 --- a/krdc/vnc/kvncview.cpp +++ b/krdc/vnc/kvncview.cpp @@ -103,7 +103,7 @@ KVncView::KVncView(TQWidget *parent, "pics/pointcursormask.png")); m_cursor = TQCursor(cursorBitmap, cursorMask); - if ((quality != TQUALITY_UNKNOWN) || + if ((quality != QUALITY_UNKNOWN) || !encodings.isNull()) configureApp(quality, encodings); } @@ -160,21 +160,21 @@ void KVncView::configureApp(Quality q, const TQString specialEncodings) { appData.shareDesktop = 1; appData.viewOnly = 0; - if (q == TQUALITY_LOW) { + if (q == QUALITY_LOW) { appData.useBGR233 = 1; appData.encodingsString = "background copyrect softcursor tight zlib hextile raw"; appData.compressLevel = -1; appData.qualityLevel = 1; appData.dotCursor = 1; } - else if (q == TQUALITY_MEDIUM) { + else if (q == QUALITY_MEDIUM) { appData.useBGR233 = 0; appData.encodingsString = "background copyrect softcursor tight zlib hextile raw"; appData.compressLevel = -1; appData.qualityLevel = 7; appData.dotCursor = 1; } - else if ((q == TQUALITY_HIGH) || (q == TQUALITY_UNKNOWN)) { + else if ((q == QUALITY_HIGH) || (q == QUALITY_UNKNOWN)) { appData.useBGR233 = 0; appData.encodingsString = "copyrect softcursor hextile raw"; appData.compressLevel = -1; @@ -281,11 +281,11 @@ bool KVncView::start() { Quality quality; if (ci == 0) - quality = TQUALITY_HIGH; + quality = QUALITY_HIGH; else if (ci == 1) - quality = TQUALITY_MEDIUM; + quality = QUALITY_MEDIUM; else if (ci == 2) - quality = TQUALITY_LOW; + quality = QUALITY_LOW; else { kdDebug() << "Unknown quality"; return false; |