diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:56:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:56:13 +0900 |
commit | b1e66b339befa7bdf222f7bb80a431236a3ff689 (patch) | |
tree | 3ae72987233dbeddeb7fe370ee36dbe36077663c /kdevdesigner/designer/metadatabase.cpp | |
parent | 5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff) | |
download | tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.tar.gz tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/metadatabase.cpp')
-rw-r--r-- | kdevdesigner/designer/metadatabase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/metadatabase.cpp b/kdevdesigner/designer/metadatabase.cpp index 7aa004d7..74d8ef33 100644 --- a/kdevdesigner/designer/metadatabase.cpp +++ b/kdevdesigner/designer/metadatabase.cpp @@ -63,7 +63,7 @@ class MetaDataBaseRecord public: TQObject *object; TQStringList changedProperties; - TQMap<TQString,TQVariant> fakeProperties; + TQStringVariantMap fakeProperties; TQMap<TQString, TQString> propertyComments; int spacing, margin; TQString resizeMode; @@ -271,14 +271,14 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property) o, o->name(), o->className() ); return TQVariant(); } - TQMap<TQString, TQVariant>::Iterator it = r->fakeProperties.find( property ); + TQStringVariantMap::Iterator it = r->fakeProperties.find( property ); if ( it != r->fakeProperties.end() ) return r->fakeProperties[property]; return WidgetFactory::defaultValue( o, property ); } -TQMap<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o ) +TQStringVariantMap* MetaDataBase::fakeProperties( TQObject* o ) { setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); |