Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625384
Languages.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
506 B
Referenced Files
None
Subscribers
None
Languages.h
View Options
#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
Details
Attached
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)
Attached To
Mode
R77 Guitar
Attached
Detach File
Event Timeline