hello every,
I hope that A inherit from QListBox and QPopupMenu ,but there 's something wrong with it :
souce code :
class spinxList :public QListBox ,public QPopupMenu
{
Q_OBJECT public :
..........
}
class spinxList :public QListBox ,public QPopupMenu
{
Q_OBJECT public :
..........
}
To copy to clipboard, switch view to plain text mode
error :
'QObject ' is an ambiguous base of 'spinxList ',
what can i do to solve this problem ?
another problem :
I learn about that QList is a template class ,it 's items can be of any type .
but I could't find the class QList from QT referrence document ,
is there the template class ?
thank you for your reply !
Bookmarks