1 /***************************************************************************
2 * Copyright (C) 2004 by Kita Developers *
3 * ikemo@users.sourceforge.jp *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #include "listviewitem.h"
15 ListViewItem::ListViewItem(QTreeWidget *parent, QTreeWidgetItem *preceding,
16 const QStringList& strings)
17 : QTreeWidgetItem(parent, preceding)
19 for (int i = 0, j = strings.size(); i < j; i++)
20 setText(i, strings.at(i));
23 ListViewItem::ListViewItem(QTreeWidget *parent, const QStringList& strings)
24 : QTreeWidgetItem(parent, strings)
28 ListViewItem::ListViewItem(QTreeWidgetItem* parent, QTreeWidgetItem *preceding,
29 const QStringList& strings)
30 : QTreeWidgetItem(parent, preceding)
32 for (int i = 0, j = strings.size(); i < j; i++)
33 setText(i, strings.at(i));
36 ListViewItem::ListViewItem(QTreeWidgetItem* parent, const QStringList& strings)
37 : QTreeWidgetItem(parent, strings)