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

QAction * QMenuBar::addSeparator (  ) 

Appends a separator to the menu.

Definition at line 843 of file qmenubar.cpp.

References addAction(), and QAction::setSeparator().

{
    QAction *ret = new QAction(this);
    ret->setSeparator(true);
    addAction(ret);
    return ret;
}


Generated by  Doxygen 1.6.0   Back to index