-
Created by Unknown User (jarisav), last modified on 15.2.2010
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
QList
void Dialog::Lista()
{
QString teksti,apu;
int i,j,k;
QLista.append(1);
QLista.append(5);
QLista.insert(1,3);//laitetaan kolme ykkosen jalkeen
j=QLista.count();
// apu.sprintf("%d",j);
//teksti+=apu;
for(i=0;i<j;i++)
{
k=QLista.value(i);
apu.sprintf("%d",k);
teksti+=apu;
}
ui->textEdit->setText(teksti);
.
.
.
You must log in to comment.