summaryrefslogtreecommitdiffstats
path: root/src/common/gui/list_container.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:05:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:05:21 -0600
commit6f617c4181afa90f3eba14139d4f92eb98834899 (patch)
tree8b1b3f1b1834eeca086e1b6948e926d726f3b025 /src/common/gui/list_container.cpp
parentb42d04f596e5440b17d954ba9e24d55368030120 (diff)
downloadpiklab-6f617c4181afa90f3eba14139d4f92eb98834899.tar.gz
piklab-6f617c4181afa90f3eba14139d4f92eb98834899.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/common/gui/list_container.cpp')
-rw-r--r--src/common/gui/list_container.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/gui/list_container.cpp b/src/common/gui/list_container.cpp
index 234cdf2..372904e 100644
--- a/src/common/gui/list_container.cpp
+++ b/src/common/gui/list_container.cpp
@@ -10,7 +10,7 @@
//----------------------------------------------------------------------------
PopupContainer::PopupContainer(const TQString &title, TQWidget *parent, const char *name)
- : KPopupMenu(parent, name)
+ : TDEPopupMenu(parent, name)
{
if ( !title.isEmpty() ) insertTitle(title);
}
@@ -41,14 +41,14 @@ void PopupContainer::appendItem(const TQPixmap &icon, const TQString &label, uin
}
//----------------------------------------------------------------------------
-ListViewItemContainer::ListViewItemContainer(const TQString &title, KListView *parent)
- : KListViewItem(parent, title), _parent(0), _column(0)
+ListViewItemContainer::ListViewItemContainer(const TQString &title, TDEListView *parent)
+ : TDEListViewItem(parent, title), _parent(0), _column(0)
{
_ids = new TQMap<const TQListViewItem *, uint>;
}
ListViewItemContainer::ListViewItemContainer(const TQString &title, ListViewItemContainer *parent)
- : KListViewItem(parent, title), _parent(parent), _column(0)
+ : TDEListViewItem(parent, title), _parent(parent), _column(0)
{
_ids = parent->_ids;
}
@@ -74,7 +74,7 @@ void ListViewItemContainer::appendItem(const TQPixmap &icon, const TQString &tit
{
TQListViewItem *item = 0;
if ( state==Normal || state==Disabled ) {
- item = new KListViewItem(this);
+ item = new TDEListViewItem(this);
item->setText(_column, title);
} else {
item = new TQCheckListItem(this, title, TQCheckListItem::CheckBox);