┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/kcommentwidget_p.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-11-21 22:50:22 +0000
committerPeter Penz <[email protected]>2009-11-21 22:50:22 +0000
commit2a02ac7d02790c69a63ee79e2fac4e94b9165531 (patch)
tree6badbbf536213aee204955e0c352a914cdc6853f /src/panels/information/kcommentwidget_p.h
parent3be4adae11b9f9466bc926a83372213a34fb92e2 (diff)
Let KMetaDataWidget and all the child widgets respect the foreground role that might be set by the client. This allows KMetaDataWidget to get embedded inside a tooltip having correct tooltip colors.
svn path=/trunk/KDE/kdebase/apps/; revision=1052509
Diffstat (limited to 'src/panels/information/kcommentwidget_p.h')
-rw-r--r--src/panels/information/kcommentwidget_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panels/information/kcommentwidget_p.h b/src/panels/information/kcommentwidget_p.h
index cd895223f..b40fa71bc 100644
--- a/src/panels/information/kcommentwidget_p.h
+++ b/src/panels/information/kcommentwidget_p.h
@@ -50,6 +50,9 @@ public:
signals:
void commentChanged(const QString& comment);
+protected:
+ virtual bool event(QEvent* event);
+
private slots:
void slotLinkActivated(const QString& link);