File indexing completed on 2024-05-12 17:21:40
0001 /* 0002 SPDX-FileCopyrightText: 2004 Shie Erlich <erlich@users.sourceforge.net> 0003 SPDX-FileCopyrightText: 2004-2022 Krusader Krew <https://krusader.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef CONFIG_H 0009 #define CONFIG_H 0010 0011 // QtCore 0012 #include <QStringList> 0013 0014 class KConfigGroup; 0015 0016 namespace Filelight 0017 { 0018 enum MapScheme { Rainbow, HighContrast, KDE, FileDensity, ModTime }; 0019 0020 class Config 0021 { 0022 static KConfigGroup kconfig(); 0023 0024 public: 0025 static void read(); 0026 static void write(); 0027 0028 // keep everything positive, avoid using DON'T, NOT or NO 0029 0030 static bool varyLabelFontSizes; 0031 static bool showSmallFiles; 0032 static uint contrast; 0033 static uint antiAliasFactor; 0034 static uint minFontPitch; 0035 static uint defaultRingDepth; 0036 0037 static MapScheme scheme; 0038 }; 0039 } 0040 0041 using Filelight::Config; 0042 0043 #endif