summaryrefslogtreecommitdiffstats
path: root/tdelirc
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-24 10:56:41 +0900
commit8bba786d188dd896336797f05e0a452e1a01d52b (patch)
tree51963cb8a377c60f3e95d199dc25e9885680e37f /tdelirc
parent6deb3b43d145638070e9b7ad77eb9a10f4d3a72e (diff)
downloadtdeutils-8bba786d188dd896336797f05e0a452e1a01d52b.tar.gz
tdeutils-8bba786d188dd896336797f05e0a452e1a01d52b.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdelirc')
-rw-r--r--tdelirc/tdelirc/profileserver.cpp2
-rw-r--r--tdelirc/tdelirc/prototype.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdelirc/tdelirc/profileserver.cpp b/tdelirc/tdelirc/profileserver.cpp
index ba39442..1239b18 100644
--- a/tdelirc/tdelirc/profileserver.cpp
+++ b/tdelirc/tdelirc/profileserver.cpp
@@ -124,7 +124,7 @@ bool Profile::startElement(const TQString &, const TQString &, const TQString &n
curPAA->setType(attributes.value("type"));
}
else if(name == "range" && curPAA)
- curPAA->setRange(tqMakePair(attributes.value("min").toInt(), attributes.value("max").toInt()));
+ curPAA->setRange(qMakePair(attributes.value("min").toInt(), attributes.value("max").toInt()));
charBuffer = "";
return true;
diff --git a/tdelirc/tdelirc/prototype.h b/tdelirc/tdelirc/prototype.h
index fa101b7..3c86025 100644
--- a/tdelirc/tdelirc/prototype.h
+++ b/tdelirc/tdelirc/prototype.h
@@ -30,7 +30,7 @@ class Prototype
public:
unsigned count() const{ return theTypes.count(); }
- const TQPair<TQString, TQString> operator[](int i) const { return tqMakePair(theTypes[i], theNames[i]); }
+ const TQPair<TQString, TQString> operator[](int i) const { return qMakePair(theTypes[i], theNames[i]); }
const TQString &name(int i) const { return theNames[i]; }
const TQString &type(int i) const { return theTypes[i]; }
const TQString &returnType() const { return theReturn; }