From c2637a0da6d9a1c8626ca39f8451ab3b7cda487a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:47:59 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kviewshell/selection.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kviewshell/selection.cpp') diff --git a/kviewshell/selection.cpp b/kviewshell/selection.cpp index 50edb80f..205240ff 100644 --- a/kviewshell/selection.cpp +++ b/kviewshell/selection.cpp @@ -9,7 +9,7 @@ #include #include -#include +#include #include "selection.h" @@ -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.3