QT intellisense question

Posted by uzay95 on Stack Overflow See other posts from Stack Overflow or by uzay95
Published on 2010-06-10T06:34:58Z Indexed on 2010/06/10 8:43 UTC
Read the original article Hit count: 310

Filed under:

in this code:

#include <QApplication>
#include <QPushButton>

int main(int argc,char *argv[])
{
    QApplication app(argc,argv);
    QPushButton *button = new QPushButton("Button Text");
    QObject::connect(button,SIGNAL(clicked()),&app,SLOT(quit()));
    button->show();
    return app.exec();
}

intellisense is appearing when the cursor is in SIGNAL parenthesis to write button event. But it doesn't appear in SLOT parenthesis to write app method ?

is it related with & character in front of app ?

alt text

© Stack Overflow or respective owner

Related posts about qt4