summaryrefslogtreecommitdiffstats
path: root/tools/assistant/config.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:29:01 +0900
commita7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch)
tree2e6dd07698083df817163d572443aaf6fdd26651 /tools/assistant/config.cpp
parent2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff)
downloadtqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz
tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/assistant/config.cpp')
-rw-r--r--tools/assistant/config.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/assistant/config.cpp b/tools/assistant/config.cpp
index 43f17b6c1..ae3db7e1e 100644
--- a/tools/assistant/config.cpp
+++ b/tools/assistant/config.cpp
@@ -51,7 +51,7 @@ inline TQString getVersionString()
}
Config::Config()
- : hideSidebar( FALSE ), profil( 0 ), maximized(FALSE)
+ : hideSidebar( false ), profil( 0 ), maximized(false)
{
fontSiz = tqApp->font().pointSize();
if( !static_configuration ) {
@@ -116,7 +116,7 @@ void Config::load()
webBrows = settings.readEntry( key + "Webbrowser" );
home = settings.readEntry( profkey + "Homepage" );
pdfApp = settings.readEntry( key + "PDFApplication" );
- linkUnder = settings.readBoolEntry( key + "LinkUnderline", TRUE );
+ linkUnder = settings.readBoolEntry( key + "LinkUnderline", true );
linkCol = settings.readEntry( key + "LinkColor", "#0000FF" );
src = settings.readListEntry( profkey + "Source" );
sideBar = settings.readNumEntry( key + "SideBarPage" );
@@ -133,10 +133,10 @@ void Config::load()
settings.readNumEntry( key + "GeometryY", TQApplication::desktop()->availableGeometry().y() ),
settings.readNumEntry( key + "GeometryWidth", 800 ),
settings.readNumEntry( key + "GeometryHeight", 600 ) );
- maximized = settings.readBoolEntry( key + "GeometryMaximized", FALSE );
+ maximized = settings.readBoolEntry( key + "GeometryMaximized", false );
}
mainWinLayout = settings.readEntry( key + "MainwindowLayout" );
- rebuildDocs = settings.readBoolEntry( key + "RebuildDocDB", TRUE );
+ rebuildDocs = settings.readBoolEntry( key + "RebuildDocDB", true );
profileNames = settings.entryList( key + "Profile" );
}
@@ -284,7 +284,7 @@ TQStringList Config::mimePaths()
// Mime source for .dcf file path
TQFileInfo info( *it );
- TQString dcfPath = info.dirPath(TRUE);
+ TQString dcfPath = info.dirPath(true);
if (lst.contains(dcfPath) == 0)
lst << dcfPath;