diff options
Diffstat (limited to 'doc/examples/htmleditor/htmlfile.h')
-rw-r--r-- | doc/examples/htmleditor/htmlfile.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/doc/examples/htmleditor/htmlfile.h b/doc/examples/htmleditor/htmlfile.h deleted file mode 100644 index be3d528d04..0000000000 --- a/doc/examples/htmleditor/htmlfile.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef HTMLFILE_H -#define HTMLFILE_H -#include "coreplugin/ifile.h" -#include "htmleditorwidget.h" -#include "htmleditor.h" - -struct HTMLFileData; -class HTMLFile : public Core::IFile -{ - Q_OBJECT - -public: - HTMLFile(HTMLEditor* editor, HTMLEditorWidget* editorWidget); - ~HTMLFile(); - - void setModified(bool val=true); - bool isModified() const ; - - bool save(const QString &filename); - bool open(const QString &filename); - void setFilename(const QString &filename); - QString mimiType(void) const ; - QString fileName() const; - QString defaultPath() const ; - QString mimeType() const; - QString suggestedFileName() const; - QString fileFilter() const; - QString fileExtension() const; - bool isReadOnly() const; - bool isSaveAsAllowed() const; - void modified(ReloadBehavior* behavior); - -protected slots: - void modified() { setModified(true); } -private: - HTMLFileData* d; -}; -#endif // HTMLFILE_H |