summaryrefslogtreecommitdiffstats
path: root/wifi/kwireless
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /wifi/kwireless
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'wifi/kwireless')
-rw-r--r--wifi/kwireless/kwirelesswidget.cpp6
-rw-r--r--wifi/kwireless/linuxwirelesswidget.cpp8
-rw-r--r--wifi/kwireless/propertytable.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/wifi/kwireless/kwirelesswidget.cpp b/wifi/kwireless/kwirelesswidget.cpp
index 77e20128..86bb6ed7 100644
--- a/wifi/kwireless/kwirelesswidget.cpp
+++ b/wifi/kwireless/kwirelesswidget.cpp
@@ -50,7 +50,7 @@ float DeviceInfo::quality()
TQString DeviceInfo::qualityString()
{
- return i18n("%1%").arg(TQString::number(m_quality*100, 'f', 0));
+ return i18n("%1%").tqarg(TQString::number(m_quality*100, 'f', 0));
}
float DeviceInfo::signal()
@@ -60,7 +60,7 @@ float DeviceInfo::signal()
TQString DeviceInfo::signalString()
{
- return i18n("%1%").arg(TQString::number(m_signal*100, 'f', 0));
+ return i18n("%1%").tqarg(TQString::number(m_signal*100, 'f', 0));
}
float DeviceInfo::noise()
@@ -70,7 +70,7 @@ float DeviceInfo::noise()
TQString DeviceInfo::noiseString()
{
- return i18n("%1%").arg(TQString::number(m_noise*100, 'f', 0));
+ return i18n("%1%").tqarg(TQString::number(m_noise*100, 'f', 0));
}
const TQString& DeviceInfo::device()
diff --git a/wifi/kwireless/linuxwirelesswidget.cpp b/wifi/kwireless/linuxwirelesswidget.cpp
index 3efdbf98..02b7e217 100644
--- a/wifi/kwireless/linuxwirelesswidget.cpp
+++ b/wifi/kwireless/linuxwirelesswidget.cpp
@@ -187,7 +187,7 @@ void LinuxWireLessWidget::poll()
if(updateNeeded)
{
emit(updateDeviceInfo(&deviceInfo));
- repaint(false);
+ tqrepaint(false);
}
if(updateToolTip)
{
@@ -199,9 +199,9 @@ void LinuxWireLessWidget::poll()
if (!text.isEmpty())
text.append('\n');
text += i18n("%1: Link Quality %2, Bitrate: %3")
- .arg(info->device())
- .arg(info->qualityString())
- .arg(info->bitrateString());
+ .tqarg(info->device())
+ .tqarg(info->qualityString())
+ .tqarg(info->bitrateString());
}
TQToolTip::add(this, text);
diff --git a/wifi/kwireless/propertytable.cpp b/wifi/kwireless/propertytable.cpp
index 79fcbe89..7c73b1c2 100644
--- a/wifi/kwireless/propertytable.cpp
+++ b/wifi/kwireless/propertytable.cpp
@@ -11,7 +11,7 @@
#include <tqcombobox.h>
#include <tqtimer.h>
#include <tqptrlist.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kdialogbase.h>
#include <klocale.h>
#include "propertytable.h"