-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 13 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 12 |
2 files changed, 15 insertions, 10 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 8dbfb3d..7bf3a19 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp @@ -52,4 +52,7 @@ -static const int xo = -2; // movable x offset -static const int yo = 22; // movable y offset +namespace +{ + +const int xo = -2; // movable x offset +const int yo = 22; // movable y offset @@ -78,4 +81,3 @@ const char * const skin_mask_file_names[10] = { - -static void changeTextColor( QWidget * w) { +void changeTextColor( QWidget * w) { QPalette p = w->palette(); @@ -86,4 +88,5 @@ static void changeTextColor( QWidget * w) { -static const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton)); +const int numButtons = (sizeof(audioButtons)/sizeof(MediaButton)); +} diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index b7305fe..a0aed62 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -55,6 +55,7 @@ +namespace +{ - -static const int xo = 2; // movable x offset -static const int yo = 0; // movable y offset +const int xo = 2; // movable x offset +const int yo = 0; // movable y offset @@ -75,3 +76,3 @@ MediaButton videoButtons[] = { -const char *skinV_mask_file_names[7] = { +const char * const skinV_mask_file_names[7] = { "stop","play","back","fwd","up","down","full" @@ -79,4 +80,5 @@ const char *skinV_mask_file_names[7] = { -static const int numVButtons = (sizeof(videoButtons)/sizeof(MediaButton)); +const int numVButtons = (sizeof(videoButtons)/sizeof(MediaButton)); +} |