summaryrefslogtreecommitdiff
authorsimon <simon>2002-12-14 18:12:24 (UTC)
committer simon <simon>2002-12-14 18:12:24 (UTC)
commitae7a270c56fa0fff6d3f530c80532c54c51be596 (patch) (side-by-side diff)
tree1b2012f79c9f4f8c8089fcc9732b109d494d1654
parentd73e34645e839c1aea21bd62e622788361cf866d (diff)
downloadopie-ae7a270c56fa0fff6d3f530c80532c54c51be596.zip
opie-ae7a270c56fa0fff6d3f530c80532c54c51be596.tar.gz
opie-ae7a270c56fa0fff6d3f530c80532c54c51be596.tar.bz2
- removed unused method
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.cpp8
-rw-r--r--noncore/multimedia/opieplayer2/skin.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.cpp b/noncore/multimedia/opieplayer2/skin.cpp
index d6f4080..a8f4ae9 100644
--- a/noncore/multimedia/opieplayer2/skin.cpp
+++ b/noncore/multimedia/opieplayer2/skin.cpp
@@ -81,24 +81,16 @@ Skin::~Skin()
}
void Skin::init( const QString &name )
{
m_skinPath = "opieplayer2/skins/" + name;
d = SkinCache::self().lookupAndTake( m_skinPath, m_fileNameInfix );
}
-void Skin::preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount )
-{
- backgroundPixmap();
- buttonUpImage();
- buttonDownImage();
- ( void )buttonMask( skinButtonInfo, buttonCount );
-}
-
QPixmap Skin::backgroundPixmap() const
{
if ( d->backgroundPixmap.isNull() )
d->backgroundPixmap = loadImage( QString( "%1/background" ).arg( m_skinPath ) );
return d->backgroundPixmap;
}
QImage Skin::buttonUpImage() const
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h
index 90062c2..bafebd3 100644
--- a/noncore/multimedia/opieplayer2/skin.h
+++ b/noncore/multimedia/opieplayer2/skin.h
@@ -33,18 +33,16 @@ struct SkinData;
class Skin
{
public:
Skin( const QString &name, const QString &fileNameInfix );
Skin( const QString &fileNameInfix );
~Skin();
- void preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount );
-
QPixmap backgroundPixmap() const;
QImage buttonUpImage() const;
QImage buttonDownImage() const;
QImage buttonMask( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount ) const;
QImage buttonMaskImage( const QString &fileName ) const;