diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 17:35:38 +0900 |
commit | d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch) | |
tree | 6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /kdevdesigner/designer/pixmapcollectioneditor.ui.h | |
parent | b9618de13e8f38c3558e9ed393a75c1f13af665c (diff) | |
download | tdevelop-r14.1.4.tar.gz tdevelop-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'kdevdesigner/designer/pixmapcollectioneditor.ui.h')
-rw-r--r-- | kdevdesigner/designer/pixmapcollectioneditor.ui.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdevdesigner/designer/pixmapcollectioneditor.ui.h b/kdevdesigner/designer/pixmapcollectioneditor.ui.h index c32fc135..d644ad38 100644 --- a/kdevdesigner/designer/pixmapcollectioneditor.ui.h +++ b/kdevdesigner/designer/pixmapcollectioneditor.ui.h @@ -28,7 +28,7 @@ void PixmapCollectionEditor::init() { project = 0; - setChooserMode( FALSE ); + setChooserMode( false ); } void PixmapCollectionEditor::destroy() @@ -55,7 +55,7 @@ void PixmapCollectionEditor::addPixmap() TQFileInfo fi ( *it ); pixmap.name = fi.fileName(); pixmap.absname = fi.filePath(); - if ( !project->pixmapCollection()->addPixmap( pixmap, FALSE ) ) + if ( !project->pixmapCollection()->addPixmap( pixmap, false ) ) continue; lastName = pixmap.name; } @@ -88,9 +88,9 @@ void PixmapCollectionEditor::updateView() for ( TQValueList<PixmapCollection::Pixmap>::Iterator it = pixmaps.begin(); it != pixmaps.end(); ++it ) { // #### might need to scale down the pixmap TQIconViewItem *item = new TQIconViewItem( viewPixmaps, (*it).name, scaledPixmap( (*it).pix ) ); - //item->setRenameEnabled( TRUE ); // this will be a bit harder to implement - item->setDragEnabled( FALSE ); - item->setDropEnabled( FALSE ); + //item->setRenameEnabled( true ); // this will be a bit harder to implement + item->setDragEnabled( false ); + item->setDropEnabled( false ); } viewPixmaps->setCurrentItem( viewPixmaps->firstItem() ); currentChanged( viewPixmaps->firstItem() ); @@ -108,8 +108,8 @@ void PixmapCollectionEditor::setChooserMode( bool c ) buttonClose->hide(); buttonOk->show(); buttonCancel->show(); - buttonOk->setEnabled( FALSE ); - buttonOk->setDefault( TRUE ); + buttonOk->setEnabled( false ); + buttonOk->setDefault( true ); connect( viewPixmaps, TQ_SIGNAL( doubleClicked( TQIconViewItem * ) ), buttonOk, TQ_SIGNAL( clicked() ) ); connect( viewPixmaps, TQ_SIGNAL( returnPressed( TQIconViewItem * ) ), buttonOk, TQ_SIGNAL( clicked() ) ); setCaption( i18n( "Choose Image" ) ); @@ -117,7 +117,7 @@ void PixmapCollectionEditor::setChooserMode( bool c ) buttonClose->show(); buttonOk->hide(); buttonCancel->hide(); - buttonClose->setDefault( TRUE ); + buttonClose->setDefault( true ); } updateView(); } |