add: kbDebug() << "save: " << alarmfile;
context: bool readalarms(){  QString alarmfile( locateLocal( "appdata", "xyalarms/knotesalarms") );  QFile file(alarmfile);#ifdef MYDEBUG    printf("save: %s\n",alarmfile.data());#endif  if( !file.open( IO_ReadOnly )) {    return FALSE;  }  QDataStream d(&file);    short int count;  QString sname;  QDateTime sdt;  AlarmEntry *entry;  d >>  count ;  for( int i = 0 ; i < count ; i++){    sname = "";    d >> sname;    d >> sdt;    //    printf("%s\n",sname.data());        entry 	= new AlarmEntry;    entry->name = sname;    entry->dt 	= sdt;    KPostit::AlarmList.append(entry);      }    file.close();  return TRUE;}