From 79e5d6be76392920c148aa615d9e3504f3388996 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:21:13 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57) --- kviewshell/selection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kviewshell/selection.cpp') diff --git a/kviewshell/selection.cpp b/kviewshell/selection.cpp index 50edb80f..4fb0092a 100644 --- a/kviewshell/selection.cpp +++ b/kviewshell/selection.cpp @@ -30,8 +30,8 @@ void TextSelection::set(const PageNumber& pageNr, TQ_INT32 start, TQ_INT32 end, selectedText = TQString(); if (page != 0) { - TQApplication::tqclipboard()->setSelectionMode(true); - TQApplication::tqclipboard()->setText(selectedText); + TQApplication::clipboard()->setSelectionMode(true); + TQApplication::clipboard()->setText(selectedText); } } @@ -53,8 +53,8 @@ bool TextSelection::operator!= (const TextSelection& s) const void TextSelection::copyText() const { if (!isEmpty()) { - TQApplication::tqclipboard()->setSelectionMode(false); - TQApplication::tqclipboard()->setText(selectedText); + TQApplication::clipboard()->setSelectionMode(false); + TQApplication::clipboard()->setText(selectedText); } } -- cgit v1.2.1