|
|
@ -48,7 +48,7 @@ class MetaDataBaseRecord
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
TQObject *object;
|
|
|
|
TQObject *object;
|
|
|
|
TQStringList changedProperties;
|
|
|
|
TQStringList changedProperties;
|
|
|
|
TQMap<TQString,TQVariant> fakeProperties;
|
|
|
|
TQStringVariantMap fakeProperties;
|
|
|
|
TQMap<TQString, TQString> propertyComments;
|
|
|
|
TQMap<TQString, TQString> propertyComments;
|
|
|
|
int spacing, margin;
|
|
|
|
int spacing, margin;
|
|
|
|
TQValueList<MetaDataBase::Connection> connections;
|
|
|
|
TQValueList<MetaDataBase::Connection> connections;
|
|
|
@ -237,14 +237,14 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property)
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
return TQVariant();
|
|
|
|
return TQVariant();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
TQMap<TQString, TQVariant>::Iterator it = r->fakeProperties.find( property );
|
|
|
|
TQStringVariantMap::Iterator it = r->fakeProperties.find( property );
|
|
|
|
if ( it != r->fakeProperties.end() )
|
|
|
|
if ( it != r->fakeProperties.end() )
|
|
|
|
return r->fakeProperties[property];
|
|
|
|
return r->fakeProperties[property];
|
|
|
|
return WidgetFactory::defaultValue( o, property );
|
|
|
|
return WidgetFactory::defaultValue( o, property );
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQMap<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o )
|
|
|
|
TQStringVariantMap* MetaDataBase::fakeProperties( TQObject* o )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
setupDataBase();
|
|
|
|
setupDataBase();
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|