author | llornkcor <llornkcor> | 2002-12-26 03:48:32 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-12-26 03:48:32 (UTC) |
commit | f736bf0ae774159a80a97b9492d7624e7caf07a3 (patch) (side-by-side diff) | |
tree | 6e66396c264e2d878920ba273487c81abe7a474e /noncore/apps/tinykate/libkate/document/katedocument.h | |
parent | 451d6a8692cf65d970b0c582e96e8a59072df191 (diff) | |
download | opie-f736bf0ae774159a80a97b9492d7624e7caf07a3.zip opie-f736bf0ae774159a80a97b9492d7624e7caf07a3.tar.gz opie-f736bf0ae774159a80a97b9492d7624e7caf07a3.tar.bz2 |
added setDocFile function to change the filename needs more work
Diffstat (limited to 'noncore/apps/tinykate/libkate/document/katedocument.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/document/katedocument.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/noncore/apps/tinykate/libkate/document/katedocument.h b/noncore/apps/tinykate/libkate/document/katedocument.h index 220d188..356541f 100644 --- a/noncore/apps/tinykate/libkate/document/katedocument.h +++ b/noncore/apps/tinykate/libkate/document/katedocument.h @@ -449,16 +449,17 @@ class KateDocument: public Kate::Document If forceReload is true, the document is reloaded without asking the user, otherwise [default] the user is asked what to do. */ void isModOnHD(bool forceReload=false); uint docID () {return myDocID;}; QString docName () {return myDocName;}; void setDocName (QString docName); + void setDocFile (QString docFile); public slots: /** Reloads the current document from disk if possible */ void reloadFile(); private slots: void slotModChanged (); @@ -523,21 +524,21 @@ class KateDocument: public Kate::Document // wrap the text of the document at the column col void wrapText (uint col); public slots: void applyWordWrap (); private: - class KateDocPrivate - { - public: - bool hlSetByUser; - }; + class KateDocPrivate + { + public: + bool hlSetByUser; + }; // BCI: Add a real d-pointer in the next BIC release static QPtrDict<KateDocPrivate>* d_ptr; static void cleanup_d_ptr() { delete d_ptr; } |