summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacestatusdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:05 -0600
commit238d438877620ed73915f2360d820cfc0c9131cc (patch)
treeddb04b2506c33b255ac5ac573b13c308a2a1ba96 /src/knemod/interfacestatusdialog.cpp
parenta1a658649b5cdda8bd7a7c4eae583d4dd7e0acf3 (diff)
downloadknemo-238d438877620ed73915f2360d820cfc0c9131cc.tar.gz
knemo-238d438877620ed73915f2360d820cfc0c9131cc.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/knemod/interfacestatusdialog.cpp')
-rw-r--r--src/knemod/interfacestatusdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/knemod/interfacestatusdialog.cpp b/src/knemod/interfacestatusdialog.cpp
index 0569946..d170b88 100644
--- a/src/knemod/interfacestatusdialog.cpp
+++ b/src/knemod/interfacestatusdialog.cpp
@@ -141,8 +141,8 @@ void InterfaceStatusDialog::updateDialog()
textLabelAlias->setText( settings.alias );
if ( data.available )
{
- textLabeltqStatus->setText( i18n( "Connection established." ) );
- int upsecs = mInterface->getStartTime().secsTo( TQDateTime::tqcurrentDateTime() );
+ textLabelStatus->setText( i18n( "Connection established." ) );
+ int upsecs = mInterface->getStartTime().secsTo( TQDateTime::currentDateTime() );
int updays = upsecs / 86400; // don't use TQDateTime::daysTo() because
// we only want complete days
@@ -150,7 +150,7 @@ void InterfaceStatusDialog::updateDialog()
if ( updays == 1 )
uptime = "1 day, ";
else if ( updays > 1 )
- uptime = TQString( "%1 days, " ).tqarg( updays );
+ uptime = TQString( "%1 days, " ).arg( updays );
upsecs -= 86400 * updays; // we only want the seconds of today
int hrs = upsecs / 3600;
@@ -163,12 +163,12 @@ void InterfaceStatusDialog::updateDialog()
}
else if ( data.existing )
{
- textLabeltqStatus->setText( i18n( "Not connected." ) );
+ textLabelStatus->setText( i18n( "Not connected." ) );
textLabelUptime->setText( "00:00:00" );
}
else
{
- textLabeltqStatus->setText( i18n( "Not existing." ) );
+ textLabelStatus->setText( i18n( "Not existing." ) );
textLabelUptime->setText( "00:00:00" );
}