~ubuntu-branches/ubuntu/lucid/kde4libs/lucid-security

« back to all changes in this revision

Viewing changes to kate/utils/kateconfig.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-26 22:37:28 UTC
  • mfrom: (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20100226223728-yvwm9o0ojbq8n3vn
Tags: 4:4.4.1-0ubuntu1
* New upstream release
  - Bump build-depends
  - Drop kubuntu_73_khtml_scroll_fix.diff fixed by upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1392
1392
  KColorScheme schemeView(QPalette::Active, KColorScheme::View);
1393
1393
  KColorScheme schemeWindow(QPalette::Active, KColorScheme::Window);
1394
1394
  KColorScheme schemeSelection(QPalette::Active, KColorScheme::Selection);
 
1395
  KColorScheme schemeTooltip(QPalette::Active, KColorScheme::Tooltip);
1395
1396
  QColor tmp0( schemeView.background().color() );
1396
1397
  QColor tmp1( schemeSelection.background().color() );
1397
1398
  QColor tmp2( schemeView.background(KColorScheme::AlternateBackground).color() );
1446
1447
  m_fontMetrics = QFontMetrics(m_font);
1447
1448
  m_fontSet = true;
1448
1449
 
1449
 
  m_templateBackgroundColor=config.readEntry(QString("Color Template Background"),QColor(0xcc,0xcc,0xcc));
1450
 
  m_templateEditablePlaceholderColor = config.readEntry(QString("Color Template Editable Placeholder"),QColor(0xcc,0xff,0xcc));
1451
 
  m_templateFocusedEditablePlaceholderColor=config.readEntry(QString("Color Template Focused Editable Placeholder"),QColor(0x66,0xff,0x66));
1452
 
  m_templateNotEditablePlaceholderColor=config.readEntry(QString("Color Template Not Editable Placeholder"),QColor(0xff,0xcc,0xcc));
 
1450
  m_templateBackgroundColor=config.readEntry(QString("Color Template Background"),
 
1451
                                             schemeTooltip.background(KColorScheme::NormalBackground).color());
 
1452
 
 
1453
  m_templateEditablePlaceholderColor = config.readEntry(QString("Color Template Editable Placeholder"),
 
1454
                                                        schemeTooltip.background(KColorScheme::NeutralBackground).color());
 
1455
 
 
1456
  m_templateFocusedEditablePlaceholderColor=config.readEntry(QString("Color Template Focused Editable Placeholder"),
 
1457
                                                             schemeTooltip.background(KColorScheme::PositiveBackground).color());
 
1458
 
 
1459
  m_templateNotEditablePlaceholderColor=config.readEntry(QString("Color Template Not Editable Placeholder"),
 
1460
                                                         schemeTooltip.background(KColorScheme::NegativeBackground).color());
1453
1461
 
1454
1462
  m_templateColorsSet=true;
1455
1463
}