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

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/rssnow/package
From:       Lukas Appelhans <l.appelhans () gmx ! de>
Date:       2010-12-10 20:14:14
Message-ID: 20101210201414.EC71CAC8A6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1205307 by lappelhans:

First try on the openurl


 M  +3 -0      contents/ui/ListItemEntry.qml  
 M  +1 -0      contents/ui/main.qml  
 M  +1 -0      metadata.desktop  


--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui/ListItemEntry.qml \
#1205306:1205307 @@ -26,6 +26,7 @@
     id: listItem
     property string text;
     property string iconFile;
+    property string feedUrl;
 
     Row {
         id : delegateLayout
@@ -106,6 +107,8 @@
                         entryList.currentIndex = (entryList.count - 1)
                     else
                         entryList.currentIndex = entryList.currentIndex - 1
+            } else {
+                plasmoid.openUrl(feedUrl)
             }
         }
         onPositionChanged: {
--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/contents/ui/main.qml \
#1205306:1205307 @@ -106,6 +106,7 @@
                             id: listEntry
                             text: title//+individualSources[listIndex]
                             iconFile: icon
+                            feedUrl: url
                         }
                         
                         onFlickEnded: {
--- trunk/playground/base/plasma/declarative-applets/replacements/rssnow/package/metadata.desktop \
#1205306:1205307 @@ -10,6 +10,7 @@
 Icon=akregator
 X-Plasma-API=declarativeappletscript
 X-Plasma-MainScript=ui/main.qml
+X-Plasma-RequiredExtensions=LaunchApp
 X-KDE-PluginInfo-Author=Lukas Appelhans
 X-KDE-PluginInfo-Email=l.appelhans@gmx.de
 X-KDE-PluginInfo-Name=org.kde.rssnow-qml


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

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