summaryrefslogtreecommitdiffstats
path: root/tools/assistant/config.cpp
diff options
context:
space:
mode:
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;