diff options
Diffstat (limited to 'kexi/widget/kexidataawareview.cpp')
-rw-r--r-- | kexi/widget/kexidataawareview.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kexi/widget/kexidataawareview.cpp b/kexi/widget/kexidataawareview.cpp index 6c61009b..893a9103 100644 --- a/kexi/widget/kexidataawareview.cpp +++ b/kexi/widget/kexidataawareview.cpp @@ -45,15 +45,15 @@ void KexiDataAwareView::init( TQWidget* viewWidget, KexiSharedActionClient* acti setViewWidget(m_internalView, true); if (!noDataAware) { - m_dataAwareObject->connectCellSelectedSignal(this, TQT_SLOT(slotCellSelected(int,int))); + m_dataAwareObject->connectCellSelectedSignal(this, TQ_SLOT(slotCellSelected(int,int))); //! before closing - we'are accepting editing - connect(this, TQT_SIGNAL(closing(bool&)), this, TQT_SLOT(slotClosing(bool&))); + connect(this, TQ_SIGNAL(closing(bool&)), this, TQ_SLOT(slotClosing(bool&))); //! updating actions on start/stop editing - m_dataAwareObject->connectRowEditStartedSignal(this, TQT_SLOT(slotUpdateRowActions(int))); - m_dataAwareObject->connectRowEditTerminatedSignal(this, TQT_SLOT(slotUpdateRowActions(int))); - m_dataAwareObject->connectReloadActionsSignal(this, TQT_SLOT(reloadActions())); + m_dataAwareObject->connectRowEditStartedSignal(this, TQ_SLOT(slotUpdateRowActions(int))); + m_dataAwareObject->connectRowEditTerminatedSignal(this, TQ_SLOT(slotUpdateRowActions(int))); + m_dataAwareObject->connectReloadActionsSignal(this, TQ_SLOT(reloadActions())); } TQVBoxLayout *box = new TQVBoxLayout(this); @@ -72,37 +72,37 @@ void KexiDataAwareView::init( TQWidget* viewWidget, KexiSharedActionClient* acti void KexiDataAwareView::initActions() { - plugSharedAction("edit_delete_row", this, TQT_SLOT(deleteCurrentRow())); + plugSharedAction("edit_delete_row", this, TQ_SLOT(deleteCurrentRow())); m_actionClient->plugSharedAction(sharedAction("edit_delete_row")); //for proper shortcut - plugSharedAction("edit_delete", this, TQT_SLOT(deleteAndStartEditCurrentCell())); + plugSharedAction("edit_delete", this, TQ_SLOT(deleteAndStartEditCurrentCell())); m_actionClient->plugSharedAction(sharedAction("edit_delete")); //for proper shortcut - plugSharedAction("edit_edititem", this, TQT_SLOT(startEditOrToggleValue())); + plugSharedAction("edit_edititem", this, TQ_SLOT(startEditOrToggleValue())); m_actionClient->plugSharedAction(sharedAction("edit_edititem")); //for proper shortcut - plugSharedAction("data_save_row", this, TQT_SLOT(acceptRowEdit())); + plugSharedAction("data_save_row", this, TQ_SLOT(acceptRowEdit())); m_actionClient->plugSharedAction(sharedAction("data_save_row")); //for proper shortcut - plugSharedAction("data_cancel_row_changes", this, TQT_SLOT(cancelRowEdit())); + plugSharedAction("data_cancel_row_changes", this, TQ_SLOT(cancelRowEdit())); m_actionClient->plugSharedAction(sharedAction("data_cancel_row_changes")); //for proper shortcut if (m_dataAwareObject->isSortingEnabled()) { - plugSharedAction("data_sort_az", this, TQT_SLOT(sortAscending())); - plugSharedAction("data_sort_za", this, TQT_SLOT(sortDescending())); + plugSharedAction("data_sort_az", this, TQ_SLOT(sortAscending())); + plugSharedAction("data_sort_za", this, TQ_SLOT(sortDescending())); } m_actionClient->plugSharedAction(sharedAction("edit_insert_empty_row")); //for proper shortcut setAvailable("data_sort_az", m_dataAwareObject->isSortingEnabled()); setAvailable("data_sort_za", m_dataAwareObject->isSortingEnabled()); -//! \todo plugSharedAction("data_filter", this, TQT_SLOT(???())); +//! \todo plugSharedAction("data_filter", this, TQ_SLOT(???())); - plugSharedAction("data_go_to_first_record", this, TQT_SLOT(slotGoToFirstRow())); - plugSharedAction("data_go_to_previous_record", this, TQT_SLOT(slotGoToPreviusRow())); - plugSharedAction("data_go_to_next_record", this, TQT_SLOT(slotGoToNextRow())); - plugSharedAction("data_go_to_last_record", this, TQT_SLOT(slotGoToLastRow())); - plugSharedAction("data_go_to_new_record", this, TQT_SLOT(slotGoToNewRow())); + plugSharedAction("data_go_to_first_record", this, TQ_SLOT(slotGoToFirstRow())); + plugSharedAction("data_go_to_previous_record", this, TQ_SLOT(slotGoToPreviusRow())); + plugSharedAction("data_go_to_next_record", this, TQ_SLOT(slotGoToNextRow())); + plugSharedAction("data_go_to_last_record", this, TQ_SLOT(slotGoToLastRow())); + plugSharedAction("data_go_to_new_record", this, TQ_SLOT(slotGoToNewRow())); //! \todo update availability setAvailable("data_go_to_first_record", true); @@ -111,25 +111,25 @@ void KexiDataAwareView::initActions() setAvailable("data_go_to_last_record", true); setAvailable("data_go_to_new_record", true); - plugSharedAction("edit_copy", this, TQT_SLOT(copySelection())); + plugSharedAction("edit_copy", this, TQ_SLOT(copySelection())); m_actionClient->plugSharedAction(sharedAction("edit_copy")); //for proper shortcut - plugSharedAction("edit_cut", this, TQT_SLOT(cutSelection())); + plugSharedAction("edit_cut", this, TQ_SLOT(cutSelection())); m_actionClient->plugSharedAction(sharedAction("edit_cut")); //for proper shortcut - plugSharedAction("edit_paste", this, TQT_SLOT(paste())); + plugSharedAction("edit_paste", this, TQ_SLOT(paste())); m_actionClient->plugSharedAction(sharedAction("edit_paste")); //for proper shortcut -// plugSharedAction("edit_find", this, TQT_SLOT(editFind())); +// plugSharedAction("edit_find", this, TQ_SLOT(editFind())); // m_actionClient->plugSharedAction(sharedAction("edit_find")); //for proper shortcut -// plugSharedAction("edit_findnext", this, TQT_SLOT(editFindNext())); +// plugSharedAction("edit_findnext", this, TQ_SLOT(editFindNext())); // m_actionClient->plugSharedAction(sharedAction("edit_findnext")); //for proper shortcut -// plugSharedAction("edit_findprevious", this, TQT_SLOT(editFindPrevious())); +// plugSharedAction("edit_findprevious", this, TQ_SLOT(editFindPrevious())); // m_actionClient->plugSharedAction(sharedAction("edit_findprev")); //for proper shortcut -//! @todo plugSharedAction("edit_replace", this, TQT_SLOT(editReplace())); +//! @todo plugSharedAction("edit_replace", this, TQ_SLOT(editReplace())); //! @todo m_actionClient->plugSharedAction(sharedAction("edit_replace")); //for proper shortcut // setAvailable("edit_find", true); @@ -188,7 +188,7 @@ void KexiDataAwareView::reloadActions() //warning FIXME Move this to the table part /* kdDebug()<<"INIT ACTIONS***********************************************************************"<<endl; - new TDEAction(i18n("Filter"), "filter", 0, this, TQT_SLOT(filter()), actionCollection(), "tablepart_filter"); + new TDEAction(i18n("Filter"), "filter", 0, this, TQ_SLOT(filter()), actionCollection(), "tablepart_filter"); setXMLFile("kexidatatableui.rc"); */ m_dataAwareObject->contextMenu()->clear(); @@ -200,11 +200,11 @@ void KexiDataAwareView::reloadActions() bool separatorNeeded = true; unplugSharedAction("edit_clear_table"); - plugSharedAction("edit_clear_table", this, TQT_SLOT(deleteAllRows())); + plugSharedAction("edit_clear_table", this, TQ_SLOT(deleteAllRows())); if (m_dataAwareObject->isEmptyRowInsertingEnabled()) { unplugSharedAction("edit_insert_empty_row"); - plugSharedAction("edit_insert_empty_row", m_internalView, TQT_SLOT(insertEmptyRow())); + plugSharedAction("edit_insert_empty_row", m_internalView, TQ_SLOT(insertEmptyRow())); if (separatorNeeded) m_dataAwareObject->contextMenu()->insertSeparator(); plugSharedAction("edit_insert_empty_row", m_dataAwareObject->contextMenu()); |