diff options
Diffstat (limited to 'kexi/main/keximainwindowimpl_p.h')
-rw-r--r-- | kexi/main/keximainwindowimpl_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/main/keximainwindowimpl_p.h b/kexi/main/keximainwindowimpl_p.h index cf5f44c2..974f51c7 100644 --- a/kexi/main/keximainwindowimpl_p.h +++ b/kexi/main/keximainwindowimpl_p.h @@ -105,7 +105,7 @@ public: KexiDialogBase *openedDialogFor( int identifier, PendingJobType &pendingType ) { //todo(threads) TQMutexLocker dialogsLocker( &dialogsMutex ); - TQMap<int, PendingJobType>::ConstIterator it = pendingDialogs.tqfind( identifier ); + TQMap<int, PendingJobType>::ConstIterator it = pendingDialogs.find( identifier ); if (it==pendingDialogs.constEnd()) pendingType = NoJob; else @@ -140,7 +140,7 @@ public: #ifndef KEXI_NO_PENDING_DIALOGS void addItemToPendingDialogs(const KexiPart::Item* item, PendingJobType jobType) { //todo(threads) TQMutexLocker dialogsLocker( &dialogsMutex ); - pendingDialogs.tqreplace( item->identifier(), jobType ); + pendingDialogs.replace( item->identifier(), jobType ); } bool pendingDialogsExist() { @@ -322,7 +322,7 @@ void updatePropEditorDockWidthInfo() { return 0; } TQString key( TQString::number(item->identifier()) + name ); - return dynamic_cast<type*>( m_openedCustomObjectsForItem.tqfind( key.latin1() ) ); + return dynamic_cast<type*>( m_openedCustomObjectsForItem.find( key.latin1() ) ); } void addOpenedCustomObjectForItem(KexiPart::Item* item, TQObject* object, const char* name) @@ -335,16 +335,16 @@ void updatePropEditorDockWidthInfo() { if (!m_findDialog) { m_findDialog = new KexiFindDialog(wnd); m_findDialog->setActions( action_edit_findnext, action_edit_findprev, - action_edit_tqreplace, action_edit_replace_all ); + action_edit_replace, action_edit_replace_all ); /* connect(m_findDialog, TQT_SIGNAL(findNext()), action_edit_findnext, TQT_SLOT(activate())); - connect(m_findDialog, TQT_SIGNAL(tqfind()), wnd, TQT_SLOT(slotEditFindNext())); - connect(m_findDialog, TQT_SIGNAL(tqreplace()), wnd, TQT_SLOT(slotEditReplaceNext())); + connect(m_findDialog, TQT_SIGNAL(find()), wnd, TQT_SLOT(slotEditFindNext())); + connect(m_findDialog, TQT_SIGNAL(replace()), wnd, TQT_SLOT(slotEditReplaceNext())); connect(m_findDialog, TQT_SIGNAL(replaceAll()), wnd, TQT_SLOT(slotEditReplaceAll()));*/ } return m_findDialog; } - /*! Updates the tqfind/replace dialog depending on the active view. + /*! Updates the find/replace dialog depending on the active view. Nothing is performed if the dialog is not instantiated yet or is invisible. */ void updateFindDialogContents(bool createIfDoesNotExist = false) { if (!createIfDoesNotExist && (!m_findDialog || !m_findDialog->isVisible())) @@ -461,8 +461,8 @@ void updatePropEditorDockWidthInfo() { //! edit menu KAction *action_edit_delete, *action_edit_delete_row, *action_edit_cut, *action_edit_copy, *action_edit_paste, - *action_edit_tqfind, *action_edit_findnext, *action_edit_findprev, - *action_edit_tqreplace, *action_edit_replace_all, + *action_edit_find, *action_edit_findnext, *action_edit_findprev, + *action_edit_replace, *action_edit_replace_all, *action_edit_select_all, *action_edit_undo, *action_edit_redo, *action_edit_insert_empty_row, |