Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qsoftkeymanager_p.h

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    6464class QSoftKeyManagerPrivate;
    6565
     66const char MENU_ACTION_PROPERTY[] = "_q_menuaction";
     67
    6668class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject
    6769{
     
    8082
    8183    static void updateSoftKeys();
     84#ifdef Q_WS_S60
     85    static bool handleCommand(int);
     86#endif
     87
    8288    static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget);
    8389    static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget);
    8490
    85 #ifdef Q_WS_S60
    86     static bool handleCommand(int);
    87 #endif
     91protected:
     92    bool event(QEvent *e);
    8893
    8994private:
     
    9196    static QSoftKeyManager *instance();
    9297    static const char *standardSoftKeyText(StandardSoftKey standardKey);
    93 
    94 protected:
    95     bool event(QEvent *e);
    96 
    97     Q_DISABLE_COPY(QSoftKeyManager)
     98    bool appendSoftkeys(const QWidget &source, int level);
     99    QWidget *softkeySource(QWidget *previousSource, bool& recursiveMerging);
     100    bool handleUpdateSoftKeys();
    98101
    99102private Q_SLOTS:
    100103    void cleanupHash(QObject* obj);
    101104    void sendKeyEvent();
     105
     106private:
     107    Q_DISABLE_COPY(QSoftKeyManager)
    102108};
    103109
Note: See TracChangeset for help on using the changeset viewer.