summaryrefslogtreecommitdiffstats
path: root/tdecachegrind
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:40 -0600
commit7bc058d1bffbd79bf9d9416f879ccb4873b6045e (patch)
tree829c8e24b6d0e8f1113abff459b7a58dd284d488 /tdecachegrind
parenta50010465ab0fa1ded54efb4f41d342d9d49971e (diff)
downloadtdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.zip
tdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.tar.gz
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdecachegrind')
-rw-r--r--tdecachegrind/tdecachegrind/callgraphview.cpp6
-rw-r--r--tdecachegrind/tdecachegrind/callitem.cpp6
-rw-r--r--tdecachegrind/tdecachegrind/instritem.cpp6
-rw-r--r--tdecachegrind/tdecachegrind/sourceitem.cpp6
4 files changed, 12 insertions, 12 deletions
diff --git a/tdecachegrind/tdecachegrind/callgraphview.cpp b/tdecachegrind/tdecachegrind/callgraphview.cpp
index 77a612c..7936c9f 100644
--- a/tdecachegrind/tdecachegrind/callgraphview.cpp
+++ b/tdecachegrind/tdecachegrind/callgraphview.cpp
@@ -1149,9 +1149,9 @@ CanvasEdgeLabel::CanvasEdgeLabel(CallGraphView* v, CanvasEdge* ce,
if (e->call() && (e->call()->isRecursion() || e->call()->inCycle())) {
TQString icon = "undo";
- KIconLoader* loader = TDEApplication::kApplication()->iconLoader();
- TQPixmap p= loader->loadIcon(icon, KIcon::Small, 0,
- KIcon::DefaultState, 0, true);
+ TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
+ TQPixmap p= loader->loadIcon(icon, TDEIcon::Small, 0,
+ TDEIcon::DefaultState, 0, true);
setPixmap(0, p);
}
}
diff --git a/tdecachegrind/tdecachegrind/callitem.cpp b/tdecachegrind/tdecachegrind/callitem.cpp
index 1d6a970..449ed52 100644
--- a/tdecachegrind/tdecachegrind/callitem.cpp
+++ b/tdecachegrind/tdecachegrind/callitem.cpp
@@ -146,9 +146,9 @@ void CallItem::updateCost()
if (sameCycle && !selectedIsCycle && !shownIsCycle) {
TQString icon = "undo";
- KIconLoader* loader = TDEApplication::kApplication()->iconLoader();
- p= loader->loadIcon(icon, KIcon::Small, 0,
- KIcon::DefaultState, 0, true);
+ TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
+ p= loader->loadIcon(icon, TDEIcon::Small, 0,
+ TDEIcon::DefaultState, 0, true);
}
setPixmap(2, p);
}
diff --git a/tdecachegrind/tdecachegrind/instritem.cpp b/tdecachegrind/tdecachegrind/instritem.cpp
index 327d541..2c1a18a 100644
--- a/tdecachegrind/tdecachegrind/instritem.cpp
+++ b/tdecachegrind/tdecachegrind/instritem.cpp
@@ -178,9 +178,9 @@ void InstrItem::updateCost()
TQPixmap p;
TQString icon = "undo";
- KIconLoader* loader = TDEApplication::kApplication()->iconLoader();
- p= loader->loadIcon(icon, KIcon::Small, 0,
- KIcon::DefaultState, 0, true);
+ TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
+ p= loader->loadIcon(icon, TDEIcon::Small, 0,
+ TDEIcon::DefaultState, 0, true);
if (p.isNull())
str = i18n("(cycle)");
diff --git a/tdecachegrind/tdecachegrind/sourceitem.cpp b/tdecachegrind/tdecachegrind/sourceitem.cpp
index 0d71ef3..6a12186 100644
--- a/tdecachegrind/tdecachegrind/sourceitem.cpp
+++ b/tdecachegrind/tdecachegrind/sourceitem.cpp
@@ -162,9 +162,9 @@ void SourceItem::updateCost()
TQPixmap p;
TQString icon = "undo";
- KIconLoader* loader = TDEApplication::kApplication()->iconLoader();
- p= loader->loadIcon(icon, KIcon::Small, 0,
- KIcon::DefaultState, 0, true);
+ TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader();
+ p= loader->loadIcon(icon, TDEIcon::Small, 0,
+ TDEIcon::DefaultState, 0, true);
if (p.isNull())
str = i18n("(cycle)");