diff options
author | Aurélien Gâteau <agateau@kde.org> | 2011-04-14 08:00:36 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2011-04-14 08:00:36 (GMT) |
commit | 3d188ffae259584c4351c5fa766a49da9b189112 (patch) | |
tree | 1faf555bf2800f9519f4dd95dc3b0dbc34b631f1 /src/gui/widgets | |
parent | a624a4011adca00d7334462c4d33f574c465110a (diff) | |
download | Qt-3d188ffae259584c4351c5fa766a49da9b189112.zip Qt-3d188ffae259584c4351c5fa766a49da9b189112.tar.gz Qt-3d188ffae259584c4351c5fa766a49da9b189112.tar.bz2 |
Renamed QAbstractMenuBarImpl to QAbstractMenuBarInterface
Merge-request: 916
Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qabstractmenubarinterface_p.h (renamed from src/gui/widgets/qabstractmenubarimpl_p.h) | 16 | ||||
-rw-r--r-- | src/gui/widgets/qmenubar_p.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/qmenubarimpl.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/qmenubarimpl_p.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/widgets.pri | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/widgets/qabstractmenubarimpl_p.h b/src/gui/widgets/qabstractmenubarinterface_p.h index 156ee6a..a014bc1 100644 --- a/src/gui/widgets/qabstractmenubarimpl_p.h +++ b/src/gui/widgets/qabstractmenubarinterface_p.h @@ -38,8 +38,8 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#ifndef QABSTRACTMENUBARIMPL_P_H -#define QABSTRACTMENUBARIMPL_P_H +#ifndef QABSTRACTMENUBARINTERFACE_P_H +#define QABSTRACTMENUBARINTERFACE_P_H #include <qfactoryinterface.h> #include <qglobal.h> @@ -56,11 +56,11 @@ class QMenuBar; class QObject; class QWidget; -class QAbstractMenuBarImpl; +class QAbstractMenuBarInterface; struct QMenuBarImplFactoryInterface : public QFactoryInterface { - virtual QAbstractMenuBarImpl* createImpl() = 0; + virtual QAbstractMenuBarInterface* createImpl() = 0; }; #define QMenuBarImplFactoryInterface_iid "com.nokia.qt.QMenuBarImplFactoryInterface" @@ -69,11 +69,11 @@ Q_DECLARE_INTERFACE(QMenuBarImplFactoryInterface, QMenuBarImplFactoryInterface_i /** * The platform-specific implementation of a menubar */ -class QAbstractMenuBarImpl +class QAbstractMenuBarInterface { public: - QAbstractMenuBarImpl() {} - virtual ~QAbstractMenuBarImpl() {} + QAbstractMenuBarInterface() {} + virtual ~QAbstractMenuBarInterface() {} // QMenuBarPrivate::init() virtual void init(QMenuBar *) = 0; @@ -113,4 +113,4 @@ QT_END_NAMESPACE #endif // QT_NO_MENUBAR -#endif // QABSTRACTMENUBARIMPL_P_H +#endif // QABSTRACTMENUBARINTERFACE_P_H diff --git a/src/gui/widgets/qmenubar_p.h b/src/gui/widgets/qmenubar_p.h index b49e039..427cd30 100644 --- a/src/gui/widgets/qmenubar_p.h +++ b/src/gui/widgets/qmenubar_p.h @@ -61,7 +61,7 @@ #include "qguifunctions_wince.h" #endif -#include "qabstractmenubarimpl_p.h" +#include "qabstractmenubarinterface_p.h" #ifndef QT_NO_MENUBAR #ifdef Q_WS_S60 @@ -160,7 +160,7 @@ public: #ifdef QT3_SUPPORT bool doAutoResize; #endif - QAbstractMenuBarImpl *impl; + QAbstractMenuBarInterface *impl; #ifdef QT_SOFTKEYS_ENABLED QAction *menuBarAction; #endif diff --git a/src/gui/widgets/qmenubarimpl.cpp b/src/gui/widgets/qmenubarimpl.cpp index 1ca2e11..4f2ad72 100644 --- a/src/gui/widgets/qmenubarimpl.cpp +++ b/src/gui/widgets/qmenubarimpl.cpp @@ -239,7 +239,7 @@ bool QMenuBarImpl::menuBarEventFilter(QObject *, QEvent *) struct QMenuBarImplFactory : public QMenuBarImplFactoryInterface { - QAbstractMenuBarImpl* createImpl() { return new QMenuBarImpl; } + QAbstractMenuBarInterface* createImpl() { return new QMenuBarImpl; } virtual QStringList keys() const { return QStringList(); } }; diff --git a/src/gui/widgets/qmenubarimpl_p.h b/src/gui/widgets/qmenubarimpl_p.h index e7a3bde..08ac6a0 100644 --- a/src/gui/widgets/qmenubarimpl_p.h +++ b/src/gui/widgets/qmenubarimpl_p.h @@ -43,13 +43,13 @@ #ifndef QT_NO_MENUBAR -#include "qabstractmenubarimpl_p.h" +#include "qabstractmenubarinterface_p.h" QT_BEGIN_NAMESPACE class QMenuBar; -class QMenuBarImpl : public QAbstractMenuBarImpl +class QMenuBarImpl : public QAbstractMenuBarInterface { public: ~QMenuBarImpl(); diff --git a/src/gui/widgets/widgets.pri b/src/gui/widgets/widgets.pri index f39b941..97d23f7 100644 --- a/src/gui/widgets/widgets.pri +++ b/src/gui/widgets/widgets.pri @@ -4,7 +4,7 @@ HEADERS += \ widgets/qbuttongroup.h \ widgets/qabstractbutton.h \ widgets/qabstractbutton_p.h \ - widgets/qabstractmenubarimpl_p.h \ + widgets/qabstractmenubarinterface_p.h \ widgets/qabstractslider.h \ widgets/qabstractslider_p.h \ widgets/qabstractspinbox.h \ |