summaryrefslogtreecommitdiffstats
path: root/plugins/upnp/upnpprefwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:04:44 -0600
commit4ba6286d9eaa3754119526dc1ac3435a341549cb (patch)
tree92749c4fa4e554fd060c8ac9aeb4d1490f05141c /plugins/upnp/upnpprefwidget.cpp
parent2cf12b3b4be272da465791312b82cfcc77704b9d (diff)
downloadktorrent-4ba6286d9eaa3754119526dc1ac3435a341549cb.tar.gz
ktorrent-4ba6286d9eaa3754119526dc1ac3435a341549cb.zip
Rename a number of classes to enhance compatibility with KDE4
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())