diff options
Diffstat (limited to 'kexi/widget/relations/kexirelationview.cpp')
-rw-r--r-- | kexi/widget/relations/kexirelationview.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/widget/relations/kexirelationview.cpp b/kexi/widget/relations/kexirelationview.cpp index 81ce1382..150ab65f 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(); |