diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:43:08 +0900 |
| commit | 35ced32e331ee29fda1642616c803637952f5b22 (patch) | |
| tree | da44726777f814e19c7ef1e43854f6a1693dd6fb /tools/assistant/config.cpp | |
| parent | 7dd4848d61e4c52091d6c644356c84c67536bde2 (diff) | |
| download | tqt-35ced32e.tar.gz tqt-35ced32e.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'tools/assistant/config.cpp')
| -rw-r--r-- | tools/assistant/config.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/assistant/config.cpp b/tools/assistant/config.cpp index 4bdc7f38b..fc812c1f0 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; |
