diff options
Diffstat (limited to 'kexi/widget/relations/kexirelationwidget.cpp')
| -rw-r--r-- | kexi/widget/relations/kexirelationwidget.cpp | 30 | 
1 files changed, 15 insertions, 15 deletions
diff --git a/kexi/widget/relations/kexirelationwidget.cpp b/kexi/widget/relations/kexirelationwidget.cpp index 94d813480..e3a2e8b2d 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()), TQT_TQOBJECT(this), TQT_SLOT(slotAddTable())); +	connect(m_btnAdd, TQT_SIGNAL(clicked()), this, TQT_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()), TQT_TQOBJECT(this), TQT_SLOT(aboutToShowPopupMenu())); +	connect(m_tableQueryPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShowPopupMenu()));  	m_connectionPopup = new TDEPopupMenu(this, "m_connectionPopup");  	m_connectionPopupTitleID = m_connectionPopup->insertTitle(""); -	connect(m_connectionPopup, TQT_SIGNAL(aboutToShow()), TQT_TQOBJECT(this), TQT_SLOT(aboutToShowPopupMenu())); +	connect(m_connectionPopup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(aboutToShowPopupMenu()));  	m_areaPopup = new TDEPopupMenu(this, "m_areaPopup");  	m_openSelectedTableAction = new TDEAction(i18n("&Open Table"), SmallIcon("document-open"), TDEShortcut(), -		TQT_TQOBJECT(this), TQT_SLOT(openSelectedTable()), TQT_TQOBJECT(this), "relationsview_openTable"); +		this, TQT_SLOT(openSelectedTable()), this, "relationsview_openTable");  	m_openSelectedTableAction->plug( m_tableQueryPopup );  	m_designSelectedTableAction = new TDEAction(i18n("&Design Table"), SmallIcon("edit"), TDEShortcut(), -		TQT_TQOBJECT(this), TQT_SLOT(designSelectedTable()), TQT_TQOBJECT(this), "relationsview_designTable"); +		this, TQT_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",TQT_TQOBJECT(this), TQT_SLOT(removeSelectedObject())); +	plugSharedAction("edit_delete",this, TQT_SLOT(removeSelectedObject()));  	connect(m_relationView, TQT_SIGNAL(tableViewGotFocus()), -		TQT_TQOBJECT(this), TQT_SLOT(tableViewGotFocus())); +		this, TQT_SLOT(tableViewGotFocus()));  	connect(m_relationView, TQT_SIGNAL(connectionViewGotFocus()), -		TQT_TQOBJECT(this), TQT_SLOT(connectionViewGotFocus())); +		this, TQT_SLOT(connectionViewGotFocus()));  	connect(m_relationView, TQT_SIGNAL(emptyAreaGotFocus()), -		TQT_TQOBJECT(this), TQT_SLOT(emptyAreaGotFocus())); +		this, TQT_SLOT(emptyAreaGotFocus()));  	connect(m_relationView, TQT_SIGNAL(tableContextMenuRequest( const TQPoint& )), -		TQT_TQOBJECT(this), TQT_SLOT(tableContextMenuRequest( const TQPoint& ))); +		this, TQT_SLOT(tableContextMenuRequest( const TQPoint& )));  	connect(m_relationView, TQT_SIGNAL(connectionContextMenuRequest( const TQPoint& )), -		TQT_TQOBJECT(this), TQT_SLOT(connectionContextMenuRequest( const TQPoint& ))); +		this, TQT_SLOT(connectionContextMenuRequest( const TQPoint& )));  	connect(m_relationView, TQT_SIGNAL(tableHidden(KexiDB::TableSchema&)), -		TQT_TQOBJECT(this), TQT_SLOT(slotTableHidden(KexiDB::TableSchema&))); +		this, TQT_SLOT(slotTableHidden(KexiDB::TableSchema&)));  	connect(m_relationView, TQT_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*)), -		TQT_TQOBJECT(this), TQT_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*))); +		this, TQT_SIGNAL(tablePositionChanged(KexiRelationViewTableContainer*)));  	connect(m_relationView, TQT_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*)), -		TQT_TQOBJECT(this), TQT_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*))); +		this, TQT_SIGNAL(aboutConnectionRemove(KexiRelationViewConnection*)));  #if 0  	if(!embedd) @@ -172,7 +172,7 @@ KexiRelationWidget::addTable(KexiDB::TableSchema *t, const TQRect &rect)  		if (!c)  			return;  		connect(c->tableView(), TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint&,int)), -			TQT_TQOBJECT(this), TQT_SLOT(slotTableFieldDoubleClicked(TQListViewItem*,const TQPoint&,int))); +			this, TQT_SLOT(slotTableFieldDoubleClicked(TQListViewItem*,const TQPoint&,int)));  	}  	const TQString tname = t->name().lower();  | 
