@ -820,16 +820,16 @@ void TaskView::clipTotals()
i18n ( " Copy This Task " ) , i18n ( " Copy All Tasks " ) ) ;
i18n ( " Copy This Task " ) , i18n ( " Copy All Tasks " ) ) ;
if ( response = = KMessageBox : : Yes ) // This task only
if ( response = = KMessageBox : : Yes ) // This task only
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : TotalTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : TotalTime ) ) ;
}
}
else // All tasks
else // All tasks
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , false , TimeKard : : TotalTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , false , TimeKard : : TotalTime ) ) ;
}
}
}
}
else
else
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : TotalTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : TotalTime ) ) ;
}
}
}
}
@ -844,16 +844,16 @@ void TaskView::clipSession()
i18n ( " Copy This Task " ) , i18n ( " Copy All Tasks " ) ) ;
i18n ( " Copy This Task " ) , i18n ( " Copy All Tasks " ) ) ;
if ( response = = KMessageBox : : Yes ) // this task only
if ( response = = KMessageBox : : Yes ) // this task only
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : SessionTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : SessionTime ) ) ;
}
}
else // only task
else // only task
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , false , TimeKard : : SessionTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , false , TimeKard : : SessionTime ) ) ;
}
}
}
}
else
else
{
{
K Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : SessionTime ) ) ;
TDE Application: : clipboard ( ) - > setText ( t . totalsAsText ( this , true , TimeKard : : SessionTime ) ) ;
}
}
}
}
@ -863,7 +863,7 @@ void TaskView::clipHistory()
if ( dialog . exec ( ) = = TQDialog : : Accepted )
if ( dialog . exec ( ) = = TQDialog : : Accepted )
{
{
TimeKard t ;
TimeKard t ;
K Application: : clipboard ( ) - >
TDE Application: : clipboard ( ) - >
setText ( t . historyAsText ( this , dialog . from ( ) , dialog . to ( ) , ! dialog . allTasks ( ) , dialog . perWeek ( ) , dialog . totalsOnly ( ) ) ) ;
setText ( t . historyAsText ( this , dialog . from ( ) , dialog . to ( ) , ! dialog . allTasks ( ) , dialog . perWeek ( ) , dialog . totalsOnly ( ) ) ) ;
}
}
}
}