34
35
struct DocumentFactoryPrivate;
36
class GWENVIEWLIB_EXPORT DocumentFactory : public QObject {
37
class GWENVIEWLIB_EXPORT DocumentFactory : public QObject
39
static DocumentFactory* instance();
42
Document::Ptr load(const KUrl&);
44
QList<KUrl> modifiedDocumentList() const;
46
bool hasUrl(const KUrl&) const;
50
QUndoGroup* undoGroup();
53
* Do not keep document whose url is @url in cache even if it has been
56
void forget(const KUrl& url);
41
static DocumentFactory* instance();
44
Document::Ptr load(const KUrl&);
46
QList<KUrl> modifiedDocumentList() const;
48
bool hasUrl(const KUrl&) const;
52
QUndoGroup* undoGroup();
55
* Do not keep document whose url is @url in cache even if it has been
58
void forget(const KUrl& url);
59
void modifiedDocumentListChanged();
60
void documentChanged(const KUrl&);
61
void documentBusyStateChanged(const KUrl&, bool);
61
void modifiedDocumentListChanged();
62
void documentChanged(const KUrl&);
63
void documentBusyStateChanged(const KUrl&, bool);
64
void slotLoaded(const KUrl&);
65
void slotSaved(const KUrl&, const KUrl&);
66
void slotModified(const KUrl&);
67
void slotBusyChanged(const KUrl&, bool);
66
void slotLoaded(const KUrl&);
67
void slotSaved(const KUrl&, const KUrl&);
68
void slotModified(const KUrl&);
69
void slotBusyChanged(const KUrl&, bool);
72
DocumentFactoryPrivate* const d;
74
DocumentFactoryPrivate* const d;