summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:24 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:24 -0600
commit43b12e2e89ff2531ae5af4103346a793348a4e1d (patch)
tree2f15b9c17d62ee6c131990e8607e7e9bf138f027 /knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp
parentdef182a745c9f7c9f91600c31d133389d0d59b82 (diff)
downloadknetworkmanager8-43b12e2e89ff2531ae5af4103346a793348a4e1d.tar.gz
knetworkmanager8-43b12e2e89ff2531ae5af4103346a793348a4e1d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit def182a745c9f7c9f91600c31d133389d0d59b82.
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp')
-rw-r--r--knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp b/knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp
index 1b13f8d..9bf44ed 100644
--- a/knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp
+++ b/knetworkmanager-0.8/src/knetworkmanager-wireless_device_tray.cpp
@@ -25,7 +25,7 @@
// TQt includes
#include <tqevent.h>
#include <tqvbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqbitmap.h>
#include <tqimage.h>
@@ -83,7 +83,7 @@ TQStringList WirelessDeviceTray::getToolTipText()
AccessPoint * ap = d->dev->getActiveAccessPoint();
if (ap)
- tooltip.append(i18n("Network: %1").arg(ap->getDisplaySsid()));
+ tooltip.append(i18n("Network: %1").tqarg(ap->getDisplaySsid()));
return tooltip;
}
@@ -250,7 +250,7 @@ void WirelessDeviceTray::addMenuItems(KPopupMenu* menu)
TQT_DBusError err;
// device title
- Subhead* subhead = new Subhead (menu, "subhead", TQString("Wireless Connection (%1)").arg(d->dev->getInterface()), SmallIcon("wireless", TQIconSet::Automatic));
+ Subhead* subhead = new Subhead (menu, "subhead", TQString("Wireless Connection (%1)").tqarg(d->dev->getInterface()), SmallIcon("wireless", TQIconSet::Automatic));
menu->insertItem (subhead, -1, -1);
// bolding subhead instead