Hi,
I thought of this:
> - I'd prefer to use a QHash<int, QString> commands private variable to
> having so many string variables as well as an enum to specify the
> command (something like enum Command { PlayCommand, NextCommand,
> ...};) but that's just my preference
In order to save the other variables (searchCollection, useCommands, ...), too 
I take a QHash<QString, QVariant>

Cheers Jan
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to