Results 1 to 9 of 9

Thread: qtlist Query

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Qt products
    Qt4 Qt5
    Platforms
    Windows
    Thanks
    92
    Thanked 16 Times in 16 Posts

    Default Re: qtlist Query

    Qt Code:
    1. int i = 0;
    2. while( i < ArrayX.count() ) // ArrayX.size() also gives the total number of items
    3. {
    4. i++;
    5. //
    6. }
    To copy to clipboard, switch view to plain text mode 

    Make sure the ArrayX.count() & ArrayY.count() are equal if you are using values of both the arrays inside while.
    Last edited by rawfool; 13th June 2013 at 15:16.

Similar Threads

  1. sql query problem
    By unix7777 in forum Newbie
    Replies: 10
    Last Post: 29th August 2012, 22:04
  2. QTList Custom class Serlization
    By saravanadel in forum Newbie
    Replies: 12
    Last Post: 20th January 2012, 22:49
  3. unable to run query
    By sachinmcajnu in forum Qt Programming
    Replies: 6
    Last Post: 11th March 2011, 13:14
  4. SQL query
    By JD2000 in forum Newbie
    Replies: 4
    Last Post: 1st December 2009, 15:21
  5. MS SQL Query
    By baray98 in forum General Programming
    Replies: 0
    Last Post: 14th July 2009, 05:25

Tags for this Thread

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.