Diffstat (limited to 'core/apps/textedit/textedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h index af69518..61fa2a0 100644 --- a/core/apps/textedit/textedit.h +++ b/core/apps/textedit/textedit.h | |||
@@ -25,12 +25,15 @@ | |||
25 | #define QTEXTEDIT_OPEN_API | 25 | #define QTEXTEDIT_OPEN_API |
26 | 26 | ||
27 | #include "fileBrowser.h" | 27 | #include "fileBrowser.h" |
28 | #include "fileSaver.h" | 28 | #include "fileSaver.h" |
29 | 29 | ||
30 | #include <qpe/filemanager.h> | 30 | #include <qpe/filemanager.h> |
31 | #include <qpe/qcopenvelope_qws.h> | ||
32 | |||
33 | #include <opie/ofileselector.h> | ||
31 | 34 | ||
32 | #include <qmainwindow.h> | 35 | #include <qmainwindow.h> |
33 | #include <qmultilineedit.h> | 36 | #include <qmultilineedit.h> |
34 | #include <qlist.h> | 37 | #include <qlist.h> |
35 | #include <qmap.h> | 38 | #include <qmap.h> |
36 | 39 | ||
@@ -54,15 +57,16 @@ public: | |||
54 | ~TextEdit(); | 57 | ~TextEdit(); |
55 | 58 | ||
56 | QPopupMenu *font; | 59 | QPopupMenu *font; |
57 | QAction *nStart; | 60 | QAction *nStart; |
58 | bool edited, edited1; | 61 | bool edited, edited1; |
59 | void openFile( const QString & ); | 62 | void openFile( const QString & ); |
63 | QCopChannel * channel; | ||
60 | public slots: | 64 | public slots: |
61 | void editorChanged(); | 65 | void editorChanged(); |
62 | 66 | void receive(const QCString&, const QByteArray&); | |
63 | protected: | 67 | protected: |
64 | void closeEvent( QCloseEvent *e ); | 68 | void closeEvent( QCloseEvent *e ); |
65 | void doSearchBar(); | 69 | void doSearchBar(); |
66 | private slots: | 70 | private slots: |
67 | void setDocument(const QString&); | 71 | void setDocument(const QString&); |
68 | void changeFont(); | 72 | void changeFont(); |
@@ -103,13 +107,12 @@ private: | |||
103 | void updateCaption( const QString &name=QString::null ); | 107 | void updateCaption( const QString &name=QString::null ); |
104 | void setFontSize(int sz, bool round_down_not_up); | 108 | void setFontSize(int sz, bool round_down_not_up); |
105 | 109 | ||
106 | private: | 110 | private: |
107 | fileSaver *fileSaveDlg; | 111 | fileSaver *fileSaveDlg; |
108 | fileBrowser *browseForFiles; | 112 | fileBrowser *browseForFiles; |
109 | |||
110 | QpeEditor* editor; | 113 | QpeEditor* editor; |
111 | QToolBar *menu, *editBar, *searchBar; | 114 | QToolBar *menu, *editBar, *searchBar; |
112 | QLineEdit *searchEdit; | 115 | QLineEdit *searchEdit; |
113 | DocLnk *doc; | 116 | DocLnk *doc; |
114 | bool searchVisible; | 117 | bool searchVisible; |
115 | bool bFromDocView; | 118 | bool bFromDocView; |