summaryrefslogtreecommitdiffstats
path: root/tdelirc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:56:41 +0900
committerMichele Calgaro <[email protected]>2023-11-25 01:08:01 +0900
commit2d05a4b0f982db84955a0d8e56357f4e72b70d56 (patch)
treee2655e9b3ac5825218a8c2fe07f4f11bfd0dd6fb /tdelirc
parentf901ccee3ead0a3be3c9c832038e5c74288a8d3f (diff)
downloadtdeutils-2d05a4b0f982db84955a0d8e56357f4e72b70d56.tar.gz
tdeutils-2d05a4b0f982db84955a0d8e56357f4e72b70d56.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8bba786d188dd896336797f05e0a452e1a01d52b)
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; }