summaryrefslogtreecommitdiffstats
path: root/src/part/radialMap
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:19:01 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:19:01 -0600
commit40a94e488f56f1e783636b6414da7a3c4cadc86e (patch)
tree97f80ca640805f36d66bc9133baf9916c946a46d /src/part/radialMap
parentaeecbb9b93a2ce6139d125f54c0cbec7fce3e8d4 (diff)
downloadfilelight-40a94e488f56f1e783636b6414da7a3c4cadc86e.tar.gz
filelight-40a94e488f56f1e783636b6414da7a3c4cadc86e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/part/radialMap')
-rw-r--r--src/part/radialMap/map.cpp2
-rw-r--r--src/part/radialMap/segmentTip.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/part/radialMap/map.cpp b/src/part/radialMap/map.cpp
index 725b3f8..34a1c6c 100644
--- a/src/part/radialMap/map.cpp
+++ b/src/part/radialMap/map.cpp
@@ -178,7 +178,7 @@ RadialMap::Map::colorise()
double contrast = (double)Config::contrast / (double)100;
int h, s1, s2, v1, v2;
- TQColor kdeColour[2] = { KGlobalSettings::inactiveTitleColor(), KGlobalSettings::activeTitleColor() };
+ TQColor kdeColour[2] = { TDEGlobalSettings::inactiveTitleColor(), TDEGlobalSettings::activeTitleColor() };
double deltaRed = (double)(kdeColour[0].red() - kdeColour[1].red()) / 2880; //2880 for semicircle
double deltaGreen = (double)(kdeColour[0].green() - kdeColour[1].green()) / 2880;
diff --git a/src/part/radialMap/segmentTip.cpp b/src/part/radialMap/segmentTip.cpp
index 3fb5d34..4f3d042 100644
--- a/src/part/radialMap/segmentTip.cpp
+++ b/src/part/radialMap/segmentTip.cpp
@@ -51,7 +51,7 @@ SegmentTip::moveTo( TQPoint p, const TQWidget &canvas, bool placeAbove )
p.rx() -= rect().center().x();
p.ry() -= (placeAbove ? 8 + height() : m_cursorHeight - 8);
- const TQRect screen = KGlobalSettings::desktopGeometry( parentWidget() );
+ const TQRect screen = TDEGlobalSettings::desktopGeometry( parentWidget() );
const int x = p.x();
const int y = p.y();
@@ -107,7 +107,7 @@ SegmentTip::updateTip( const File* const file, const Directory* const root )
{
const TQString s1 = file->fullPath( root );
TQString s2 = file->humanReadableSize();
- KLocale *loc = KGlobal::locale();
+ KLocale *loc = TDEGlobal::locale();
const uint MARGIN = 3;
const uint pc = 100 * file->size() / root->size();
uint maxw = 0;