summaryrefslogtreecommitdiff
path: root/src/controls/qtmenu_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2013-03-01 16:31:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-01 18:25:58 +0100
commited63c5433e291ee7f17bc93ee797fb37c535aae0 (patch)
treeee993c7c70d1bbadc68f26e37f4c630d67936fab /src/controls/qtmenu_p.h
parent0db39ab11b0a56140182b75edd34a17a8e873ae4 (diff)
downloadqtquickcontrols-ed63c5433e291ee7f17bc93ee797fb37c535aae0.tar.gz
QtMenu*: Use QtAction as private implementation
This avoids needing to duplicate some logic, in particular icon source and name changes triggering icon updates. Change-Id: Id8b34fa365db6d31eb6855f690c13073fd589a2c Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/qtmenu_p.h')
-rw-r--r--src/controls/qtmenu_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/qtmenu_p.h b/src/controls/qtmenu_p.h
index a66880cc..887fdd72 100644
--- a/src/controls/qtmenu_p.h
+++ b/src/controls/qtmenu_p.h
@@ -123,6 +123,7 @@ public:
protected Q_SLOTS:
+ void updateText();
void windowVisibleChanged(bool);
void updateSelectedIndex();