diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:49:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:49:56 -0600 |
commit | e6aaa3624cc6179b82a9bfff1760e742a669064c (patch) | |
tree | 3fed4deb0540d34f85dfb53b02bea7519e66cc6f /cervisia/diffview.cpp | |
parent | 4071ae43ea213cd0f7d5c344c939ebd97d097051 (diff) | |
download | tdesdk-e6aaa3624cc6179b82a9bfff1760e742a669064c.tar.gz tdesdk-e6aaa3624cc6179b82a9bfff1760e742a669064c.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'cervisia/diffview.cpp')
-rw-r--r-- | cervisia/diffview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cervisia/diffview.cpp b/cervisia/diffview.cpp index 4d973372..90e82516 100644 --- a/cervisia/diffview.cpp +++ b/cervisia/diffview.cpp @@ -319,8 +319,8 @@ void DiffView::paintCell(TQPainter *p, int row, int col) TQFont oldFont(p->font()); if (item->type==Separator) { - backgroundColor = KGlobalSettings::highlightColor(); - p->setPen(KGlobalSettings::highlightedTextColor()); + backgroundColor = TDEGlobalSettings::highlightColor(); + p->setPen(TDEGlobalSettings::highlightedTextColor()); inverted = false; align = AlignLeft; innerborder = 0; @@ -332,8 +332,8 @@ void DiffView::paintCell(TQPainter *p, int row, int col) } else if (col == 0 && linenos) { - backgroundColor = KGlobalSettings::highlightColor(); - p->setPen(KGlobalSettings::highlightedTextColor()); + backgroundColor = TDEGlobalSettings::highlightColor(); + p->setPen(TDEGlobalSettings::highlightedTextColor()); inverted = false; align = AlignLeft; innerborder = 0; @@ -344,8 +344,8 @@ void DiffView::paintCell(TQPainter *p, int row, int col) } else if (marker && (col == 0 || col == 1)) { - backgroundColor = KGlobalSettings::alternateBackgroundColor(); - p->setPen(KGlobalSettings::textColor()); + backgroundColor = TDEGlobalSettings::alternateBackgroundColor(); + p->setPen(TDEGlobalSettings::textColor()); inverted = false; align = AlignRight; innerborder = BORDER; @@ -359,8 +359,8 @@ void DiffView::paintCell(TQPainter *p, int row, int col) (item->type==Change)? diffChangeColor : (item->type==Insert)? diffInsertColor : (item->type==Delete)? diffDeleteColor - : (item->type==Neutral)? KGlobalSettings::alternateBackgroundColor() : KGlobalSettings::baseColor(); - p->setPen(KGlobalSettings::textColor()); + : (item->type==Neutral)? TDEGlobalSettings::alternateBackgroundColor() : TDEGlobalSettings::baseColor(); + p->setPen(TDEGlobalSettings::textColor()); inverted = item->inverted; align = AlignLeft; innerborder = 0; @@ -370,7 +370,7 @@ void DiffView::paintCell(TQPainter *p, int row, int col) if (inverted) { p->setPen(backgroundColor); - backgroundColor = KGlobalSettings::textColor(); + backgroundColor = TDEGlobalSettings::textColor(); TQFont f(oldFont); f.setBold(true); p->setFont(f); @@ -450,7 +450,7 @@ void DiffZoomWidget::paintEvent(TQPaintEvent *) const TQByteArray& lineTypes(diffview->compressedContent()); TQPixmap pixbuf(width(), scrollBarGroove.height()); - pixbuf.fill(KGlobalSettings::baseColor()); + pixbuf.fill(TDEGlobalSettings::baseColor()); TQPainter p(&pixbuf, this); if (const unsigned int numberOfLines = lineTypes.size()) @@ -482,7 +482,7 @@ void DiffZoomWidget::paintEvent(TQPaintEvent *) break; case ' ': case 'N': - color = KGlobalSettings::alternateBackgroundColor(); + color = TDEGlobalSettings::alternateBackgroundColor(); break; } |