|
|
@ -34,7 +34,7 @@ Browser::Browser( |
|
|
|
|
|
|
|
|
|
|
|
// Init actions
|
|
|
|
// Init actions
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_append", |
|
|
|
"main_tab_append", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_append(); |
|
|
|
browserMain->tab_append(); |
|
|
@ -42,7 +42,7 @@ Browser::Browser( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_update", |
|
|
|
"main_tab_update", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_update(); |
|
|
|
browserMain->tab_update(); |
|
|
@ -51,7 +51,7 @@ Browser::Browser( |
|
|
|
|
|
|
|
|
|
|
|
// Close
|
|
|
|
// Close
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_close", |
|
|
|
"main_tab_close", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_close(); |
|
|
|
browserMain->tab_close(); |
|
|
@ -60,7 +60,7 @@ Browser::Browser( |
|
|
|
|
|
|
|
|
|
|
|
// Close submenu
|
|
|
|
// Close submenu
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_close_left", |
|
|
|
"main_tab_close_left", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_close_left(); |
|
|
|
browserMain->tab_close_left(); |
|
|
@ -68,7 +68,7 @@ Browser::Browser( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_close_right", |
|
|
|
"main_tab_close_right", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_close_right(); |
|
|
|
browserMain->tab_close_right(); |
|
|
@ -76,7 +76,7 @@ Browser::Browser( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_close_all", |
|
|
|
"main_tab_close_all", |
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_close_all(); |
|
|
|
browserMain->tab_close_all(); |
|
|
@ -113,7 +113,7 @@ Browser::Browser( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_history_back", |
|
|
|
"tab_history_back", // @TODO rename
|
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_history_back(); |
|
|
|
browserMain->tab_history_back(); |
|
|
@ -121,7 +121,7 @@ Browser::Browser( |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
add_action( |
|
|
|
add_action( |
|
|
|
"tab_history_forward", |
|
|
|
"tab_history_forward", // @TODO rename
|
|
|
|
[this] |
|
|
|
[this] |
|
|
|
{ |
|
|
|
{ |
|
|
|
browserMain->tab_history_forward(); |
|
|
|
browserMain->tab_history_forward(); |
|
|
|