Hi
I am using a QStringList and wanted to use the documented

indexOf(const QString &str, int from = 0)

method.

My compiler did not like this because Q_NO_USING_KEYWORD is not defined.
I can overcome this by adding the appropriate define in the .pro file -

DEFINES += Q_NO_USING_KEYWORD

However, I do  not fully understand the use of Q_NO_USING_KEYWORD and so am not 
sure if this has any other repercussions?

I would therefore be grateful if someone could explain the use of 
Q_NO_USING_KEYWORD

Thanks in advance
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to