Remove additional unneeded tq method conversions

(cherry picked from commit 493fdb97c2)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 04ce0d30b5
commit 896272b890

@ -596,7 +596,7 @@
<property name="text"> <property name="text">
<string>Update interval:</string> <string>Update interval:</string>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>WordBreak|AlignVCenter</set> <set>WordBreak|AlignVCenter</set>
</property> </property>
</widget> </widget>

@ -184,7 +184,7 @@ bool KNetStats::createInterface(const TQString& name) {
Interface* interface = new Interface(this, name); Interface* interface = new Interface(this, name);
mInterfaces.insert(name, interface); mInterfaces.insert(name, interface);
if (!mBoot) if (!mBoot)
interface->say(i18n("New interface detected: %1").tqarg(name)); interface->say(i18n("New interface detected: %1").arg(name));
return interface->isVisible(); return interface->isVisible();
} }

@ -89,7 +89,7 @@ KNetStatsView::KNetStatsView(KNetStats* parent, const TQString& interface)
mTimer = new TQTimer(this, "timer"); mTimer = new TQTimer(this, "timer");
connect(mTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateStats(void))); connect(mTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateStats(void)));
TQToolTip::add(this, i18n("Monitoring %1").tqarg(mInterface)); TQToolTip::add(this, i18n("Monitoring %1").arg(mInterface));
setup(); setup();
mStatistics = new Statistics(this); mStatistics = new Statistics(this);
} }
@ -149,10 +149,10 @@ void KNetStatsView::updateStats() {
mConnected = false; mConnected = false;
resetBuffers(); resetBuffers();
TQWidget::update(); TQWidget::update();
say(i18n("%1 is inactive").tqarg(mInterface)); say(i18n("%1 is inactive").arg(mInterface));
} else if (currentStatus && !mConnected) { } else if (currentStatus && !mConnected) {
mConnected = true; mConnected = true;
say(i18n("%1 is active").tqarg(mInterface)); say(i18n("%1 is active").arg(mInterface));
} }
// kernel < 2.6.9 (I think) does not have carrier info, considering carrier ever on. // kernel < 2.6.9 (I think) does not have carrier info, considering carrier ever on.
@ -169,12 +169,12 @@ void KNetStatsView::updateStats() {
if (mCarrier) { if (mCarrier) {
mCarrier = false; mCarrier = false;
TQWidget::update(); TQWidget::update();
say(i18n("%1 is disconnected").tqarg(mInterface)); say(i18n("%1 is disconnected").arg(mInterface));
} }
return; return;
} else if (!mCarrier) { // carrier up } else if (!mCarrier) { // carrier up
mCarrier = true; mCarrier = true;
say(i18n("%1 is connected").tqarg(mInterface)); say(i18n("%1 is connected").arg(mInterface));
} }
unsigned int brx = readInterfaceNumValue("rx_bytes"); unsigned int brx = readInterfaceNumValue("rx_bytes");

@ -31,7 +31,7 @@
Statistics::Statistics( KNetStatsView* parent, const char *name ) Statistics::Statistics( KNetStatsView* parent, const char *name )
: StatisticsBase( parent, name ), mInterface(parent->interface()), mParent(parent) { : StatisticsBase( parent, name ), mInterface(parent->interface()), mParent(parent) {
setCaption( i18n( "Details of %1" ).tqarg( mInterface ) ); setCaption( i18n( "Details of %1" ).arg( mInterface ) );
TQBoxLayout* l = new TQHBoxLayout( mChart ); TQBoxLayout* l = new TQHBoxLayout( mChart );
l->setAutoAdd( true ); l->setAutoAdd( true );

@ -86,7 +86,7 @@
<property name="text"> <property name="text">
<string>? KB/s</string> <string>? KB/s</string>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -102,7 +102,7 @@
<property name="text"> <property name="text">
<string>0 KB/s</string> <string>0 KB/s</string>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -184,7 +184,7 @@
<property name="name"> <property name="name">
<cstring>mPktSpeedRx</cstring> <cstring>mPktSpeedRx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -200,7 +200,7 @@
<property name="name"> <property name="name">
<cstring>mPRx</cstring> <cstring>mPRx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -208,7 +208,7 @@
<property name="name"> <property name="name">
<cstring>mByteSpeedTx</cstring> <cstring>mByteSpeedTx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -216,7 +216,7 @@
<property name="name"> <property name="name">
<cstring>mBTx</cstring> <cstring>mBTx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -224,7 +224,7 @@
<property name="name"> <property name="name">
<cstring>mPTx</cstring> <cstring>mPTx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -232,7 +232,7 @@
<property name="name"> <property name="name">
<cstring>mPktSpeedTx</cstring> <cstring>mPktSpeedTx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -240,7 +240,7 @@
<property name="name"> <property name="name">
<cstring>mBRx</cstring> <cstring>mBRx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -248,7 +248,7 @@
<property name="name"> <property name="name">
<cstring>mByteSpeedRx</cstring> <cstring>mByteSpeedRx</cstring>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter|AlignRight</set> <set>AlignVCenter|AlignRight</set>
</property> </property>
</widget> </widget>
@ -403,7 +403,7 @@
<property name="text"> <property name="text">
<string></string> <string></string>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignVCenter</set> <set>AlignVCenter</set>
</property> </property>
</widget> </widget>

Loading…
Cancel
Save