DatInfo* DatManager::getDatInfo(bool checkCached) const
{
/* search */
- /* create and enroll instance */
+ /* create and record instance */
return (m_searchDatInfo != 0)
- ? m_searchDatInfo : enrollDatInfo(checkCached);
+ ? m_searchDatInfo : recordDatInfo(checkCached);
}
DatInfo* DatManager::searchDatInfo() const
{
if (m_datUrl.isEmpty())
- return 0; /* This url is not enrolled in BoardManager. */
+ return 0; /* This url is not recorded in BoardManager. */
if (m_datInfoList.isEmpty())
return 0;
}
-/* create and enroll the instance of DatInfo and delete old instances.
+/* create and record the instance of DatInfo and delete old instances.
Note that DatInfo::DatInfo() opens cached data and reads it. */
/* private */
-DatInfo* DatManager::enrollDatInfo(bool checkCached) const
+DatInfo* DatManager::recordDatInfo(bool checkCached) const
{
if (m_datUrl.isEmpty())
- return 0; /* This url is not enrolled in BoardManager. */
+ return 0; /* This url is not recorded in BoardManager. */
/* create DatInfo & read cached data */
DatInfo* datInfo = new DatInfo(m_datUrl);
/* public */
-bool DatManager::isThreadEnrolled() const
+bool DatManager::isThreadRecorded() const
{
return !m_datUrl.isEmpty();
}