git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1112
56b19765-1e22-0410-a548-
a0f45d66c51a
+2004-05-29 Hideki Ikemoto <ikemo@users.sourceforge.jp>
+
+ * refactoring. >>823
+ * add idou combobox.
+
2004-05-23 Hideki Ikemoto <ikemo@users.sourceforge.jp>
* show unread/read/new thread num.
Kita::Thread* thread = threadList.at( i );
QDateTime since;
- since.setTime_t( KURL( thread->datURL() ).fileName().section( '.', 0, 0 ).toInt() );
+ since.setTime_t( Kita::datToSince( thread->datURL() ) );
int readNum = cache->readNum( thread->datURL() );
int resNum = thread->resNum();
return Board_MachiBBS;
}
}
+
+uint Kita::datToSince( const QString& datURL )
+{
+ return KURL( datURL ).fileName().section( '.', 0, 0 ).toInt();
+}
QString httpToK2ch( const QString& httpURL );
QString unescape( const QString& str );
int boardType( const QString& url );
+ uint datToSince( const QString& datURL );
}
#endif