Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/styles/qstyle.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    374374        SE_ShapedFrameContents,
    375375
     376        SE_ToolBarHandle,
     377
    376378        // do not add any values below/greater than this
    377379        SE_CustomBase = 0xf0000000
     
    454456        SC_MdiCloseButton   =      0x00000004,
    455457
     458        SC_CustomBase =            0xf0000000,
    456459        SC_All =                   0xffffffff
    457460    };
     
    629632    virtual QSize sizeFromContents(ContentsType ct, const QStyleOption *opt,
    630633                                   const QSize &contentsSize, const QWidget *w = 0) const = 0;
     634
     635    enum RequestSoftwareInputPanel {
     636        RSIP_OnMouseClickAndAlreadyFocused,
     637        RSIP_OnMouseClick
     638    };
    631639
    632640    enum StyleHint {
     
    728736        SH_TabBar_CloseButtonPosition,
    729737        SH_DockWidget_ButtonsHaveFrame,
    730 
     738        SH_ToolButtonStyle,
     739        SH_RequestSoftwareInputPanel,
    731740        // Add new style hint values here
    732741
     
    846855                              QStyleOption *option = 0, QWidget *widget = 0) const;
    847856
     857    const QStyle * proxy() const;
     858
    848859protected Q_SLOTS:
    849860    QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *opt = 0,
     
    860871    friend class QWidgetPrivate;
    861872    friend class QApplication;
     873    friend class QProxyStyle;
     874    friend class QProxyStylePrivate;
     875    void setProxy(QStyle *style);
    862876};
    863877
     
    865879Q_DECLARE_OPERATORS_FOR_FLAGS(QStyle::SubControls)
    866880
    867 #if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_DEBUG)
    868881Q_GUI_EXPORT QDebug operator<<(QDebug debug, QStyle::State state);
    869 #endif
    870882
    871883QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.