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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h
index fb58738..e7e20e3 100644
--- a/core/apps/textedit/textedit.h
+++ b/core/apps/textedit/textedit.h
@@ -45,26 +45,29 @@ class FileSelector;
45class QpeEditor; 45class QpeEditor;
46class QPopupMenu; 46class QPopupMenu;
47 47
48class TextEdit : public QMainWindow 48class TextEdit : public QMainWindow
49{ 49{
50 Q_OBJECT 50 Q_OBJECT
51 51
52public: 52public:
53 TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 53 TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
54 ~TextEdit(); 54 ~TextEdit();
55 QPopupMenu *font; 55 QPopupMenu *font;
56 QAction *nStart; 56 QAction *nStart;
57 bool edited, edited1;
57 void openFile( const QString & ); 58 void openFile( const QString & );
58 59public slots:
60 void editorChanged();
61
59protected: 62protected:
60 void closeEvent( QCloseEvent *e ); 63 void closeEvent( QCloseEvent *e );
61 64
62private slots: 65private slots:
63 void setDocument(const QString&); 66 void setDocument(const QString&);
64 void changeFont(); 67 void changeFont();
65 void fileNew(); 68 void fileNew();
66 void fileRevert(); 69 void fileRevert();
67 void fileOpen(); 70 void fileOpen();
68 void newFileOpen(); 71 void newFileOpen();
69 void changeStartConfig(bool); 72 void changeStartConfig(bool);
70 bool save(); 73 bool save();