summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetwithsubpropertiesinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/widgetwithsubpropertiesinterface.cpp')
-rw-r--r--kexi/formeditor/widgetwithsubpropertiesinterface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/widgetwithsubpropertiesinterface.cpp b/kexi/formeditor/widgetwithsubpropertiesinterface.cpp
index 83904aa7..0bbb958c 100644
--- a/kexi/formeditor/widgetwithsubpropertiesinterface.cpp
+++ b/kexi/formeditor/widgetwithsubpropertiesinterface.cpp
@@ -45,8 +45,8 @@ void WidgetWithSubpropertiesInterface::setSubwidget(TQWidget *widget)
const int numProperties = tqmetaObject->numProperties();
for (int i = 0; i < numProperties; i++) {
const char *propertyName = tqmetaObject->property( i )->name();
- if (dynamic_cast<TQObject*>(this)->tqmetaObject()->tqfindProperty( propertyName, true )==-1
- && !addedSubproperies.tqfind( propertyName ) )
+ if (dynamic_cast<TQObject*>(this)->tqmetaObject()->findProperty( propertyName, true )==-1
+ && !addedSubproperies.find( propertyName ) )
{
m_subproperies.append( propertyName );
addedSubproperies.insert( propertyName, (char*)1 );
@@ -70,10 +70,10 @@ TQValueList<TQCString> WidgetWithSubpropertiesInterface::subproperies() const
const TQMetaProperty *WidgetWithSubpropertiesInterface::findMetaSubproperty(const char * name) const
{
- if (!m_subwidget || m_subproperies.tqfind(name) == m_subproperies.constEnd()) {
+ if (!m_subwidget || m_subproperies.find(name) == m_subproperies.constEnd()) {
return 0;
}
- const int index = m_subwidget->tqmetaObject()->tqfindProperty( name, true );
+ const int index = m_subwidget->tqmetaObject()->findProperty( name, true );
if (index==-1)
return 0;
return m_subwidget->tqmetaObject()->property( index, true );
@@ -81,7 +81,7 @@ const TQMetaProperty *WidgetWithSubpropertiesInterface::findMetaSubproperty(cons
TQVariant WidgetWithSubpropertiesInterface::subproperty( const char * name, bool &ok ) const
{
- if (!m_subwidget || m_subproperies.tqfind(name) == m_subproperies.constEnd()) {
+ if (!m_subwidget || m_subproperies.find(name) == m_subproperies.constEnd()) {
ok = false;
return TQVariant();
}
@@ -91,7 +91,7 @@ TQVariant WidgetWithSubpropertiesInterface::subproperty( const char * name, bool
bool WidgetWithSubpropertiesInterface::setSubproperty( const char * name, const TQVariant & value )
{
- if (!m_subwidget || m_subproperies.tqfind(name) == m_subproperies.end()) {
+ if (!m_subwidget || m_subproperies.find(name) == m_subproperies.end()) {
return false;
}
return m_subwidget->setProperty( name, value );