umlviewimageexporter.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef UMLVIEWIMAGEEXPORTER_H
00013 #define UMLVIEWIMAGEEXPORTER_H
00014
00015 #include <qstring.h>
00016 #include <kurl.h>
00017
00018 class UMLView;
00019 class KFileDialog;
00020
00026 class UMLViewImageExporter {
00027 public:
00028
00032 UMLViewImageExporter(UMLView* view);
00033
00037 virtual ~UMLViewImageExporter() {
00038 }
00039
00054 void exportView();
00055
00061 KURL getImageURL() const {
00062 return m_imageURL;
00063 }
00064
00070 QString getImageMimeType() const {
00071 return m_imageMimeType;
00072 }
00073
00074 private:
00075
00079 UMLView* m_view;
00080
00084 KURL m_imageURL;
00085
00089 QString m_imageMimeType;
00090
00101 bool prepareExportView();
00102
00110 bool getParametersFromUser();
00111
00118 void prepareFileDialog(KFileDialog &fileDialog);
00119
00120 };
00121
00122 #endif
This file is part of the documentation for umbrello Version 3.1.0.