author | simon <simon> | 2002-12-02 14:38:47 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 14:38:47 (UTC) |
commit | 46d64cdfe9a3d949e91ea6a72828405d03337225 (patch) (unidiff) | |
tree | 992e6fd74384ed4b7126b73b3313d599b5035949 | |
parent | 77d55b631fa3cf26bfdf809c17ee3252d3c80ac0 (diff) | |
download | opie-46d64cdfe9a3d949e91ea6a72828405d03337225.zip opie-46d64cdfe9a3d949e91ea6a72828405d03337225.tar.gz opie-46d64cdfe9a3d949e91ea6a72828405d03337225.tar.bz2 |
- two const fixlets
-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 | |||
@@ -1143,5 +1143,5 @@ void PlayListWidget::skinsMenuActivated( int item ) { | |||
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | int PlayListWidget::whichList() { | 1145 | int PlayListWidget::whichList() const { |
1146 | return tabWidget->currentPageIndex(); | 1146 | return tabWidget->currentPageIndex(); |
1147 | } | 1147 | } |
@@ -1158,5 +1158,5 @@ PlayListWidget::TabType PlayListWidget::currentTab() const | |||
1158 | } | 1158 | } |
1159 | 1159 | ||
1160 | QString PlayListWidget::currentFileListPathName() { | 1160 | QString PlayListWidget::currentFileListPathName() const { |
1161 | switch (whichList()) { | 1161 | switch (whichList()) { |
1162 | case 1: | 1162 | case 1: |
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 | |||
@@ -69,5 +69,5 @@ public: | |||
69 | void useSelectedDocument(); | 69 | void useSelectedDocument(); |
70 | int selected; | 70 | int selected; |
71 | int whichList(); | 71 | int whichList() const; |
72 | TabType currentTab() const; | 72 | TabType currentTab() const; |
73 | 73 | ||
@@ -78,5 +78,5 @@ public slots: | |||
78 | bool prev(); | 78 | bool prev(); |
79 | void writeDefaultPlaylist( ); | 79 | void writeDefaultPlaylist( ); |
80 | QString currentFileListPathName(); | 80 | QString currentFileListPathName() const; |
81 | protected: | 81 | protected: |
82 | void keyReleaseEvent( QKeyEvent *e); | 82 | void keyReleaseEvent( QKeyEvent *e); |