-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index ce9faac..11a7b5c 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -1144,3 +1144,3 @@ void PlayListWidget::skinsMenuActivated( int item ) { -int PlayListWidget::whichList() { +int PlayListWidget::whichList() const { return tabWidget->currentPageIndex(); @@ -1159,3 +1159,3 @@ PlayListWidget::TabType PlayListWidget::currentTab() const -QString PlayListWidget::currentFileListPathName() { +QString PlayListWidget::currentFileListPathName() const { switch (whichList()) { diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index 05d53a4..7044abe 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h @@ -70,3 +70,3 @@ public: int selected; - int whichList(); + int whichList() const; TabType currentTab() const; @@ -79,3 +79,3 @@ public slots: void writeDefaultPlaylist( ); - QString currentFileListPathName(); + QString currentFileListPathName() const; protected: |