Hi,
Why are you using singals and slots? You have access to "m_winA" and "m_winB" pointers that can be used directly:
Qt Code:
public slots: void incoming() { if ((m_count++ % 3) == 0) { m_winA->show(); m_winB->hide(); } else { m_winA->hide(); m_winB->show(); } }To copy to clipboard, switch view to plain text mode




Reply With Quote

Bookmarks