summaryrefslogtreecommitdiff
path: root/core/apps/textedit
Unidiff
Diffstat (limited to 'core/apps/textedit') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/main.cpp1
-rw-r--r--core/apps/textedit/textedit.cpp4
-rw-r--r--core/apps/textedit/textedit.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/core/apps/textedit/main.cpp b/core/apps/textedit/main.cpp
index 9aee47b..d05d6d6 100644
--- a/core/apps/textedit/main.cpp
+++ b/core/apps/textedit/main.cpp
@@ -13,13 +13,14 @@
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
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 20
21#include "textedit.h" 21#include "textedit.h"
22 22
23#include <opie2/oapplicationfactory.h> 23#include <opie2/oapplicationfactory.h>
24 24
25using namespace Opie::Core;
25OPIE_EXPORT_APP( OApplicationFactory<TextEdit> ) 26OPIE_EXPORT_APP( OApplicationFactory<TextEdit> )
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index b54da34..5bb65a9 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -28,27 +28,25 @@
28#include <qtextstream.h> 28#include <qtextstream.h>
29#include <qclipboard.h> 29#include <qclipboard.h>
30#include <qaction.h> 30#include <qaction.h>
31#include <qlineedit.h> 31#include <qlineedit.h>
32#include <qmessagebox.h> 32#include <qmessagebox.h>
33#include <qlayout.h> 33#include <qlayout.h>
34#include <qtimer.h> 34#include <qtimer.h>
35#include <qdir.h> 35#include <qdir.h>
36#include <unistd.h> 36#include <unistd.h>
37#include <sys/stat.h> 37#include <sys/stat.h>
38#include <stdlib.h> //getenv 38#include <stdlib.h> //getenv
39 39
40using Opie::OFileDialog; 40using namespace Opie::Ui;
41using Opie::OFileSelector;
42using Opie::OFontSelector;
43 41
44#if QT_VERSION < 300 42#if QT_VERSION < 300
45 43
46class QpeEditor : public QMultiLineEdit 44class QpeEditor : public QMultiLineEdit
47{ 45{
48 46
49public: 47public:
50 QpeEditor( QWidget *parent, const char * name = 0 ) 48 QpeEditor( QWidget *parent, const char * name = 0 )
51 : QMultiLineEdit( parent, name ) { 49 : QMultiLineEdit( parent, name ) {
52 clearTableFlags(); 50 clearTableFlags();
53 setTableFlags( Tbl_vScrollBar | Tbl_autoHScrollBar ); 51 setTableFlags( Tbl_vScrollBar | Tbl_autoHScrollBar );
54} 52}
diff --git a/core/apps/textedit/textedit.h b/core/apps/textedit/textedit.h
index 34f3617..6cc693f 100644
--- a/core/apps/textedit/textedit.h
+++ b/core/apps/textedit/textedit.h
@@ -21,25 +21,25 @@
21 21
22#ifndef TEXTEDIT_H 22#ifndef TEXTEDIT_H
23#define TEXTEDIT_H 23#define TEXTEDIT_H
24 24
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> 31#include <qpe/qcopenvelope_qws.h>
32 32
33//#include <opie/ofileselector.h> 33//#include <opie2/ofileselector.h>
34 34
35#include <qmainwindow.h> 35#include <qmainwindow.h>
36#include <qmultilineedit.h> 36#include <qmultilineedit.h>
37#include <qlist.h> 37#include <qlist.h>
38#include <qmap.h> 38#include <qmap.h>
39 39
40class QAction; 40class QAction;
41class QWidgetStack; 41class QWidgetStack;
42class QToolButton; 42class QToolButton;
43class QPopupMenu; 43class QPopupMenu;
44class QToolBar; 44class QToolBar;
45class QLineEdit; 45class QLineEdit;