[Qt-interest] Sorry for a more C++ based Question

Neel Basu neel.basu.z at gmail.com
Tue Mar 17 18:32:30 CET 2009


Sorry for a more C++ based Questions

template <typename T>
class ComponentContainer : public QList<T*>, public QObject{//error:  shadows 
template parm ‘class T’
	Q_OBJECT//error: declaration of ‘class T’

I see the above mentioned errors when compiling the above code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090317/0ccebd05/attachment.html 


More information about the Qt-interest-old mailing list