]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/listviewitem.cpp
First steps in fixing/cleaning up preview/snapper rendering.
[architektonas] / src / widgets / listviewitem.cpp
index c9baaa29a0843b69c254ee86c0d1eedcc74b870d..f260c9ca0408776a711a0634cde1095096a19fc2 100644 (file)
@@ -21,7 +21,7 @@
 /**
  * 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;
@@ -35,7 +35,7 @@ QG_ListViewItem::QG_ListViewItem(QListWidget * par, const QString & label,
 /**
  * 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;
@@ -50,7 +50,7 @@ QG_ListViewItem::QG_ListViewItem(QG_ListViewItem * par, const QString & label,
 /**
  * Opens or closes the item.
  */
-void QG_ListViewItem::setOpen(bool open)
+void ListViewItem::setOpen(bool open)
 {
        if (open == true)
 //             setPixmap(0, QPixmap(folderopen_xpm));
@@ -69,7 +69,7 @@ void QG_ListViewItem::setOpen(bool open)
 /**
  * Called in the beginning.
  */
-void QG_ListViewItem::setup()
+void ListViewItem::setup()
 {
 //     Q3ListViewItem::setup();
 #warning "!!!"
@@ -79,7 +79,7 @@ void QG_ListViewItem::setup()
 /**
  * Returns the "path" of this item (like: "Project/Page1/Paragraph1/").
  */
-QString QG_ListViewItem::getFullPath()
+QString ListViewItem::getFullPath()
 {
        QString s;
 
@@ -101,7 +101,7 @@ QString QG_ListViewItem::getFullPath()
 /**
  * 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;
@@ -109,17 +109,17 @@ QString QG_ListViewItem::text(int column) const
        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;
 }