Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/QtToolBar.hpp

    rc01fec r8859b5  
    2727
    2828
    29 class QtToolBar : public QToolBar, public Observer
     29class QtToolBar : public QToolBar
    3030{
    3131  Q_OBJECT
     
    3939   * @param description description to appear as tooltip
    4040   * @param icon_name name of icon
    41    * @return ref to newly created action
    4241   */
    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);
    4743
    4844  /** Function to add a set of favorite actions.
     
    6157  const present_actions_t & getPresentActions() const
    6258  { return present_actions; }
    63 
    64   void update(Observable *publisher);
    65   void subjectKilled(Observable *publisher);
    66   void recieveNotification(Observable *publisher, Notification_ptr notification);
    6759
    6860private:
     
    113105  //!> set of already present action icons
    114106  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;
    122107};
    123108
Note: See TracChangeset for help on using the changeset viewer.