Sounds language pack choice
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
#include "updateinterface.h"
|
||||
|
||||
#include <QStandardItemModel>
|
||||
|
||||
class UpdateSounds : public UpdateInterface
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(UpdateSounds)
|
||||
@@ -30,6 +32,20 @@ class UpdateSounds : public UpdateInterface
|
||||
public:
|
||||
|
||||
explicit UpdateSounds(QWidget * parent);
|
||||
virtual ~UpdateSounds() {}
|
||||
virtual ~UpdateSounds();
|
||||
|
||||
protected:
|
||||
virtual bool flagAssets() override;
|
||||
|
||||
private:
|
||||
enum ItemModelDataRoles {
|
||||
IMDR_Language = Qt::UserRole,
|
||||
IMDR_Name,
|
||||
IMDR_Directory,
|
||||
};
|
||||
Q_ENUM(ItemModelDataRoles)
|
||||
|
||||
QStandardItemModel *langPacks;
|
||||
|
||||
bool flagLanguageAsset(QString lang);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user