author | drw <drw> | 2005-04-15 17:25:13 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-15 17:25:13 (UTC) |
commit | 86b1feed1ab2e47a082d974e1fcc513c59a74469 (patch) (unidiff) | |
tree | 2a3965d7adf4633db6b9e1e4150b4bd374cb761d /core/apps/textedit | |
parent | e2d5048b65d95ba7d658aabadece4e91f17f6310 (diff) | |
download | opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.zip opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.tar.gz opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.tar.bz2 |
Resource -> OResource
-rw-r--r-- | core/apps/textedit/textedit.cpp | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 63709dd..ca760bb 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -22,3 +22,4 @@ | |||
22 | #include <opie2/ofontselector.h> | 22 | #include <opie2/ofontselector.h> |
23 | #include <qpe/resource.h> | 23 | #include <opie2/oresource.h> |
24 | |||
24 | #include <qpe/config.h> | 25 | #include <qpe/config.h> |
@@ -171,3 +172,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
171 | 172 | ||
172 | setIcon( Resource::loadPixmap( "textedit/TextEditor" ) ); | 173 | setIcon( Opie::Core::OResource::loadPixmap( "textedit/TextEditor", Opie::Core::OResource::SmallIcon ) ); |
173 | 174 | ||
@@ -187,3 +188,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
187 | 188 | ||
188 | QAction *a = new QAction( tr( "New" ), Resource::loadPixmap( "new" ), | 189 | QAction *a = new QAction( tr( "New" ), Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ), |
189 | QString::null, 0, this, 0 ); | 190 | QString::null, 0, this, 0 ); |
@@ -193,3 +194,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
193 | 194 | ||
194 | a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), | 195 | a = new QAction( tr( "Open" ), Opie::Core::OResource::loadPixmap( "fileopen", Opie::Core::OResource::SmallIcon ), |
195 | QString::null, 0, this, 0 ); | 196 | QString::null, 0, this, 0 ); |
@@ -199,3 +200,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
199 | 200 | ||
200 | a = new QAction( tr( "Save" ), Resource::loadPixmap("save") , | 201 | a = new QAction( tr( "Save" ), Opie::Core::OResource::loadPixmap( "save", Opie::Core::OResource::SmallIcon ), |
201 | QString::null, 0, this, 0 ); | 202 | QString::null, 0, this, 0 ); |
@@ -206,3 +207,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
206 | 207 | ||
207 | a = new QAction( tr( "Save As" ), Resource::loadPixmap("save") , | 208 | a = new QAction( tr( "Save As" ), Opie::Core::OResource::loadPixmap( "save", Opie::Core::OResource::SmallIcon ), |
208 | QString::null, 0, this, 0 ); | 209 | QString::null, 0, this, 0 ); |
@@ -211,3 +212,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
211 | 212 | ||
212 | a = new QAction( tr( "Cut" ), Resource::loadPixmap( "cut" ), | 213 | a = new QAction( tr( "Cut" ), Opie::Core::OResource::loadPixmap( "cut", Opie::Core::OResource::SmallIcon ), |
213 | QString::null, 0, this, 0 ); | 214 | QString::null, 0, this, 0 ); |
@@ -217,3 +218,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
217 | 218 | ||
218 | a = new QAction( tr( "Copy" ), Resource::loadPixmap( "copy" ), | 219 | a = new QAction( tr( "Copy" ), Opie::Core::OResource::loadPixmap( "copy", Opie::Core::OResource::SmallIcon ), |
219 | QString::null, 0, this, 0 ); | 220 | QString::null, 0, this, 0 ); |
@@ -223,3 +224,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
223 | 224 | ||
224 | a = new QAction( tr( "Paste" ), Resource::loadPixmap( "paste" ), | 225 | a = new QAction( tr( "Paste" ), Opie::Core::OResource::loadPixmap( "paste", Opie::Core::OResource::SmallIcon ), |
225 | QString::null, 0, this, 0 ); | 226 | QString::null, 0, this, 0 ); |
@@ -231,3 +232,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
231 | #ifndef QT_NO_CLIPBOARD | 232 | #ifndef QT_NO_CLIPBOARD |
232 | a = new QAction( tr( "Insert Time and Date" ), Resource::loadPixmap( "paste" ), | 233 | a = new QAction( tr( "Insert Time and Date" ), Opie::Core::OResource::loadPixmap( "paste", Opie::Core::OResource::SmallIcon ), |
233 | QString::null, 0, this, 0 ); | 234 | QString::null, 0, this, 0 ); |
@@ -237,3 +238,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
237 | 238 | ||
238 | a = new QAction( tr( "Goto Line..." ), Resource::loadPixmap( "find" ), | 239 | a = new QAction( tr( "Goto Line..." ), Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ), |
239 | QString::null, 0, this, 0 ); | 240 | QString::null, 0, this, 0 ); |
@@ -243,3 +244,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
243 | 244 | ||
244 | a = new QAction( tr( "Find..." ), Resource::loadPixmap( "find" ), | 245 | a = new QAction( tr( "Find..." ), Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ), |
245 | QString::null, 0, this, 0 ); | 246 | QString::null, 0, this, 0 ); |
@@ -333,3 +334,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
333 | 334 | ||
334 | a = new QAction( tr( "Find Next" ), Resource::loadPixmap( "next" ), | 335 | a = new QAction( tr( "Find Next" ), Opie::Core::OResource::loadPixmap( "next", Opie::Core::OResource::SmallIcon ), |
335 | QString::null, 0, this, 0 ); | 336 | QString::null, 0, this, 0 ); |
@@ -339,3 +340,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
339 | 340 | ||
340 | a = new QAction( tr( "Close Find" ), Resource::loadPixmap( "close" ), | 341 | a = new QAction( tr( "Close Find" ), Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ), |
341 | QString::null, 0, this, 0 ); | 342 | QString::null, 0, this, 0 ); |
@@ -345,3 +346,3 @@ TextEdit::TextEdit( QWidget *parent, const char *name, WFlags f ) | |||
345 | edit->insertSeparator(); | 346 | edit->insertSeparator(); |
346 | a = new QAction( tr( "Delete" ), Resource::loadPixmap( "close" ), | 347 | a = new QAction( tr( "Delete" ), Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ), |
347 | QString::null, 0, this, 0 ); | 348 | QString::null, 0, this, 0 ); |