- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Views/Qt4/QtToolBar.hpp
r8859b5 rc01fec 27 27 28 28 29 class QtToolBar : public QToolBar 29 class QtToolBar : public QToolBar, public Observer 30 30 { 31 31 Q_OBJECT … … 39 39 * @param description description to appear as tooltip 40 40 * @param icon_name name of icon 41 * @return ref to newly created action 41 42 */ 42 void addActionItem(const std::string &token, const std::string &description, const std::string &icon_name); 43 QAction * addActionItem( 44 const std::string &token, 45 const std::string &description, 46 const std::string &icon_name); 43 47 44 48 /** Function to add a set of favorite actions. … … 57 61 const present_actions_t & getPresentActions() const 58 62 { return present_actions; } 63 64 void update(Observable *publisher); 65 void subjectKilled(Observable *publisher); 66 void recieveNotification(Observable *publisher, Notification_ptr notification); 59 67 60 68 private: … … 105 113 //!> set of already present action icons 106 114 present_actions_t present_actions; 115 116 //!> sign in to ActionQueue? 117 bool ActionQueue_observing; 118 //!> ref to undoaction to gray out 119 QAction *undoaction; 120 //!> ref to redoaction to gray out 121 QAction *redoaction; 107 122 }; 108 123
Note:
See TracChangeset
for help on using the changeset viewer.