Changeset View
Changeset View
Standalone View
Standalone View
krusader/Konfigurator/kgcolors.cpp
Context not available. | |||||
46 | KgColors::KgColors(bool first, QWidget* parent) : | 46 | KgColors::KgColors(bool first, QWidget* parent) : | ||
---|---|---|---|---|---|
47 | KonfiguratorPage(first, parent), offset(0), | 47 | KonfiguratorPage(first, parent), offset(0), | ||
48 | activeTabIdx(-1), inactiveTabIdx(-1), | 48 | activeTabIdx(-1), inactiveTabIdx(-1), | ||
49 | #ifdef ENABLE_SYNCHRONIZER | 49 | #ifdef SYNCHRONIZER_ENABLED | ||
50 | synchronizerTabIdx(-1), | 50 | synchronizerTabIdx(-1), | ||
51 | #endif | 51 | #endif | ||
52 | otherTabIdx(-1) | 52 | otherTabIdx(-1) | ||
Context not available. | |||||
193 | ADDITIONAL_COLOR KDEDefaultBase = { i18n("KDE default"), KColorScheme(QPalette::Active, KColorScheme::View).background().color(), "KDE default" }; | 193 | ADDITIONAL_COLOR KDEDefaultBase = { i18n("KDE default"), KColorScheme(QPalette::Active, KColorScheme::View).background().color(), "KDE default" }; | ||
194 | ADDITIONAL_COLOR KDEDefaultFore = { i18n("KDE default"), KColorScheme(QPalette::Active, KColorScheme::View).foreground().color(), "KDE default" }; | 194 | ADDITIONAL_COLOR KDEDefaultFore = { i18n("KDE default"), KColorScheme(QPalette::Active, KColorScheme::View).foreground().color(), "KDE default" }; | ||
195 | 195 | | |||
196 | #ifdef ENABLE_SYNCHRONIZER | 196 | #ifdef SYNCHRONIZER_ENABLED | ||
197 | colorsGrp = new QWidget(colorTabWidget); | 197 | colorsGrp = new QWidget(colorTabWidget); | ||
198 | synchronizerTabIdx = colorTabWidget->addTab(colorsGrp, i18n("Synchronizer")); | 198 | synchronizerTabIdx = colorTabWidget->addTab(colorsGrp, i18n("Synchronizer")); | ||
199 | 199 | | |||
Context not available. | |||||
517 | colCache.getColors(cg, KrColorItemType(KrColorItemType::File, false, isActive, true, true)); | 517 | colCache.getColors(cg, KrColorItemType(KrColorItemType::File, false, isActive, true, true)); | ||
518 | pwMarkCur->setColor(cg.highlightedText(), cg.highlight()); | 518 | pwMarkCur->setColor(cg.highlightedText(), cg.highlight()); | ||
519 | } | 519 | } | ||
520 | #ifdef ENABLE_SYNCHRONIZER | 520 | #ifdef SYNCHRONIZER_ENABLED | ||
521 | else if (currentPage == synchronizerTabIdx) { | 521 | else if (currentPage == synchronizerTabIdx) { | ||
522 | PreviewItem *pwDelete = new PreviewItem(preview, i18n("Delete")); | 522 | PreviewItem *pwDelete = new PreviewItem(preview, i18n("Delete")); | ||
523 | PreviewItem *pwRightCopy = new PreviewItem(preview, i18n("Copy to right")); | 523 | PreviewItem *pwRightCopy = new PreviewItem(preview, i18n("Copy to right")); | ||
Context not available. | |||||
632 | serializeItem(stream, "Marked Current Foreground"); | 632 | serializeItem(stream, "Marked Current Foreground"); | ||
633 | serializeItem(stream, "Marked Foreground"); | 633 | serializeItem(stream, "Marked Foreground"); | ||
634 | serializeItem(stream, "Show Current Item Always"); | 634 | serializeItem(stream, "Show Current Item Always"); | ||
635 | #ifdef ENABLE_SYNCHRONIZER | 635 | #ifdef SYNCHRONIZER_ENABLED | ||
636 | serializeItem(stream, "Synchronizer Equals Foreground"); | 636 | serializeItem(stream, "Synchronizer Equals Foreground"); | ||
637 | serializeItem(stream, "Synchronizer Equals Background"); | 637 | serializeItem(stream, "Synchronizer Equals Background"); | ||
638 | serializeItem(stream, "Synchronizer Differs Foreground"); | 638 | serializeItem(stream, "Synchronizer Differs Foreground"); | ||
Context not available. |