summaryrefslogtreecommitdiffstats
path: root/kate/part/kateviewinternal.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /kate/part/kateviewinternal.cpp
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'kate/part/kateviewinternal.cpp')
-rw-r--r--kate/part/kateviewinternal.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/kate/part/kateviewinternal.cpp b/kate/part/kateviewinternal.cpp
index 8a1ab6f05..0f12f8562 100644
--- a/kate/part/kateviewinternal.cpp
+++ b/kate/part/kateviewinternal.cpp
@@ -116,14 +116,14 @@ KateViewInternal::KateViewInternal(KateView *view, KateDocument *doc)
m_lineLayout->addWidget(m_dummy);
// Hijack the line scroller's controls, so we can scroll nicely for word-wrap
- connect(m_lineScroll, TQT_SIGNAL(prevPage()), TQT_SLOT(scrollPrevPage()));
- connect(m_lineScroll, TQT_SIGNAL(nextPage()), TQT_SLOT(scrollNextPage()));
+ connect(m_lineScroll, TQ_SIGNAL(prevPage()), TQ_SLOT(scrollPrevPage()));
+ connect(m_lineScroll, TQ_SIGNAL(nextPage()), TQ_SLOT(scrollNextPage()));
- connect(m_lineScroll, TQT_SIGNAL(prevLine()), TQT_SLOT(scrollPrevLine()));
- connect(m_lineScroll, TQT_SIGNAL(nextLine()), TQT_SLOT(scrollNextLine()));
+ connect(m_lineScroll, TQ_SIGNAL(prevLine()), TQ_SLOT(scrollPrevLine()));
+ connect(m_lineScroll, TQ_SIGNAL(nextLine()), TQ_SLOT(scrollNextLine()));
- connect(m_lineScroll, TQT_SIGNAL(sliderMoved(int)), TQT_SLOT(scrollLines(int)));
- connect(m_lineScroll, TQT_SIGNAL(sliderMMBMoved(int)), TQT_SLOT(scrollLines(int)));
+ connect(m_lineScroll, TQ_SIGNAL(sliderMoved(int)), TQ_SLOT(scrollLines(int)));
+ connect(m_lineScroll, TQ_SIGNAL(sliderMMBMoved(int)), TQ_SLOT(scrollLines(int)));
// catch wheel events, completing the hijack
m_lineScroll->installEventFilter(this);
@@ -142,8 +142,8 @@ KateViewInternal::KateViewInternal(KateView *view, KateDocument *doc)
m_columnScroll->setTracking(true);
m_startX = 0;
- connect( m_columnScroll, TQT_SIGNAL( valueChanged (int) ),
- this, TQT_SLOT( scrollColumns (int) ) );
+ connect( m_columnScroll, TQ_SIGNAL( valueChanged (int) ),
+ this, TQ_SLOT( scrollColumns (int) ) );
//
// iconborder ;)
@@ -151,13 +151,13 @@ KateViewInternal::KateViewInternal(KateView *view, KateDocument *doc)
leftBorder = new KateIconBorder( this, m_view );
leftBorder->show ();
- connect( leftBorder, TQT_SIGNAL(toggleRegionVisibility(unsigned int)),
- m_doc->foldingTree(), TQT_SLOT(toggleRegionVisibility(unsigned int)));
+ connect( leftBorder, TQ_SIGNAL(toggleRegionVisibility(unsigned int)),
+ m_doc->foldingTree(), TQ_SLOT(toggleRegionVisibility(unsigned int)));
- connect( doc->foldingTree(), TQT_SIGNAL(regionVisibilityChangedAt(unsigned int)),
- this, TQT_SLOT(slotRegionVisibilityChangedAt(unsigned int)));
- connect( doc, TQT_SIGNAL(codeFoldingUpdated()),
- this, TQT_SLOT(slotCodeFoldingChanged()) );
+ connect( doc->foldingTree(), TQ_SIGNAL(regionVisibilityChangedAt(unsigned int)),
+ this, TQ_SLOT(slotRegionVisibilityChangedAt(unsigned int)));
+ connect( doc, TQ_SIGNAL(codeFoldingUpdated()),
+ this, TQ_SLOT(slotCodeFoldingChanged()) );
displayCursor.setPos(0, 0);
cursor.setPos(0, 0);
@@ -182,21 +182,21 @@ KateViewInternal::KateViewInternal(KateView *view, KateDocument *doc)
dragInfo.state = diNone;
// timers
- connect( &m_dragScrollTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( doDragScroll() ) );
+ connect( &m_dragScrollTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( doDragScroll() ) );
- connect( &m_scrollTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( scrollTimeout() ) );
+ connect( &m_scrollTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( scrollTimeout() ) );
- connect( &m_cursorTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( cursorTimeout() ) );
+ connect( &m_cursorTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( cursorTimeout() ) );
- connect( &m_textHintTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( textHintTimeout() ) );
+ connect( &m_textHintTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( textHintTimeout() ) );
// selection changed to set anchor
- connect( m_view, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( viewSelectionChanged() ) );
+ connect( m_view, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( viewSelectionChanged() ) );
// this is a work arround for RTL desktops
@@ -2902,7 +2902,7 @@ void KateViewInternal::mouseDoubleClickEvent(TQMouseEvent *e)
}
possibleTripleClick = true;
- TQTimer::singleShot ( TQApplication::doubleClickInterval(), this, TQT_SLOT(tripleClickTimeout()) );
+ TQTimer::singleShot ( TQApplication::doubleClickInterval(), this, TQ_SLOT(tripleClickTimeout()) );
scrollX = 0;
scrollY = 0;