Results 1 to 4 of 4

Thread: Regarding syntax

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Aug 2009
    Location
    Greece, Chania
    Posts
    63
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanked 11 Times in 11 Posts

    Default Re: Regarding syntax

    This is a C++ issue about constructors that every basic C++ book covers this topic.
    When you call the constructor of FileItem, it will call the constructor inherited from QListViewItem passing the given arguments. Also you got the constructor for QPixmap initializing it to 0. This is what those lines are doing.
    Misha R.evolution - High level Debugging IDE

    Programming is about 2 basic principles: KISS and RTFM!!!

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

    Yayati.Ekbote (27th January 2010)

Similar Threads

  1. QListWidget syntax highlight
    By Ken_Afford in forum Qt Programming
    Replies: 1
    Last Post: 22nd January 2010, 15:54
  2. Need help getting QAbstractItemView syntax correct
    By Hookem in forum Qt Programming
    Replies: 3
    Last Post: 4th December 2008, 09:34
  3. Odd Syntax
    By acxdotfm in forum Qt Programming
    Replies: 2
    Last Post: 24th October 2008, 20:23
  4. StyleSheet syntax checking
    By MarkoSan in forum Qt Programming
    Replies: 5
    Last Post: 30th June 2008, 10:09
  5. QPaintEvent syntax question
    By last2kn0 in forum Newbie
    Replies: 5
    Last Post: 25th January 2008, 20:36

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.