summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp9
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.h20
-rw-r--r--noncore/multimedia/opieplayer2/nullvideo.c0
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp3
4 files changed, 9 insertions, 23 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index e21b0b1..6ccf206 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -149,6 +149,11 @@ AudioWidget::AudioWidget(QWidget* parent, const char* name, WFlags f) :
+// Config cofg("qpe");
+// cofg.setGroup("Appearance");
+// QColor backgroundcolor = QColor( cofg.readEntry( "Background", "#E5E1D5" ) );
+
time.setFocusPolicy( QWidget::NoFocus );
time.setAlignment( Qt::AlignCenter );
- time.setFrame(FALSE);
- changeTextColor( &time );
+
+// time.setFrame(FALSE);
+// changeTextColor( &time );
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h
index bcd941e..7cb1d79 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.h
+++ b/noncore/multimedia/opieplayer2/audiowidget.h
@@ -45,2 +45,3 @@
+#include <opie/oticker.h>
@@ -64,19 +65,2 @@ enum AudioButtons {
-class Ticker : public QFrame {
- Q_OBJECT
-
-public:
- Ticker( QWidget* parent=0 );
- ~Ticker();
- void setText( const QString& text ) ;
-
-protected:
- void timerEvent( QTimerEvent * );
- void drawContents( QPainter *p );
-private:
- QString scrollText;
- int pos, pixelLen;
-};
-
-
class AudioWidget : public QWidget {
@@ -140,3 +124,3 @@ private:
QPixmap *pixmaps[4];
- Ticker songInfo;
+ OTicker songInfo;
QSlider slider;
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c
index 707efeb..9c285a0 100644
--- a/noncore/multimedia/opieplayer2/nullvideo.c
+++ b/noncore/multimedia/opieplayer2/nullvideo.c
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp
index 040ef71..8e88e9b 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.cpp
+++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp
@@ -793,5 +793,2 @@ void PlayListWidget::readm3u( const QString &filename ) {
lnk.setIcon("opieplayer2/musicfile");
-// if(s.right(4) != '.' || s.right(5) != '.')
-// lnk.setFile( s+"/"); //if url with no extension
-// else
lnk.setFile( s ); //sets file name