summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/skin.h
authorsimon <simon>2002-12-11 13:12:29 (UTC)
committer simon <simon>2002-12-11 13:12:29 (UTC)
commitcd5e96b40ceae9158e5cb01e71769e895ea7a3c1 (patch) (side-by-side diff)
tree0a5e1961a31096f995e00215d851c3af8e8ae877 /noncore/multimedia/opieplayer2/skin.h
parent57a776c8345422a0fc32b3fb9d604be1c050d201 (diff)
downloadopie-cd5e96b40ceae9158e5cb01e71769e895ea7a3c1.zip
opie-cd5e96b40ceae9158e5cb01e71769e895ea7a3c1.tar.gz
opie-cd5e96b40ceae9158e5cb01e71769e895ea7a3c1.tar.bz2
- moved default skin name reading over to skin class
Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/skin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h
index ee19f4b..58f1849 100644
--- a/noncore/multimedia/opieplayer2/skin.h
+++ b/noncore/multimedia/opieplayer2/skin.h
@@ -11,6 +11,7 @@ class Skin
{
public:
Skin( const QString &name, const QString &fileNameInfix );
+ Skin( const QString &fileNameInfix );
void preload( const MediaWidget::SkinButtonInfo *skinButtonInfo, uint buttonCount );
@@ -22,10 +23,13 @@ public:
QImage buttonMaskImage( const QString &fileName ) const;
+ static QString defaultSkinName();
+
private:
+ void init( const QString &name );
+
void addButtonToMask( int tag, const QImage &maskImage ) const;
- QString m_name;
QString m_fileNameInfix;
QString m_skinPath;