author | simon <simon> | 2002-12-02 14:12:57 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 14:12:57 (UTC) |
commit | 6a1400bdf754df18a1f20bd50ab5e5e4b0fd5a86 (patch) (side-by-side diff) | |
tree | d245c2d8dff55f422ed779c6c8ebeefb0ab10ac6 /noncore/multimedia/opieplayer2/playlistwidget.h | |
parent | cc1324d2def09e55e5a688fa3e2d33924f7f5ef9 (diff) | |
download | opie-6a1400bdf754df18a1f20bd50ab5e5e4b0fd5a86.zip opie-6a1400bdf754df18a1f20bd50ab5e5e4b0fd5a86.tar.gz opie-6a1400bdf754df18a1f20bd50ab5e5e4b0fd5a86.tar.bz2 |
- added a currentTab method that returns an enum containing the current tab
type in a verbose manner (AudioFiles, VideoFiles, CurrentPlayList, etc.),
as a future replacment for whichList() which just returns an integer
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index b2c389e..05d53a4 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h @@ -56,4 +56,6 @@ class PlayListWidget : public PlayListWidgetGui { Q_OBJECT public: + enum TabType { CurrentPlayList, AudioFiles, VideoFiles, PlayLists, NumTabTypes = 4 }; + PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); ~PlayListWidget(); @@ -68,4 +70,5 @@ public: int selected; int whichList(); + TabType currentTab() const; public slots: |