<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Enrico Ros &#187; amarok</title>
	<atom:link href="http://www.enricoros.com/blog/tag/amarok/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enricoros.com/blog</link>
	<description>Focused ideas, bleeding edge madness and code recipes.</description>
	<lastBuildDate>Mon, 19 Apr 2010 07:54:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>AddiQted to 4.6</title>
		<link>http://www.enricoros.com/blog/2009/10/addiqted/</link>
		<comments>http://www.enricoros.com/blog/2009/10/addiqted/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 18:15:51 +0000</pubDate>
		<dc:creator>Enrico Ros</dc:creator>
				<category><![CDATA[Computer Graphics]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[avanguardia]]></category>
		<category><![CDATA[creativity]]></category>
		<category><![CDATA[graphicsview]]></category>
		<category><![CDATA[planetkde]]></category>
		<category><![CDATA[planetqt]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[qtsoftware]]></category>

		<guid isPermaLink="false">http://www.enricoros.com/blog/?p=354</guid>
		<description><![CDATA[note for planetkde readers: check the original article to see the video! I confess, I&#8217;m addiQted. You obviously think it&#8217;s normal (you&#8217;re not reading this blog by accident, aren&#8217;t you?) but it wasn&#8217;t always like this: I&#8217;ve liked some previous versions, but the upcoming Qt 4.6 really rocks! The Fotowall case As I shown previosly, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>note for <a href="http://www.planetkde.org">planetkde</a> readers: check the <a href="http://www.enricoros.com/blog/2009/10/addiqted/">original article</a> to see the video!</strong></p>
<p>I confess, I&#8217;m addi<em>Qt</em>ed. You obviously think it&#8217;s normal (you&#8217;re not reading this blog by <em>accident</em>, aren&#8217;t you?) but it wasn&#8217;t always like this: I&#8217;ve liked some previous versions, but the upcoming Qt <strong>4.6</strong> really <a href="http://www.missouri-vacations.com/images/elephant-rocks-body.jpg">rocks</a>!</p>
<h4>The Fotowall case</h4>
<p>As I shown <a href="http://www.enricoros.com/blog/2009/09/cuteness-4-6/">previosly</a>, <a href="http://www.enricoros.com/opensource/fotowall">Fotowall</a> already uses some features of Qt 4.6. How much?<br />
Qt 4.6 is referenced in <em>32 places</em>, for example in snippets like this:</p>
<pre class="brush: cpp; collapse: false;">
    // center the path
    QPointF pathCenter = path.boundingRect().center();
    #if QT_VERSION &gt;= 0x040600
        path.translate(-pathCenter);
    #elif QT_VERSION &gt;= 0x040500
        path = QTransform::fromTranslate(-pathCenter.x(), -pathCenter.y()).map(path);
    #else
        QTransform tx;
        tx.translate(-pathCenter.x(), -pathCenter.y());
        path = tx.map(path);
    #endif
</pre>
<p>From simple <a href="http://doc.trolltech.com/4.6-snapshot/qpainterpath.html#translate">path translations</a> to more complex <a href="http://doc.trolltech.com/4.6-snapshot/qmetaproperty.html#notifySignalIndex">property manipulations</a>, everything got better. See this code snipped about extending QGraphicsObject in 4.6 versus 4.5 and 4.4.</p>
<pre class="brush: cpp; collapse: false;">
    #if QT_VERSION &gt;= 0x040600
    class AbstractContent : public QGraphicsObject
    #else
    class AbstractContent : public QObject, public QGraphicsItem
    #endif
    {
        Q_OBJECT
    #if QT_VERSION &lt; 0x040600
        Q_PROPERTY(QPointF pos READ pos WRITE setPos)
        Q_PROPERTY(qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged)
    #endif
    #if QT_VERSION &lt; 0x040600 &amp;&amp; QT_VERSION &gt;= 0x040500
        Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
    #endif
</pre>
<p><em>Do you feel the pain</em>?</p>
<h4>I Need it</h4>
<p>I need a world with Qt 4.6 only, because:</p>
<ul>
<li>It&#8217;s too much of a <strong>pain to support older versions</strong> in the same codebase</li>
<li>It&#8217;s not even fair, because <strong>non-4.6 users won&#8217;t enjoy the program as it&#8217;s meant to be</strong></li>
<li><strong>I can&#8217;t use A TON of new features</strong> because they&#8217;ll either <strong>simplify too much the code</strong>, or just because they don&#8217;t have a pre-4.6 equivalent</li>
<li>and because I&#8217;d like to finally use
<ul>
<li><a href="http://doc.qt.nokia.com/4.6-snapshot/qgraphicseffect.html">QGraphicsEffect</a> for Fotowall&#8217;s content</li>
<li><a href="http://doc.qt.nokia.com/4.6-snapshot/qvector3d.html">QVector3D</a> to say goodbye to <a href="http://github.com/enricoros/fotowall/raw/master/3rdparty/enricomath.h"><em>enricomath.h</em></a></li>
<li><a href="http://doc.qt.nokia.com/4.6-snapshot/qgesture.html">QGesture</a> for multi-finger interaction</li>
<li><a href="http://doc.qt.nokia.com/4.6-snapshot/qpropertyanimation.html">QPropertyAnimation</a> to its full potential!</li>
</ul>
</li>
</ul>
<h4>More 4.6 TEASING</h4>
<ol>
<li>As <a href="http://www.enricoros.com/blog/2009/09/cuteness-4-6/">you seem to like videos</a>, here is a preview of something we&#8217;re working on for <a href="http://amarok.kde.org">Amarok</a> <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  <span style="text-decoration: underline;">Qt 4.6 only!!</span><br />
<p><a href="http://www.enricoros.com/blog/2009/10/addiqted/"><em>Click here to view the embedded video.</em></a></p></li>
<li>Also, since I&#8217;m <em>soooo much a giver</em>, see the new Fotowall&#8217;s <a href="http://www.enricoros.com/opensource/fotowall/assets/screenshots/teaser-wordcloud-1.png">Word Cloud</a> feature, coming in 0.9 <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
</ol>
<h4>See you  @ Munich</h4>
<p>I&#8217;m packing for the <a href="http://qt.nokia.com/qtdevdays2009">DevDays 2009</a> Munich. See you there <img src='http://www.enricoros.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.enricoros.com/blog/2009/10/addiqted/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6&amp;desc=note%20for%20planetkde%20readers%3A%20check%20the%20original%20article%20to%20see%20the%20video%21%0D%0A%0D%0AI%20confess%2C%20I%27m%20addiQted.%20You%20obviously%20think%20it%27s%20normal%20%28you%27re%20not%20reading%20this%20blog%20by%20accident%2C%20aren%27t%20you%3F%29%20but%20it%20wasn%27t%20always%20like%20this%3A%20I%27ve%20liked%20some%20previous%20versions%2C%20but%20the%20upcoming%20Qt%204.6%20really%20rocks%21%0D%0AThe%20F" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.enricoros.com/blog/2009/10/addiqted/&amp;t=AddiQted+to+4.6" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6&amp;srcUrl=http://www.enricoros.com/blog/2009/10/addiqted/&amp;srcTitle=AddiQted+to+4.6&amp;snippet=note%20for%20planetkde%20readers%3A%20check%20the%20original%20article%20to%20see%20the%20video%21%0D%0A%0D%0AI%20confess%2C%20I%27m%20addiQted.%20You%20obviously%20think%20it%27s%20normal%20%28you%27re%20not%20reading%20this%20blog%20by%20accident%2C%20aren%27t%20you%3F%29%20but%20it%20wasn%27t%20always%20like%20this%3A%20I%27ve%20liked%20some%20previous%20versions%2C%20but%20the%20upcoming%20Qt%204.6%20really%20rocks%21%0D%0AThe%20F" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.enricoros.com/blog/2009/10/addiqted/&amp;title=AddiQted+to+4.6" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.enricoros.com/blog/2009/10/addiqted/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=AddiQted+to+4.6+-+http://b2l.me/kcnt6&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.enricoros.com/blog/2009/10/addiqted/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
