diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-05 23:29:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-05 23:29:57 +0900 |
| commit | bdb0aa04da758449d8b82e90f00cae94593146da (patch) | |
| tree | ca15dd3a8f3ee84e5cc38a33d3450ed28b9cb531 /khexedit | |
| parent | 1dbf304d3b6ff07b17dfc6163c2d5046a8b13e47 (diff) | |
| download | tdeutils-master.tar.gz tdeutils-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khexedit')
| -rw-r--r-- | khexedit/draglabel.cpp | 2 | ||||
| -rw-r--r-- | khexedit/hexbuffer.cpp | 4 | ||||
| -rw-r--r-- | khexedit/hexeditorwidget.cpp | 2 | ||||
| -rw-r--r-- | khexedit/lib/khexedit.cpp | 2 | ||||
| -rw-r--r-- | khexedit/statusbarprogress.cpp | 4 | ||||
| -rw-r--r-- | khexedit/statusbarprogress.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/khexedit/draglabel.cpp b/khexedit/draglabel.cpp index fd38d7b..340e471 100644 --- a/khexedit/draglabel.cpp +++ b/khexedit/draglabel.cpp @@ -120,7 +120,7 @@ void CDragLabel::prepPixmap( KURLDrag &uriDrag ) int h = fontMetrics().lineSpacing(); if( pixmap()->height() > h ) { h = pixmap()->height(); } - TQBitmap mask( w, h, TRUE ); + TQBitmap mask( w, h, true ); TQPixmap dragPixmap( w, h ); dragPixmap.fill( black ); diff --git a/khexedit/hexbuffer.cpp b/khexedit/hexbuffer.cpp index 83cfa84..7614256 100644 --- a/khexedit/hexbuffer.cpp +++ b/khexedit/hexbuffer.cpp @@ -549,8 +549,8 @@ CHexBuffer::CHexBuffer( void ) mUndoLimit = 10; mUndoIndex = 0; - mUndoList.setAutoDelete( TRUE ); - mBookmarkList.setAutoDelete( TRUE ); + mUndoList.setAutoDelete( true ); + mBookmarkList.setAutoDelete( true ); } diff --git a/khexedit/hexeditorwidget.cpp b/khexedit/hexeditorwidget.cpp index d066738..71c7ad7 100644 --- a/khexedit/hexeditorwidget.cpp +++ b/khexedit/hexeditorwidget.cpp @@ -764,7 +764,7 @@ bool CHexEditorWidget::selectDocument( const TQString &url, void CHexEditorWidget::insertFile( void ) { - KFileDialog fdlg(mWorkDir, TQString(), topLevelWidget(), 0, TRUE); + KFileDialog fdlg(mWorkDir, TQString(), topLevelWidget(), 0, true); fdlg.setOperationMode( KFileDialog::Opening ); fdlg.okButton()->setGuiItem( KStdGuiItem::insert() ); fdlg.setCaption(i18n("Insert File")); diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp index 7564890..ed73311 100644 --- a/khexedit/lib/khexedit.cpp +++ b/khexedit/lib/khexedit.cpp @@ -1019,7 +1019,7 @@ KSection KHexEdit::removeData( KSection Indizes ) // doc->selectionStart( selNum, undoRedoInfo.id, undoRedoInfo.index ); // undoRedoInfo.d->text = TQString(); // } -// readFormats( c1, c2, undoRedoInfo.d->text, TRUE ); +// readFormats( c1, c2, undoRedoInfo.d->text, true ); // } KSection ChangedRange( Indizes.start(), BufferLayout->length()-1 ); diff --git a/khexedit/statusbarprogress.cpp b/khexedit/statusbarprogress.cpp index 2ec4c4a..e60a7ea 100644 --- a/khexedit/statusbarprogress.cpp +++ b/khexedit/statusbarprogress.cpp @@ -212,13 +212,13 @@ int CStatusBarProgress::recalcValue(int range) void CStatusBarProgress::valueChange() { - repaint(contentsRect(), FALSE); + repaint(contentsRect(), false); emit percentageChanged(recalcValue(100)); } void CStatusBarProgress::rangeChange() { - repaint(contentsRect(), FALSE); + repaint(contentsRect(), false); emit percentageChanged(recalcValue(100)); } diff --git a/khexedit/statusbarprogress.h b/khexedit/statusbarprogress.h index 9446f7b..89e1eed 100644 --- a/khexedit/statusbarprogress.h +++ b/khexedit/statusbarprogress.h @@ -107,7 +107,7 @@ class CStatusBarProgress : public TQFrame, public TQRangeControl Orientation orientation() const; /** - * Returns TRUE if progress text will be displayed, FALSE otherwise. + * Returns true if progress text will be displayed, false otherwise. */ bool textEnabled() const; |
