From 6d3902bd20c24613b2f13f5c04294ff83f104006 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:18:58 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- src/statusbarspaceinfo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/statusbarspaceinfo.cpp') diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index 16eb36b..a93deeb 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -65,13 +65,13 @@ void StatusBarSpaceInfo::paintEvent(TQPaintEvent* /* event */) const int widthDec = 3; // visual decrement for the available width const TQColor c1 = colorGroup().background(); - const TQColor c2 = KGlobalSettings::buttonTextColor(); + const TQColor c2 = TDEGlobalSettings::buttonTextColor(); const TQColor frameColor((c1.red() + c2.red()) / 2, (c1.green() + c2.green()) / 2, (c1.blue() + c2.blue()) / 2); painter.setPen(frameColor); - const TQColor backgrColor = KGlobalSettings::baseColor(); + const TQColor backgrColor = TDEGlobalSettings::baseColor(); painter.setBrush(backgrColor); painter.drawRect(TQRect(0, barTop + 1 , barWidth - widthDec, barHeight)); @@ -103,7 +103,7 @@ void StatusBarSpaceInfo::paintEvent(TQPaintEvent* /* event */) } // draw text (usually 'Y GB free') - painter.setPen(KGlobalSettings::textColor()); + painter.setPen(TDEGlobalSettings::textColor()); painter.drawText(TQRect(1, 1, barWidth - 2, barHeight + 4), TQt::AlignHCenter | TQt::AlignVCenter | TQt::WordBreak, text); @@ -166,7 +166,7 @@ void StatusBarSpaceInfo::refresh() TQColor StatusBarSpaceInfo::progressColor(const TQColor& bgColor) const { - TQColor color = KGlobalSettings::buttonBackground(); + TQColor color = TDEGlobalSettings::buttonBackground(); // assure that enough contrast is given between the background color // and the progressbar color -- cgit v1.2.1