diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:31:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:31:14 -0600 |
commit | d9d9fcd64f3fee813d77135b39006023b36bd03c (patch) | |
tree | d8c008bded6285bb228c9137c9c4bfa738d76a72 /knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp | |
parent | 85a5d1c3b24c327809113aeae8e922338749ab82 (diff) | |
download | tdenetworkmanager-d9d9fcd64f3fee813d77135b39006023b36bd03c.tar.gz tdenetworkmanager-d9d9fcd64f3fee813d77135b39006023b36bd03c.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp')
-rw-r--r-- | knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp b/knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp index 219508f..d6431b6 100644 --- a/knetworkmanager-0.9/src/knetworkmanager-device_tray.cpp +++ b/knetworkmanager-0.9/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()); } } |