summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:54:00 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-27 04:12:43 +0200
commitc69bebefb61d1a605c262f4aeded76bdd2d36b74 (patch)
treeb7ee4e8f1a2ca07cf6dc55ce686df9b07664710d /src
parent40d303c15aa2a858e6d3ff99aba9a7952dcd2f4f (diff)
downloadwlassistant-c69bebefb61d1a605c262f4aeded76bdd2d36b74.tar.gz
wlassistant-c69bebefb61d1a605c262f4aeded76bdd2d36b74.zip
Fix inadvertent "TQ" changes.
(cherry picked from commit ba56429ce77d028d6f23cd3a9cec44a7a3f05b52)
Diffstat (limited to 'src')
-rw-r--r--src/netlistviewitem.cpp2
-rw-r--r--src/watools.cpp2
-rw-r--r--src/watools.h2
-rw-r--r--src/wlassistant.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/netlistviewitem.cpp b/src/netlistviewitem.cpp
index b8e0c08..972ae42 100644
--- a/src/netlistviewitem.cpp
+++ b/src/netlistviewitem.cpp
@@ -66,7 +66,7 @@ void NetListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
switch (column) {
- /// DRAW TQUALITY ///
+ /// DRAW QUALITY ///
case mQualityColumn: {
TQPixmap qualityIcon = SmallIcon("knewstuff");
TQPixmap qualityIconGray = KIconEffect().apply( qualityIcon, KIconEffect::ToGray, 1, TQt::black, true );
diff --git a/src/watools.cpp b/src/watools.cpp
index eaaf51f..5814274 100644
--- a/src/watools.cpp
+++ b/src/watools.cpp
@@ -137,7 +137,7 @@ int WATools::quality( const char* _ifname ) ///returns active link quality in ra
unsigned int std_qual = (100*stats.qual.qual)/50; //calculate normalized quality (0-100). 50 is the best noise/signal difference
if (std_qual > 100) std_qual = 100;
-// std::cout << "* TQUALITY: " << std_qual << std::endl;
+// std::cout << "* QUALITY: " << std_qual << std::endl;
return std_qual;
}
diff --git a/src/watools.h b/src/watools.h
index 5e03b8a..4e8f931 100644
--- a/src/watools.h
+++ b/src/watools.h
@@ -50,7 +50,7 @@ public:
static bool isWireless( const char* _ifname ); //returns true if iface is a valid wireless interface
static char* essid( const char* _ifname = 0 ); //returns current ESSID
static char* ap( const char* _ifname = 0 ); //returns current AP
- static int quality( const char* _ifname = 0 ); //returns current TQUALITY
+ static int quality( const char* _ifname = 0 ); //returns current QUALITY
static int txpower( const char* _ifname = 0 ); //returns current TXPOWER
static bool hasKey( const char* _ifname = 0 ); //returns true if WEP key for the specified interface is set
diff --git a/src/wlassistant.cpp b/src/wlassistant.cpp
index 5677de9..a0d8202 100644
--- a/src/wlassistant.cpp
+++ b/src/wlassistant.cpp
@@ -410,7 +410,7 @@ void WirelessAssistant::parseScan( const TQString & output )
} else
hidden=false;
- // GET TQUALITY
+ // GET QUALITY
int wsignal;
//check if driver reports quality directly
qualInt = getVal(section, "Quality\\D+(\\d+)").toInt();