• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

filelight

  • sources
  • kde-4.12
  • kdeutils
  • filelight
  • src
  • part
Config.h
Go to the documentation of this file.
1 /***********************************************************************
2 * Copyright 2003-2004 Max Howell <max.howell@methylblue.com>
3 * Copyright 2008-2009 Martin Sandsmark <martin.sandsmark@kde.org>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License or (at your option) version 3 or any later version
9 * accepted by the membership of KDE e.V. (or its successor approved
10 * by the membership of KDE e.V.), which shall act as a proxy
11 * defined in Section 14 of version 3 of the license.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ***********************************************************************/
21 
22 #ifndef Config_H
23 #define Config_H
24 
25 #include <QtCore/QStringList>
26 
27 class KConfig;
28 
29 namespace Filelight
30 {
31 enum MapScheme { Rainbow, KDE, HighContrast, FileDensity, ModTime };
32 
33 class Config
34 {
35  static KConfig& kconfig();
36 
37 public:
38  static void read();
39  static void write();
40 
41  //keep everything positive, avoid using DON'T, NOT or NO
42 
43  static bool scanAcrossMounts;
44  static bool scanRemoteMounts;
45  static bool scanRemovableMedia;
46  static bool varyLabelFontSizes;
47  static bool showSmallFiles;
48  static uint contrast;
49  static bool antialias;
50  static uint minFontPitch;
51  static uint defaultRingDepth;
52 
53  static MapScheme scheme;
54  static QStringList skipList;
55 };
56 }
57 
58 using Filelight::Config;
59 
60 #endif
Filelight::KDE
Definition: Config.h:31
Filelight::Rainbow
Definition: Config.h:31
Filelight::Config::scanRemoteMounts
static bool scanRemoteMounts
Definition: Config.h:44
Filelight::Config::read
static void read()
Definition: Config.cpp:43
Filelight::Config::contrast
static uint contrast
Definition: Config.h:48
Filelight::Config::scanRemovableMedia
static bool scanRemovableMedia
Definition: Config.h:45
Filelight::Config::write
static void write()
Definition: Config.cpp:62
Filelight::HighContrast
Definition: Config.h:31
Filelight::Config::minFontPitch
static uint minFontPitch
Definition: Config.h:50
Filelight::Config::defaultRingDepth
static uint defaultRingDepth
Definition: Config.h:51
Filelight::Config::scheme
static MapScheme scheme
Definition: Config.h:53
Filelight::FileDensity
Definition: Config.h:31
Filelight::MapScheme
MapScheme
Definition: Config.h:31
Filelight::Config::antialias
static bool antialias
Definition: Config.h:49
Filelight::Config::showSmallFiles
static bool showSmallFiles
Definition: Config.h:47
Filelight::Config
Definition: Config.h:33
Filelight::ModTime
Definition: Config.h:31
Filelight::Config::skipList
static QStringList skipList
Definition: Config.h:54
Filelight::Config::varyLabelFontSizes
static bool varyLabelFontSizes
Definition: Config.h:46
Filelight::Config::scanAcrossMounts
static bool scanAcrossMounts
Definition: Config.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

filelight

Skip menu "filelight"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal