Board::~Board()
{}
-
-const QString& Board::url() const
-{
- return m_boardURL;
-}
-
-const QString& Board::name() const
-{
- return m_boardName;
-}
-
-const QString Board::id() const
-{
- return KURL( m_boardURL ).fileName();
-}
const QString Board::getID( const QString& boardURL )
{
- return Board::getByURL( boardURL )->id();
+ return KURL( boardURL ).fileName();
}
const QPtrList<Thread> Board::getThreadList( const QString& boardURL )
const QString& Board::getName( const QString& boardURL )
{
- return Board::getByURL( boardURL ) ->name();
+ return Board::getByURL( boardURL ) ->m_boardName;
}
void Board::replace( const QString& fromURL, const QString& toURL )
Board();
public:
~Board();
- const QString& url() const;
- const QString& name() const;
- const QString id() const;
static const QString getID( const QString& boardURL );
static void setName( const QString& boardURL, const QString& boardName );