summaryrefslogtreecommitdiffstats
path: root/plugins/upnp/upnpprefwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/upnp/upnpprefwidget.cpp')
-rw-r--r--plugins/upnp/upnpprefwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/upnp/upnpprefwidget.cpp b/plugins/upnp/upnpprefwidget.cpp
index 9b4c453..fba0c34 100644
--- a/plugins/upnp/upnpprefwidget.cpp
+++ b/plugins/upnp/upnpprefwidget.cpp
@@ -73,7 +73,7 @@ namespace kt
void UPnPPrefWidget::addDevice(UPnPRouter* r)
{
connect(r,TQT_SIGNAL(updateGUI()),this,TQT_SLOT(updatePortMappings()));
- KListViewItem* item = new KListViewItem(m_device_list,r->getDescription().friendlyName);
+ TDEListViewItem* item = new TDEListViewItem(m_device_list,r->getDescription().friendlyName);
item->setMultiLinesEnabled(true);
itemmap[item] = r;
// if we have discovered the default device or there is none
@@ -107,7 +107,7 @@ namespace kt
void UPnPPrefWidget::onForwardBtnClicked()
{
- KListViewItem* item = (KListViewItem*)m_device_list->currentItem();;
+ TDEListViewItem* item = (TDEListViewItem*)m_device_list->currentItem();;
if (!item)
return;
@@ -149,7 +149,7 @@ namespace kt
void UPnPPrefWidget::onUndoForwardBtnClicked()
{
- KListViewItem* item = (KListViewItem*)m_device_list->currentItem();;
+ TDEListViewItem* item = (TDEListViewItem*)m_device_list->currentItem();;
if (!item)
return;
@@ -186,11 +186,11 @@ namespace kt
void UPnPPrefWidget::updatePortMappings()
{
// update all port mappings
- TQMap<KListViewItem*,UPnPRouter*>::iterator i = itemmap.begin();
+ TQMap<TDEListViewItem*,UPnPRouter*>::iterator i = itemmap.begin();
while (i != itemmap.end())
{
UPnPRouter* r = i.data();
- KListViewItem* item = i.key();
+ TDEListViewItem* item = i.key();
TQString msg,services;
TQValueList<UPnPRouter::Forwarding>::iterator j = r->beginPortMappings();
while (j != r->endPortMappings())