Logo Search packages:      
Sourcecode: qt4-x11 version File versions

InformationWindow * View::findWindow ( int  id  )  [private]

[7]

[8]

Definition at line 166 of file view.cpp.

References QList< T >::begin(), QList< T >::end(), InformationWindow::id(), and QWidget::window().

Referenced by showInformation().

{
    QList<InformationWindow*>::iterator i, beginning, end;

    beginning = informationWindows.begin();
    end = informationWindows.end();

    for (i = beginning; i != end; ++i) {
        InformationWindow *window = (*i);
        if (window && (window->id() == id))
            return window;
    }
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index