summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-25 01:08:01 +0900
commit2d05a4b0f982db84955a0d8e56357f4e72b70d56 (patch)
treee2655e9b3ac5825218a8c2fe07f4f11bfd0dd6fb /ksim
parentf901ccee3ead0a3be3c9c832038e5c74288a8d3f (diff)
downloadtdeutils-2d05a4b0f982db84955a0d8e56357f4e72b70d56.tar.gz
tdeutils-2d05a4b0f982db84955a0d8e56357f4e72b70d56.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8bba786d188dd896336797f05e0a452e1a01d52b)
Diffstat (limited to 'ksim')
-rw-r--r--ksim/library/chart.cpp2
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp
index 9995769..99eb9c8 100644
--- a/ksim/library/chart.cpp
+++ b/ksim/library/chart.cpp
@@ -373,7 +373,7 @@ void KSim::Chart::setMaxValue(int maxValue)
void KSim::Chart::setValue(int valueIn, int valueOut)
{
- d->values.prepend(tqMakePair(range(valueIn), range(valueOut)));
+ d->values.prepend(qMakePair(range(valueIn), range(valueOut)));
if (d->variableGraphs) {
d->maxValues.prepend(valueIn > valueOut ? valueIn : valueOut);
diff --git a/ksim/monitors/filesystem/ksimfsystem.cpp b/ksim/monitors/filesystem/ksimfsystem.cpp
index 278a891..0a436ed 100644
--- a/ksim/monitors/filesystem/ksimfsystem.cpp
+++ b/ksim/monitors/filesystem/ksimfsystem.cpp
@@ -193,7 +193,7 @@ Fsystem::MountEntryList Fsystem::makeList(const TQStringList &list) const
TQStringList::ConstIterator it;
for (it = list.begin(); it != list.end(); ++it) {
splitList = TQStringList::split(":", (*it));
- newList.append(tqMakePair(splitList[0], splitList[1]));
+ newList.append(qMakePair(splitList[0], splitList[1]));
}
return newList;