diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:18:58 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:18:58 -0600 |
commit | 6d3902bd20c24613b2f13f5c04294ff83f104006 (patch) | |
tree | 6cf224cc11b6dfd4ebf884b1045ff7e95de7c8e7 /src/statusbarspaceinfo.cpp | |
parent | 87346b386fec7055f53b607d9cad63f48fbb8e28 (diff) | |
download | dolphin-6d3902bd20c24613b2f13f5c04294ff83f104006.tar.gz dolphin-6d3902bd20c24613b2f13f5c04294ff83f104006.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
-rw-r--r-- | src/statusbarspaceinfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 |