revert api addition on 4.9

this was supposed to be only for master/4.9
This commit is contained in:
Marco Martin 2011-12-21 12:09:17 +01:00
parent 12f1725fc8
commit d4b7cccfc7
2 changed files with 0 additions and 15 deletions

View File

@ -73,19 +73,6 @@ void QMenuProxy::setVisualParent(QDeclarativeItem *parent)
emit visualParentChanged();
}
void QMenuProxy::clearMenuItems()
{
qDeleteAll(m_items);
m_items.clear();
}
void QMenuProxy::addMenuItem(const QString &text)
{
QMenuItem *item = new QMenuItem(this);
item->setText(text);
m_items << item;
}
void QMenuProxy::showMenu(int x, int y)
{
m_menu->clear();

View File

@ -52,8 +52,6 @@ public:
void showMenu(int x, int y);
Q_INVOKABLE void open();
Q_INVOKABLE void close();
Q_INVOKABLE void clearMenuItems();
Q_INVOKABLE void addMenuItem(const QString &text);
Q_SIGNALS:
void statusChanged();