Logo Search packages:      
Sourcecode: filelight version File versions  Download package

Config.h

#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 scanAcrossMounts;
        static bool scanRemoteMounts;
        static bool scanRemovableMedia;
        static bool varyLabelFontSizes;
        static bool showSmallFiles;
        static uint contrast;
        static uint antiAliasFactor;
        static uint minFontPitch;
        static uint defaultRingDepth;

        static MapScheme scheme;
        static QStringList skipList;
    };
}

using Filelight::Config;

#endif

Generated by  Doxygen 1.6.0   Back to index