コミットメタ情報

リビジョンc8b1651a51a1d62d10225224ccc351396ef32087 (tree)
日時2010-02-12 22:21:23
作者nogu <nogu@user...>
コミッターnogu

ログメッセージ

Make BoardDatabase::getBoardData(url) private

BoardDatabase::getBoardData(const KUrl& url) is called only in BoardDatabase.

変更サマリ

差分

--- a/src/libkita/boarddatabase.cpp
+++ b/src/libkita/boarddatabase.cpp
@@ -488,7 +488,7 @@ bool BoardDatabase::isEnrolled()
488488 return getBoardData() != 0;
489489 }
490490
491-/* public */
491+/* private */
492492 BoardData* BoardDatabase::getBoardData(const KUrl& url)
493493 {
494494 if (url.isEmpty())
--- a/src/libkita/boarddatabase.h
+++ b/src/libkita/boarddatabase.h
@@ -47,7 +47,6 @@ namespace Kita {
4747 int enrollBoard(const QString& boardName, QString& oldUrl,
4848 int type = Board_Unknown, bool test = false);
4949 bool isEnrolled();
50- BoardData* getBoardData(const KUrl& url);
5150 BoardData* getBoardData();
5251
5352 /* BBSHISTORY */
@@ -56,6 +55,7 @@ namespace Kita {
5655
5756 private:
5857 /* BoardData */
58+ BoardData* getBoardData(const KUrl& url);
5959 int parseBoardUrl(int type, QString& hostname,
6060 QString& rootPath, QString& delimiter,
6161 QString& bbsPath, QString& ext);
旧リポジトリブラウザで表示