Fix inadvertent "TQ" changes.

pull/1/head
Darrell Anderson 11 years ago
parent 17a745854f
commit 874c627875
  1. 2
      src/common/data.h
  2. 2
      src/kcm/configdialog.cpp
  3. 6
      src/knemod/interfacetooltip.cpp

@ -82,7 +82,7 @@ enum ToolTipEnums
FREQUENCY = 0x00004000,
BIT_RATE = 0x00008000,
ACCESS_POINT = 0x00010000,
LINK_TQUALITY = 0x00020000,
LINK_QUALITY = 0x00020000,
BCAST_ADDRESS = 0x00040000,
GATEWAY = 0x00080000,
DOWNLOAD_SPEED = 0x00100000,

@ -1084,7 +1084,7 @@ void ConfigDialog::setupToolTipArray()
mToolTips[18] = TQPair<TQString, int>( i18n( "Frequency" ), FREQUENCY );
mToolTips[19] = TQPair<TQString, int>( i18n( "Bit Rate" ), BIT_RATE );
mToolTips[20] = TQPair<TQString, int>( i18n( "Access Point" ), ACCESS_POINT );
mToolTips[21] = TQPair<TQString, int>( i18n( "Link Quality" ), LINK_TQUALITY );
mToolTips[21] = TQPair<TQString, int>( i18n( "Link Quality" ), LINK_QUALITY );
mToolTips[22] = TQPair<TQString, int>( i18n( "Nickname" ), NICK_NAME );
mToolTips[23] = TQPair<TQString, int>( i18n( "Encryption" ), ENCRYPTION );
mToolTips[24] = TQPair<TQString, int>();

@ -152,7 +152,7 @@ void InterfaceToolTip::setupText( TQString& text )
text += "<tr><td>" + mToolTips[15].first + "</td><td>" + wdata.bitRate + "</td></tr>";
if ( toolTipContent & ACCESS_POINT )
text += "<tr><td>" + mToolTips[16].first + "</td><td>" + wdata.accessPoint + "</td></tr>";
if ( toolTipContent & LINK_TQUALITY )
if ( toolTipContent & LINK_QUALITY )
text += "<tr><td>" + mToolTips[17].first + "</td><td>" + wdata.linkQuality + "</td></tr>";
if ( toolTipContent & NICK_NAME )
text += "<tr><td>" + mToolTips[22].first + "</td><td>" + wdata.nickName + "</td></tr>";
@ -192,9 +192,9 @@ void InterfaceToolTip::setupToolTipArray()
mToolTips[14] = TQPair<TQString, int>( i18n( "Frequency" ), FREQUENCY );
mToolTips[15] = TQPair<TQString, int>( i18n( "Bit Rate" ), BIT_RATE );
mToolTips[16] = TQPair<TQString, int>( i18n( "Access Point" ), ACCESS_POINT );
mToolTips[17] = TQPair<TQString, int>( i18n( "Link Quality" ), LINK_TQUALITY );
mToolTips[17] = TQPair<TQString, int>( i18n( "Link Quality" ), LINK_QUALITY );
mToolTips[18] = TQPair<TQString, int>( i18n( "Broadcast Address" ), BCAST_ADDRESS );
mToolTips[19] = TQPair<TQString, int>( i18n( "Default Gateway" ), LINK_TQUALITY );
mToolTips[19] = TQPair<TQString, int>( i18n( "Default Gateway" ), LINK_QUALITY );
mToolTips[20] = TQPair<TQString, int>( i18n( "Download Speed" ), DOWNLOAD_SPEED );
mToolTips[21] = TQPair<TQString, int>( i18n( "Upload Speed" ), UPLOAD_SPEED );
mToolTips[22] = TQPair<TQString, int>( i18n( "Nickname" ), NICK_NAME );

Loading…
Cancel
Save