[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: remove QtGui dependence of kdecore
From: Frerich Raabe <raabe () kde ! org>
Date: 2007-01-03 22:57:01
Message-ID: 200701032356.19627.raabe () kde ! org
[Download RAW message or body]
On Wednesday 03 January 2007 22:20, Simon Hausmann wrote:
> You could of course also special case QWidget without a dependency on
> QtGui :). Something along the lines of:
>
> kdbgStream &operator<<(kdbgStream &stream, const QObject *o)
> {
> if (o->inherits("QWidget")) {
> ... stream << o->property("geometry") << ...
> } else {
> ... current implementation ...
> }
> return stream;
> }
Use o->isWidgetType() and you can suddenly print geometries realllllly
quickly!
- Frerich
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic