summaryrefslogtreecommitdiffstats
path: root/kexi/widget/relations/kexirelationview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/widget/relations/kexirelationview.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1.tar.gz
koffice-e1b37ac1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kexi/widget/relations/kexirelationview.cpp')
-rw-r--r--kexi/widget/relations/kexirelationview.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/widget/relations/kexirelationview.cpp b/kexi/widget/relations/kexirelationview.cpp
index 81ce13823..150ab65f5 100644
--- a/kexi/widget/relations/kexirelationview.cpp
+++ b/kexi/widget/relations/kexirelationview.cpp
@@ -55,7 +55,7 @@ KexiRelationView::KexiRelationView(TQWidget *parent, const char *name)
m_focusedTableView = 0;
setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken);
-// connect(relation, TQT_SIGNAL(relationListUpdated(TQObject *)), this, TQT_SLOT(slotListUpdate(TQObject *)));
+// connect(relation, TQ_SIGNAL(relationListUpdated(TQObject *)), this, TQ_SLOT(slotListUpdate(TQObject *)));
viewport()->setPaletteBackgroundColor(colorGroup().mid());
setFocusPolicy(TQWidget::WheelFocus);
@@ -70,15 +70,15 @@ KexiRelationView::KexiRelationView(TQWidget *parent, const char *name)
plugSharedAction("edit_delete", i18n("Hide Table"), m_tableQueryPopup);
plugSharedAction("edit_delete",m_connectionPopup);
- plugSharedAction("edit_delete",this, TQT_SLOT(removeSelectedObject()));
+ plugSharedAction("edit_delete",this, TQ_SLOT(removeSelectedObject()));
*/
#if 0
m_removeSelectedTableQueryAction = new TDEAction(i18n("&Hide Selected Table/Query"), "edit-delete", "",
- this, TQT_SLOT(removeSelectedTableQuery()), parent->actionCollection(), "relationsview_removeSelectedTableQuery");
+ this, TQ_SLOT(removeSelectedTableQuery()), parent->actionCollection(), "relationsview_removeSelectedTableQuery");
m_removeSelectedConnectionAction = new TDEAction(i18n("&Remove Selected Relationship"), "button_cancel", "",
- this, TQT_SLOT(removeSelectedConnection()), parent->actionCollection(), "relationsview_removeSelectedConnection");
+ this, TQ_SLOT(removeSelectedConnection()), parent->actionCollection(), "relationsview_removeSelectedConnection");
m_openSelectedTableQueryAction = new TDEAction(i18n("&Open Selected Table/Query"), "", "",
- this, TQT_SLOT(openSelectedTableQuery()), 0/*parent->actionCollection()*/, "relationsview_openSelectedTableQuery");
+ this, TQ_SLOT(openSelectedTableQuery()), 0/*parent->actionCollection()*/, "relationsview_openSelectedTableQuery");
#endif
// invalidateActions();
@@ -137,12 +137,12 @@ KexiRelationView::addTableContainer(KexiDB::TableSchema *t, const TQRect &rect)
/*! @todo what about query? */
new KexiDB::TableOrQuerySchema(t)
);
- connect(c, TQT_SIGNAL(endDrag()), this, TQT_SLOT(slotTableViewEndDrag()));
- connect(c, TQT_SIGNAL(gotFocus()), this, TQT_SLOT(slotTableViewGotFocus()));
-// connect(c, TQT_SIGNAL(headerContextMenuRequest(const TQPoint&)),
-// this, TQT_SLOT(tableHeaderContextMenuRequest(const TQPoint&)));
- connect(c, TQT_SIGNAL(contextMenuRequest(const TQPoint&)),
- this, TQT_SIGNAL(tableContextMenuRequest(const TQPoint&)));
+ connect(c, TQ_SIGNAL(endDrag()), this, TQ_SLOT(slotTableViewEndDrag()));
+ connect(c, TQ_SIGNAL(gotFocus()), this, TQ_SLOT(slotTableViewGotFocus()));
+// connect(c, TQ_SIGNAL(headerContextMenuRequest(const TQPoint&)),
+// this, TQ_SLOT(tableHeaderContextMenuRequest(const TQPoint&)));
+ connect(c, TQ_SIGNAL(contextMenuRequest(const TQPoint&)),
+ this, TQ_SIGNAL(tableContextMenuRequest(const TQPoint&)));
addChild(c, 100,100);
if (rect.isValid()) {//predefined size
@@ -195,8 +195,8 @@ KexiRelationView::addTableContainer(KexiDB::TableSchema *t, const TQRect &rect)
m_tables.insert(t->name(), c);
- connect(c, TQT_SIGNAL(moved(KexiRelationViewTableContainer *)), this,
- TQT_SLOT(containerMoved(KexiRelationViewTableContainer *)));
+ connect(c, TQ_SIGNAL(moved(KexiRelationViewTableContainer *)), this,
+ TQ_SLOT(containerMoved(KexiRelationViewTableContainer *)));
if (hasFocus()) //ok?
c->setFocus();