|
Lines 2726-2731
void KonqMainWindow::slotPopupThisWindow()
Link Here
|
| 2726 |
openURL( 0L, popupItems.getFirst()->url() ); |
2726 |
openURL( 0L, popupItems.getFirst()->url() ); |
| 2727 |
} |
2727 |
} |
| 2728 |
|
2728 |
|
|
|
2729 |
void KonqMainWindow::slotPopupNewTabAtFront() |
| 2730 |
{ |
| 2731 |
KConfig *config = KGlobal::config(); |
| 2732 |
KConfigGroupSaver cs( config, TQString::fromLatin1("FMSettings") ); |
| 2733 |
bool openAfterCurrentPage = config->readBoolEntry( "OpenAfterCurrentPage", false ); |
| 2734 |
popupNewTab(true, openAfterCurrentPage); |
| 2735 |
} |
| 2736 |
|
| 2729 |
void KonqMainWindow::slotPopupNewTab() |
2737 |
void KonqMainWindow::slotPopupNewTab() |
| 2730 |
{ |
2738 |
{ |
| 2731 |
bool openAfterCurrentPage = KonqSettings::openAfterCurrentPage(); |
2739 |
bool openAfterCurrentPage = KonqSettings::openAfterCurrentPage(); |
|
Lines 4782-4789
void KonqMainWindow::slotPopupMenu( KXMLGUIClient *client, const TQPoint &_globa
Link Here
|
| 4782 |
else |
4790 |
else |
| 4783 |
tab_new_x = "tab_new_bg" ; |
4791 |
tab_new_x = "tab_new_bg" ; |
| 4784 |
|
4792 |
|
| 4785 |
actNewTab = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" ); |
4793 |
KAction *actNewTab = new KAction( i18n( "Open in &Background Tab" ), "tab_new_bg", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), actionCollection(), "openintab" ); |
| 4786 |
actNewTab->setToolTip( i18n( "Open the document in a new tab" ) ); |
4794 |
actNewTab->setStatusText( i18n( "Open the document in a new background tab" ) ); |
|
|
4795 |
KAction *actNewTabFront = new KAction( i18n( "Open in &New Tab" ), "tab_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), actionCollection(), "openintabfront" ); |
| 4796 |
actNewTabFront->setStatusText( i18n( "Open the document in a new foreground tab" ) ); |
| 4797 |
actNewTab = new KAction( i18n( "Open in &Background Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" ); |
| 4798 |
actNewTabFront = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), konqyMenuClient->actionCollection(), "openintabfront" ); |
| 4799 |
actNewTab->setToolTip( i18n( "Open the document in a new background tab" ) ); |
| 4800 |
actNewTabFront->setToolTip( i18n( "Open the document in a new foreground tab" ) ); |
| 4787 |
doTabHandling = true; |
4801 |
doTabHandling = true; |
| 4788 |
} |
4802 |
} |
| 4789 |
|
4803 |
|