diff options
Diffstat (limited to 'kexi/plugins/queries/kexiquerypart.cpp')
-rw-r--r-- | kexi/plugins/queries/kexiquerypart.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/queries/kexiquerypart.cpp b/kexi/plugins/queries/kexiquerypart.cpp index aad6c992..4882ea9d 100644 --- a/kexi/plugins/queries/kexiquerypart.cpp +++ b/kexi/plugins/queries/kexiquerypart.cpp @@ -79,15 +79,15 @@ KexiQueryPart::createView(TQWidget *parent, KexiDialogBase* dialog, KexiPart::It dialog->mainWin(), parent, "guieditor"); //needed for updating tables combo box: KexiProject *prj = dialog->mainWin()->project(); - connect(prj, TQT_SIGNAL(newItemStored(KexiPart::Item&)), - view, TQT_SLOT(slotNewItemStored(KexiPart::Item&))); - connect(prj, TQT_SIGNAL(itemRemoved(const KexiPart::Item&)), - view, TQT_SLOT(slotItemRemoved(const KexiPart::Item&))); - connect(prj, TQT_SIGNAL(itemRenamed(const KexiPart::Item&, const TQCString&)), - view, TQT_SLOT(slotItemRenamed(const KexiPart::Item&, const TQCString&))); - -// connect(dialog->mainWin()->project(), TQT_SIGNAL(tableCreated(KexiDB::TableSchema&)), -// view, TQT_SLOT(slotTableCreated(KexiDB::TableSchema&))); + connect(prj, TQ_SIGNAL(newItemStored(KexiPart::Item&)), + view, TQ_SLOT(slotNewItemStored(KexiPart::Item&))); + connect(prj, TQ_SIGNAL(itemRemoved(const KexiPart::Item&)), + view, TQ_SLOT(slotItemRemoved(const KexiPart::Item&))); + connect(prj, TQ_SIGNAL(itemRenamed(const KexiPart::Item&, const TQCString&)), + view, TQ_SLOT(slotItemRenamed(const KexiPart::Item&, const TQCString&))); + +// connect(dialog->mainWin()->project(), TQ_SIGNAL(tableCreated(KexiDB::TableSchema&)), +// view, TQ_SLOT(slotTableCreated(KexiDB::TableSchema&))); return view; } else if (viewMode == Kexi::TextViewMode) { @@ -128,9 +128,9 @@ void KexiQueryPart::initInstanceActions( int mode, TDEActionCollection *col ) else if (mode==Kexi::DesignViewMode) { } else if (mode==Kexi::TextViewMode) { -// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), col, "querypart_check_query"); +// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQ_SLOT(slotCheckQuery()), col, "querypart_check_query"); -//TODO new TDEAction(i18n("Execute Query"), "?????", 0, this, TQT_SLOT(checkQuery()), col, "querypart_execute_query"); +//TODO new TDEAction(i18n("Execute Query"), "?????", 0, this, TQ_SLOT(checkQuery()), col, "querypart_execute_query"); } } #endif @@ -141,7 +141,7 @@ void KexiQueryPart::initPartActions() void KexiQueryPart::initInstanceActions() { -// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), +// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQ_SLOT(slotCheckQuery()), // m_instanceGuiClients[Kexi::DesignViewMode]->actionCollection(), "querypart_check_query"); TDEAction *a = createSharedAction(Kexi::TextViewMode, i18n("Check Query"), "test_it", |