summaryrefslogtreecommitdiff
path: root/noncore
authorsimon <simon>2002-12-03 23:18:07 (UTC)
committer simon <simon>2002-12-03 23:18:07 (UTC)
commitf4067784367c7a7ce52fd18c3458b483fa79a716 (patch) (side-by-side diff)
treec9d8e167e1c2496fa9be20442d59a3dab57c7db3 /noncore
parent56d74fadbb911e169461a9bbefa664cd1ab6b129 (diff)
downloadopie-f4067784367c7a7ce52fd18c3458b483fa79a716.zip
opie-f4067784367c7a7ce52fd18c3458b483fa79a716.tar.gz
opie-f4067784367c7a7ce52fd18c3458b483fa79a716.tar.bz2
- a couple of public member variables made private
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h
index ad5c9a3..62d78a2 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.h
+++ b/noncore/multimedia/opieplayer2/playlistwidget.h
@@ -62,33 +62,28 @@ public:
{
Entry( const QString &_name, const QString &_fileName )
: name( _name ), file( _fileName ) {}
Entry( const QString &_fileName )
: name( _fileName ), file( _fileName ) {}
QString name;
QString file;
};
PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* parent=0, const char* name=0 );
~PlayListWidget();
- DocLnkSet files;
- DocLnkSet vFiles;
- bool fromSetDocument;
- bool insanityBool;
- QString setDocFileRef, currentPlayList;
+
// retrieve the current playlist entry (media file link)
const DocLnk *current() const;
void useSelectedDocument();
- int selected;
TabType currentTab() const;
Entry currentEntry() const;
public slots:
bool first();
bool last();
bool next();
bool prev();
void writeDefaultPlaylist( );
QString currentFileListPathName() const;
protected:
@@ -129,16 +124,23 @@ private slots:
void saveList(); // Save the playlist
void loadList( const DocLnk &); // Load a playlist
void playIt( QListViewItem *);
void btnPlay(bool);
void deletePlaylist();
void addSelected();
void removeSelected();
void tabChanged(QWidget*);
void viewPressed( int, QListViewItem *, const QPoint&, int);
void playlistViewPressed( int, QListViewItem *, const QPoint&, int);
void playSelected();
+private:
+ DocLnkSet files;
+ DocLnkSet vFiles;
+ bool fromSetDocument;
+ bool insanityBool;
+ QString setDocFileRef, currentPlayList;
+ int selected;
};
#endif // PLAY_LIST_WIDGET_H