summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/associationwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/associationwidget.cpp')
-rw-r--r--umbrello/umbrello/associationwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/umbrello/umbrello/associationwidget.cpp b/umbrello/umbrello/associationwidget.cpp
index c0ef19e5..3e565cb6 100644
--- a/umbrello/umbrello/associationwidget.cpp
+++ b/umbrello/umbrello/associationwidget.cpp
@@ -819,7 +819,7 @@ void AssociationWidget::setUMLAssociation (UMLAssociation * assoc)
assoc->nrof_parent_widgets = 0;
assoc->nrof_parent_widgets++;
- connect(assoc, TQT_SIGNAL(modified()), this, TQT_SLOT(syncToModel()));
+ connect(assoc, TQ_SIGNAL(modified()), this, TQ_SLOT(syncToModel()));
}
}
@@ -2248,7 +2248,7 @@ void AssociationWidget::mouseReleaseEvent(TQMouseEvent * me) {
}
m_pMenu = new ListPopupMenu(m_pView, menuType);
m_pMenu->popup(me -> globalPos());
- connect(m_pMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuSelection(int)));
+ connect(m_pMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuSelection(int)));
setSelected();
}//end method mouseReleaseEvent
@@ -3032,7 +3032,7 @@ bool AssociationWidget::onAssociation(const TQPoint & point) {
void AssociationWidget::slotRemovePopupMenu()
{
if(m_pMenu) {
- disconnect(m_pMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuSelection(int)));
+ disconnect(m_pMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuSelection(int)));
delete m_pMenu;
m_pMenu = 0;
}
@@ -3122,15 +3122,15 @@ void AssociationWidget::setUMLObject(UMLObject *obj) {
break;
case Uml::ot_Attribute:
klass = static_cast<UMLClassifier*>(obj->parent());
- connect(klass, TQT_SIGNAL(attributeRemoved(UMLClassifierListItem*)),
- this, TQT_SLOT(slotAttributeRemoved(UMLClassifierListItem*)));
+ connect(klass, TQ_SIGNAL(attributeRemoved(UMLClassifierListItem*)),
+ this, TQ_SLOT(slotAttributeRemoved(UMLClassifierListItem*)));
attr = static_cast<UMLAttribute*>(obj);
- connect(attr, TQT_SIGNAL(attributeChanged()), this, TQT_SLOT(slotAttributeChanged()));
+ connect(attr, TQ_SIGNAL(attributeChanged()), this, TQ_SLOT(slotAttributeChanged()));
break;
case Uml::ot_EntityAttribute:
ent = static_cast<UMLEntity*>(obj->parent());
- connect(ent, TQT_SIGNAL(entityAttributeRemoved(UMLClassifierListItem*)),
- this, TQT_SLOT(slotAttributeRemoved(UMLClassifierListItem*)));
+ connect(ent, TQ_SIGNAL(entityAttributeRemoved(UMLClassifierListItem*)),
+ this, TQ_SLOT(slotAttributeRemoved(UMLClassifierListItem*)));
break;
default:
kError() << "UMLAssociation constructor: cannot associate UMLObject of type "
@@ -3200,8 +3200,8 @@ void AssociationWidget::init (UMLView *view)
m_umldoc = UMLApp::app()->getDocument();
m_LinePath.setAssociation( this );
- connect(m_pView, TQT_SIGNAL(sigRemovePopupMenu()), this, TQT_SLOT(slotRemovePopupMenu()));
- connect(m_pView, TQT_SIGNAL( sigClearAllSelected() ), this, TQT_SLOT( slotClearAllSelected() ) );
+ connect(m_pView, TQ_SIGNAL(sigRemovePopupMenu()), this, TQ_SLOT(slotRemovePopupMenu()));
+ connect(m_pView, TQ_SIGNAL( sigClearAllSelected() ), this, TQ_SLOT( slotClearAllSelected() ) );
}
void AssociationWidget::resetTextPositions() {
@@ -3250,10 +3250,10 @@ UMLOperation *AssociationWidget::getOperation() {
void AssociationWidget::setOperation(UMLOperation *op) {
if (m_pObject)
- disconnect(m_pObject, TQT_SIGNAL(modified()), m_pName, TQT_SLOT(setMessageText()));
+ disconnect(m_pObject, TQ_SIGNAL(modified()), m_pName, TQ_SLOT(setMessageText()));
m_pObject = op;
if (m_pObject)
- connect(m_pObject, TQT_SIGNAL(modified()), m_pName, TQT_SLOT(setMessageText()));
+ connect(m_pObject, TQ_SIGNAL(modified()), m_pName, TQ_SLOT(setMessageText()));
}
UMLClassifier *AssociationWidget::getOperationOwner() {