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

kompare

  • sources
  • kde-4.14
  • kdesdk
  • kompare
  • libdialogpages
viewsettings.h
Go to the documentation of this file.
1 /***************************************************************************
2  generalsettings.h
3  -----------------
4  begin : Sun Mar 4 2001
5  Copyright 2001-2003 Otto Bruggeman <otto.bruggeman@home.nl>
6  Copyright 2001-2003 John Firebaugh <jfirebaugh@kde.org>
7 ****************************************************************************/
8 
9 /***************************************************************************
10 **
11 ** This program is free software; you can redistribute it and/or modify
12 ** it under the terms of the GNU General Public License as published by
13 ** the Free Software Foundation; either version 2 of the License, or
14 ** (at your option) any later version.
15 **
16 ***************************************************************************/
17 
18 #ifndef VIEWSETTINGS_H
19 #define VIEWSETTINGS_H
20 
21 #include <QtGui/QColor>
22 #include <QtGui/QWidget>
23 
24 #include <difference.h>
25 #include <settingsbase.h>
26 
27 #include "dialogpagesexport.h"
28 
29 class DIALOGPAGES_EXPORT ViewSettings : public SettingsBase
30 {
31 Q_OBJECT
32 public:
33  static const QColor default_removeColor;
34  static const QColor default_changeColor;
35  static const QColor default_addColor;
36  static const QColor default_appliedColor;
37 
38  ViewSettings( QWidget* parent );
39  ~ViewSettings();
40 public:
41  // some virtual functions that will be overloaded from the base class
42  virtual void loadSettings( KConfig* config );
43  virtual void saveSettings( KConfig* config );
44  QColor colorForDifferenceType( int type, bool selected = false, bool applied = false );
45 
46 public:
47  QColor m_removeColor;
48  QColor m_changeColor;
49  QColor m_addColor;
50  QColor m_appliedColor;
51  QColor m_selectedRemoveColor;
52  QColor m_selectedChangeColor;
53  QColor m_selectedAddColor;
54  QColor m_selectedAppliedColor;
55  int m_scrollNoOfLines;
56  int m_tabToNumberOfSpaces;
57 
58  QFont m_font;
59 };
60 
61 #endif // VIEWSETTINGS_H
ViewSettings::default_changeColor
static const QColor default_changeColor
Definition: viewsettings.h:34
QWidget
ViewSettings::m_scrollNoOfLines
int m_scrollNoOfLines
Definition: viewsettings.h:55
QFont
ViewSettings::m_removeColor
QColor m_removeColor
Definition: viewsettings.h:47
ViewSettings::m_tabToNumberOfSpaces
int m_tabToNumberOfSpaces
Definition: viewsettings.h:56
ViewSettings::default_appliedColor
static const QColor default_appliedColor
Definition: viewsettings.h:36
ViewSettings::default_addColor
static const QColor default_addColor
Definition: viewsettings.h:35
ViewSettings::m_selectedRemoveColor
QColor m_selectedRemoveColor
Definition: viewsettings.h:51
ViewSettings::m_selectedAddColor
QColor m_selectedAddColor
Definition: viewsettings.h:53
QColor
ViewSettings::m_changeColor
QColor m_changeColor
Definition: viewsettings.h:48
ViewSettings::m_appliedColor
QColor m_appliedColor
Definition: viewsettings.h:50
ViewSettings
Definition: viewsettings.h:29
ViewSettings::m_font
QFont m_font
Definition: viewsettings.h:58
dialogpagesexport.h
ViewSettings::m_selectedChangeColor
QColor m_selectedChangeColor
Definition: viewsettings.h:52
ViewSettings::m_addColor
QColor m_addColor
Definition: viewsettings.h:49
ViewSettings::m_selectedAppliedColor
QColor m_selectedAppliedColor
Definition: viewsettings.h:54
ViewSettings::default_removeColor
static const QColor default_removeColor
Definition: viewsettings.h:33
DIALOGPAGES_EXPORT
#define DIALOGPAGES_EXPORT
Definition: dialogpagesexport.h:32
SettingsBase
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kompare

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

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