Changeset View
Changeset View
Standalone View
Standalone View
core/MenuModel.h
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Line(s) | 43 | public: | |||
---|---|---|---|---|---|
145 | * Revokes the exception granted above. After this, the MenuItem's parents will return their children | 145 | * Revokes the exception granted above. After this, the MenuItem's parents will return their children | ||
146 | * as normal and the grand children will return their true parents, restoring normal operation. | 146 | * as normal and the grand children will return their true parents, restoring normal operation. | ||
147 | * It has no effect if the MenuItem does not have an exception. | 147 | * It has no effect if the MenuItem does not have an exception. | ||
148 | * | 148 | * | ||
149 | * @param exception The MenuItem to revoke an exception from. | 149 | * @param exception The MenuItem to revoke an exception from. | ||
150 | */ | 150 | */ | ||
151 | void removeException( MenuItem * exception ); | 151 | void removeException( MenuItem * exception ); | ||
152 | 152 | | |||
153 | QModelIndex indexForItem( MenuItem * item ) const; | ||||
154 | | ||||
153 | protected: | 155 | protected: | ||
154 | /** | 156 | /** | ||
155 | * Provides the MenuItem which is used internally to provide information. | 157 | * Provides the MenuItem which is used internally to provide information. | ||
156 | * | 158 | * | ||
157 | * @returns The MenuItem used internally. | 159 | * @returns The MenuItem used internally. | ||
158 | */ | 160 | */ | ||
159 | MenuItem* rootItem() const; | 161 | MenuItem* rootItem() const; | ||
160 | 162 | | |||
Show All 22 Lines |