author | simon <simon> | 2002-12-04 11:41:52 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-04 11:41:52 (UTC) |
commit | df599e48ffde0e5272e511bba57363ac28a67b2d (patch) (unidiff) | |
tree | 5e986bf7f6779209d3054b5d7ab02e18a20011ad | |
parent | 6a11cf48019e28006172cfb9a61e865816c3657e (diff) | |
download | opie-df599e48ffde0e5272e511bba57363ac28a67b2d.zip opie-df599e48ffde0e5272e511bba57363ac28a67b2d.tar.gz opie-df599e48ffde0e5272e511bba57363ac28a67b2d.tar.bz2 |
- the doclnkset is now fully encapsulated in PlayListFileView, no need
to have a public accessor anymore
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistfileview.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistfileview.h b/noncore/multimedia/opieplayer2/playlistfileview.h index 448473e..abe1bb8 100644 --- a/noncore/multimedia/opieplayer2/playlistfileview.h +++ b/noncore/multimedia/opieplayer2/playlistfileview.h | |||
@@ -1,34 +1,33 @@ | |||
1 | #ifndef PLAYLISTFILEVIEW_H | 1 | #ifndef PLAYLISTFILEVIEW_H |
2 | #define PLAYLISTFILEVIEW_H | 2 | #define PLAYLISTFILEVIEW_H |
3 | 3 | ||
4 | #include "playlistview.h" | 4 | #include "playlistview.h" |
5 | 5 | ||
6 | #include <qpe/applnk.h> | 6 | #include <qpe/applnk.h> |
7 | 7 | ||
8 | class PlayListFileView : public PlayListView | 8 | class PlayListFileView : public PlayListView |
9 | { | 9 | { |
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | public: | 11 | public: |
12 | PlayListFileView( const QString &mimeTypePattern, const QString &itemPixmapName, QWidget *parent, const char *name = 0 ); | 12 | PlayListFileView( const QString &mimeTypePattern, const QString &itemPixmapName, QWidget *parent, const char *name = 0 ); |
13 | virtual ~PlayListFileView(); | 13 | virtual ~PlayListFileView(); |
14 | 14 | ||
15 | // both temporarily accessible that way until the caller code has | 15 | // both temporarily accessible that way until the caller code has |
16 | // been migrated into this class | 16 | // been migrated into this class |
17 | DocLnkSet &files() { return m_files; } | ||
18 | bool &scannedFiles() { return m_scannedFiles; } | 17 | bool &scannedFiles() { return m_scannedFiles; } |
19 | 18 | ||
20 | public slots: | 19 | public slots: |
21 | void scanFiles(); | 20 | void scanFiles(); |
22 | void populateView(); | 21 | void populateView(); |
23 | 22 | ||
24 | private: | 23 | private: |
25 | QString m_mimeTypePattern; | 24 | QString m_mimeTypePattern; |
26 | QString m_itemPixmapName; | 25 | QString m_itemPixmapName; |
27 | DocLnkSet m_files; | 26 | DocLnkSet m_files; |
28 | bool m_scannedFiles; | 27 | bool m_scannedFiles; |
29 | bool m_viewPopulated; | 28 | bool m_viewPopulated; |
30 | }; | 29 | }; |
31 | 30 | ||
32 | #endif // PLAYLISTFILEVIEW_H | 31 | #endif // PLAYLISTFILEVIEW_H |
33 | /* vim: et sw=4 ts=4 | 32 | /* vim: et sw=4 ts=4 |
34 | */ | 33 | */ |