• 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
settingsDialog.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 SETTINGSDIALOG_H
23 #define SETTINGSDIALOG_H
24 
25 #include "ui_dialog.h" //generated by uic
26 
27 #include <QtCore/QTimer>
28 #include <QtGui/QCloseEvent>
29 
30 
31 class SettingsDialog : public KDialog, public Ui::Dialog
32 {
33  Q_OBJECT
34 
35 public:
36  explicit SettingsDialog(QWidget* = 0);
37 
38 protected:
39  virtual void closeEvent(QCloseEvent *);
40  virtual void reject();
41 
42 public slots:
43  void addFolder();
44  void removeFolder();
45  void toggleScanAcrossMounts(bool);
46  void toggleDontScanRemoteMounts(bool);
47  void toggleDontScanRemovableMedia(bool);
48  void reset();
49  void startTimer();
50  void toggleUseAntialiasing(bool = true);
51  void toggleVaryLabelFontSizes(bool);
52  void changeContrast(int);
53  void changeScheme(int);
54  void changeMinFontPitch(int);
55  void toggleShowSmallFiles(bool);
56  void slotSliderReleased();
57 
58 signals:
59  void mapIsInvalid();
60  void canvasIsDirty(int);
61 
62 private:
63  QTimer m_timer;
64 
65  static const uint TIMEOUT=1000;
66 };
67 
68 #endif
SettingsDialog::addFolder
void addFolder()
Definition: settingsDialog.cpp:153
SettingsDialog::SettingsDialog
SettingsDialog(QWidget *=0)
Definition: settingsDialog.cpp:33
QWidget
SettingsDialog::reset
void reset()
Definition: settingsDialog.cpp:93
SettingsDialog::toggleVaryLabelFontSizes
void toggleVaryLabelFontSizes(bool)
Definition: settingsDialog.cpp:210
SettingsDialog::removeFolder
void removeFolder()
Definition: settingsDialog.cpp:176
KDialog
SettingsDialog::toggleDontScanRemovableMedia
void toggleDontScanRemovableMedia(bool)
Definition: settingsDialog.cpp:146
SettingsDialog::canvasIsDirty
void canvasIsDirty(int)
SettingsDialog::changeMinFontPitch
void changeMinFontPitch(int)
Definition: settingsDialog.cpp:217
SettingsDialog::mapIsInvalid
void mapIsInvalid()
SettingsDialog::toggleScanAcrossMounts
void toggleScanAcrossMounts(bool)
Definition: settingsDialog.cpp:133
SettingsDialog::toggleShowSmallFiles
void toggleShowSmallFiles(bool)
Definition: settingsDialog.cpp:222
SettingsDialog
Definition: settingsDialog.h:31
SettingsDialog::changeScheme
void changeScheme(int)
Definition: settingsDialog.cpp:195
SettingsDialog::toggleUseAntialiasing
void toggleUseAntialiasing(bool=true)
Definition: settingsDialog.cpp:205
SettingsDialog::startTimer
void startTimer()
Definition: settingsDialog.cpp:189
SettingsDialog::toggleDontScanRemoteMounts
void toggleDontScanRemoteMounts(bool)
Definition: settingsDialog.cpp:141
SettingsDialog::reject
virtual void reject()
Definition: settingsDialog.cpp:235
SettingsDialog::changeContrast
void changeContrast(int)
Definition: settingsDialog.cpp:200
SettingsDialog::closeEvent
virtual void closeEvent(QCloseEvent *)
Definition: settingsDialog.cpp:82
SettingsDialog::slotSliderReleased
void slotSliderReleased()
Definition: settingsDialog.cpp:229
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:08 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