Changeset View
Changeset View
Standalone View
Standalone View
kimagemapeditor.h
Context not available. | |||||
28 | 28 | | |||
---|---|---|---|---|---|
29 | #include <KConfig> | 29 | #include <KConfig> | ||
30 | #include <KParts/ReadWritePart> | 30 | #include <KParts/ReadWritePart> | ||
31 | #include <kurl.h> | 31 | #include <QUrl> | ||
32 | 32 | | |||
33 | #include "kimearea.h" | 33 | #include "kimearea.h" | ||
34 | 34 | | |||
Context not available. | |||||
196 | * If it's an HTML file openURL is called | 196 | * If it's an HTML file openURL is called | ||
197 | * If it's an Image, the image is added to the image list | 197 | * If it's an Image, the image is added to the image list | ||
198 | */ | 198 | */ | ||
199 | void openFile(const KUrl &); | 199 | void openFile(const QUrl &); | ||
200 | 200 | | |||
201 | /** | 201 | /** | ||
202 | * Opens the last URL the user worked with. | 202 | * Opens the last URL the user worked with. | ||
Context not available. | |||||
210 | 210 | | |||
211 | protected: | 211 | protected: | ||
212 | void init(); | 212 | void init(); | ||
213 | bool openHTMLFile(const KUrl &); | 213 | bool openHTMLFile(const QUrl &); | ||
214 | void saveImageMap(const KUrl &); | 214 | void saveImageMap(const QUrl &); | ||
215 | 215 | | |||
216 | /** | 216 | /** | ||
217 | * Returns a language dependent background picture, with | 217 | * Returns a language dependent background picture, with | ||
Context not available. | |||||
232 | HtmlContent _htmlContent; | 232 | HtmlContent _htmlContent; | ||
233 | 233 | | |||
234 | // the url of the working image; | 234 | // the url of the working image; | ||
235 | KUrl _imageUrl; | 235 | QUrl _imageUrl; | ||
236 | QString _mapName; | 236 | QString _mapName; | ||
237 | QImage _backgroundImage; | 237 | QImage _backgroundImage; | ||
238 | 238 | | |||
Context not available. | |||||
335 | HtmlImgElement* findHtmlImgElement(ImageTag*); | 335 | HtmlImgElement* findHtmlImgElement(ImageTag*); | ||
336 | HtmlMapElement* findHtmlMapElement(const QString &); | 336 | HtmlMapElement* findHtmlMapElement(const QString &); | ||
337 | void deleteAllMaps(); | 337 | void deleteAllMaps(); | ||
338 | void addImage(const KUrl &); | 338 | void addImage(const QUrl &); | ||
339 | void setImageActionsEnabled(bool); | 339 | void setImageActionsEnabled(bool); | ||
340 | void setMapActionsEnabled(bool); | 340 | void setMapActionsEnabled(bool); | ||
341 | 341 | | |||
Context not available. | |||||
353 | void slotShowMapPopupMenu(const QPoint &); | 353 | void slotShowMapPopupMenu(const QPoint &); | ||
354 | void slotShowImagePopupMenu(const QPoint &); | 354 | void slotShowImagePopupMenu(const QPoint &); | ||
355 | void slotConfigChanged(); | 355 | void slotConfigChanged(); | ||
356 | void setPicture(const KUrl & url); | 356 | void setPicture(const QUrl &url); | ||
357 | void setMap(const QString &); | 357 | void setMap(const QString &); | ||
358 | void setMapName(const QString & s); | 358 | void setMapName(const QString & s); | ||
359 | 359 | | |||
Context not available. |