summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:17 -0600
commit493fdb97c241292d1bc5e1304861cecd746ad562 (patch)
treeb14be14da399bbd497f0d5a1aff93c281732afa7 /src
parentdeb642e11a1e24891aab7b7841278f71044caafd (diff)
downloadknetstats-493fdb97c241292d1bc5e1304861cecd746ad562.tar.gz
knetstats-493fdb97c241292d1bc5e1304861cecd746ad562.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src')
-rw-r--r--src/src/configurebase.ui2
-rw-r--r--src/src/knetstats.cpp2
-rw-r--r--src/src/knetstatsview.cpp10
-rw-r--r--src/src/statistics.cpp2
-rw-r--r--src/src/statisticsbase.ui22
5 files changed, 19 insertions, 19 deletions
diff --git a/src/src/configurebase.ui b/src/src/configurebase.ui
index ff2b962..840188c 100644
--- a/src/src/configurebase.ui
+++ b/src/src/configurebase.ui
@@ -596,7 +596,7 @@
<property name="text">
<string>Update interval:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/src/src/knetstats.cpp b/src/src/knetstats.cpp
index 0ed3ee4..b223431 100644
--- a/src/src/knetstats.cpp
+++ b/src/src/knetstats.cpp
@@ -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();
}
diff --git a/src/src/knetstatsview.cpp b/src/src/knetstatsview.cpp
index 8db7154..e1eac4c 100644
--- a/src/src/knetstatsview.cpp
+++ b/src/src/knetstatsview.cpp
@@ -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");
diff --git a/src/src/statistics.cpp b/src/src/statistics.cpp
index 9ac7875..b1025ee 100644
--- a/src/src/statistics.cpp
+++ b/src/src/statistics.cpp
@@ -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 );
diff --git a/src/src/statisticsbase.ui b/src/src/statisticsbase.ui
index 2aea1dc..fa281e0 100644
--- a/src/src/statisticsbase.ui
+++ b/src/src/statisticsbase.ui
@@ -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>