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