Hi, I try program a menu based on a double linked list. Each menu-item is an Object of e.g. type "header" or "item". Now I want to support several languages for the menu. I thought to pass an array with the text in different languages to the constructor when creating the node. Is this a good approach?
And my second question is how pass an array 'directly' when creating the object like
Node *node1 = new Node( {"language1", "language2"}, type, ... );
Node *node1 = new Node( {"language1", "language2"}, type, ... );
To copy to clipboard, switch view to plain text mode
when I have a QString array.
Best regards
Christoph
Bookmarks