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

kompare

  • sources
  • kde-4.12
  • 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 #include "dialogpagesexport.h"
27 
28 class DIALOGPAGES_EXPORT ViewSettings : public SettingsBase
29 {
30 Q_OBJECT
31 public:
32  static const QColor default_removeColor;
33  static const QColor default_changeColor;
34  static const QColor default_addColor;
35  static const QColor default_appliedColor;
36 
37  ViewSettings( QWidget* parent );
38  ~ViewSettings();
39 public:
40  // some virtual functions that will be overloaded from the base class
41  virtual void loadSettings( KConfig* config );
42  virtual void saveSettings( KConfig* config );
43  QColor colorForDifferenceType( int type, bool selected = false, bool applied = false );
44 
45 public:
46  QColor m_removeColor;
47  QColor m_changeColor;
48  QColor m_addColor;
49  QColor m_appliedColor;
50  QColor m_selectedRemoveColor;
51  QColor m_selectedChangeColor;
52  QColor m_selectedAddColor;
53  QColor m_selectedAppliedColor;
54  int m_scrollNoOfLines;
55  int m_tabToNumberOfSpaces;
56 
57  QFont m_font;
58 };
59 
60 #endif // VIEWSETTINGS_H
ViewSettings::default_changeColor
static const QColor default_changeColor
Definition: viewsettings.h:33
ViewSettings::m_scrollNoOfLines
int m_scrollNoOfLines
Definition: viewsettings.h:54
QWidget
ViewSettings::m_removeColor
QColor m_removeColor
Definition: viewsettings.h:46
ViewSettings::m_tabToNumberOfSpaces
int m_tabToNumberOfSpaces
Definition: viewsettings.h:55
ViewSettings::default_appliedColor
static const QColor default_appliedColor
Definition: viewsettings.h:35
ViewSettings::default_addColor
static const QColor default_addColor
Definition: viewsettings.h:34
ViewSettings::m_selectedRemoveColor
QColor m_selectedRemoveColor
Definition: viewsettings.h:50
ViewSettings::m_selectedAddColor
QColor m_selectedAddColor
Definition: viewsettings.h:52
ViewSettings::m_changeColor
QColor m_changeColor
Definition: viewsettings.h:47
ViewSettings::m_appliedColor
QColor m_appliedColor
Definition: viewsettings.h:49
ViewSettings
Definition: viewsettings.h:28
ViewSettings::m_font
QFont m_font
Definition: viewsettings.h:57
dialogpagesexport.h
ViewSettings::m_selectedChangeColor
QColor m_selectedChangeColor
Definition: viewsettings.h:51
ViewSettings::m_addColor
QColor m_addColor
Definition: viewsettings.h:48
ViewSettings::m_selectedAppliedColor
QColor m_selectedAppliedColor
Definition: viewsettings.h:53
ViewSettings::default_removeColor
static const QColor default_removeColor
Definition: viewsettings.h:32
DIALOGPAGES_EXPORT
#define DIALOGPAGES_EXPORT
Definition: dialogpagesexport.h:32
SettingsBase
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:39 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
  • okteta
  • 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