Page MenuHomePhabricator (Chris)

Languages.h
No OneTemporary

Authored By
Unknown
Size
506 B
Referenced Files
None
Subscribers
None

Languages.h

#ifndef LANGUAGES_H
#define LANGUAGES_H
#include <QObject>
class Languages : public QObject {
Q_OBJECT
public:
struct Item {
QString id;
QString description;
Item() = default;
Item(QString const &id, QString const &description)
: id(id)
, description(description)
{
}
};
QList<Item> items;
explicit Languages(QObject *parent = nullptr);
void addLanguage(QString const &code, QString const &description)
{
items.push_back(Item(code, description));
}
};
#endif // LANGUAGES_H

File Metadata

Mime Type
text/x-c++
Expires
Sat, Nov 14, 11:24 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
131062
Default Alt Text
Languages.h (506 B)

Event Timeline