From 8a143ab9f846e910c583ea8e770cd05495e0c58d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:09 -0600 Subject: Rename obsolete tq methods to standard names --- kdict/toplevel.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kdict/toplevel.cpp') diff --git a/kdict/toplevel.cpp b/kdict/toplevel.cpp index 27211085..17374766 100644 --- a/kdict/toplevel.cpp +++ b/kdict/toplevel.cpp @@ -260,11 +260,11 @@ void TopLevel::define(const TQString &query) void TopLevel::defineClipboard() { kdDebug(5004) << "TopLevel::defineClipboard()" << endl; - kapp->tqclipboard()->setSelectionMode(true); - TQString text = kapp->tqclipboard()->text(); + kapp->clipboard()->setSelectionMode(true); + TQString text = kapp->clipboard()->text(); if (text.isEmpty()) { - kapp->tqclipboard()->setSelectionMode(false); - text = kapp->tqclipboard()->text(); + kapp->clipboard()->setSelectionMode(false); + text = kapp->clipboard()->text(); } define(text); } @@ -281,11 +281,11 @@ void TopLevel::match(const TQString &query) void TopLevel::matchClipboard() { kdDebug(5004) << "TopLevel::matchClipboard()" << endl; - kapp->tqclipboard()->setSelectionMode(true); - TQString text = kapp->tqclipboard()->text(); + kapp->clipboard()->setSelectionMode(true); + TQString text = kapp->clipboard()->text(); if (text.isEmpty()) { - kapp->tqclipboard()->setSelectionMode(false); - text = kapp->tqclipboard()->text(); + kapp->clipboard()->setSelectionMode(false); + text = kapp->clipboard()->text(); } match(text); } -- cgit v1.2.1