summaryrefslogtreecommitdiffstats
path: root/src/variant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variant.cpp')
-rw-r--r--src/variant.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/variant.cpp b/src/variant.cpp
index 940eb6e..bfeafa9 100644
--- a/src/variant.cpp
+++ b/src/variant.cpp
@@ -47,7 +47,7 @@ void Variant::setType( Type::Value type )
void Variant::appendAllowed(TQString string)
{
- if ( !m_allowed.tqcontains(string) ) {
+ if ( !m_allowed.contains(string) ) {
m_allowed.append(string);
}
}
@@ -61,7 +61,7 @@ void Variant::setAllowed(TQStringList stringList)
const TQStringList::iterator end = stringList.end();
for ( TQStringList::iterator it = stringList.begin(); it != end; ++it )
{
- if ( !m_allowed.tqcontains(*it) ) {
+ if ( !m_allowed.contains(*it) ) {
m_allowed.append(*it);
}
}