diff options
Diffstat (limited to 'kexi/formeditor/formmanager.cpp')
-rw-r--r-- | kexi/formeditor/formmanager.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/formmanager.cpp b/kexi/formeditor/formmanager.cpp index 4004fcd4..66948abb 100644 --- a/kexi/formeditor/formmanager.cpp +++ b/kexi/formeditor/formmanager.cpp @@ -328,7 +328,7 @@ FormManager::stopInsert() TQT_TQWIDGET(o)->unsetCursor(); #if 0 if( ((TQWidget*)o)->ownCursor()) { - TQMap<TQObject*,TQCursor>::ConstIterator curIt( form->d->cursors.tqfind(o) ); + TQMap<TQObject*,TQCursor>::ConstIterator curIt( form->d->cursors.find(o) ); if (curIt!=form->d->cursors.constEnd()) TQT_TQWIDGET(o)->setCursor( *curIt ); // ((TQWidget*)o)->setCursor( (*(form->d->cursors))[o->name()] ) ; @@ -437,7 +437,7 @@ FormManager::stopCreatingConnection() { TQWidget *w = (TQWidget*)o; if( w->ownCursor()) { - TQMap<TQObject*,TQCursor>::ConstIterator curIt( form->d->cursors.tqfind(o) ); + TQMap<TQObject*,TQCursor>::ConstIterator curIt( form->d->cursors.find(o) ); if (curIt!=form->d->cursors.constEnd()) TQT_TQWIDGET(o)->setCursor( *curIt ); } @@ -595,7 +595,7 @@ FormManager::deleteForm(Form *form) { if (!form) return; - if(m_forms.tqfind(form) == -1) + if(m_forms.find(form) == -1) m_preview.remove(form); else m_forms.remove(form); @@ -898,7 +898,7 @@ FormManager::createContextMenu(TQWidget *w, Container *container, bool popupAtCu separatorNeeded = true; // We create the buddy menu - if(!multiple && w->inherits(TQLABEL_OBJECT_NAME_STRING) && ((TQLabel*)w)->text().tqcontains("&") && (((TQLabel*)w)->textFormat() != RichText)) + if(!multiple && w->inherits(TQLABEL_OBJECT_NAME_STRING) && ((TQLabel*)w)->text().contains("&") && (((TQLabel*)w)->textFormat() != RichText)) { if (separatorNeeded) m_popup->insertSeparator(); @@ -1103,7 +1103,7 @@ FormManager::createLayout(int layoutType) if(list->count() == 1) { ObjectTreeItem *item = m_active->objectTree()->lookup(list->first()->name()); - if(!item || !item->container() || !m_propSet->tqcontains("tqlayout")) + if(!item || !item->container() || !m_propSet->contains("tqlayout")) return; (*m_propSet)["tqlayout"] = Container::layoutTypeToString(layoutType); return; @@ -1493,7 +1493,7 @@ FormManager::emitWidgetSelected( KFormDesigner::Form* form, bool multiple ) WidgetList *wlist = form->selectedWidgets(); bool fontEnabled = false; for (WidgetListIterator it(*wlist); it.current(); ++it) { - if (-1 != it.current()->tqmetaObject()->tqfindProperty("font", true)) { + if (-1 != it.current()->tqmetaObject()->findProperty("font", true)) { fontEnabled = true; break; } |