summaryrefslogtreecommitdiffstats
path: root/src/kbibtexshell.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
commit278778f1151c2c3b4fade15afc7b94f624900b60 (patch)
tree3e5556534dce8216383a1026da88bfaef179ecc7 /src/kbibtexshell.cpp
parent15710da5567c0dcf1291d09cb869ef1bf6d08541 (diff)
downloadkbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.tar.gz
kbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kbibtexshell.cpp')
-rw-r--r--src/kbibtexshell.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kbibtexshell.cpp b/src/kbibtexshell.cpp
index e3195b3..7e672b5 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." ) );