author | treke <treke> | 2002-09-05 04:42:25 (UTC) |
---|---|---|
committer | treke <treke> | 2002-09-05 04:42:25 (UTC) |
commit | e2186a49cb5cbdf01b56f57818a15a760ff25b2e (patch) (unidiff) | |
tree | f22e7342c7a3adcccb6eed52a314fe8e301cc624 /noncore/comm/keypebble/kvncbookmarkdlg.cpp | |
parent | fd3239820e471044bf279a2964702573572859d6 (diff) | |
download | opie-e2186a49cb5cbdf01b56f57818a15a760ff25b2e.zip opie-e2186a49cb5cbdf01b56f57818a15a760ff25b2e.tar.gz opie-e2186a49cb5cbdf01b56f57818a15a760ff25b2e.tar.bz2 |
Added support for client side scaling of the screen. Slow, but sometimes usable.
Diffstat (limited to 'noncore/comm/keypebble/kvncbookmarkdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/kvncbookmarkdlg.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/kvncbookmarkdlg.cpp b/noncore/comm/keypebble/kvncbookmarkdlg.cpp index 1f97d13..1e2f3c3 100644 --- a/noncore/comm/keypebble/kvncbookmarkdlg.cpp +++ b/noncore/comm/keypebble/kvncbookmarkdlg.cpp | |||
@@ -158,12 +158,14 @@ void KVNCBookmarkDlg::readBookmarks(void) | |||
158 | else if (key=="readonly") | 158 | else if (key=="readonly") |
159 | server->readOnly=val.toInt(); | 159 | server->readOnly=val.toInt(); |
160 | else if (key=="deiconify") | 160 | else if (key=="deiconify") |
161 | server->deIconify=val.toInt(); | 161 | server->deIconify=val.toInt(); |
162 | else if (key=="updaterate") | 162 | else if (key=="updaterate") |
163 | server->updateRate=val.toInt(); | 163 | server->updateRate=val.toInt(); |
164 | else if (key=="scalefactor") | ||
165 | server->scaleFactor=val.toInt(); | ||
164 | 166 | ||
165 | } | 167 | } |
166 | if (server){ | 168 | if (server){ |
167 | servers.append(server); | 169 | servers.append(server); |
168 | server=0; | 170 | server=0; |
169 | } | 171 | } |
@@ -197,12 +199,13 @@ void KVNCBookmarkDlg::writeBookmarks(void) | |||
197 | t << "\trre=" << server->rre << '\n'; | 199 | t << "\trre=" << server->rre << '\n'; |
198 | t << "\tcopyrect=" << server->copyrect << '\n'; | 200 | t << "\tcopyrect=" << server->copyrect << '\n'; |
199 | t << "\tshared=" << server->shared << '\n'; | 201 | t << "\tshared=" << server->shared << '\n'; |
200 | t << "\treadonly=" << server->readOnly << '\n'; | 202 | t << "\treadonly=" << server->readOnly << '\n'; |
201 | t << "\tdeiconify=" << server->deIconify << '\n'; | 203 | t << "\tdeiconify=" << server->deIconify << '\n'; |
202 | t << "\tupdaterate=" << server->updateRate << '\n'; | 204 | t << "\tupdaterate=" << server->updateRate << '\n'; |
205 | t << "\tscalefactor=" << server->scaleFactor << '\n'; | ||
203 | 206 | ||
204 | } | 207 | } |
205 | f.close(); | 208 | f.close(); |
206 | } | 209 | } |
207 | } | 210 | } |
208 | void KVNCBookmarkDlg::refresh(void) | 211 | void KVNCBookmarkDlg::refresh(void) |