author | drw <drw> | 2005-05-17 23:23:27 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-17 23:23:27 (UTC) |
commit | 73738d14ca541eaa41b8ee81168e98826752a98c (patch) (unidiff) | |
tree | ee5bef46dcfbdee51f87716979e85577e34d8fae /noncore/comm | |
parent | f37c642f417a58ee489ab5a8bab56e5efb59bada (diff) | |
download | opie-73738d14ca541eaa41b8ee81168e98826752a98c.zip opie-73738d14ca541eaa41b8ee81168e98826752a98c.tar.gz opie-73738d14ca541eaa41b8ee81168e98826752a98c.tar.bz2 |
Resource -> OResource
-rw-r--r-- | noncore/comm/keypebble/kvnc.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/noncore/comm/keypebble/kvnc.cpp b/noncore/comm/keypebble/kvnc.cpp index 3a8e919..c089551 100644 --- a/noncore/comm/keypebble/kvnc.cpp +++ b/noncore/comm/keypebble/kvnc.cpp | |||
@@ -1,10 +1,12 @@ | |||
1 | #include <opie2/oresource.h> | ||
2 | |||
3 | #include <qpe/qpeapplication.h> | ||
4 | |||
1 | #include <qaction.h> | 5 | #include <qaction.h> |
2 | #include <qpopupmenu.h> | 6 | #include <qpopupmenu.h> |
3 | #include <qpushbutton.h> | 7 | #include <qpushbutton.h> |
4 | #include <qmessagebox.h> | 8 | #include <qmessagebox.h> |
5 | #include <qlistbox.h> | 9 | #include <qlistbox.h> |
6 | #include <qpe/qpeapplication.h> | ||
7 | #include <qpe/resource.h> | ||
8 | 10 | ||
9 | #include <assert.h> | 11 | #include <assert.h> |
10 | 12 | ||
@@ -85,20 +87,20 @@ KVNC::KVNC( QWidget *parent, const char *name, WFlags ) : QMainWindow( parent, | |||
85 | setRightJustification(false); | 87 | setRightJustification(false); |
86 | 88 | ||
87 | 89 | ||
88 | QAction *n = new QAction( tr( "New Connection" ), Resource::loadPixmap( "new" ), | 90 | QAction *n = new QAction( tr( "New Connection" ), Opie::Core::OResource::loadPixmap( "new", |
89 | QString::null, 0, this, 0 ); | 91 | Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); |
90 | connect( n, SIGNAL( activated() ), | 92 | connect( n, SIGNAL( activated() ), |
91 | this, SLOT( newConnection() ) ); | 93 | this, SLOT( newConnection() ) ); |
92 | n->addTo( bar ); | 94 | n->addTo( bar ); |
93 | 95 | ||
94 | QAction *o = new QAction( tr( "Open Bookmark" ), Resource::loadPixmap( "fileopen" ), | 96 | QAction *o = new QAction( tr( "Open Bookmark" ), Opie::Core::OResource::loadPixmap( "fileopen", |
95 | QString::null, 0, this, 0 ); | 97 | Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); |
96 | connect( o, SIGNAL( activated() ), | 98 | connect( o, SIGNAL( activated() ), |
97 | this, SLOT( openConnection() ) ); | 99 | this, SLOT( openConnection() ) ); |
98 | o->addTo( bar ); | 100 | o->addTo( bar ); |
99 | 101 | ||
100 | QAction *d = new QAction( tr( "Delete Bookmark" ), Resource::loadPixmap( "trash" ), | 102 | QAction *d = new QAction( tr( "Delete Bookmark" ), Opie::Core::OResource::loadPixmap( "trash", |
101 | QString::null, 0, this, 0 ); | 103 | Opie::Core::OResource::SmallIcon ), QString::null, 0, this, 0 ); |
102 | connect( d, SIGNAL( activated() ), | 104 | connect( d, SIGNAL( activated() ), |
103 | this, SLOT( deleteBookmark() ) ); | 105 | this, SLOT( deleteBookmark() ) ); |
104 | d->addTo( bar ); | 106 | d->addTo( bar ); |