Results 1 to 4 of 4

Thread: QList<QList > question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QList<QList > question

    I'd recommend not to allocate QLists on the heap in the first place because it's an implicitly shared class. Allocating it on the stack simplifies your code and makes it much less error prone.
    J-P Nurmi

  2. #2
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    2

    Default Re: QList<QList > question

    jpn

    Thank you for your advice, I'll try this.

Similar Threads

  1. SQL Question
    By ^NyAw^ in forum Qt Programming
    Replies: 5
    Last Post: 8th April 2008, 19:36
  2. Access to QSqlTableModel::isDirty Question.
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 12th April 2007, 17:49
  3. Replies: 1
    Last Post: 15th March 2007, 20:45
  4. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 14:38

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.