/**
* Constructor for root items.
*/
-QG_ListViewItem::QG_ListViewItem(QListWidget * par, const QString & label,
+ListViewItem::ListViewItem(QListWidget * par, const QString & label,
bool open, int id): QListWidgetItem(par)
{
par = 0;
/**
* Constructor for list view items with a folder icon.
*/
-QG_ListViewItem::QG_ListViewItem(QG_ListViewItem * par, const QString & label,
+ListViewItem::ListViewItem(ListViewItem * par, const QString & label,
bool open, int id): QListWidgetItem((QListWidget *)par)
{
this->par = par;
/**
* Opens or closes the item.
*/
-void QG_ListViewItem::setOpen(bool open)
+void ListViewItem::setOpen(bool open)
{
if (open == true)
// setPixmap(0, QPixmap(folderopen_xpm));
/**
* Called in the beginning.
*/
-void QG_ListViewItem::setup()
+void ListViewItem::setup()
{
// Q3ListViewItem::setup();
#warning "!!!"
/**
* Returns the "path" of this item (like: "Project/Page1/Paragraph1/").
*/
-QString QG_ListViewItem::getFullPath()
+QString ListViewItem::getFullPath()
{
QString s;
/**
* Returns the text of the given column of this item.
*/
-QString QG_ListViewItem::text(int column) const
+QString ListViewItem::text(int column) const
{
if (column == 0)
return label;
return "Column1";
}
-QString QG_ListViewItem::getLabel() const
+QString ListViewItem::getLabel() const
{
return label;
}
-void QG_ListViewItem::setId(int id)
+void ListViewItem::setId(int id)
{
this->id = id;
}
-int QG_ListViewItem::getId()
+int ListViewItem::getId()
{
return id;
}