#include <itunesdb.h>
Inheritance diagram for ITunesDBSPLRuleSet:

Public Member Functions | |
| ITunesDBSPLRuleSet (const itunesdb::SmartPlaylistRuleSet &src, ITunesDBPlaylist &playlist, const ITunesDB &itunesdb) | |
| ITunesDBSPLRuleSet (ITunesDBPlaylist &playlist, const ITunesDB &itunesdb) | |
| virtual bool | addStringRule (itunesdb::SPLStringField field, itunesdb::SPLStringAction action, const QString &testString, int position=-1) |
| virtual bool | addUIntRule (itunesdb::SPLUIntField field, itunesdb::SPLUIntAction action, Q_UINT64 fromValue, Q_UINT64 toValue, Q_INT64 fromDate, Q_INT64 toDate, Q_UINT64 fromUnits, Q_UINT64 toUnits, int position=-1) |
| void | refreshPlaylist (bool force=false) |
Protected Member Functions | |
| virtual itunesdb::SmartPlaylistRule * | createStringRule (itunesdb::SPLStringField field, itunesdb::SPLStringAction action, const QString &testString) |
| virtual itunesdb::SmartPlaylistRule * | createUIntRule (itunesdb::SPLUIntField field, itunesdb::SPLUIntAction action, Q_UINT64 fromValue, Q_UINT64 toValue, Q_INT64 fromDate, Q_INT64 toDate, Q_UINT64 fromUnits, Q_UINT64 toUnits) |
| virtual bool | operator() (const itunesdb::Track &track) |
itunesdb::SmartPlaylistRuleSet for further information.
|
||||||||||||||||||||
|
adds a string based rule to the rule set and returns true if successful. Reimplemented from itunesdb::SmartPlaylistRuleSet. |
|
||||||||||||||||||||||||||||||||||||||||
|
adds a uint based rule to the rule set and returns true if successful. Reimplemented from itunesdb::SmartPlaylistRuleSet. |
|
|
Implement this method accordingly to the documentation above and (!) the documentation of the function this predicate will be given to. Implements itunesdb::TrackPredicate. |
|
|
Refreshes the playlist associated with this set of rules. If the database didn't change since the last refresh and
|
1.4.6