summaryrefslogtreecommitdiffstats
path: root/src/libgui/project_manager_ui.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/libgui/project_manager_ui.cpp
parentb42d04f596e5440b17d954ba9e24d55368030120 (diff)
downloadpiklab-6f617c4181afa90f3eba14139d4f92eb98834899.tar.gz
piklab-6f617c4181afa90f3eba14139d4f92eb98834899.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/libgui/project_manager_ui.cpp')
-rw-r--r--src/libgui/project_manager_ui.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libgui/project_manager_ui.cpp b/src/libgui/project_manager_ui.cpp
index 2d2bd15..2a230b9 100644
--- a/src/libgui/project_manager_ui.cpp
+++ b/src/libgui/project_manager_ui.cpp
@@ -23,8 +23,8 @@ void PopupMenu::insertItem(const TQString &icon, const TQString &label, TQObject
{
KIconLoader loader;
TQPixmap pixmap = loader.loadIcon(icon, KIcon::Small);
- if (receiver) KPopupMenu::insertItem(pixmap, label, receiver, slot, 0, _index);
- else KPopupMenu::insertItem(pixmap, label, _index);
+ if (receiver) TDEPopupMenu::insertItem(pixmap, label, receiver, slot, 0, _index);
+ else TDEPopupMenu::insertItem(pixmap, label, _index);
_index++;
}
@@ -47,7 +47,7 @@ ProjectManager::Group ProjectManager::group(PURL::FileType type)
return ViewGroup;
}
-ProjectManager::RootItem::RootItem(KListView *listview)
+ProjectManager::RootItem::RootItem(TDEListView *listview)
: UrlItem(listview)
{
setSelectable(false);
@@ -65,7 +65,7 @@ void ProjectManager::RootItem::set(const PURL::Url &url, bool standalone)
}
ProjectManager::HeaderItem::HeaderItem(RootItem *item, Group group)
- : KListViewItem(item), _group(group)
+ : TDEListViewItem(item), _group(group)
{
if ( group!=DeviceGroup) setSelectable(false);
setText(0, i18n(GROUP_LABELS[group]));
@@ -115,11 +115,11 @@ void ProjectManager::FileItem::paintCell(TQPainter *p, const TQColorGroup &cg,
TQFont f = p->font();
f.setItalic(group(_ftype)!=ViewGroup && _external);
p->setFont(f);
- KListViewItem::paintCell(p, cg, column, width, align);
+ TDEListViewItem::paintCell(p, cg, column, width, align);
}
ProjectManager::RegisterItem::RegisterItem(HeaderItem *item)
- : KListViewItem(item)
+ : TDEListViewItem(item)
{
KIconLoader loader;
TQPixmap chip = loader.loadIcon("piklab_chip", KIcon::Small);