QTfrontend/teamselhelper.cpp
changeset 1475 bab5650fc894
parent 1440 6439fa9af904
child 1477 001a52a108ed
equal deleted inserted replaced
1474:8817adb86da6 1475:bab5650fc894
    80 
    80 
    81 	QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));
    81 	QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));
    82 	//QObject::connect(bText, SIGNAL(clicked()), this, SLOT(activateTeam()));
    82 	//QObject::connect(bText, SIGNAL(clicked()), this, SLOT(activateTeam()));
    83 }
    83 }
    84 
    84 
    85 void TeamShowWidget::setNonInteractive()
    85 void TeamShowWidget::setInteractivity(bool interactive)
    86 {
    86 {
    87   if(m_team.isNetTeam()) {
    87 	if(m_team.isNetTeam()) {
    88     disconnect(butt, SIGNAL(clicked()));
    88 		butt->setEnabled(interactive);
    89    // disconnect(bText, SIGNAL(clicked()));
    89 	}
    90   }
    90 	
    91   disconnect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor()));
    91 	colorButt->setEnabled(interactive);
    92   phhoger->setNonInteractive();
    92 	//phhoger->setNonInteractive();
       
    93 	phhoger->setEnabled(interactive);
    93 }
    94 }
    94 
    95 
    95 void TeamShowWidget::setHHNum(unsigned int num)
    96 void TeamShowWidget::setHHNum(unsigned int num)
    96 {
    97 {
    97   phhoger->setHHNum(num);
    98   phhoger->setHHNum(num);