diff options
Diffstat (limited to 'kexi/widget/relations/kexirelationwidget.cpp')
-rw-r--r-- | kexi/widget/relations/kexirelationwidget.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kexi/widget/relations/kexirelationwidget.cpp b/kexi/widget/relations/kexirelationwidget.cpp index e3a2e8b2..2fbda78e 100644 --- a/kexi/widget/relations/kexirelationwidget.cpp +++ b/kexi/widget/relations/kexirelationwidget.cpp @@ -65,7 +65,7 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, m_btnAdd = new KPushButton(i18n("&Add"), this); hlyr->addWidget(m_btnAdd); hlyr->addStretch(1); - connect(m_btnAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddTable())); + connect(m_btnAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddTable())); m_relationView = new KexiRelationView(this, "relation_view"); setViewWidget(m_relationView); @@ -75,19 +75,19 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, //actions m_tableQueryPopup = new TDEPopupMenu(this, "m_popup"); m_tableQueryPopupTitleID = m_tableQueryPopup->insertTitle(SmallIcon("table"), ""); - connect(m_tableQueryPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShowPopupMenu())); + connect(m_tableQueryPopup, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(aboutToShowPopupMenu())); m_connectionPopup = new TDEPopupMenu(this, "m_connectionPopup"); m_connectionPopupTitleID = m_connectionPopup->insertTitle(""); - connect(m_connectionPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShowPopupMenu())); + connect(m_connectionPopup, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(aboutToShowPopupMenu())); m_areaPopup = new TDEPopupMenu(this, "m_areaPopup"); m_openSelectedTableAction = new TDEAction(i18n("&Open Table"), SmallIcon("document-open"), TDEShortcut(), - this, TQT_SLOT(openSelectedTable()), this, "relationsview_openTable"); + this, TQ_SLOT(openSelectedTable()), this, "relationsview_openTable"); m_openSelectedTableAction->plug( m_tableQueryPopup ); m_designSelectedTableAction = new TDEAction(i18n("&Design Table"), SmallIcon("edit"), TDEShortcut(), - this, TQT_SLOT(designSelectedTable()), this, "relationsview_designTable"); + this, TQ_SLOT(designSelectedTable()), this, "relationsview_designTable"); m_designSelectedTableAction->plug( m_tableQueryPopup ); m_tableQueryPopup->insertSeparator(); @@ -95,24 +95,24 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, hide_action->setIconSet(TQIconSet()); plugSharedAction("edit_delete",m_connectionPopup); - plugSharedAction("edit_delete",this, TQT_SLOT(removeSelectedObject())); - - connect(m_relationView, TQT_SIGNAL(tableViewGotFocus()), - this, TQT_SLOT(tableViewGotFocus())); - connect(m_relationView, TQT_SIGNAL(connectionViewGotFocus()), - this, TQT_SLOT(connectionViewGotFocus())); - connect(m_relationView, TQT_SIGNAL(emptyAreaGotFocus()), - this, TQT_SLOT(emptyAreaGotFocus())); - connect(m_relationView, TQT_SIGNAL(tableContextMenuRequest( const TQPoint& )), - this, TQT_SLOT(tableContextMenuRequest( const TQPoint& ))); - connect(m_relationView, TQT_SIGNAL(connectionContextMenuRequest( const TQPoint& )), - this, TQT_SLOT(connectionContextMenuRequest( const TQPoint& ))); - connect(m_relationView, TQT_SIGNAL(tableHidden(KexiDB::TableSchema&)), - this, TQT_SLOT(slotTableHidden(KexiDB::TableSchema&))); - connect(m_relationView, TQT_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*)), - this, TQT_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*))); - connect(m_relationView, TQT_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*)), - this, TQT_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*))); + plugSharedAction("edit_delete",this, TQ_SLOT(removeSelectedObject())); + + connect(m_relationView, TQ_SIGNAL(tableViewGotFocus()), + this, TQ_SLOT(tableViewGotFocus())); + connect(m_relationView, TQ_SIGNAL(connectionViewGotFocus()), + this, TQ_SLOT(connectionViewGotFocus())); + connect(m_relationView, TQ_SIGNAL(emptyAreaGotFocus()), + this, TQ_SLOT(emptyAreaGotFocus())); + connect(m_relationView, TQ_SIGNAL(tableContextMenuRequest( const TQPoint& )), + this, TQ_SLOT(tableContextMenuRequest( const TQPoint& ))); + connect(m_relationView, TQ_SIGNAL(connectionContextMenuRequest( const TQPoint& )), + this, TQ_SLOT(connectionContextMenuRequest( const TQPoint& ))); + connect(m_relationView, TQ_SIGNAL(tableHidden(KexiDB::TableSchema&)), + this, TQ_SLOT(slotTableHidden(KexiDB::TableSchema&))); + connect(m_relationView, TQ_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*)), + this, TQ_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*))); + connect(m_relationView, TQ_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*)), + this, TQ_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*))); #if 0 if(!embedd) @@ -126,7 +126,7 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, #ifdef TESTING_KexiRelationWidget for (int i=0;i<(int)m_db->tableNames().count();i++) - TQTimer::singleShot(100,this,TQT_SLOT(slotAddTable())); + TQTimer::singleShot(100,this,TQ_SLOT(slotAddTable())); #endif invalidateActions(); @@ -171,8 +171,8 @@ KexiRelationWidget::addTable(KexiDB::TableSchema *t, const TQRect &rect) kdDebug() << "KexiRelationWidget::slotAddTable(): adding table " << t->name() << endl; if (!c) return; - connect(c->tableView(), TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), - this, TQT_SLOT(slotTableFieldDoubleClicked(TQListViewItem*,const TQPoint&,int))); + connect(c->tableView(), TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), + this, TQ_SLOT(slotTableFieldDoubleClicked(TQListViewItem*,const TQPoint&,int))); } const TQString tname = t->name().lower(); |