summaryrefslogtreecommitdiffstats
path: root/src/kile/kileviewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kile/kileviewmanager.cpp')
-rw-r--r--src/kile/kileviewmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kile/kileviewmanager.cpp b/src/kile/kileviewmanager.cpp
index 606b4a0..72467f5 100644
--- a/src/kile/kileviewmanager.cpp
+++ b/src/kile/kileviewmanager.cpp
@@ -361,7 +361,7 @@ void Manager::onKatePopupMenuRequest(void)
if(!pasteAsLaTeXAction->isPlugged())
pasteAsLaTeXAction->plug(viewPopupMenu);
- TQClipboard *clip = KApplication::tqclipboard();
+ TQClipboard *clip = KApplication::clipboard();
if(NULL != clip)
pasteAsLaTeXAction->setEnabled(!clip->text().isNull());
}
@@ -464,7 +464,7 @@ void Manager::pasteAsLaTeX(void)
doc->removeSelectedText();
PlainToLaTeXConverter cvt;
- TQString toPaste = cvt.ConvertToLaTeX(KApplication::tqclipboard()->text());
+ TQString toPaste = cvt.ConvertToLaTeX(KApplication::clipboard()->text());
doc->insertText(cursorLine, cursorCol, toPaste);
// End of the "atomic edit operation"