src/gui/widgets/qmenubar_p.h
changeset 7 f7bc934e204c
parent 0 1918ee327afb
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
   241     bool wceEmitSignals(QList<QWceMenuAction*> actions, uint command);
   241     bool wceEmitSignals(QList<QWceMenuAction*> actions, uint command);
   242 #endif
   242 #endif
   243 #ifdef Q_WS_S60
   243 #ifdef Q_WS_S60
   244     void symbianCreateMenuBar(QWidget *);
   244     void symbianCreateMenuBar(QWidget *);
   245     void symbianDestroyMenuBar();
   245     void symbianDestroyMenuBar();
       
   246     void reparentMenuBar(QWidget *oldParent, QWidget *newParent);
   246     struct QSymbianMenuBarPrivate {
   247     struct QSymbianMenuBarPrivate {
   247         QList<QSymbianMenuAction*> actionItems;
   248         QList<QSymbianMenuAction*> actionItems;
   248         QMenuBarPrivate *d;
   249         QMenuBarPrivate *d;
   249         QSymbianMenuBarPrivate(QMenuBarPrivate *menubar);
   250         QSymbianMenuBarPrivate(QMenuBarPrivate *menubar);
   250         ~QSymbianMenuBarPrivate();
   251         ~QSymbianMenuBarPrivate();
   265         }
   266         }
   266         void insertNativeMenuItems(const QList<QAction*> &actions);
   267         void insertNativeMenuItems(const QList<QAction*> &actions);
   267 
   268 
   268     } *symbian_menubar;
   269     } *symbian_menubar;
   269     static int symbianCommands(int command);
   270     static int symbianCommands(int command);
   270 
   271 #ifdef QT_SOFTKEYS_ENABLED
       
   272     QAction *menuBarAction;
       
   273 #endif
   271 #endif
   274 #endif
   272 };
   275 };
   273 #endif
   276 #endif
   274 
   277 
   275 #endif // QT_NO_MENUBAR
   278 #endif // QT_NO_MENUBAR