diff options
Diffstat (limited to 'kexi/plugins/queries/kexiquerypart.cpp')
-rw-r--r-- | kexi/plugins/queries/kexiquerypart.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/queries/kexiquerypart.cpp b/kexi/plugins/queries/kexiquerypart.cpp index d0c71eae..02c4ab94 100644 --- a/kexi/plugins/queries/kexiquerypart.cpp +++ b/kexi/plugins/queries/kexiquerypart.cpp @@ -117,20 +117,20 @@ KexiQueryPart::dataSource() return new KexiQueryDataSource(this); } -void KexiQueryPart::initPartActions( KActionCollection *col ) +void KexiQueryPart::initPartActions( TDEActionCollection *col ) { } -void KexiQueryPart::initInstanceActions( int mode, KActionCollection *col ) +void KexiQueryPart::initInstanceActions( int mode, TDEActionCollection *col ) { if (mode==Kexi::DataViewMode) { } else if (mode==Kexi::DesignViewMode) { } else if (mode==Kexi::TextViewMode) { -// new KAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), col, "querypart_check_query"); +// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), col, "querypart_check_query"); -//TODO new KAction(i18n("Execute Query"), "?????", 0, this, TQT_SLOT(checkQuery()), col, "querypart_execute_query"); +//TODO new TDEAction(i18n("Execute Query"), "?????", 0, this, TQT_SLOT(checkQuery()), col, "querypart_execute_query"); } } #endif @@ -141,10 +141,10 @@ void KexiQueryPart::initPartActions() void KexiQueryPart::initInstanceActions() { -// new KAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), +// new TDEAction(i18n("Check Query"), "test_it", 0, this, TQT_SLOT(slotCheckQuery()), // m_instanceGuiClients[Kexi::DesignViewMode]->actionCollection(), "querypart_check_query"); - KAction *a = createSharedAction(Kexi::TextViewMode, i18n("Check Query"), "test_it", + TDEAction *a = createSharedAction(Kexi::TextViewMode, i18n("Check Query"), "test_it", Key_F9, "querypart_check_query"); a->setToolTip(i18n("Check Query")); a->setWhatsThis(i18n("Checks query for validity.")); |