diff --git a/src/app/browser/header/tab.cpp b/src/app/browser/header/tab.cpp index 6db62733..cda7afa4 100644 --- a/src/app/browser/header/tab.cpp +++ b/src/app/browser/header/tab.cpp @@ -11,6 +11,18 @@ Tab::Tab() set_icon_name( ICON ); + + signal_clicked().connect( + sigc::mem_fun( + * this, + & Tab::click + ) + ); } -Tab::~Tab() = default; \ No newline at end of file +Tab::~Tab() = default; + +void Tab::click() +{ + // @TODO +} \ No newline at end of file diff --git a/src/app/browser/header/tab.hpp b/src/app/browser/header/tab.hpp index de26112e..e9c5cecc 100644 --- a/src/app/browser/header/tab.hpp +++ b/src/app/browser/header/tab.hpp @@ -16,6 +16,8 @@ namespace app::browser::header Tab(); ~Tab(); + + void click(); }; }