summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qwindowsxpstyle.cpp
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-03-17 03:18:12 -0700
committerQt by Nokia <qt-info@nokia.com>2012-03-20 08:53:39 +0100
commite7adaed5298cb9fc7c41ec33b68a7d584d709674 (patch)
treee61588eb3757811c9aef2e25ad1fdfcc825a7717 /src/widgets/styles/qwindowsxpstyle.cpp
parent84ef7704a85c3fee8080ac5c4f1a0922e79e0222 (diff)
QtWidgets: Cleanup Q3* items
Clear all the Q3* items away, expect QStyle::SH_Q3ListViewExpand_SelectMouseType which is still used by QTreeView. So simply removed Q3 from its name. Change-Id: Ia79f0283137b6751ba68791ae55df1d8bd7ea74a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets/styles/qwindowsxpstyle.cpp')
-rw-r--r--src/widgets/styles/qwindowsxpstyle.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/widgets/styles/qwindowsxpstyle.cpp b/src/widgets/styles/qwindowsxpstyle.cpp
index 8b745ba114..a342486339 100644
--- a/src/widgets/styles/qwindowsxpstyle.cpp
+++ b/src/widgets/styles/qwindowsxpstyle.cpp
@@ -1178,8 +1178,7 @@ void QWindowsXPStyle::polish(QWidget *widget)
|| qobject_cast<QAbstractSpinBox*>(widget)
|| qobject_cast<QSpinBox*>(widget)
#endif // QT_NO_SPINBOX
- || widget->inherits("QWorkspaceChild")
- || widget->inherits("Q3TitleBar"))
+ || widget->inherits("QWorkspaceChild"))
widget->setAttribute(Qt::WA_Hover);
#ifndef QT_NO_RUBBERBAND
@@ -1250,8 +1249,7 @@ void QWindowsXPStyle::unpolish(QWidget *widget)
|| qobject_cast<QAbstractSpinBox*>(widget)
|| qobject_cast<QSpinBox*>(widget)
#endif // QT_NO_SPINBOX
- || widget->inherits("QWorkspaceChild")
- || widget->inherits("Q3TitleBar"))
+ || widget->inherits("QWorkspaceChild"))
widget->setAttribute(Qt::WA_Hover, false);
QWindowsStyle::unpolish(widget);
}
@@ -1822,14 +1820,6 @@ case PE_Frame:
}
break;
- case PE_Q3DockWindowSeparator:
- name = QLatin1String("TOOLBAR");
- if (flags & State_Horizontal)
- partId = TP_SEPARATOR;
- else
- partId = TP_SEPARATORVERT;
- break;
-
case PE_FrameWindow:
if (const QStyleOptionFrame *frm = qstyleoption_cast<const QStyleOptionFrame *>(option))
{