summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-03-17 22:59:10 -0700
committerQt by Nokia <qt-info@nokia.com>2012-03-19 18:02:47 +0100
commit478658fd41dba6c0d94edfbe31086dc3cabff533 (patch)
treeeb032c1e11a6016a144dd07e059fda118128e1a2 /src
parent4bcd8fc2dee683da632466e6de5d782f52263951 (diff)
QtWidgets: cleanup several Q3* items
Change-Id: I0812cdd74f19b4c98336724ea722807d4c68cf7d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qwidget.cpp2
-rw-r--r--src/widgets/widgets/qframe.cpp2
-rw-r--r--src/widgets/widgets/qmenubar_p.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 5457c54f5d..1bf3d3cff9 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -2708,7 +2708,7 @@ Qt::WindowStates QWidget::windowState() const
The function sets the window state on child widgets similar to
setWindowState(). The difference is that the window state changed
event has the isOverride() flag set. It exists mainly to keep
- Q3Workspace working.
+ QWorkspace working.
*/
void QWidget::overrideWindowState(Qt::WindowStates newstate)
{
diff --git a/src/widgets/widgets/qframe.cpp b/src/widgets/widgets/qframe.cpp
index 29c213f7af..b69f65828b 100644
--- a/src/widgets/widgets/qframe.cpp
+++ b/src/widgets/widgets/qframe.cpp
@@ -486,7 +486,7 @@ void QFrame::paintEvent(QPaintEvent *)
/*!
\internal
- Mostly for the sake of Q3Frame
+ Used by QLabel and QLCDNumber
*/
void QFrame::drawFrame(QPainter *p)
{
diff --git a/src/widgets/widgets/qmenubar_p.h b/src/widgets/widgets/qmenubar_p.h
index 9e1d3179c7..139f5703de 100644
--- a/src/widgets/widgets/qmenubar_p.h
+++ b/src/widgets/widgets/qmenubar_p.h
@@ -53,7 +53,6 @@
// We mean it.
//
-#ifndef QMAC_Q3MENUBAR_CPP_FILE
#include "QtWidgets/qstyleoption.h"
#include <private/qmenu_p.h> // Mac needs what in this file!
@@ -190,7 +189,6 @@ public:
QAction *menuBarAction;
#endif
};
-#endif
#endif // QT_NO_MENUBAR