summaryrefslogtreecommitdiffstats
path: root/kate/part/kateviewinternal.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kate/part/kateviewinternal.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/kateviewinternal.cpp')
-rw-r--r--kate/part/kateviewinternal.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/part/kateviewinternal.cpp b/kate/part/kateviewinternal.cpp
index 77f98643d..8508bd3d0 100644
--- a/kate/part/kateviewinternal.cpp
+++ b/kate/part/kateviewinternal.cpp
@@ -89,7 +89,7 @@ KateViewInternal::KateViewInternal(KateView *view, KateDocument *doc)
// cursor
cursor.setMoveOnInsert (true);
- // invalidate selStartCached, or keyb selection is screwed initially
+ // tqinvalidate selStartCached, or keyb selection is screwed initially
selStartCached.setLine( -1 );
//
// scrollbar for lines
@@ -284,7 +284,7 @@ KateTextCursor KateViewInternal::endPos() const
}
Q_ASSERT(false);
- kdDebug(13030) << "WARNING: could not find a lineRange at all" << endl;
+ kdDebug(13030) << "WARNING: could not tqfind a lineRange at all" << endl;
return KateTextCursor(-1, -1);
}
@@ -765,7 +765,7 @@ void KateViewInternal::makeVisible (const KateTextCursor& c, uint endCol, bool f
{
//kdDebug() << "MakeVisible start [" << startPos().line << "," << startPos().col << "] end [" << endPos().line << "," << endPos().col << "] -> request: [" << c.line << "," << c.col << "]" <<endl;// , new start [" << scroll.line << "," << scroll.col << "] lines " << (linesDisplayed() - 1) << " height " << height() << endl;
// if the line is in a folded region, unfold all the way up
- //if ( m_doc->foldingTree()->findNodeForLine( c.line )->visible )
+ //if ( m_doc->foldingTree()->tqfindNodeForLine( c.line )->visible )
// kdDebug()<<"line ("<<c.line<<") should be visible"<<endl;
if ( force )
@@ -871,7 +871,7 @@ void KateViewInternal::updateMicroFocusHint()
{
int line = displayViewLine(displayCursor, true);
/* Check for hasFocus() to avoid crashes in QXIMInputContext as in bug #131266.
- This is only a workaround until somebody can find the real reason of the crash
+ This is only a workaround until somebody can tqfind the real reason of the crash
(probably it's in Qt). */
if (line == -1 || !hasFocus())
return;
@@ -1825,7 +1825,7 @@ void KateViewInternal::cursorToMatchingBracket( bool sel )
{
KateTextCursor start( cursor ), end;
- if( !m_doc->findMatchingBracket( start, end ) )
+ if( !m_doc->tqfindMatchingBracket( start, end ) )
return;
// The cursor is now placed just to the left of the matching bracket.
@@ -2486,7 +2486,7 @@ bool KateViewInternal::eventFilter( TQObject *obj, TQEvent *e )
width() - scrollMargin * 2,
height() - scrollMargin * 2 );
- if ( !doNotScrollRegion.contains( currentPoint ) )
+ if ( !doNotScrollRegion.tqcontains( currentPoint ) )
{
startDragScroll();
// Keep sending move events
@@ -2759,7 +2759,7 @@ void KateViewInternal::mousePressEvent( TQMouseEvent* e )
}
else
{
- selStartCached.setLine( -1 ); // invalidate
+ selStartCached.setLine( -1 ); // tqinvalidate
}
if( !( e->state() & Qt::ShiftButton ) && isTargetSelected( e->pos() ) )
@@ -3074,7 +3074,7 @@ void KateViewInternal::resizeEvent(TQResizeEvent* e)
bool dirtied = false;
for (uint i = 0; i < lineRanges.count(); i++) {
- // find the first dirty line
+ // tqfind the first dirty line
// the word wrap updateView algorithm is forced to check all lines after a dirty one
if (lineRanges[i].wrap ||
(!expandedHorizontally && (lineRanges[i].endX - lineRanges[i].startX) > width())) {
@@ -3493,4 +3493,4 @@ void KateViewInternal::imEndEvent( TQIMEvent *e )
}
//END IM INPUT STUFF
-// kate: space-indent on; indent-width 2; replace-tabs on;
+// kate: space-indent on; indent-width 2; tqreplace-tabs on;