summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:11 -0600
commitdef182a745c9f7c9f91600c31d133389d0d59b82 (patch)
treec8f5139c2aea2bd36b8540a37a6a3ca6410e45b8 /knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp
parent8232572e677b7a1d86d9fa0ce1ccac8efb09ce0d (diff)
downloadknetworkmanager8-def182a745c9f7c9f91600c31d133389d0d59b82.tar.gz
knetworkmanager8-def182a745c9f7c9f91600c31d133389d0d59b82.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp')
-rw-r--r--knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp b/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp
index 219508f..d6431b6 100644
--- a/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp
+++ b/knetworkmanager-0.8/src/knetworkmanager-device_tray.cpp
@@ -27,7 +27,7 @@ class WirelessDialog;
// TQt includes
#include <tqevent.h>
#include <tqvbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqbitmap.h>
#include <tqimage.h>
@@ -102,7 +102,7 @@ TQString DeviceTray::getTooltipText()
TQString tooltip = TQString();
if (!d->tooltips[state].isEmpty())
- tooltip += i18n("State: %1").tqarg(d->tooltips[state]);
+ tooltip += i18n("State: %1").arg(d->tooltips[state]);
return tooltip;
}
@@ -266,7 +266,7 @@ void DeviceTray::updateActiveConnection(NMDeviceState state)
{
Info* info = dynamic_cast<Info*>(active_conn->getSetting(NM_SETTING_CONNECTION_SETTING_NAME));
if (info)
- info->setTimestamp(TQDateTime::tqcurrentDateTime());
+ info->setTimestamp(TQDateTime::currentDateTime());
}
}