Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PlayListSelection Class Reference

#include </home/clem/local/src/opie/core/apps/embeddedkonsole/playlistselection.h>

Collaboration diagram for PlayListSelection:

Collaboration graph
[legend]
List of all members.

Public Slots

void addToSelection (QListViewItem *)
void addStringToSelection (const QString &)
void removeSelected ()
void moveSelectedUp ()
void moveSelectedDown ()
bool prev ()
bool next ()
bool first ()
bool last ()
void addToSelection (const DocLnk &)
void removeSelected ()
void moveSelectedUp ()
void moveSelectedDown ()
void unSelect ()
void writeCurrent (Config &)
void setSelectedItem (const QString &)
bool prev ()
bool next ()
bool first ()
bool last ()
void addToSelection (const DocLnk &)
void removeSelected ()
void moveSelectedUp ()
void moveSelectedDown ()
void unSelect ()
void writeCurrent (Config &)
void setSelectedItem (const QString &)
bool prev ()
bool next ()
bool first ()
bool last ()
bool isEmpty () const

Public Member Functions

 PlayListSelection (QWidget *parent, const char *name=0)
 ~PlayListSelection ()
const QStringcurrent ()
 PlayListSelection (QWidget *parent, const char *name=0)
 ~PlayListSelection ()
const DocLnkcurrent ()
 PlayListSelection (QWidget *parent, const char *name=0)
 ~PlayListSelection ()
const DocLnkcurrent ()

Protected Member Functions

virtual void contentsMouseMoveEvent (QMouseEvent *)
virtual void contentsMouseMoveEvent (QMouseEvent *)
virtual void drawBackground (QPainter *p, const QRect &r)
virtual void paintEmptyArea (QPainter *p, const QRect &r)
virtual void contentsMouseMoveEvent (QMouseEvent *)
virtual void drawBackground (QPainter *p, const QRect &r)
virtual void paintEmptyArea (QPainter *p, const QRect &r)

Private Attributes

QStringList selectedList
QStringcmd
QList< DocLnkselectedList
const DocLnklnk
QList< DocLnkselectedList
const DocLnklnk

Constructor & Destructor Documentation

PlayListSelection::PlayListSelection QWidget *  parent,
const char *  name = 0
 

Definition at line 33 of file playlistselection.cpp.

References FALSE, tr, and TRUE.

PlayListSelection::~PlayListSelection  ) 
 

Definition at line 43 of file playlistselection.cpp.

PlayListSelection::PlayListSelection QWidget *  parent,
const char *  name = 0
 

PlayListSelection::~PlayListSelection  ) 
 

PlayListSelection::PlayListSelection QWidget *  parent,
const char *  name = 0
 

PlayListSelection::~PlayListSelection  ) 
 


Member Function Documentation

void PlayListSelection::addStringToSelection const QString  )  [slot]
 

Definition at line 77 of file playlistselection.cpp.

References current(), and TRUE.

void PlayListSelection::addToSelection const DocLnk  )  [slot]
 

void PlayListSelection::addToSelection const DocLnk  )  [slot]
 

Definition at line 103 of file playlistselection.cpp.

References current(), and TRUE.

void PlayListSelection::addToSelection QListViewItem *   )  [slot]
 

Definition at line 68 of file playlistselection.cpp.

References current(), and TRUE.

Referenced by PlayListWidget::addAllMusicToList(), PlayListWidget::addAllToList(), PlayListWidget::addAllVideoToList(), PlayListWidget::addFileToPlaylist(), PlayListWidget::addSelected(), PlayListWidget::addToSelection(), PlayListWidget::openFile(), PlayListWidget::openURL(), PlayListWidget::readConfig(), PlayListWidget::readListFromFile(), PlayListWidget::readm3u(), PlayListWidget::readPls(), and PlayListWidget::readpodcast().

virtual void PlayListSelection::contentsMouseMoveEvent QMouseEvent *   )  [protected, virtual]
 

virtual void PlayListSelection::contentsMouseMoveEvent QMouseEvent *   )  [protected, virtual]
 

void PlayListSelection::contentsMouseMoveEvent QMouseEvent *   )  [protected, virtual]
 

Definition at line 48 of file playlistselection.cpp.

References moveSelectedDown(), and moveSelectedUp().

const DocLnk* PlayListSelection::current  ) 
 

const DocLnk* PlayListSelection::current  ) 
 

const DocLnk * PlayListSelection::current  ) 
 

Definition at line 60 of file playlistselection.cpp.

References PlayListSelectionItem::file(), and NULL.

Referenced by addStringToSelection(), addToSelection(), PlayListWidget::current(), PlayListWidget::writeConfig(), PlayListWidget::writeCurrentM3u(), PlayListWidget::writeDefaultPlaylist(), and PlayListWidget::writem3u().

virtual void PlayListSelection::drawBackground QPainter *  p,
const QRect &  r
[protected, virtual]
 

void PlayListSelection::drawBackground QPainter *  p,
const QRect &  r
[protected, virtual]
 

Definition at line 73 of file playlistselection.cpp.

bool PlayListSelection::first  )  [slot]
 

bool PlayListSelection::first  )  [slot]
 

bool PlayListSelection::first  )  [slot]
 

Definition at line 134 of file playlistselection.cpp.

References FALSE, and TRUE.

Referenced by PlayListWidget::addAllMusicToList(), PlayListWidget::addAllToList(), PlayListWidget::addAllVideoToList(), PlayListWidget::current(), PlayListWidget::first(), PlayListWidget::keyReleaseEvent(), PlayListWidget::next(), PlayListWidget::openDirectory(), PlayListWidget::prev(), PlayListWidget::setDocumentEx(), PlayListWidget::writeConfig(), PlayListWidget::writeCurrentM3u(), PlayListWidget::writeDefaultPlaylist(), and PlayListWidget::writem3u().

bool PlayListSelection::isEmpty  )  const [inline, slot]
 

Definition at line 48 of file playlistselection.h.

Referenced by PlayListWidget::openDirectory(), and PlayListWidget::setButtons().

bool PlayListSelection::last  )  [slot]
 

bool PlayListSelection::last  )  [slot]
 

bool PlayListSelection::last  )  [slot]
 

Definition at line 145 of file playlistselection.cpp.

References FALSE, NULL, and TRUE.

Referenced by PlayListWidget::last(), and PlayListWidget::prev().

void PlayListSelection::moveSelectedDown  )  [slot]
 

void PlayListSelection::moveSelectedDown  )  [slot]
 

void PlayListSelection::moveSelectedDown  )  [slot]
 

Definition at line 104 of file playlistselection.cpp.

Referenced by contentsMouseMoveEvent().

void PlayListSelection::moveSelectedUp  )  [slot]
 

void PlayListSelection::moveSelectedUp  )  [slot]
 

void PlayListSelection::moveSelectedUp  )  [slot]
 

Definition at line 96 of file playlistselection.cpp.

Referenced by contentsMouseMoveEvent().

bool PlayListSelection::next  )  [slot]
 

bool PlayListSelection::next  )  [slot]
 

bool PlayListSelection::next  )  [slot]
 

Definition at line 123 of file playlistselection.cpp.

References FALSE, and TRUE.

Referenced by PlayListWidget::keyReleaseEvent(), PlayListWidget::next(), PlayListWidget::prev(), PlayListWidget::writeConfig(), PlayListWidget::writeCurrentM3u(), PlayListWidget::writeDefaultPlaylist(), and PlayListWidget::writem3u().

virtual void PlayListSelection::paintEmptyArea QPainter *  p,
const QRect &  r
[inline, protected, virtual]
 

Definition at line 54 of file playlistselection.h.

virtual void PlayListSelection::paintEmptyArea QPainter *  p,
const QRect &  r
[inline, protected, virtual]
 

Definition at line 52 of file playlistselection.h.

bool PlayListSelection::prev  )  [slot]
 

bool PlayListSelection::prev  )  [slot]
 

bool PlayListSelection::prev  )  [slot]
 

Definition at line 112 of file playlistselection.cpp.

References FALSE, and TRUE.

Referenced by PlayListWidget::keyReleaseEvent(), and PlayListWidget::prev().

void PlayListSelection::removeSelected  )  [slot]
 

void PlayListSelection::removeSelected  )  [slot]
 

void PlayListSelection::removeSelected  )  [slot]
 

Definition at line 86 of file playlistselection.cpp.

References odebug, oendl, and TRUE.

Referenced by PlayListWidget::btnPlay(), PlayListWidget::clearList(), and PlayListWidget::removeSelected().

void PlayListSelection::setSelectedItem const QString  )  [slot]
 

void PlayListSelection::setSelectedItem const QString  )  [slot]
 

Definition at line 197 of file playlistselection.cpp.

References TRUE, and unSelect().

Referenced by PlayListWidget::openURL(), PlayListWidget::readConfig(), PlayListWidget::readListFromFile(), and PlayListWidget::readm3u().

void PlayListSelection::unSelect  )  [slot]
 

void PlayListSelection::unSelect  )  [slot]
 

Definition at line 183 of file playlistselection.cpp.

References FALSE.

Referenced by PlayListWidget::btnPlay(), PlayListWidget::playIt(), and setSelectedItem().

void PlayListSelection::writeCurrent Config  )  [slot]
 

void PlayListSelection::writeCurrent Config  )  [slot]
 

Definition at line 188 of file playlistselection.cpp.

References Config::setGroup(), and Config::writeEntry().

Referenced by PlayListWidget::writeConfig().


Member Data Documentation

QString* PlayListSelection::cmd [private]
 

Definition at line 68 of file playlistselection.h.

const DocLnk* PlayListSelection::lnk [private]
 

Definition at line 59 of file playlistselection.h.

const DocLnk* PlayListSelection::lnk [private]
 

Definition at line 57 of file playlistselection.h.

QList<DocLnk> PlayListSelection::selectedList [private]
 

Definition at line 54 of file playlistselection.h.

QList<DocLnk> PlayListSelection::selectedList [private]
 

Definition at line 52 of file playlistselection.h.

QStringList PlayListSelection::selectedList [private]
 

Definition at line 67 of file playlistselection.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:44:51 2005 for OPIE by  doxygen 1.4.2