summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulacontainer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/kformulacontainer.cc')
-rw-r--r--lib/kformula/kformulacontainer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kformula/kformulacontainer.cc b/lib/kformula/kformulacontainer.cc
index 46f3415a..774c7e79 100644
--- a/lib/kformula/kformulacontainer.cc
+++ b/lib/kformula/kformulacontainer.cc
@@ -25,7 +25,7 @@
#include <tqpainter.h>
#include <tqpixmap.h>
#include <tqstring.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kdebug.h>
#include <klocale.h>
@@ -339,10 +339,10 @@ void Container::paste()
{
if (!hasValidCursor())
return;
- TQClipboard* clipboard = TQApplication::clipboard();
+ TQClipboard* clipboard = TQApplication::tqclipboard();
const TQMimeSource* source = clipboard->data();
if (source->provides( MimeSource::selectionMimeType() )) {
- TQByteArray data = source->encodedData( MimeSource::selectionMimeType() );
+ TQByteArray data = source->tqencodedData( MimeSource::selectionMimeType() );
TQDomDocument formula;
formula.setContent(data);
paste( formula, i18n("Paste") );
@@ -374,7 +374,7 @@ void Container::copy()
if (cursor != 0) {
TQDomDocument formula = document()->createMathMLDomDocument();
cursor->copy( formula );
- TQClipboard* clipboard = TQApplication::clipboard();
+ TQClipboard* clipboard = TQApplication::tqclipboard();
clipboard->setData(new MimeSource(document(), formula));
}
}