diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:09 -0600 |
commit | 49fef1f635f094fd5082e2f2c4a93361d772239e (patch) | |
tree | 3675a4ef5f6579c086582091819d537264f9c20d /src/src/statistics.cpp | |
parent | 1fe9f6854fb9b1a1ebc032e7bd08d469225f8579 (diff) | |
download | knetstats-49fef1f635f094fd5082e2f2c4a93361d772239e.tar.gz knetstats-49fef1f635f094fd5082e2f2c4a93361d772239e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/src/statistics.cpp')
-rw-r--r-- | src/src/statistics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/src/statistics.cpp b/src/src/statistics.cpp index 8af07b4..0a7ae6a 100644 --- a/src/src/statistics.cpp +++ b/src/src/statistics.cpp @@ -25,21 +25,21 @@ #include <kapplication.h> #include <kactivelabel.h> #include <tqtimer.h> -#include <tqlayout.h> +#include <layout.h> 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 ); Chart* chart = new Chart(mChart, parent->speedHistoryTx(), parent->speedHistoryRx(), parent->historyBufferSize(), parent->historyPointer(), parent->maxSpeed()); mMAC->setText(mParent->readInterfaceStringValue("address", 18)); - mIP->tqsetAlignment(TQt::AlignRight); - mMAC->tqsetAlignment(TQt::AlignRight); - mNetmask->tqsetAlignment(TQt::AlignRight); + mIP->setAlignment(TQt::AlignRight); + mMAC->setAlignment(TQt::AlignRight); + mNetmask->setAlignment(TQt::AlignRight); update(); mTimer = new TQTimer( this ); |