-rw-r--r-- | core/apps/textedit/textedit.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h index a2badaa..4848051 100644 --- a/core/apps/textedit/textedit.h +++ b/core/apps/textedit/textedit.h | |||
@@ -54,26 +54,28 @@ class TextEdit : public QMainWindow | |||
54 | 54 | ||
55 | public: | 55 | public: |
56 | TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 56 | TextEdit( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
57 | ~TextEdit(); | 57 | ~TextEdit(); |
58 | 58 | ||
59 | QPopupMenu *font; | 59 | QPopupMenu *font; |
60 | QAction *nStart, *nFileDlgOpt, *nAdvanced; | 60 | QAction *nStart, *nFileDlgOpt, *nAdvanced, *desktopAction, *filePermAction; |
61 | bool edited, edited1; | 61 | bool edited, edited1; |
62 | void openFile( const QString & ); | 62 | void openFile( const QString & ); |
63 | QCopChannel * channel; | 63 | QCopChannel * channel; |
64 | public slots: | 64 | public slots: |
65 | void editorChanged(); | 65 | void editorChanged(); |
66 | void receive(const QCString&, const QByteArray&); | 66 | void receive(const QCString&, const QByteArray&); |
67 | protected: | 67 | protected: |
68 | bool fileIs, useAdvancedFeatures; | 68 | bool fileIs, useAdvancedFeatures, promptExit, openDesktop, filePerms; |
69 | void closeEvent( QCloseEvent *e ); | 69 | void closeEvent( QCloseEvent *e ); |
70 | void doSearchBar(); | 70 | void doSearchBar(); |
71 | private slots: | 71 | private slots: |
72 | void editPasteTimeDate(); | 72 | void editPasteTimeDate(); |
73 | void doAdvanced(bool); | 73 | void doPrompt(bool); |
74 | void doDesktop(bool); | ||
75 | void doFilePerms(bool); | ||
74 | void doAbout(); | 76 | void doAbout(); |
75 | void setDocument(const QString&); | 77 | void setDocument(const QString&); |
76 | void changeFont(); | 78 | void changeFont(); |
77 | void fileNew(); | 79 | void fileNew(); |
78 | void fileRevert(); | 80 | void fileRevert(); |
79 | void fileOpen(); | 81 | void fileOpen(); |
@@ -113,12 +115,13 @@ private: | |||
113 | 115 | ||
114 | private: | 116 | private: |
115 | // fileSaver *fileSaveDlg; | 117 | // fileSaver *fileSaveDlg; |
116 | // fileBrowser *browseForFiles; | 118 | // fileBrowser *browseForFiles; |
117 | QpeEditor* editor; | 119 | QpeEditor* editor; |
118 | QToolBar *menu, *editBar, *searchBar; | 120 | QToolBar *menu, *editBar, *searchBar; |
121 | QPopupMenu *advancedMenu; | ||
119 | QLineEdit *searchEdit; | 122 | QLineEdit *searchEdit; |
120 | DocLnk *doc; | 123 | DocLnk *doc; |
121 | bool searchVisible; | 124 | bool searchVisible; |
122 | bool bFromDocView; | 125 | bool bFromDocView; |
123 | int viewSelection; | 126 | int viewSelection; |
124 | QAction *zin, *zout; | 127 | QAction *zin, *zout; |