author | llornkcor <llornkcor> | 2003-03-21 21:35:41 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-03-21 21:35:41 (UTC) |
commit | d1d55108ecc8c913267122014aa2f139be947299 (patch) (unidiff) | |
tree | 6d09c6f5fe0d21440e880e94e6630a2cebcda37a /core/apps/textedit/textedit.cpp | |
parent | d11cf5483fbfa87a7be65891df2625def351f3a4 (diff) | |
download | opie-d1d55108ecc8c913267122014aa2f139be947299.zip opie-d1d55108ecc8c913267122014aa2f139be947299.tar.gz opie-d1d55108ecc8c913267122014aa2f139be947299.tar.bz2 |
change filesave icon to inlined
Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 59a605a..749e0ac 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -52,14 +52,12 @@ | |||
52 | #include <qtimer.h> | 52 | #include <qtimer.h> |
53 | #include <qdir.h> | 53 | #include <qdir.h> |
54 | #include <unistd.h> | 54 | #include <unistd.h> |
55 | #include <sys/stat.h> | 55 | #include <sys/stat.h> |
56 | #include <stdlib.h> //getenv | 56 | #include <stdlib.h> //getenv |
57 | 57 | ||
58 | #include "resource.h" | ||
59 | |||
60 | #if QT_VERSION < 300 | 58 | #if QT_VERSION < 300 |
61 | 59 | ||
62 | class QpeEditor : public QMultiLineEdit | 60 | class QpeEditor : public QMultiLineEdit |
63 | { | 61 | { |
64 | 62 | ||
65 | public: | 63 | public: |
@@ -207,20 +205,20 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
207 | a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), | 205 | a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), |
208 | QString::null, 0, this, 0 ); | 206 | QString::null, 0, this, 0 ); |
209 | connect( a, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); | 207 | connect( a, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); |
210 | a->addTo( bar ); | 208 | a->addTo( bar ); |
211 | a->addTo( file ); | 209 | a->addTo( file ); |
212 | 210 | ||
213 | a = new QAction( tr( "Save" ), QPixmap(( const char** ) filesave_xpm ) , | 211 | a = new QAction( tr( "Save" ), Resource::loadPixmap("save") , |
214 | QString::null, 0, this, 0 ); | 212 | QString::null, 0, this, 0 ); |
215 | connect( a, SIGNAL( activated() ), this, SLOT( save() ) ); | 213 | connect( a, SIGNAL( activated() ), this, SLOT( save() ) ); |
216 | file->insertSeparator(); | 214 | file->insertSeparator(); |
217 | a->addTo( bar ); | 215 | a->addTo( bar ); |
218 | a->addTo( file ); | 216 | a->addTo( file ); |
219 | 217 | ||
220 | a = new QAction( tr( "Save As" ), QPixmap(( const char** ) filesave_xpm ) , | 218 | a = new QAction( tr( "Save As" ), Resource::loadPixmap("save") , |
221 | QString::null, 0, this, 0 ); | 219 | QString::null, 0, this, 0 ); |
222 | connect( a, SIGNAL( activated() ), this, SLOT( saveAs() ) ); | 220 | connect( a, SIGNAL( activated() ), this, SLOT( saveAs() ) ); |
223 | a->addTo( file ); | 221 | a->addTo( file ); |
224 | 222 | ||
225 | a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), | 223 | a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), |
226 | QString::null, 0, this, 0 ); | 224 | QString::null, 0, this, 0 ); |