Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/structurewidget.h
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 211 | enum { SectioningCut = 10, SectioningCopy = 11, SectioningPaste = 12, | |||
---|---|---|---|---|---|
213 | SectioningComment = 15, | 213 | SectioningComment = 15, | ||
214 | SectioningPreview = 16, | 214 | SectioningPreview = 16, | ||
215 | SectioningGraphicsOther = 100, SectioningGraphicsOfferlist = 101 | 215 | SectioningGraphicsOther = 100, SectioningGraphicsOfferlist = 101 | ||
216 | }; | 216 | }; | ||
217 | 217 | | |||
218 | public Q_SLOTS: | 218 | public Q_SLOTS: | ||
219 | void slotClicked(QTreeWidgetItem *); | 219 | void slotClicked(QTreeWidgetItem *); | ||
220 | void slotDoubleClicked(QTreeWidgetItem *); | 220 | void slotDoubleClicked(QTreeWidgetItem *); | ||
221 | void slotPopupActivated(int id); | | |||
222 | 221 | | |||
223 | void addDocumentInfo(KileDocument::Info *); | 222 | void addDocumentInfo(KileDocument::Info *); | ||
224 | void closeDocumentInfo(KileDocument::Info *); | 223 | void closeDocumentInfo(KileDocument::Info *); | ||
225 | void update(KileDocument::Info *); | 224 | void update(KileDocument::Info *); | ||
226 | void update(KileDocument::Info *, bool); | 225 | void update(KileDocument::Info *, bool); | ||
227 | void clean(KileDocument::Info *); | 226 | void clean(KileDocument::Info *); | ||
228 | void updateReferences(KileDocument::Info *); | 227 | void updateReferences(KileDocument::Info *); | ||
229 | 228 | | |||
Show All 21 Lines | 245 | private: | |||
251 | StructureViewItem *m_popupItem; | 250 | StructureViewItem *m_popupItem; | ||
252 | QMenu *m_showingContextMenu; | 251 | QMenu *m_showingContextMenu; | ||
253 | QString m_popupInfo; | 252 | QString m_popupInfo; | ||
254 | KService::List m_offerList; | 253 | KService::List m_offerList; | ||
255 | 254 | | |||
256 | StructureView* viewFor(KileDocument::Info *info); | 255 | StructureView* viewFor(KileDocument::Info *info); | ||
257 | bool viewExistsFor(KileDocument::Info *info); | 256 | bool viewExistsFor(KileDocument::Info *info); | ||
258 | 257 | | |||
259 | void slotPopupLabel(int id); | | |||
260 | void slotPopupSectioning(int id); | 258 | void slotPopupSectioning(int id); | ||
261 | void slotPopupGraphics(int id); | 259 | void slotPopupGraphics(int id); | ||
262 | 260 | | |||
263 | private Q_SLOTS: | 261 | private Q_SLOTS: | ||
264 | void handleDocumentParsingStarted(); | 262 | void handleDocumentParsingStarted(); | ||
265 | void handleDocumentParsingCompleted(); | 263 | void handleDocumentParsingCompleted(); | ||
266 | }; | 264 | }; | ||
267 | } | 265 | } | ||
268 | 266 | | |||
269 | #endif | 267 | #endif |