summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/kvncview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/vnc/kvncview.cpp')
-rw-r--r--krdc/vnc/kvncview.cpp14
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;