~ted/hud/filter-underscores

« back to all changes in this revision

Viewing changes to libqtgmenu/internal/QtGMenuModel.h

  • Committer: CI bot
  • Author(s): Pete Woods
  • Date: 2014-03-14 16:37:28 UTC
  • mfrom: (376.1.22 trunk)
  • Revision ID: ps-jenkins@lists.canonical.com-20140314163728-lnn0hb4vmsb016ya
Support multiple GMenuCollectors for each window, and multiple QtGActionGroups for each QtGMenuModel. Fixes: 1288025

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  };
44
44
 
45
45
  explicit QtGMenuModel( GMenuModel* model );
46
 
  QtGMenuModel( GMenuModel* model, const QString& bus_name, const QString& menu_path,
47
 
      const QString& actions_path );
 
46
  QtGMenuModel( GMenuModel* model, const QString& bus_name, const QString& menu_path );
48
47
  virtual ~QtGMenuModel();
49
48
 
50
49
  GMenuModel* Model() const;
61
60
  constexpr static const char* c_property_isParameterized = "isParameterized";
62
61
  constexpr static const char* c_property_busName = "busName";
63
62
  constexpr static const char* c_property_menuPath = "menuPath";
64
 
  constexpr static const char* c_property_actionsPath = "actionsPath";
65
63
  constexpr static const char* c_property_keywords = "keywords";
66
64
  constexpr static const char* c_property_hud_toolbar_item = "hud-toolbar-item";
67
65
 
115
113
 
116
114
  QString m_bus_name;
117
115
  QString m_menu_path;
118
 
  QString m_actions_path;
119
116
 
120
117
  std::map< QString, QAction* > m_actions;
121
118
};