修订版 | 657002d07c6e24caa5ff1aa413f07665eed1f879 (tree) |
---|---|
时间 | 2007-07-22 23:14:05 |
作者 | ikemo <ikemo@56b1...> |
Commiter | ikemo |
remove code.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@2049 56b19765-1e22-0410-a548-a0f45d66c51a
@@ -1,12 +1,12 @@ | ||
1 | 1 | /*************************************************************************** |
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 | + ***************************************************************************/ | |
10 | 10 | |
11 | 11 | #include <kio/netaccess.h> |
12 | 12 | #include <klistview.h> |
@@ -64,7 +64,7 @@ KitaBBSView::KitaBBSView( QWidget *parent, const char *name ) | ||
64 | 64 | { |
65 | 65 | /* copied from Base class */ |
66 | 66 | if ( !name ) |
67 | - setName( "KitaBBSViewBase" ); | |
67 | + setName( "KitaBBSViewBase" ); | |
68 | 68 | KitaBBSViewBaseLayout = new QVBoxLayout( this, 0, 0, "KitaBBSViewBaseLayout"); |
69 | 69 | |
70 | 70 | layout10 = new QHBoxLayout( 0, 0, 6, "layout10"); |
@@ -301,7 +301,7 @@ void KitaBBSView::showBoardList() | ||
301 | 301 | m_textColor = QColor( "white" ); |
302 | 302 | m_baseColor = QColor( "red" ); |
303 | 303 | m_backColor = QColor( "yellow" ); |
304 | - m_altColor = QColor( "blue" ); | |
304 | + m_altColor = QColor( "blue" ); | |
305 | 305 | */ |
306 | 306 | /*-------------------------------------------------*/ |
307 | 307 |
@@ -490,7 +490,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p | ||
490 | 490 | { |
491 | 491 | enum { |
492 | 492 | Menu_OpenWithBrowser, |
493 | - Menu_OpenWithNewTab, | |
494 | 493 | Menu_CopyURL, |
495 | 494 | Menu_CopyTitleAndURL, |
496 | 495 | Menu_AddToFavorites, |
@@ -503,8 +502,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p | ||
503 | 502 | |
504 | 503 | KPopupMenu popup( 0 ); |
505 | 504 | 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 ); | |
508 | 505 | popup.insertItem( i18n( "Copy URL" ), Menu_CopyURL ); |
509 | 506 | popup.insertItem( i18n( "Copy title and URL" ), Menu_CopyTitleAndURL ); |
510 | 507 | if ( item->parent() == m_favorites ) { |
@@ -522,9 +519,6 @@ void KitaBBSView::slotContextMenuRequested( QListViewItem* item, const QPoint& p | ||
522 | 519 | case Menu_OpenWithBrowser: |
523 | 520 | emit openURLRequestExt( boardURL, "text/html" ); |
524 | 521 | break; |
525 | - case Menu_OpenWithNewTab: | |
526 | - ViewMediator::getInstance()->openBoard( boardURL ); | |
527 | - break; | |
528 | 522 | case Menu_CopyURL: |
529 | 523 | clipboard->setText( boardURL_upToDate.prettyURL(), QClipboard::Clipboard ); |
530 | 524 | clipboard->setText( boardURL_upToDate.prettyURL(), QClipboard::Selection ); |