From d98fea1f859d23e1b1220a65d7a8eda3b757fd08 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/devices/mem24/xml/mem24_xml_to_data.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/mem24/xml') diff --git a/src/devices/mem24/xml/mem24_xml_to_data.cpp b/src/devices/mem24/xml/mem24_xml_to_data.cpp index d38d669..81fd7bb 100644 --- a/src/devices/mem24/xml/mem24_xml_to_data.cpp +++ b/src/devices/mem24/xml/mem24_xml_to_data.cpp @@ -45,8 +45,8 @@ virtual void processDevice(TQDomElement device) virtual void checkPins(const TQMap &pinLabels) const { - if ( !pinLabels.tqcontains("VCC") ) qFatal("No VDD pin specified"); - if ( !pinLabels.tqcontains("VSS") ) qFatal("No VSS pin specified"); + if ( !pinLabels.contains("VCC") ) qFatal("No VDD pin specified"); + if ( !pinLabels.contains("VSS") ) qFatal("No VSS pin specified"); TQMap::const_iterator it; for (it=pinLabels.begin(); it!=pinLabels.end(); ++it) if ( it.data()!=1 ) qFatal(TQString("Duplicated pin %1").tqarg(it.key())); -- cgit v1.2.1