diff options
Diffstat (limited to 'kviewshell/selection.cpp')
-rw-r--r-- | kviewshell/selection.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 <config.h> #include <tqapplication.h> -#include <tqclipboard.h> +#include <clipboard.h> #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); } } |