summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:23:09 -0600
committerSlávek Banko <[email protected]>2012-06-03 15:53:43 +0200
commit81d696e1ee26cfc46fb4c97989575a7376b2d246 (patch)
tree08aba6fcefaed9220ebfcd71eb069179434e1df1 /krfb
parente7bee19a9f42cffe3a0792348a60e5bee1d3da71 (diff)
downloadtdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.tar.gz
tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 8a143ab9f846e910c583ea8e770cd05495e0c58d)
Diffstat (limited to 'krfb')
-rw-r--r--krfb/krfb/invitation.cc4
-rw-r--r--krfb/krfb/rfbcontroller.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/krfb/krfb/invitation.cc b/krfb/krfb/invitation.cc
index 8cb51ca2..e764036c 100644
--- a/krfb/krfb/invitation.cc
+++ b/krfb/krfb/invitation.cc
@@ -25,8 +25,8 @@
TQString cryptStr(const TQString &aStr) {
TQString result;
for (unsigned int i = 0; i < aStr.length(); i++)
- result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
- TQChar(0x1001F - aStr[i].tqunicode());
+ result += (aStr[i].unicode() < 0x20) ? aStr[i] :
+ TQChar(0x1001F - aStr[i].unicode());
return result;
}
diff --git a/krfb/krfb/rfbcontroller.cc b/krfb/krfb/rfbcontroller.cc
index 411d3098..37ac10b5 100644
--- a/krfb/krfb/rfbcontroller.cc
+++ b/krfb/krfb/rfbcontroller.cc
@@ -361,7 +361,7 @@ RFBController::RFBController(Configuration *c) :
connect(&initIdleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(checkAsyncEvents()));
connect(&idleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(idleSlot()));
- clipboard = TQApplication::tqclipboard();
+ clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged()));
connect(clipboard, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clipboardChanged()));