Allow ComboBox.addItem() to be used in scripts.

svn path=/trunk/KDE/kdelibs/; revision=1096017
This commit is contained in:
Mathieu Ducharme 2010-02-25 14:14:13 +00:00
parent 6934ba2672
commit c39557b55e

View File

@ -85,7 +85,7 @@ public:
* Adds an item to the combo box with the given text. The
* item is appended to the list of existing items.
*/
void addItem(const QString &text);
Q_INVOKABLE void addItem(const QString &text);
public Q_SLOTS:
void clear();