[Qt-creator] How does QtCreator support the "private" signals of e.g. QAbstractItemModel

Milian Wolff mail at milianw.de
Fri Aug 30 11:06:42 CEST 2013

Hey there!

I'm wondering how you guys decided for QtCreator to support the "private" 
signals of QAbstractItemModel, such as "rowsAboutToBeInserted". They are 
declared in a section guarded by:

#if !defined(Q_MOC_RUN) && !defined(qdoc)
private: // can only be emitted by QAbstractItemModel

Do you guys define either of these macros while parsing the code? Or do you 
special-case these somehow to still support them as "proper" signals during 
code completion in a connect() statement?

Greetings from the KDevelop land :) In other notes I've played around more 
with our QML support based on your awesome QML/JS work - many thanks!
Milian Wolff
mail at milianw.de

More information about the Qt-creator mailing list