author | llornkcor <llornkcor> | 2002-12-26 03:48:32 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-12-26 03:48:32 (UTC) |
commit | f736bf0ae774159a80a97b9492d7624e7caf07a3 (patch) (unidiff) | |
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 | |||
@@ -451,12 +451,13 @@ class KateDocument: public Kate::Document | |||
451 | void isModOnHD(bool forceReload=false); | 451 | void isModOnHD(bool forceReload=false); |
452 | 452 | ||
453 | uint docID () {return myDocID;}; | 453 | uint docID () {return myDocID;}; |
454 | QString docName () {return myDocName;}; | 454 | QString docName () {return myDocName;}; |
455 | 455 | ||
456 | void setDocName (QString docName); | 456 | void setDocName (QString docName); |
457 | void setDocFile (QString docFile); | ||
457 | 458 | ||
458 | public slots: | 459 | public slots: |
459 | /** Reloads the current document from disk if possible */ | 460 | /** Reloads the current document from disk if possible */ |
460 | void reloadFile(); | 461 | void reloadFile(); |
461 | 462 | ||
462 | private slots: | 463 | private slots: |
@@ -525,17 +526,17 @@ class KateDocument: public Kate::Document | |||
525 | 526 | ||
526 | public slots: | 527 | public slots: |
527 | void applyWordWrap (); | 528 | void applyWordWrap (); |
528 | 529 | ||
529 | private: | 530 | private: |
530 | 531 | ||
531 | class KateDocPrivate | 532 | class KateDocPrivate |
532 | { | 533 | { |
533 | public: | 534 | public: |
534 | bool hlSetByUser; | 535 | bool hlSetByUser; |
535 | }; | 536 | }; |
536 | 537 | ||
537 | 538 | ||
538 | // BCI: Add a real d-pointer in the next BIC release | 539 | // BCI: Add a real d-pointer in the next BIC release |
539 | static QPtrDict<KateDocPrivate>* d_ptr; | 540 | static QPtrDict<KateDocPrivate>* d_ptr; |
540 | static void cleanup_d_ptr() | 541 | static void cleanup_d_ptr() |
541 | { | 542 | { |