rem: m->setCategory(i,QString::fromLatin1(categoryNames[i]));
add: m->setCategoryName(i,QString::fromLatin1(categoryNames[i]));
context: QStringList listCategories(){	QStringList cats;	PilotLocalDatabase *l = new PilotLocalDatabase(SOURCE "/data/MemoDB");	PilotMemoInfo *m = new PilotMemoInfo(l);	if (!l->isDBOpen()) return cats;	cats.append(CSL1("Unfiled"));	m->dump();	for (int i=0; i<20; i++)	{		PilotRecord *r = l->readRecordByIndex(i);		kdDebug() << "Read record " << (void *)r << " with id=" << r->id() << endl;		if (!r) break;	}	for (int i=0; i<4; i++)	{		QString s = m->category(i);		kdDebug() << "Category " << i << ": " << (s.isEmpty() ? CSL1("<empty>") : s) << endl;		cats.append(s);/*		if (i<((sizeof(categoryNames) / sizeof(categoryNames[0]))))			m->setCategory(i,QString::fromLatin1(categoryNames[i]));*/	}	m->write(l);	delete m;	delete l;	return cats;}