diff --git a/src/app/browser/main/tab/data/navbar/request.cpp b/src/app/browser/main/tab/data/navbar/request.cpp index 785fee9c..9e306ce3 100644 --- a/src/app/browser/main/tab/data/navbar/request.cpp +++ b/src/app/browser/main/tab/data/navbar/request.cpp @@ -11,6 +11,26 @@ Request::Request() set_hexpand( true ); + + signal_changed().connect( + sigc::mem_fun( + * this, + & Request::on_change + ) + ); + + signal_activate().connect( + sigc::mem_fun( + * this, + & Request::on_activate + ) + ); } Request::~Request() = default; + +void Request::on_activate() +{} // @TODO + +void Request::on_change() +{} // @TODO diff --git a/src/app/browser/main/tab/data/navbar/request.hpp b/src/app/browser/main/tab/data/navbar/request.hpp index 83a158f7..4dac2fd7 100644 --- a/src/app/browser/main/tab/data/navbar/request.hpp +++ b/src/app/browser/main/tab/data/navbar/request.hpp @@ -3,11 +3,18 @@ #include #include +#include namespace app::browser::main::tab::data::navbar { class Request : public Gtk::Entry { + private: + + void on_activate(); + + void on_change(); + public: Request();