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

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

[7]

[8]

Definition at line 164 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;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index