QListViewItem

crazyroot <[email protected]> Fri, 27 Oct 2006 11:24:58 +0200
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Hi,

I have listView on form , and I want to add data from array trough 
foreach loop. The code looks like this:

   my $item = Qt::ListViewItem(listView1, undef);
         foreach $line (@array) {

                        $item->setText(0, trUtf8("$line"));
    }

  but, this add's only last record from array.

Help please.