Remove additional unneeded tq method conversions

pull/1/head
Timothy Pearson 13 years ago
parent deb642e11a
commit 493fdb97c2

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

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

@ -89,7 +89,7 @@ KNetStatsView::KNetStatsView(KNetStats* parent, const TQString& interface)
mTimer = new TQTimer(this, "timer");
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();
mStatistics = new Statistics(this);
}
@ -149,10 +149,10 @@ void KNetStatsView::updateStats() {
mConnected = false;
resetBuffers();
TQWidget::update();
say(i18n("%1 is inactive").tqarg(mInterface));
say(i18n("%1 is inactive").arg(mInterface));
} else if (currentStatus && !mConnected) {
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.
@ -169,12 +169,12 @@ void KNetStatsView::updateStats() {
if (mCarrier) {
mCarrier = false;
TQWidget::update();
say(i18n("%1 is disconnected").tqarg(mInterface));
say(i18n("%1 is disconnected").arg(mInterface));
}
return;
} else if (!mCarrier) { // carrier up
mCarrier = true;
say(i18n("%1 is connected").tqarg(mInterface));
say(i18n("%1 is connected").arg(mInterface));
}
unsigned int brx = readInterfaceNumValue("rx_bytes");

@ -31,7 +31,7 @@
Statistics::Statistics( KNetStatsView* parent, const char *name )
: 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 );
l->setAutoAdd( true );

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

Loading…
Cancel
Save