summaryrefslogtreecommitdiffstats
path: root/kommander/editor/metadatabase.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 16:21:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 16:21:25 +0900
commitf70ffdc41a6ed134fd2efceac60eeae1c61df0f0 (patch)
tree6e035102924832c99cd6d111bc453ac1b9545911 /kommander/editor/metadatabase.cpp
parent845e845efe87d0f1d3ecb60a42a0b8e33bc873b1 (diff)
downloadtdewebdev-f70ffdc41a6ed134fd2efceac60eeae1c61df0f0.tar.gz
tdewebdev-f70ffdc41a6ed134fd2efceac60eeae1c61df0f0.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/editor/metadatabase.cpp')
-rw-r--r--kommander/editor/metadatabase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp
index 23e97618..c84e1159 100644
--- a/kommander/editor/metadatabase.cpp
+++ b/kommander/editor/metadatabase.cpp
@@ -48,7 +48,7 @@ class MetaDataBaseRecord
public:
TQObject *object;
TQStringList changedProperties;
- TQMap<TQString,TQVariant> fakeProperties;
+ TQStringVariantMap fakeProperties;
TQMap<TQString, TQString> propertyComments;
int spacing, margin;
TQValueList<MetaDataBase::Connection> connections;
@@ -237,14 +237,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 );