summaryrefslogtreecommitdiffstats
path: root/src/libgui/text_editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:42:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:48:53 +0900
commitc679361a50aee162491e7195f2bcfdbbf341dde5 (patch)
treec8ff90ba1810054b7e53a79649b0e33a0937e74f /src/libgui/text_editor.cpp
parenta8207be921513da0ccccf41e36e056736c2b8457 (diff)
downloadpiklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz
piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/libgui/text_editor.cpp')
-rw-r--r--src/libgui/text_editor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp
index bad8ee0..41f4396 100644
--- a/src/libgui/text_editor.cpp
+++ b/src/libgui/text_editor.cpp
@@ -56,14 +56,14 @@ TextEditor::TextEditor(bool withDebugger, TQWidget *parent, const char *name)
_split->setFrameStyle(TQFrame::TabWidgetPanel | TQFrame::Sunken);
top->addWidget(_split);
- connect(_document, TQT_SIGNAL(hlChanged()), TQT_SLOT(highlightChanged()));
+ connect(_document, TQ_SIGNAL(hlChanged()), TQ_SLOT(highlightChanged()));
setAcceptDrops(true);
addView();
for (uint i=0; i<Breakpoint::Nb_MarkTypes; i++)
_document->setPixmap(KTextEditor::MarkInterface::MarkTypes(MARK_TYPE_DATA[i].type), pixmap(Breakpoint::MarkType(i)));
- if (withDebugger) TQTimer::singleShot(0, this, TQT_SLOT(addToDebugManager()));
+ if (withDebugger) TQTimer::singleShot(0, this, TQ_SLOT(addToDebugManager()));
}
bool TextEditor::open(const PURL::Url &url)
@@ -93,10 +93,10 @@ void TextEditor::addView()
KTextEditor::View *v = _document->createView(_split);
if ( _view==0 ) _view = static_cast<Kate::View *>(v);
Q_ASSERT(v);
- 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, TQ_SIGNAL(gotFocus(Kate::View *)), TQ_SLOT(gotFocus(Kate::View *)));
+ connect(v, TQ_SIGNAL(cursorPositionChanged()), TQ_SLOT(statusChanged()));
+ connect(v, TQ_SIGNAL(dropEventPass(TQDropEvent *)), TQ_SIGNAL(dropEventPass(TQDropEvent *)));
+ connect(v, TQ_SIGNAL(newStatus()), TQ_SLOT(statusChanged()));
v->show();
v->setFocus();
v->child(0, "KateViewInternal")->installEventFilter(this);