[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-active
Subject:    Re: components components components
From:       Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= <mgraesslin () kde ! org>
Date:       2011-10-31 18:22:17
Message-ID: 5306829.tNniBXNAMY () martin-desktop
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 31 October 2011 17:52:27 Marco Martin wrote:
> comments? any less violent way to achieve this? ;)
just an idea, don't know if it would work:

Plasma.DeviceSpecificItem {
	property ComponentType type: desktop
	Loader {
		source: {
			switch (type) {
				case desktop:
					return "path/to/desktop/impl";
				case tablet:
					return "path/to/tablet/impl";
			}
		}
	}
}

so to say each component is just a wrapper around the specific 
implementations. It's not nice, but maybe better than overwriting files...

Cheers
Martin
["signature.asc" (application/pgp-signature)]

_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic