summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:37:22 -0600
committerSlávek Banko <[email protected]>2012-07-30 23:30:15 +0200
commit663f2b31dd521c5a68503d61dfb618fc54ca3078 (patch)
treef595ca518520e2e2eb8cf8e73f373c4d9d8d382b /knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp
parent4c7c7b15be1d6c77d350bc9c972f68a91af1a34f (diff)
downloadknetworkmanager8-663f2b31dd521c5a68503d61dfb618fc54ca3078.tar.gz
knetworkmanager8-663f2b31dd521c5a68503d61dfb618fc54ca3078.zip
Remove additional unneeded tq method conversions
(cherry picked from commit aa76ad73287dfdb114ee6959bc633eafdb7470b7)
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp')
-rw-r--r--knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp b/knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp
index 328b01d..7e96886 100644
--- a/knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp
+++ b/knetworkmanager-0.8/src/knetworkmanager-wired_device_tray.cpp
@@ -85,7 +85,7 @@ void WiredDeviceTray::addMenuItems(KPopupMenu* menu)
ConnectionStore* connectionStore = ConnectionStore::getInstance();
// device title
- Subhead* subhead = new Subhead (menu, "subhead", TQString("Wired Connection (%1)").tqarg(d->dev->getInterface()), SmallIcon("wired", TQIconSet::Automatic));
+ Subhead* subhead = new Subhead (menu, "subhead", TQString("Wired Connection (%1)").arg(d->dev->getInterface()), SmallIcon("wired", TQIconSet::Automatic));
menu->insertItem (subhead, -1, -1);
// bolding subhead instead
@@ -121,7 +121,7 @@ void WiredDeviceTray::addMenuItems(KPopupMenu* menu)
{
TQString title = info->getName();
if (ip)
- title += TQString(" (%1)").tqarg(ip->getMethod() == IPv4::METHOD_DHCP ? i18n("DHCP") : i18n("Manual IP config"));
+ title += TQString(" (%1)").arg(ip->getMethod() == IPv4::METHOD_DHCP ? i18n("DHCP") : i18n("Manual IP config"));
NetworkMenuItem* item = new NetworkMenuItem(d->dev, wiredconn, TQT_TQOBJECT(menu));
connectionItems += 1;