12 #include "taskviewwhatsthis.h" 14 #include <tdelistview.h> 15 #include <tdelocale.h> 17 TaskViewWhatsThis::TaskViewWhatsThis( TQWidget* qw ) 20 _listView=(TDEListView *) qw; 23 TaskViewWhatsThis::~TaskViewWhatsThis() 27 TQString TaskViewWhatsThis::text ( const TQPoint & pos ) 29 TQString desc = TQString(); 30 kdDebug(5970) << "entering TaskViewWhatsThis::text" << endl; 31 kdDebug(5970) << "x-pos:" << pos.x() << endl; 32 if ( pos.x() < _listView->columnWidth( 0 ) ) 34 desc=i18n( "Task Name shows the name of a task or subtask you are working on."); 38 desc=i18n( "Session time: Time for this task since you chose \"Start New Session\".\nTotal Session time: Time for this task and all its subtasks since you chose \"Start New Session\".\nTime: Overall time for this task.\nTotal Time: Overall time for this task and all its subtasks.");
|