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

kompare

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ViewSettings Class Reference

#include <viewsettings.h>

Inheritance diagram for ViewSettings:
Inheritance graph
[legend]

Public Member Functions

 ViewSettings (QWidget *parent)
 
 ~ViewSettings ()
 
QColor colorForDifferenceType (int type, bool selected=false, bool applied=false)
 
virtual void loadSettings (KConfig *config)
 
virtual void saveSettings (KConfig *config)
 

Public Attributes

QColor m_addColor
 
QColor m_appliedColor
 
QColor m_changeColor
 
QFont m_font
 
QColor m_removeColor
 
int m_scrollNoOfLines
 
QColor m_selectedAddColor
 
QColor m_selectedAppliedColor
 
QColor m_selectedChangeColor
 
QColor m_selectedRemoveColor
 
int m_tabToNumberOfSpaces
 

Static Public Attributes

static const QColor default_addColor
 
static const QColor default_appliedColor
 
static const QColor default_changeColor
 
static const QColor default_removeColor
 

Detailed Description

Definition at line 29 of file viewsettings.h.

Constructor & Destructor Documentation

ViewSettings::ViewSettings ( QWidget *  parent)

Definition at line 34 of file viewsettings.cpp.

ViewSettings::~ViewSettings ( )

Definition at line 45 of file viewsettings.cpp.

Member Function Documentation

QColor ViewSettings::colorForDifferenceType ( int  type,
bool  selected = false,
bool  applied = false 
)

Definition at line 77 of file viewsettings.cpp.

void ViewSettings::loadSettings ( KConfig *  config)
virtual

Definition at line 49 of file viewsettings.cpp.

void ViewSettings::saveSettings ( KConfig *  config)
virtual

Definition at line 64 of file viewsettings.cpp.

Member Data Documentation

const QColor ViewSettings::default_addColor
static

Definition at line 35 of file viewsettings.h.

const QColor ViewSettings::default_appliedColor
static

Definition at line 36 of file viewsettings.h.

const QColor ViewSettings::default_changeColor
static

Definition at line 34 of file viewsettings.h.

const QColor ViewSettings::default_removeColor
static

Definition at line 33 of file viewsettings.h.

QColor ViewSettings::m_addColor

Definition at line 49 of file viewsettings.h.

QColor ViewSettings::m_appliedColor

Definition at line 50 of file viewsettings.h.

QColor ViewSettings::m_changeColor

Definition at line 48 of file viewsettings.h.

QFont ViewSettings::m_font

Definition at line 58 of file viewsettings.h.

QColor ViewSettings::m_removeColor

Definition at line 47 of file viewsettings.h.

int ViewSettings::m_scrollNoOfLines

Definition at line 55 of file viewsettings.h.

QColor ViewSettings::m_selectedAddColor

Definition at line 53 of file viewsettings.h.

QColor ViewSettings::m_selectedAppliedColor

Definition at line 54 of file viewsettings.h.

QColor ViewSettings::m_selectedChangeColor

Definition at line 52 of file viewsettings.h.

QColor ViewSettings::m_selectedRemoveColor

Definition at line 51 of file viewsettings.h.

int ViewSettings::m_tabToNumberOfSpaces

Definition at line 56 of file viewsettings.h.


The documentation for this class was generated from the following files:
  • viewsettings.h
  • viewsettings.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:02 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