equal
deleted
inserted
replaced
53 LogsServiceHandlerOld& serviceOld ); |
53 LogsServiceHandlerOld& serviceOld ); |
54 ~LogsViewManager(); |
54 ~LogsViewManager(); |
55 |
55 |
56 public slots: |
56 public slots: |
57 |
57 |
|
58 void changeRecentViewViaService( |
|
59 LogsServices::LogsView view, bool showDialpad, QString dialpadText); |
|
60 void changeMatchesViewViaService(QString dialpadText); |
58 void changeRecentView(LogsServices::LogsView view, bool showDialpad); |
61 void changeRecentView(LogsServices::LogsView view, bool showDialpad); |
59 void changeMatchesView(QString dialpadText); |
|
60 |
62 |
61 public: // From LogsAbstractViewManager |
63 public: // From LogsAbstractViewManager |
62 |
64 |
63 virtual bool activateView(LogsAppViewId viewId); |
65 virtual bool activateView(LogsAppViewId viewId); |
64 virtual bool activateView(LogsAppViewId viewId, bool showDialpad, QVariant args); |
66 virtual bool activateView(LogsAppViewId viewId, bool showDialpad, QVariant args); |
73 void completeViewActivation(); |
75 void completeViewActivation(); |
74 void saveActivity(); |
76 void saveActivity(); |
75 |
77 |
76 private: |
78 private: |
77 |
79 |
78 void initViews(); |
|
79 bool doActivateView(LogsAppViewId viewId, bool showDialpad, |
80 bool doActivateView(LogsAppViewId viewId, bool showDialpad, |
80 QVariant args, const QString& dialpadText = QString()); |
81 QVariant args, const QString& dialpadText = QString()); |
81 bool loadActivity(); |
82 bool loadActivity(); |
82 LogsAppViewId checkMatchesViewTransition( |
83 LogsAppViewId checkMatchesViewTransition( |
83 LogsAppViewId viewId, const QString& dialpadText); |
84 LogsAppViewId viewId, const QString& dialpadText); |
84 void handleFirstActivation(); |
85 void handleFirstActivation(); |
|
86 LogsBaseView* createView(LogsAppViewId viewId); |
85 |
87 |
86 private: //data |
88 private: //data |
87 |
89 |
88 LogsMainWindow& mMainWindow; |
90 LogsMainWindow& mMainWindow; |
89 LogsServiceHandler& mService; |
91 LogsServiceHandler& mService; |