From d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Apr 2025 12:59:07 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18) --- kdevdesigner/designer/startdialogimpl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdevdesigner/designer/startdialogimpl.cpp') diff --git a/kdevdesigner/designer/startdialogimpl.cpp b/kdevdesigner/designer/startdialogimpl.cpp index d5d10d84..b74c3ae5 100644 --- a/kdevdesigner/designer/startdialogimpl.cpp +++ b/kdevdesigner/designer/startdialogimpl.cpp @@ -43,7 +43,7 @@ StartDialog::StartDialog( TQWidget *parent, const TQString &templatePath ) newForm = new NewForm( templateView, templatePath ); recentFiles.clear(); initFileOpen(); - showInFuture = TRUE; + showInFuture = true; connect( buttonHelp, TQ_SIGNAL( clicked() ), MainWindow::self, TQ_SLOT( showDialogHelp() ) ); @@ -119,12 +119,12 @@ void StartDialog::clearFileInfo() void StartDialog::setRecentlyFiles( TQStringList &files ) { - insertRecentItems( files, FALSE ); + insertRecentItems( files, false ); } void StartDialog::setRecentlyProjects( TQStringList &projects ) { - insertRecentItems( projects, TRUE ); + insertRecentItems( projects, true ); } void StartDialog::insertRecentItems( TQStringList &files, bool isProject ) @@ -139,7 +139,7 @@ void StartDialog::insertRecentItems( TQStringList &files, bool isProject ) item = new TQIconViewItem( recentView, fi.fileName() ); recentFiles[recentView->index( item )] = *it; item->setPixmap( BarIcon( iconName, KDevDesignerPartFactory::instance() ) ); - item->setDragEnabled( FALSE ); + item->setDragEnabled( false ); } } @@ -160,7 +160,7 @@ void StartDialog::initFileOpen() } delete l; - fd->setSizeGripEnabled ( FALSE ); + fd->setSizeGripEnabled ( false ); tabLayout->addWidget( fd ); TQPluginManager manager( IID_ImportFilter, TQApplication::libraryPaths(), -- cgit v1.2.3