diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | c3509de54b7ba51981f84c6981aa2ccae2f2bc2f (patch) | |
tree | d1b63b005ae0ff1fa7b299dbd711aaa1b11952e5 /khexedit/lib | |
parent | 598cf55c6eb7cbae4df369ba3260258c15541810 (diff) | |
download | tdeutils-c3509de54b7ba51981f84c6981aa2ccae2f2bc2f.tar.gz tdeutils-c3509de54b7ba51981f84c6981aa2ccae2f2bc2f.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/lib')
-rw-r--r-- | khexedit/lib/controller/keditor.cpp | 2 | ||||
-rw-r--r-- | khexedit/lib/controller/knavigator.cpp | 2 | ||||
-rw-r--r-- | khexedit/lib/controller/kvalueeditor.cpp | 2 | ||||
-rw-r--r-- | khexedit/lib/kbytesedit.cpp | 4 | ||||
-rw-r--r-- | khexedit/lib/kbytesedit.h | 4 | ||||
-rw-r--r-- | khexedit/lib/kcolumnsview.cpp | 4 | ||||
-rw-r--r-- | khexedit/lib/kcolumnsview.h | 2 | ||||
-rw-r--r-- | khexedit/lib/khexedit.cpp | 28 | ||||
-rw-r--r-- | khexedit/lib/khexedit.h | 6 |
9 files changed, 27 insertions, 27 deletions
diff --git a/khexedit/lib/controller/keditor.cpp b/khexedit/lib/controller/keditor.cpp index 02b9129..513f41d 100644 --- a/khexedit/lib/controller/keditor.cpp +++ b/khexedit/lib/controller/keditor.cpp @@ -187,7 +187,7 @@ void KEditor::doEditAction( KEditAction Action ) } } - HexEdit->tqrepaintChanged(); + HexEdit->repaintChanged(); HexEdit->ensureCursorVisible(); HexEdit->unpauseCursor(); diff --git a/khexedit/lib/controller/knavigator.cpp b/khexedit/lib/controller/knavigator.cpp index 3258ce9..156068e 100644 --- a/khexedit/lib/controller/knavigator.cpp +++ b/khexedit/lib/controller/knavigator.cpp @@ -127,7 +127,7 @@ void KNavigator::moveCursor( KMoveAction Action, bool Select ) if( Select ) BufferRanges->setSelectionEnd( BufferCursor->realIndex() ); - HexEdit->tqrepaintChanged(); + HexEdit->repaintChanged(); HexEdit->ensureCursorVisible(); HexEdit->unpauseCursor(); diff --git a/khexedit/lib/controller/kvalueeditor.cpp b/khexedit/lib/controller/kvalueeditor.cpp index 4f32789..9baff80 100644 --- a/khexedit/lib/controller/kvalueeditor.cpp +++ b/khexedit/lib/controller/kvalueeditor.cpp @@ -115,7 +115,7 @@ bool KValueEditor::handleKeyPress( TQKeyEvent *KeyEvent ) BufferCursor->gotoRealIndex(); KSection ChangedRange( Index,HexEdit->DataBuffer->size()-1 ); HexEdit->BufferRanges->addChangedRange( ChangedRange ); - HexEdit->tqrepaintChanged(); + HexEdit->repaintChanged(); HexEdit->ensureCursorVisible(); HexEdit->unpauseCursor(); HexEdit->updateCursor(); diff --git a/khexedit/lib/kbytesedit.cpp b/khexedit/lib/kbytesedit.cpp index db4b193..3eb49bd 100644 --- a/khexedit/lib/kbytesedit.cpp +++ b/khexedit/lib/kbytesedit.cpp @@ -129,7 +129,7 @@ void KBytesEdit::setKeepsMemory( bool KM ) bool KBytesEdit::isAutoDelete() const { return AutoDelete; } -void KBytesEdit::tqrepaintRange( int i1, int i2 ) +void KBytesEdit::repaintRange( int i1, int i2 ) { bool ChangeCursor = !(CursorPaused) && KSection(i1,i2).includes( BufferCursor->index() ); if( ChangeCursor ) @@ -137,7 +137,7 @@ void KBytesEdit::tqrepaintRange( int i1, int i2 ) BufferRanges->addChangedRange( i1, i2 ); - tqrepaintChanged(); + repaintChanged(); if( ChangeCursor ) unpauseCursor(); diff --git a/khexedit/lib/kbytesedit.h b/khexedit/lib/kbytesedit.h index 884f565..defb734 100644 --- a/khexedit/lib/kbytesedit.h +++ b/khexedit/lib/kbytesedit.h @@ -36,7 +36,7 @@ class KBytesEditPrivate; * * 1. used as viewer * a) static data ranges -> no changes for data pointer and length - * possible changes are told to the widget by tqrepaintRange + * possible changes are told to the widget by repaintRange * b) changing data ranges -> data pointer and length might change * changes told by * * resetData( char *, int size, bool tqrepaint ); @@ -138,7 +138,7 @@ class KHEXEDIT_EXPORT KBytesEdit : public KHexEdit void setKeepsMemory( bool KM = true ); /** tqrepaint the indizes from i1 to i2 */ - void tqrepaintRange( int i1, int i2 ); + void repaintRange( int i1, int i2 ); protected: /** deletes the databuffer */ diff --git a/khexedit/lib/kcolumnsview.cpp b/khexedit/lib/kcolumnsview.cpp index 90fa10c..2b0b157 100644 --- a/khexedit/lib/kcolumnsview.cpp +++ b/khexedit/lib/kcolumnsview.cpp @@ -129,10 +129,10 @@ void KColumnsView::updateView() } -void KColumnsView::tqrepaintView() +void KColumnsView::repaintView() { resizeContents( totalWidth(), totalHeight() ); - tqrepaintContents( false ); + repaintContents( false ); } diff --git a/khexedit/lib/kcolumnsview.h b/khexedit/lib/kcolumnsview.h index f3e00da..ea5f520 100644 --- a/khexedit/lib/kcolumnsview.h +++ b/khexedit/lib/kcolumnsview.h @@ -113,7 +113,7 @@ class KColumnsView : public TQScrollView protected: // painting void updateView(); - void tqrepaintView(); + void repaintView(); private: /** hiding it*/ diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp index 49030bf..0a52090 100644 --- a/khexedit/lib/khexedit.cpp +++ b/khexedit/lib/khexedit.cpp @@ -737,7 +737,7 @@ bool KHexEdit::selectWord( /*unsigned TODO:change all unneeded signed into unsig BufferRanges->setFirstWordSelection( WordSection ); BufferCursor->gotoIndex( WordSection.end()+1 ); - tqrepaintChanged(); + repaintChanged(); unpauseCursor(); return true; @@ -757,7 +757,7 @@ void KHexEdit::select( KSection Section ) BufferRanges->setSelection( Section ); BufferCursor->gotoIndex( Section.end()+1 ); - tqrepaintChanged(); + repaintChanged(); unpauseCursor(); @@ -781,7 +781,7 @@ void KHexEdit::selectAll( bool Select ) BufferCursor->gotoEnd(); } - tqrepaintChanged(); + repaintChanged(); unpauseCursor(); @@ -967,7 +967,7 @@ void KHexEdit::insert( const TQByteArray &D ) if( Changed ) { BufferRanges->addChangedRange( ChangedRange ); - tqrepaintChanged(); + repaintChanged(); } ensureCursorVisible(); @@ -994,7 +994,7 @@ void KHexEdit::removeSelectedData() KSection ChangedRange = removeData( Selection ); BufferRanges->removeSelection(); - tqrepaintChanged(); + repaintChanged(); BufferCursor->gotoCIndex( Selection.start() ); @@ -1059,7 +1059,7 @@ void KHexEdit::setCursorPosition( int Index, bool Behind ) bool RangesModifed = BufferRanges->isModified(); if( RangesModifed ) { - tqrepaintChanged(); + repaintChanged(); viewport()->setCursor( isReadOnly() ? arrowCursor : ibeamCursor ); @@ -1201,7 +1201,7 @@ bool KHexEdit::eventFilter( TQObject *O, TQEvent *E ) // doc->setDefaultFormat( doc->formatCollection()->defaultFormat()->font(), c ); // lastFormatted = doc->firstParagraph(); // formatMore(); -// tqrepaintChanged(); +// repaintChanged(); // } // } @@ -1397,12 +1397,12 @@ void KHexEdit::keyPressEvent( TQKeyEvent *KeyEvent ) } -void KHexEdit::tqrepaintChanged() +void KHexEdit::repaintChanged() { if( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() || !BufferRanges->isModified() ) return; - // TODO: we do this only to let the scrollview handle new or removed lines. overlaps with tqrepaintRange + // TODO: we do this only to let the scrollview handle new or removed lines. overlaps with repaintRange resizeContents( totalWidth(), totalHeight() ); KPixelXs Xs( contentsX(), visibleWidth(), true ); @@ -1559,7 +1559,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e ) BufferRanges->setSelectionStart( BufferLayout->indexAtLineStart(DoubleClickLine) ); BufferCursor->gotoLineEnd(); BufferRanges->setSelectionEnd( BufferCursor->realIndex() ); - tqrepaintChanged(); + repaintChanged(); unpauseCursor(); return; @@ -1606,7 +1606,7 @@ void KHexEdit::contentsMousePressEvent( TQMouseEvent *e ) if( BufferRanges->isModified() ) { - tqrepaintChanged(); + repaintChanged(); viewport()->setCursor( isReadOnly() ? arrowCursor : ibeamCursor ); } @@ -1699,7 +1699,7 @@ void KHexEdit::contentsMouseReleaseEvent( TQMouseEvent *e ) ClipboardMode = TQClipboard::Clipboard; // ensure selection changes to be drawn TODO: create a insert/pasteAtCursor that leaves out drawing - tqrepaintChanged(); + repaintChanged(); ensureCursorVisible(); unpauseCursor(); @@ -1803,7 +1803,7 @@ void KHexEdit::handleMouseMove( const TQPoint& Point ) // handles the move of th if( BufferRanges->selectionStarted() ) BufferRanges->setSelectionEnd( BufferCursor->realIndex() ); - tqrepaintChanged(); + repaintChanged(); unpauseCursor(); } @@ -1953,7 +1953,7 @@ void KHexEdit::handleInternalDrag( TQDropEvent *e ) BufferRanges->addChangedRange( ChangedRange ); BufferRanges->removeSelection(); - tqrepaintChanged(); + repaintChanged(); ensureCursorVisible(); // open ui diff --git a/khexedit/lib/khexedit.h b/khexedit/lib/khexedit.h index 80d36d9..00a25d6 100644 --- a/khexedit/lib/khexedit.h +++ b/khexedit/lib/khexedit.h @@ -216,7 +216,7 @@ class KHEXEDIT_EXPORT KHexEdit : public KColumnsView void placeCursor( const TQPoint &Point ); /***/ void setCursorColumn( KBufferColumnId ); -// void tqrepaintByte( int row, int column, bool Erase = true ); +// void repaintByte( int row, int column, bool Erase = true ); // void updateByte( int row, int column ); // void ensureByteVisible( int row, int column ); @@ -397,8 +397,8 @@ class KHEXEDIT_EXPORT KHexEdit : public KColumnsView /** handles screen update in case of a change to any of the width sizes */ void updateViewByWidth(); - /** tqrepaints all the parts that are signed as changed */ - void tqrepaintChanged(); + /** repaints all the parts that are signed as changed */ + void repaintChanged(); protected: // drawing related operations /** recreates the cursor pixmaps and paints active and inactive cursors if doable */ |