summaryrefslogtreecommitdiffstats
path: root/src/libgui/text_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/text_editor.cpp')
-rw-r--r--src/libgui/text_editor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp
index bd2c026..e7f0382 100644
--- a/src/libgui/text_editor.cpp
+++ b/src/libgui/text_editor.cpp
@@ -10,8 +10,8 @@
#include "text_editor.h"
#include <tqfile.h>
-#include <textedit.h>
-#include <layout.h>
+#include <tqtextedit.h>
+#include <tqlayout.h>
#include <klibloader.h>
#include <kpopupmenu.h>
@@ -96,7 +96,7 @@ void TextEditor::addView()
connect(v, TQT_SIGNAL(gotFocus(Kate::View *)), TQT_SLOT(gotFocus(Kate::View *)));
connect(v, TQT_SIGNAL(cursorPositionChanged()), TQT_SLOT(statusChanged()));
connect(v, TQT_SIGNAL(dropEventPass(TQDropEvent *)), TQT_SIGNAL(dropEventPass(TQDropEvent *)));
- connect(v, TQT_SIGNAL(newStatus()), TQT_SLOT(statusChanged()));
+ connect(v, TQT_SIGNAL(newtqStatus()), TQT_SLOT(statusChanged()));
v->show();
v->setFocus();
v->child(0, "KateViewInternal")->installEventFilter(this);
@@ -167,7 +167,7 @@ void TextEditor::statusChanged()
{
uint line, col;
_view->cursorPosition(&line, &col) ;
- TQString text = i18n("Line: %1 Col: %2").arg(line+1).arg(col+1);
+ TQString text = i18n("Line: %1 Col: %2").tqarg(line+1).tqarg(col+1);
if( isReadOnly() ) text += " " + i18n("R/O");
emit statusTextChanged(" " + text + " ");
if ( isReadOnly()!=_oldReadOnly || isModified()!=_oldModified ) emit guiChanged();