Results 1 to 5 of 5

Thread: multiinherit trouble? ....template QList

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Location
    nanjing China
    Posts
    19
    Qt products
    Qt3
    Platforms
    Unix/X11
    Thanks
    3

    Default multiinherit trouble? ....template QList

    hello every,
    I hope that A inherit from QListBox and QPopupMenu ,but there 's something wrong with it :

    souce code :

    Qt Code:
    1. class spinxList :public QListBox ,public QPopupMenu
    2. {
    3. Q_OBJECT public :
    4. ..........
    5. }
    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 !
    Last edited by wysota; 27th October 2006 at 11:04. Reason: missing [code] tags
    It is the same old story of not being grateful for what we have until we lose it..........

Similar Threads

  1. Accessing QList Objects
    By magikalpnoi in forum Qt Programming
    Replies: 7
    Last Post: 21st September 2006, 21:43

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.