From 59be12b130757642abe0ea212fcb8f919879e5b5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 12:35:55 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 278778f1151c2c3b4fade15afc7b94f624900b60) --- src/kbibtexshell.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kbibtexshell.cpp') diff --git a/src/kbibtexshell.cpp b/src/kbibtexshell.cpp index b9b8153..3aaea04 100644 --- a/src/kbibtexshell.cpp +++ b/src/kbibtexshell.cpp @@ -115,21 +115,21 @@ bool KBibTeXShell::openURL( const KURL& url ) if ( m_part->url().isEmpty() && !m_part->isModified() ) { if ( !m_part->openURL( url ) ) - return FALSE; + return false; } else { KBibTeXShell *shell = new KBibTeXShell(); if ( !shell->part() ->openURL( url ) ) - return FALSE; + return false; else initializePart( shell->part() ); shell->show(); } m_recentFiles->addURL( url ); - return TRUE; + return true; } KParts::ReadWritePart * KBibTeXShell::part() @@ -281,7 +281,7 @@ void KBibTeXShell::applyNewToolbarConfig() bool KBibTeXShell::queryClose() { if ( m_part && !m_part ->closeURL() ) - return FALSE; + return false; writeConfig(); @@ -326,7 +326,7 @@ void KBibTeXShell::slotFileOpen( const KURL& url ) { if ( url.isEmpty() ) return ; - if ( !TDEIO::NetAccess::exists( url, TRUE, this ) ) + if ( !TDEIO::NetAccess::exists( url, true, this ) ) { m_recentFiles->removeURL( url ); KMessageBox::error( this, i18n( "The given file could not be read, check if it exists or if it is readable for the current user." ) ); -- cgit v1.2.3