summaryrefslogtreecommitdiffstats
path: root/kviewshell/selection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/selection.cpp')
-rw-r--r--kviewshell/selection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/selection.cpp b/kviewshell/selection.cpp
index 205240ff..50edb80f 100644
--- a/kviewshell/selection.cpp
+++ b/kviewshell/selection.cpp
@@ -9,7 +9,7 @@
#include <config.h>
#include <tqapplication.h>
-#include <clipboard.h>
+#include <tqclipboard.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::clipboard()->setSelectionMode(true);
- TQApplication::clipboard()->setText(selectedText);
+ TQApplication::tqclipboard()->setSelectionMode(true);
+ TQApplication::tqclipboard()->setText(selectedText);
}
}
@@ -53,8 +53,8 @@ bool TextSelection::operator!= (const TextSelection& s) const
void TextSelection::copyText() const
{
if (!isEmpty()) {
- TQApplication::clipboard()->setSelectionMode(false);
- TQApplication::clipboard()->setText(selectedText);
+ TQApplication::tqclipboard()->setSelectionMode(false);
+ TQApplication::tqclipboard()->setText(selectedText);
}
}