summaryrefslogtreecommitdiffstats
path: root/src/microsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/microsettings.cpp')
-rw-r--r--src/microsettings.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/microsettings.cpp b/src/microsettings.cpp
index 6790582..f10ca72 100644
--- a/src/microsettings.cpp
+++ b/src/microsettings.cpp
@@ -136,7 +136,7 @@ PinSettings* MicroSettings::pinWithID( const TQString &id )
int MicroSettings::portState( const TQString &port )
{
- if ( microInfo()->package()->portNames().tqfindIndex(port) == -1 ) return -1;
+ if ( microInfo()->package()->portNames().findIndex(port) == -1 ) return -1;
int pinPower = 1;
int num = 0;
@@ -157,7 +157,7 @@ int MicroSettings::portState( const TQString &port )
int MicroSettings::portType( const TQString &port )
{
- if ( microInfo()->package()->portNames().tqfindIndex(port) == -1 ) return -1;
+ if ( microInfo()->package()->portNames().findIndex(port) == -1 ) return -1;
int pinPower = 1;
int num = 0;
@@ -177,7 +177,7 @@ int MicroSettings::portType( const TQString &port )
void MicroSettings::setPortState( const TQString &port, int state )
{
- PortList::iterator plit = m_ports.tqfind(port);
+ PortList::iterator plit = m_ports.find(port);
if ( plit == m_ports.end() ) return;
const PinSettingsList::iterator plitEnd = plit.data().end();
@@ -192,7 +192,7 @@ void MicroSettings::setPortState( const TQString &port, int state )
void MicroSettings::setPortType( const TQString &port, int type )
{
- PortList::iterator plit = m_ports.tqfind(port);
+ PortList::iterator plit = m_ports.find(port);
if ( plit == m_ports.end() ) return;
const PinSettingsList::iterator plitEnd = plit.data().end();
@@ -254,7 +254,7 @@ void MicroSettings::restoreFromMicroData( const MicroData &microData )
void MicroSettings::setVariable( const TQString &name, TQVariant value, bool permanent )
{
if ( name.isNull() ) return;
- VariableMap::iterator it = m_variableMap.tqfind(name);
+ VariableMap::iterator it = m_variableMap.find(name);
if ( it != m_variableMap.end() )
{
it.data().setValue(value);
@@ -287,7 +287,7 @@ TQStringList MicroSettings::variableNames()
VariableInfo* MicroSettings::variableInfo( const TQString &name )
{
if ( name.isNull() ) return 0l;
- VariableMap::iterator it = m_variableMap.tqfind(name);
+ VariableMap::iterator it = m_variableMap.find(name);
if ( it != m_variableMap.end() ) {
return &(it.data());
} else {
@@ -299,7 +299,7 @@ VariableInfo* MicroSettings::variableInfo( const TQString &name )
bool MicroSettings::deleteVariable( const TQString &name )
{
if ( name.isNull() ) return false;
- VariableMap::iterator it = m_variableMap.tqfind(name);
+ VariableMap::iterator it = m_variableMap.find(name);
if ( it != m_variableMap.end() )
{
m_variableMap.erase(it);