mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-03 01:55:27 +00:00
rename tab elements namespace
This commit is contained in:
parent
4e733d8997
commit
2986a475c1
29 changed files with 181 additions and 181 deletions
20
src/app/browser/main/tab/page/navbar/history/back.cpp
Normal file
20
src/app/browser/main/tab/page/navbar/history/back.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "back.hpp"
|
||||
|
||||
using namespace app::browser::main::tab::page::navbar::history;
|
||||
|
||||
Back::Back()
|
||||
{
|
||||
set_action_name(
|
||||
"tab.back"
|
||||
);
|
||||
|
||||
set_icon_name(
|
||||
"go-previous-symbolic"
|
||||
);
|
||||
|
||||
set_tooltip_text(
|
||||
_("Back")
|
||||
);
|
||||
}
|
||||
|
||||
Back::~Back() = default;
|
||||
19
src/app/browser/main/tab/page/navbar/history/back.hpp
Normal file
19
src/app/browser/main/tab/page/navbar/history/back.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_BACK_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_BACK_HPP
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
#include <gtkmm/button.h>
|
||||
|
||||
namespace app::browser::main::tab::page::navbar::history
|
||||
{
|
||||
class Back : public Gtk::Button
|
||||
{
|
||||
public:
|
||||
|
||||
Back();
|
||||
|
||||
~Back();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_BACK_HPP
|
||||
20
src/app/browser/main/tab/page/navbar/history/forward.cpp
Normal file
20
src/app/browser/main/tab/page/navbar/history/forward.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "forward.hpp"
|
||||
|
||||
using namespace app::browser::main::tab::page::navbar::history;
|
||||
|
||||
Forward::Forward()
|
||||
{
|
||||
set_action_name(
|
||||
"tab.forward"
|
||||
);
|
||||
|
||||
set_icon_name(
|
||||
"go-next-symbolic"
|
||||
);
|
||||
|
||||
set_tooltip_text(
|
||||
_("Forward")
|
||||
);
|
||||
}
|
||||
|
||||
Forward::~Forward() = default;
|
||||
19
src/app/browser/main/tab/page/navbar/history/forward.hpp
Normal file
19
src/app/browser/main/tab/page/navbar/history/forward.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_FORWARD_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_FORWARD_HPP
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
#include <gtkmm/button.h>
|
||||
|
||||
namespace app::browser::main::tab::page::navbar::history
|
||||
{
|
||||
class Forward : public Gtk::Button
|
||||
{
|
||||
public:
|
||||
|
||||
Forward();
|
||||
|
||||
~Forward();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // APP_BROWSER_MAIN_TAB_PAGE_NAVBAR_HISTORY_FORWARD_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue