diff options
Diffstat (limited to 'kexi/plugins/tables/kexitabledesignerview.cpp')
-rw-r--r-- | kexi/plugins/tables/kexitabledesignerview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/tables/kexitabledesignerview.cpp b/kexi/plugins/tables/kexitabledesignerview.cpp index 2f6cd21c..0e743bd1 100644 --- a/kexi/plugins/tables/kexitabledesignerview.cpp +++ b/kexi/plugins/tables/kexitabledesignerview.cpp @@ -833,7 +833,7 @@ void KexiTableDesignerView::slotBeforeCellChanged( void KexiTableDesignerView::slotRowUpdated(KexiTableItem *item) { - const int row = d->view->KexiDataAwareObjectInterface::data()->tqfindRef(item); + const int row = d->view->KexiDataAwareObjectInterface::data()->findRef(item); if (row < 0) return; @@ -1155,7 +1155,7 @@ void KexiTableDesignerView::slotAboutToDeleteRow( d->primaryKeyExists = false; if (d->addHistoryCommand_in_slotAboutToDeleteRow_enabled) { - const int row = d->view->KexiDataAwareObjectInterface::data()->tqfindRef(&item); + const int row = d->view->KexiDataAwareObjectInterface::data()->findRef(&item); KoProperty::Set *set = row >=0 ? d->sets->at(row) : 0; //set can be 0 here, what means "removing empty row" addHistoryCommand( @@ -1176,7 +1176,7 @@ KexiDB::Field * KexiTableDesignerView::buildField( const KoProperty::Set &set ) while (it!=values.end()) { const TQString propName( it.key() ); - if (d->internalPropertyNames.tqfind(propName.latin1()) || propName.startsWith("this:") + if (d->internalPropertyNames.find(propName.latin1()) || propName.startsWith("this:") || (/*sanity*/propName=="objectType" && KexiDB::Field::BLOB != KexiDB::intToFieldType( set["type"].value().toInt() ))) { TQMap<TQCString, TQVariant>::Iterator it_tmp = it; @@ -1717,7 +1717,7 @@ void KexiTableDesignerView::insertField(int row, KoProperty::Set& set, bool addC void KexiTableDesignerView::insertFieldInternal(int row, KoProperty::Set* set, //const KexiDB::Field& field, const TQString& caption, bool addCommand) { - if (set && (!set->tqcontains("type") || !set->tqcontains("caption"))) { + if (set && (!set->contains("type") || !set->contains("caption"))) { kexipluginswarn << "KexiTableDesignerView::insertField(): no 'type' or 'caption' property in set!" << endl; return; } @@ -1807,7 +1807,7 @@ void KexiTableDesignerView::changeFieldPropertyForRow( int row, return; KoProperty::Set* set = d->sets->at( row ); - if (!set || !set->tqcontains(propertyName)) + if (!set || !set->contains(propertyName)) return; KoProperty::Property &property = set->property(propertyName); if (listData) { @@ -1896,7 +1896,7 @@ void KexiTableDesignerView::changePropertyVisibility( if (row<0) return; KoProperty::Set* set = d->sets->at( row ); - if (!set || !set->tqcontains(propertyName)) + if (!set || !set->contains(propertyName)) return; KoProperty::Property &property = set->property(propertyName); |