diff options
Diffstat (limited to 'karm/mainwindow.cpp')
-rw-r--r-- | karm/mainwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 8307dd1f7..eb6bd4fa9 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -63,8 +63,8 @@ MainWindow::MainWindow( const TQString &icsfile ) this, TQT_SLOT(slotSelectionChanged())); connect( _taskView, TQT_SIGNAL( updateButtons() ), this, TQT_SLOT(slotSelectionChanged())); - connect( _taskView, TQT_SIGNAL( seStatusBar( TQString ) ), - this, TQT_SLOT(seStatusBar( TQString ))); + connect( _taskView, TQT_SIGNAL( setStatusBar( TQString ) ), + this, TQT_SLOT(setStatusBar( TQString ))); loadGeometry(); @@ -134,7 +134,7 @@ void MainWindow::slotSelectionChanged() // actionAddComment->setEnabled( on ); //} -void MainWindow::seStatusBar(TQString qs) +void MainWindow::setStatusBar(TQString qs) { statusBar()->message(i18n(qs.ascii())); } @@ -202,10 +202,10 @@ void MainWindow::updateStatusBar( ) TQString time; time = formatTime( _sessionSum ); - statusBar()->changeItem( i18n("Session: %1").tqarg(time), 0 ); + statusBar()->changeItem( i18n("Session: %1").arg(time), 0 ); time = formatTime( _totalSum ); - statusBar()->changeItem( i18n("Total: %1" ).tqarg(time), 1); + statusBar()->changeItem( i18n("Total: %1" ).arg(time), 1); } void MainWindow::starStatusBar() @@ -610,7 +610,7 @@ int MainWindow::bookTime TQString MainWindow::getError( int mkb ) const { if ( mkb <= KARM_MAX_ERROR_NO ) return m_error[ mkb ]; - else return i18n( "Invalid error number: %1" ).tqarg( mkb ); + else return i18n( "Invalid error number: %1" ).arg( mkb ); } int MainWindow::totalMinutesForTaskId( const TQString& taskId ) |