Ejemplo n.º 1
0
void Window_trigger::init()
{
    kdDebug(1217) << "Window_trigger::init()" << endl;
    connect(windows_handler, SIGNAL(window_added(WId)), this, SLOT(window_added(WId)));
    connect(windows_handler, SIGNAL(window_removed(WId)), this, SLOT(window_removed(WId)));
    if(window_actions & (WINDOW_ACTIVATES | WINDOW_DEACTIVATES /*| WINDOW_DISAPPEARS*/))
        connect(windows_handler, SIGNAL(active_window_changed(WId)), this, SLOT(active_window_changed(WId)));
    connect(windows_handler, SIGNAL(window_changed(WId, unsigned int)), this, SLOT(window_changed(WId, unsigned int)));
}
Ejemplo n.º 2
0
void WindowsHandler::window_removed_slot( WId window_P )
    {
    if( signals_enabled )
        emit window_removed( window_P );
    if( window_P == _action_window )
        _action_window = 0;
    }
Ejemplo n.º 3
0
void Existing_window_condition::init()
    {
    connect( windows_handler, TQT_SIGNAL( window_added( WId )), this, TQT_SLOT( window_added( WId )));
    connect( windows_handler, TQT_SIGNAL( window_removed( WId )), this, TQT_SLOT( window_removed( WId )));
    }