2004-04-22 Hideki Ikemoto <ikemo@users.sourceforge.jp>
* background rendering.
+ * mark the new thread & make the priority of over 1000 thread
+ into the minimum.
(thanks >>421)
2004-04-20 Hideki Ikemoto <ikemo@users.sourceforge.jp>
* src/kitathreadview.{cpp, h}, src/kitawritedialog.{cpp, h},
src/kitathreadviewbase.ui, src/kitawritedialogbase.ui:
- merge from k2ch.
+ merge from k2ch.
following features were merged.
- text highlight
- search text & jump
- - context menu
- - 'sage' button
+ - context menu
+ - 'sage' button
2003-03-16 Hideki Ikemoto <ikemo@users.sourceforge.jp>
{
setActiveWindow();
topLevelWidget() ->raise();
+ QDateTime currentdat = QDateTime::currentDateTime();
// reset member variables.
// FIXME: FavoriteListView::update()¤Ë¥³¥Ô¡¼
item->setText( Col_DatURL, thread->datURL() );
// FIXME: updateThread¤Ë¥³¥Ô¡¼¤·¤Æ¤¤¤ë
+ // TODO: 'N'¤Î¥¢¥¤¥³¥ó¤òºîÀ®
+ /*
+ Í¥Àè½ç°Ì
+ 0: ´ûÆɤÇ1000Ķ¤¨¤Æ¤¤¤ë¤â¤Î
+ 1: ̤¼èÆÀ¤Ç1Æü°Ê¾å·Ð¤Ã¤Æ¤¤¤ë¤â¤Î
+ 2: ̤¼èÆÀ¤Ç1Æü°ÊÆâ¤Î¤â¤Î
+ 3: ´ûÆɤÇ1000°Ê²¼¤Î¤â¤Î
+ 4: ̤Æɤ¢¤ê
+ */
if ( readNum > 0 && resNum != readNum ) {
// ̤Æɤ¢¤ê
item->setPixmap( Col_Mark, SmallIcon( "unread" ) );
- item->setText( Col_MarkOrder, "2" );
+ item->setText( Col_MarkOrder, "4" );
} else if ( readNum > 0 ) {
// ´ûÆÉ
item->setPixmap( Col_Mark, SmallIcon( "read" ) );
- item->setText( Col_MarkOrder, "1" );
+ if( readNum > 1000 ) {
+ item->setText( Col_MarkOrder, "0" );
+ } else {
+ item->setText( Col_MarkOrder, "3" );
+ }
+ } else if ( since.secsTo( currentdat ) < 3600*24 ){
+ item->setText( Col_Mark, "N" );
+ item->setText( Col_MarkOrder, "2" );
} else {
- item->setText( Col_MarkOrder, "0" );
+ item->setText( Col_MarkOrder, "1" );
}
}