summaryrefslogtreecommitdiffstats
path: root/kviewshell/selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/selection.cpp')
-rw-r--r--kviewshell/selection.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}
}