git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@623
56b19765-1e22-0410-a548-
a0f45d66c51a
return true;
}
-Board* Board::create( const QString& boardURL, const QString& boardName )
+Board* Board::getByURL( const QString& boardURL, const QString& boardName )
{
if ( m_boardDict == 0 ) {
m_boardDict = new QDict<Board>();
static bool test();
// Factory method
- static Board* create( const QString& boardURL, const QString& boardName = QString::null );
+ static Board* getByURL( const QString& boardURL, const QString& boardName = QString::null );
};
class NullBoard : public Board
{
m_normal = new Board( KURL( "http://pc.2ch.net/linux/"), "Linux" );
- m_share1 = Board::create( "http://pc.2ch.net/linux/", "Linux" );
- m_share2 = Board::create( "http://pc.2ch.net/linux/", "Linux" );
+ m_share1 = Board::getByURL( "http://pc.2ch.net/linux/", "Linux" );
+ m_share2 = Board::getByURL( "http://pc.2ch.net/linux/", "Linux" );
}
void BoardTest::tearDown()