summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.h
Unidiff
Diffstat (limited to 'core/apps/textedit/textedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h
index f7d1052..4e469cc 100644
--- a/core/apps/textedit/textedit.h
+++ b/core/apps/textedit/textedit.h
@@ -16,8 +16,9 @@
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20// additions made by L.J. Potter Sun 02-17-2002 22:27:46
20 21
21#ifndef TEXTEDIT_H 22#ifndef TEXTEDIT_H
22#define TEXTEDIT_H 23#define TEXTEDIT_H
23 24
@@ -53,12 +54,14 @@ protected:
53 void closeEvent( QCloseEvent *e ); 54 void closeEvent( QCloseEvent *e );
54 55
55private slots: 56private slots:
56 void setDocument(const QString&); 57 void setDocument(const QString&);
57 58 void changeFont();
58 void fileNew(); 59 void fileNew();
59 void fileRevert(); 60 void fileRevert();
60 void fileOpen(); 61 void fileOpen();
62 void newFileOpen();
63 bool save();
61 64
62 void editCut(); 65 void editCut();
63 void editCopy(); 66 void editCopy();
64 void editPaste(); 67 void editPaste();
@@ -81,9 +84,8 @@ private slots:
81 void setWordWrap(bool y); 84 void setWordWrap(bool y);
82 85
83private: 86private:
84 void colorChanged( const QColor &c ); 87 void colorChanged( const QColor &c );
85 bool save();
86 void clear(); 88 void clear();
87 void updateCaption( const QString &name=QString::null ); 89 void updateCaption( const QString &name=QString::null );
88 void setFontSize(int sz, bool round_down_not_up); 90 void setFontSize(int sz, bool round_down_not_up);
89 91
@@ -96,7 +98,8 @@ private:
96 DocLnk *doc; 98 DocLnk *doc;
97 bool searchVisible; 99 bool searchVisible;
98 bool bFromDocView; 100 bool bFromDocView;
99 QAction *zin, *zout; 101 QAction *zin, *zout;
102 QString currentFileName;
100}; 103};
101 104
102#endif 105#endif