From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: 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 --- kate/part/kateviewinternal.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kate/part/kateviewinternal.cpp') 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 << "]" <foldingTree()->findNodeForLine( c.line )->visible ) + //if ( m_doc->foldingTree()->tqfindNodeForLine( c.line )->visible ) // kdDebug()<<"line ("<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; -- cgit v1.2.1