Fix inadvertent "TQ" changes.

pull/1/head
Darrell Anderson 12 years ago
parent cae5e038aa
commit ba56429ce7

@ -66,7 +66,7 @@ void NetListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column
switch (column) { switch (column) {
/// DRAW TQUALITY /// /// DRAW QUALITY ///
case mQualityColumn: { case mQualityColumn: {
TQPixmap qualityIcon = SmallIcon("knewstuff"); TQPixmap qualityIcon = SmallIcon("knewstuff");
TQPixmap qualityIconGray = KIconEffect().apply( qualityIcon, KIconEffect::ToGray, 1, TQt::black, true ); TQPixmap qualityIconGray = KIconEffect().apply( qualityIcon, KIconEffect::ToGray, 1, TQt::black, true );

@ -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 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; if (std_qual > 100) std_qual = 100;
// std::cout << "* TQUALITY: " << std_qual << std::endl; // std::cout << "* QUALITY: " << std_qual << std::endl;
return std_qual; return std_qual;
} }

@ -50,7 +50,7 @@ public:
static bool isWireless( const char* _ifname ); //returns true if iface is a valid wireless interface 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* essid( const char* _ifname = 0 ); //returns current ESSID
static char* ap( const char* _ifname = 0 ); //returns current AP 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 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 static bool hasKey( const char* _ifname = 0 ); //returns true if WEP key for the specified interface is set

@ -410,7 +410,7 @@ void WirelessAssistant::parseScan( const TQString & output )
} else } else
hidden=false; hidden=false;
// GET TQUALITY // GET QUALITY
int wsignal; int wsignal;
//check if driver reports quality directly //check if driver reports quality directly
qualInt = getVal(section, "Quality\\D+(\\d+)").toInt(); qualInt = getVal(section, "Quality\\D+(\\d+)").toInt();

Loading…
Cancel
Save