diff options
Diffstat (limited to 'kdelirc/kdelirc/profileserver.cpp')
-rw-r--r-- | kdelirc/kdelirc/profileserver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdelirc/kdelirc/profileserver.cpp b/kdelirc/kdelirc/profileserver.cpp index 7a72c4d..d95c5d5 100644 --- a/kdelirc/kdelirc/profileserver.cpp +++ b/kdelirc/kdelirc/profileserver.cpp @@ -66,7 +66,7 @@ void Profile::loadFromFile(const TQString &fileName) curPAA = 0; TQFile xmlFile(fileName); - TQXmlInputSource source(&xmlFile); + TQXmlInputSource source(TQT_TQIODEVICE(&xmlFile)); TQXmlSimpleReader reader; reader.setContentHandler(this); reader.parse(source); @@ -84,7 +84,7 @@ const TQString &ProfileServer::getServiceName(const TQString &appId) const { if(theProfiles[appId]) return theProfiles[appId]->serviceName(); - return TQString::null; + return TQString(); } const ProfileAction *ProfileServer::getAction(const TQString &appId, const TQString &objId, const TQString &prototype) const @@ -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(qMakePair(attributes.value("min").toInt(), attributes.value("max").toInt())); + curPAA->setRange(tqMakePair(attributes.value("min").toInt(), attributes.value("max").toInt())); charBuffer = ""; return true; |