Diffstat (limited to 'noncore/apps/tinykate/mainwindow/tinykate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/mainwindow/tinykate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/mainwindow/tinykate.h b/noncore/apps/tinykate/mainwindow/tinykate.h index 6e95d87..7d0c588 100644 --- a/noncore/apps/tinykate/mainwindow/tinykate.h +++ b/noncore/apps/tinykate/mainwindow/tinykate.h | |||
@@ -39,24 +39,29 @@ public: | |||
39 | public slots: | 39 | public slots: |
40 | void slotNew(); | 40 | void slotNew(); |
41 | void setDocument(const QString& fileref); | 41 | void setDocument(const QString& fileref); |
42 | 42 | ||
43 | protected slots: | 43 | protected slots: |
44 | void slotOpen(); | 44 | void slotOpen(); |
45 | void slotClose(); | 45 | void slotClose(); |
46 | void slotCurrentChanged(QWidget *); | 46 | void slotCurrentChanged(QWidget *); |
47 | void slotSave(); | 47 | void slotSave(); |
48 | void slotSaveAs(); | 48 | void slotSaveAs(); |
49 | protected: | 49 | protected: |
50 | void open(const QString&); | 50 | void open(const QString&); |
51 | bool closeDocument(); | ||
52 | bool checkSave(); | ||
53 | bool saveDocument(); | ||
54 | bool saveDocumentAs(); | ||
55 | void closeEvent(QCloseEvent *e); | ||
51 | private: | 56 | private: |
52 | QString currentFileName; | 57 | QString currentFileName; |
53 | Opie::Ui::OTabWidget *tabwidget; | 58 | Opie::Ui::OTabWidget *tabwidget; |
54 | KTextEditor::View *currentView; | 59 | KTextEditor::View *currentView; |
55 | bool shutDown; | 60 | bool shutDown; |
56 | 61 | ||
57 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo; | 62 | QToolButton *editCopy, *editCut, *editPaste, *editUndo, *editRedo; |
58 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings, *editFind, *editReplace, *editGotoLine; | 63 | QAction *viewIncFontSizes, *viewDecFontSizes, *utilSettings, *editFind, *editReplace, *editGotoLine; |
59 | 64 | ||
60 | QPopupMenu *hlmenu; | 65 | QPopupMenu *hlmenu; |
61 | uint nextUnnamed; | 66 | uint nextUnnamed; |
62 | uint viewCount; | 67 | uint viewCount; |