[Qt-creator] Wrong red underline

Axel Jäger axel.jaeger at basyskom.de
Thu Nov 6 23:21:01 CET 2008


Why do you use ""  around the slots name?

Am 06.11.2008 um 23:14 schrieb Leo Spalteholz:

> This line is underlined in red even though it compiles just fine:
>
> QTimer::singleShot(0, this, SLOT("nextStop()"));
>
> The error in the tooltip is:  expected token ')' got 'nextStop()'
>
> Leo
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

Axel Jäger
Developer

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 3969-961 | Fax: -736 |
  axel.jaeger at basyskom.de | www.basyskom.de

Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Eva Brucherseifer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20081106/61fc724d/attachment.html 


More information about the Qt-creator-old mailing list