config.h

来自「LINUX 下, 以 QT/KDE 写的档案管理员」· C头文件 代码 · 共 38 行

H
38
字号
#ifndef Config_H#define Config_H#include <qstringlist.h>class KConfig;namespace Filelight{    enum MapScheme { Rainbow, HighContrast, KDE, FileDensity, ModTime };    class Config    {        static KConfig& kconfig();    public:        static void read();        static void write();        //keep everything positive, avoid using DON'T, NOT or NO        static bool varyLabelFontSizes;        static bool showSmallFiles;        static uint contrast;        static uint antiAliasFactor;        static uint minFontPitch;        static uint defaultRingDepth;        static MapScheme scheme;    };}using Filelight::Config;#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?