summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/queries/kexiquerypart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kexi/plugins/queries/kexiquerypart.cpp
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/plugins/queries/kexiquerypart.cpp')
-rw-r--r--kexi/plugins/queries/kexiquerypart.cpp24
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",