Exemple #1
0
void TabRoom::focusTab() {
    QApplication::setActiveWindow(this);
    tabSupervisor->setCurrentIndex(tabSupervisor->indexOf(this));
    emit maximizeClient();
}
void TabMessage::messageClicked() {
    tabSupervisor->setCurrentIndex(tabSupervisor->indexOf(this));
    QApplication::setActiveWindow(this);
    emit maximizeClient();
}