You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
662 B
38 lines
662 B
15 years ago
|
|
||
|
#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
|