summaryrefslogtreecommitdiffstats
path: root/kate/part/kateview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kate/part/kateview.cpp
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'kate/part/kateview.cpp')
-rw-r--r--kate/part/kateview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/part/kateview.cpp b/kate/part/kateview.cpp
index 8acad1f26..a0310ecb5 100644
--- a/kate/part/kateview.cpp
+++ b/kate/part/kateview.cpp
@@ -76,9 +76,9 @@
#include <tqstyle.h>
#include <tqevent.h>
#include <tqpopupmenu.h>
-#include <layout.h>
-#include <clipboard.h>
-#include <stylesheet.h>
+#include <tqlayout.h>
+#include <tqclipboard.h>
+#include <tqstylesheet.h>
//END includes
KateView::KateView( KateDocument *doc, TQWidget *parent, const char * name )
@@ -793,7 +793,7 @@ void KateView::contextMenuEvent( TQContextMenuEvent *ev )
if ( !m_doc || !m_doc->browserExtension() )
return;
emit m_doc->browserExtension()->popupMenu( /*this, */ev->globalPos(), m_doc->url(),
- TQString::fromLatin1( "text/plain" ) );
+ TQString::tqfromLatin1( "text/plain" ) );
ev->accept();
}
@@ -1233,11 +1233,11 @@ void KateView::updateRendererConfig()
// update the text area
m_viewInternal->updateView (true);
- m_viewInternal->repaint ();
+ m_viewInternal->tqrepaint ();
// update the left border right, for example linenumbers
m_viewInternal->leftBorder->updateFont();
- m_viewInternal->leftBorder->repaint ();
+ m_viewInternal->leftBorder->tqrepaint ();
// @@ showIndentLines is not cached anymore.
// m_renderer->setShowIndentLines (m_renderer->config()->showIndentationLines());
@@ -1596,7 +1596,7 @@ void KateView::paste()
{
m_doc->paste( this );
emit selectionChanged();
- m_viewInternal->repaint();
+ m_viewInternal->tqrepaint();
}
void KateView::cut()
@@ -1613,7 +1613,7 @@ void KateView::copy() const
if (!hasSelection())
return;
- TQApplication::clipboard()->setText(selection ());
+ TQApplication::tqclipboard()->setText(selection ());
}
void KateView::copyHTML()
@@ -1629,7 +1629,7 @@ void KateView::copyHTML()
drag->addDragObject( htmltextdrag);
drag->addDragObject( new TQTextDrag( selection()));
- TQApplication::clipboard()->setData(drag);
+ TQApplication::tqclipboard()->setData(drag);
}
TQString KateView::selectionAsHtml()