|
|
|
@ -131,7 +131,7 @@ void MetaDataBase::setPropertyChanged( TQObject *o, const TQString &property, bo
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -168,7 +168,7 @@ bool MetaDataBase::isPropertyChanged( TQObject *o, const TQString &property )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
@ -181,7 +181,7 @@ TQStringList MetaDataBase::changedProperties( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQStringList();
|
|
|
|
|
}
|
|
|
|
@ -195,7 +195,7 @@ void MetaDataBase::setPropertyComment( TQObject *o, const TQString &property, co
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -208,7 +208,7 @@ TQString MetaDataBase::propertyComment( TQObject *o, const TQString &property )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQString();
|
|
|
|
|
}
|
|
|
|
@ -221,7 +221,7 @@ void MetaDataBase::setFakeProperty( TQObject *o, const TQString &property, const
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -233,7 +233,7 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property)
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQVariant();
|
|
|
|
|
}
|
|
|
|
@ -249,7 +249,7 @@ TQMap<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
@ -263,7 +263,7 @@ void MetaDataBase::setSpacing( TQObject *o, int spacing )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r || !o->isWidgetType() ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -284,7 +284,7 @@ int MetaDataBase::spacing( TQObject *o )
|
|
|
|
|
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
|
|
|
|
|
MetaDataBaseRecord *r = db->find( TQT_TQOBJECT(o) );
|
|
|
|
|
if ( !r || !o->isWidgetType() ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
@ -299,7 +299,7 @@ void MetaDataBase::setMargin( TQObject *o, int margin )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r || !o->isWidgetType() ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -322,7 +322,7 @@ int MetaDataBase::margin( TQObject *o )
|
|
|
|
|
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r || !o->isWidgetType() ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
@ -336,7 +336,7 @@ void MetaDataBase::addConnection( TQObject *o, TQObject *sender, const TQCString
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -354,7 +354,7 @@ void MetaDataBase::removeConnection( TQObject *o, TQObject *sender, const TQCStr
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -376,7 +376,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQValueList<Connection>();
|
|
|
|
|
}
|
|
|
|
@ -389,7 +389,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQValueList<Connection>();
|
|
|
|
|
}
|
|
|
|
@ -411,7 +411,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQValueList<Connection>();
|
|
|
|
|
}
|
|
|
|
@ -432,7 +432,7 @@ void MetaDataBase::doConnections( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -487,7 +487,7 @@ void MetaDataBase::addSlot( TQObject *o, const TQCString &slot, const TQString&
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -512,7 +512,7 @@ void MetaDataBase::setSlotList( TQObject *o, const TQValueList<Slot> &slotList )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -525,7 +525,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQCString &slot, const TQStrin
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -548,7 +548,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQString &slot )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -567,7 +567,7 @@ TQValueList<MetaDataBase::Slot> MetaDataBase::slotList( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQValueList<Slot>();
|
|
|
|
|
}
|
|
|
|
@ -580,7 +580,7 @@ bool MetaDataBase::isSlotUsed( TQObject *o, const TQCString &slot )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
@ -598,7 +598,7 @@ void MetaDataBase::changeSlot( TQObject *o, const TQCString &slot, const TQCStri
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -619,7 +619,7 @@ void MetaDataBase::changeSlotAttributes( TQObject *o, const TQCString &slot,
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -641,7 +641,7 @@ bool MetaDataBase::hasSlot( TQObject *o, const TQCString &slot, bool onlyCustom
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
@ -684,7 +684,7 @@ TQString MetaDataBase::languageOfSlot( TQObject *o, const TQCString &slot )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQString();
|
|
|
|
|
}
|
|
|
|
@ -781,7 +781,7 @@ void MetaDataBase::setTabOrder( TQWidget *w, const TQWidgetList &order )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*) w );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
w, w->name(), w->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -794,7 +794,7 @@ TQWidgetList MetaDataBase::tabOrder( TQWidget *w )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*) w );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
w, w->name(), w->className() );
|
|
|
|
|
return TQWidgetList();
|
|
|
|
|
}
|
|
|
|
@ -807,7 +807,7 @@ void MetaDataBase::setIncludes( TQObject *o, const TQValueList<Include> &incs )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -820,7 +820,7 @@ TQValueList<MetaDataBase::Include> MetaDataBase::includes( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQValueList<Include>();
|
|
|
|
|
}
|
|
|
|
@ -833,7 +833,7 @@ void MetaDataBase::setForwards( TQObject *o, const TQStringList &fwds )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -846,7 +846,7 @@ TQStringList MetaDataBase::forwards( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQStringList();
|
|
|
|
|
}
|
|
|
|
@ -859,7 +859,7 @@ void MetaDataBase::setSignalList( TQObject *o, const TQStringList &sigs )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -892,7 +892,7 @@ TQStringList MetaDataBase::signalList( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQStringList();
|
|
|
|
|
}
|
|
|
|
@ -905,7 +905,7 @@ void MetaDataBase::setMetaInfo( TQObject *o, MetaInfo mi )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -918,7 +918,7 @@ MetaDataBase::MetaInfo MetaDataBase::metaInfo( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return MetaInfo();
|
|
|
|
|
}
|
|
|
|
@ -960,7 +960,7 @@ void MetaDataBase::setCursor( TQWidget *w, const TQCursor &c )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)w );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
w, w->name(), w->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1049,7 +1049,7 @@ void MetaDataBase::setPixmapArgument( TQObject *o, int pixmap, const TQString &a
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1065,7 +1065,7 @@ TQString MetaDataBase::pixmapArgument( TQObject *o, int pixmap )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQString();
|
|
|
|
|
}
|
|
|
|
@ -1080,7 +1080,7 @@ void MetaDataBase::clearPixmapArguments( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1096,7 +1096,7 @@ void MetaDataBase::setPixmapKey( TQObject *o, int pixmap, const TQString &arg )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1112,7 +1112,7 @@ TQString MetaDataBase::pixmapKey( TQObject *o, int pixmap )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQString();
|
|
|
|
|
}
|
|
|
|
@ -1127,7 +1127,7 @@ void MetaDataBase::clearPixmapKeys( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1144,7 +1144,7 @@ void MetaDataBase::setColumnFields( TQObject *o, const TQMap<TQString, TQString>
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1159,7 +1159,7 @@ TQMap<TQString, TQString> MetaDataBase::columnFields( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return TQMap<TQString, TQString>();
|
|
|
|
|
}
|
|
|
|
@ -1189,7 +1189,7 @@ void MetaDataBase::setExportMacro( TQObject *o, const TQString ¯o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -1204,7 +1204,7 @@ TQString MetaDataBase::exportMacro( TQObject *o )
|
|
|
|
|
setupDataBase();
|
|
|
|
|
MetaDataBaseRecord *r = db->find( (void*)o );
|
|
|
|
|
if ( !r ) {
|
|
|
|
|
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
|
|
|
|
|
o, o->name(), o->className() );
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|