Results 1 to 7 of 7

Thread: QList problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QList problem

    Quote Originally Posted by acix
    I didnt know well that there was a difference between:
    Qt Code:
    1. const void function();
    To copy to clipboard, switch view to plain text mode 
    This marks the value returned as non-mutable (or "unmodifiable", "constant" -- you can't change its value).

    Qt Code:
    1. void function() const;
    To copy to clipboard, switch view to plain text mode 
    anyway thanks again for guiding me!
    This marks that the method doesn't modify the calling object ("this").

  2. The following user says thank you to wysota for this useful post:

    acix (29th April 2006)

  3. #2
    Join Date
    Feb 2006
    Posts
    12
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QList problem

    Thanks wysota for clarifying, I do get the difference now
    I Think therefore I Code...

Similar Threads

  1. QList, copy problems
    By Valheru in forum Qt Programming
    Replies: 4
    Last Post: 5th February 2010, 00:06
  2. QList problem
    By lvi in forum Qt Programming
    Replies: 3
    Last Post: 25th August 2008, 18:22
  3. Weird problem: multithread QT app kills my linux
    By Ishark in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:12
  4. problem with QList
    By dreamer in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2008, 13:08
  5. QList index out of range problem
    By MarkoSan in forum Qt Programming
    Replies: 2
    Last Post: 26th March 2008, 08:40

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.