#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.
| bool ITunesDBSPLRuleSet::operator() | ( | const itunesdb::Track & | track | ) | [protected, virtual] |
Implement this method accordingly to the documentation above and (!) the documentation of the function this predicate will be given to.
Implements itunesdb::TrackPredicate.
| bool ITunesDBSPLRuleSet::addStringRule | ( | itunesdb::SPLStringField | field, | |
| itunesdb::SPLStringAction | action, | |||
| const QString & | testString, | |||
| int | position = -1 | |||
| ) | [virtual] |
adds a string based rule to the rule set and returns true if successful.
Reimplemented from itunesdb::SmartPlaylistRuleSet.
| bool ITunesDBSPLRuleSet::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 | |||
| ) | [virtual] |
adds a uint based rule to the rule set and returns true if successful.
Reimplemented from itunesdb::SmartPlaylistRuleSet.
| void ITunesDBSPLRuleSet::refreshPlaylist | ( | bool | force = false |
) |
Refreshes the playlist associated with this set of rules. If the database didn't change since the last refresh and force is false the playlist won't be updated.
| force | forces the rule set to update the playlist even if the database didn't change. |
1.5.1