logic: Use ControllerProxy in Bookmarking UI classes instead of messaging
* changed ControllerProxy to template class * allow passing method pointers and arguments to ControllerProxy * replaced some messages with ControllerProxy calls * moved logic from BookmarkView into BookmarkController
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define QT_SCREEN_SEARCH_VIEW_H
|
||||
|
||||
#include "component/controller/helper/ControllerProxy.h"
|
||||
#include "component/controller/ScreenSearchController.h"
|
||||
#include "component/view/ScreenSearchView.h"
|
||||
#include "qt/utility/QtThreadedFunctor.h"
|
||||
|
||||
@@ -34,7 +35,7 @@ public slots:
|
||||
void hide();
|
||||
|
||||
private:
|
||||
ControllerProxy m_controllerProxy;
|
||||
ControllerProxy<ScreenSearchController> m_controllerProxy;
|
||||
QtThreadedLambdaFunctor m_onQtThread;
|
||||
|
||||
QtScreenSearchBox* m_widget;
|
||||
|
||||
Reference in New Issue
Block a user