Commit MetaInfo

修订版657002d07c6e24caa5ff1aa413f07665eed1f879 (tree)
时间2007-07-22 23:14:05
作者ikemo <ikemo@56b1...>
Commiterikemo

Log Message

remove code.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@2049 56b19765-1e22-0410-a548-a0f45d66c51a

更改概述

差异

--- a/kita/src/bbsview.cpp
+++ b/kita/src/bbsview.cpp
@@ -1,12 +1,12 @@
11 /***************************************************************************
2-* Copyright (C) 2004 by Kita Developers *
3-* ikemo@users.sourceforge.jp *
4-* *
5-* This program is free software; you can redistribute it and/or modify *
6-* it under the terms of the GNU General Public License as published by *
7-* the Free Software Foundation; either version 2 of the License, or *
8-* (at your option) any later version. *
9-***************************************************************************/
2+ * Copyright (C) 2004 by Kita Developers *
3+ * ikemo@users.sourceforge.jp *
4+ * *
5+ * This program is free software; you can redistribute it and/or modify *
6+ * it under the terms of the GNU General Public License as published by *
7+ * the Free Software Foundation; either version 2 of the License, or *
8+ * (at your option) any later version. *
9+ ***************************************************************************/
1010
1111 #include <kio/netaccess.h>
1212 #include <klistview.h>
@@ -64,7 +64,7 @@ KitaBBSView::KitaBBSView( QWidget *parent, const char *name )
6464 {
6565 /* copied from Base class */
6666 if ( !name )
67- setName( "KitaBBSViewBase" );
67+ setName( "KitaBBSViewBase" );
6868 KitaBBSViewBaseLayout = new QVBoxLayout( this, 0, 0, "KitaBBSViewBaseLayout");
6969
7070 layout10 = new QHBoxLayout( 0, 0, 6, "layout10");
@@ -301,7 +301,7 @@ void KitaBBSView::showBoardList()
301301 m_textColor = QColor( "white" );
302302 m_baseColor = QColor( "red" );
303303 m_backColor = QColor( "yellow" );
304- m_altColor = QColor( "blue" );
304+ m_altColor = QColor( "blue" );
305305 */
306306 /*-------------------------------------------------*/
307307
@@ -490,7 +490,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p
490490 {
491491 enum {
492492 Menu_OpenWithBrowser,
493- Menu_OpenWithNewTab,
494493 Menu_CopyURL,
495494 Menu_CopyTitleAndURL,
496495 Menu_AddToFavorites,
@@ -503,8 +502,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p
503502
504503 KPopupMenu popup( 0 );
505504 popup.insertItem( i18n( "Open with Web Browser" ), Menu_OpenWithBrowser );
506- // FIXME: open with "new tab" is meaningless.
507- popup.insertItem( i18n( "Open with New Tab" ), Menu_OpenWithNewTab );
508505 popup.insertItem( i18n( "Copy URL" ), Menu_CopyURL );
509506 popup.insertItem( i18n( "Copy title and URL" ), Menu_CopyTitleAndURL );
510507 if ( item->parent() == m_favorites ) {
@@ -522,9 +519,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p
522519 case Menu_OpenWithBrowser:
523520 emit openURLRequestExt( boardURL, "text/html" );
524521 break;
525- case Menu_OpenWithNewTab:
526- ViewMediator::getInstance()->openBoard( boardURL );
527- break;
528522 case Menu_CopyURL:
529523 clipboard->setText( boardURL_upToDate.prettyURL(), QClipboard::Clipboard );
530524 clipboard->setText( boardURL_upToDate.prettyURL(), QClipboard::Selection );
Show on old repository browser