summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2005-06-02 10:50:16 (UTC)
committer mickeyl <mickeyl>2005-06-02 10:50:16 (UTC)
commitf55a56f54de1d3fa9084160159a379079a317d96 (patch) (side-by-side diff)
treeebf3cfeed6833c8147f291aedc5d73d23c8ecde7
parent9d6c759ac1adc5cb654bb3ada6b1d64cddc7217d (diff)
downloadopie-f55a56f54de1d3fa9084160159a379079a317d96.zip
opie-f55a56f54de1d3fa9084160159a379079a317d96.tar.gz
opie-f55a56f54de1d3fa9084160159a379079a317d96.tar.bz2
s/Resource/OResource/
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp
index b2c1649..b95c544 100644
--- a/noncore/multimedia/opieplayer2/skin.cpp
+++ b/noncore/multimedia/opieplayer2/skin.cpp
@@ -19,20 +19,25 @@
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "skin.h"
#include "singleton.h"
+
+/* OPIE */
#include <opie2/odebug.h>
+#include <opie2/oresource.h>
+using namespace Opie::Core;
+#include <qpe/config.h>
+#include <qpe/global.h>
+/* QT */
#include <qcache.h>
#include <qtimer.h>
-#include <qpe/config.h>
-#include <qpe/global.h>
-
+/* STD */
#include <assert.h>
struct SkinData
{
typedef QMap<QString, QImage> ButtonMaskImageMap;
@@ -158,13 +163,13 @@ QString Skin::defaultSkinName()
cfg.setGroup( "Options" );
return cfg.readEntry( "Skin", "default" );
}
QImage Skin::loadImage( const QString &fileName )
{
- return QImage( Resource::findPixmap( fileName ) );
+ return QImage( OResource::findPixmap( fileName ) );
}
SkinCache::SkinCache()
{
// let's say we cache two skins (audio+video) at maximum
m_cache.setMaxCost( 2 );