From 8bad802a4418da8b34a5a8ebe2854e5bfa329dd2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 27 Dec 2011 18:31:38 +0100 Subject: [PATCH] restore the new api after the 4.8 merge the new api was removed from 4.8 branch, merging removed it from master, add it again, so merging 4.8 into master will work (at least until the first cherrypick ;) --- declarativeimports/plasmacomponents/qmenu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/declarativeimports/plasmacomponents/qmenu.h b/declarativeimports/plasmacomponents/qmenu.h index c021601df..0621f2f23 100644 --- a/declarativeimports/plasmacomponents/qmenu.h +++ b/declarativeimports/plasmacomponents/qmenu.h @@ -52,6 +52,8 @@ 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();