author | drw <drw> | 2005-05-24 22:29:46 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-24 22:29:46 (UTC) |
commit | 3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59 (patch) (unidiff) | |
tree | 2573d5c8bdad9d95eede843615a5baa1a45bbc95 /noncore/applets/pyquicklaunch/pyquicklaunch.cpp | |
parent | a2542a161d15feface21954afcd26f9ec51f131f (diff) | |
download | opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.zip opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.gz opie-3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/applets/pyquicklaunch/pyquicklaunch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/pyquicklaunch/pyquicklaunch.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/applets/pyquicklaunch/pyquicklaunch.cpp b/noncore/applets/pyquicklaunch/pyquicklaunch.cpp index bcd2f0d..45eda4e 100644 --- a/noncore/applets/pyquicklaunch/pyquicklaunch.cpp +++ b/noncore/applets/pyquicklaunch/pyquicklaunch.cpp | |||
@@ -13,16 +13,16 @@ | |||
13 | **********************************************************************/ | 13 | **********************************************************************/ |
14 | 14 | ||
15 | #include "pyquicklaunch.h" | 15 | #include "pyquicklaunch.h" |
16 | 16 | ||
17 | /* OPIE */ | 17 | /* OPIE */ |
18 | #include <opie2/odebug.h> | 18 | #include <opie2/odebug.h> |
19 | #include <opie2/oresource.h> | ||
19 | #include <opie2/otaskbarapplet.h> | 20 | #include <opie2/otaskbarapplet.h> |
20 | #include <qpe/config.h> | 21 | #include <qpe/config.h> |
21 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
22 | #include <qpe/resource.h> | ||
23 | using namespace Opie::Core; | 23 | using namespace Opie::Core; |
24 | 24 | ||
25 | /* QT */ | 25 | /* QT */ |
26 | #include <qcopchannel_qws.h> | 26 | #include <qcopchannel_qws.h> |
27 | #include <qpainter.h> | 27 | #include <qpainter.h> |
28 | #include <qframe.h> | 28 | #include <qframe.h> |
@@ -79,14 +79,14 @@ PyQuicklaunchApplet::PyQuicklaunchApplet( QWidget *parent, const char *name ) | |||
79 | : QWidget( parent, name ), online( false ) | 79 | : QWidget( parent, name ), online( false ) |
80 | { | 80 | { |
81 | setFixedHeight( 18 ); | 81 | setFixedHeight( 18 ); |
82 | setFixedWidth( 14 ); | 82 | setFixedWidth( 14 ); |
83 | status = new PyQuicklaunchControl( this, this, "Python Quicklaunch Status" ); | 83 | status = new PyQuicklaunchControl( this, this, "Python Quicklaunch Status" ); |
84 | 84 | ||
85 | _online = Resource::loadPixmap( "pyquicklaunch/online" ); | 85 | _online = Opie::Core::OResource::loadPixmap( "pyquicklaunch/online", Opie::Core::OResource::SmallIcon ); |
86 | _offline = Resource::loadPixmap( "pyquicklaunch/offline" ); | 86 | _offline = Opie::Core::OResource::loadPixmap( "pyquicklaunch/offline", Opie::Core::OResource::SmallIcon ); |
87 | 87 | ||
88 | _fifoName = QString().sprintf( "/tmp/mickeys-quicklauncher-%s", ::getpwuid( ::getuid() )->pw_name ); | 88 | _fifoName = QString().sprintf( "/tmp/mickeys-quicklauncher-%s", ::getpwuid( ::getuid() )->pw_name ); |
89 | odebug << "PyQuicklaunchApplet fifo name = '" << _fifoName << "'" << oendl; | 89 | odebug << "PyQuicklaunchApplet fifo name = '" << _fifoName << "'" << oendl; |
90 | _fifo.setName( _fifoName ); | 90 | _fifo.setName( _fifoName ); |
91 | 91 | ||
92 | _control = new QCopChannel( "QPE/PyLauncher", parent, "PyLauncher QCop Control Channel" ); | 92 | _control = new QCopChannel( "QPE/PyLauncher", parent, "PyLauncher QCop Control Channel" ); |