-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (5) .- Knowledge Base  . 

Transport

   0.1  

Plasmoid Binary

Score 65%
Transport
zoom


Homepage:  Link
Link:  Link
Twitter:  Link
Blog:  Link
Minimum required   KDE 4.x
Downloads:  67
Submitted:  Dec 30 2009
Updated:  Jan 1 2010

Description:

Transport is Plasma applet for searching public transport connections from your location to target destination via online services. The goal is to make it as most straightforward as possible.

Online services are based on simple and swift QtScript (JavaScript) API.

Supported services:
* Czech Railways (IDOS, vlak.cz, cd.cz/spojeni)

Install
* Download latest git or source code package
* mkdir build && cd build
* cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
* make && sudo make install
* Logout & login or restart Plasma and you're done :-)

Javascript service is pretty straightforward, please contact me for service requests.




Changelog:

trunk
* Created OpenSUSE BuildService
* Bugfixes for Qt




LicenseGPL
(Source code download (GitHub))
Donate
Send to a friend
Subscribe
Other  Apps  from vavrusa
Report inappropriate content



-

 Error

 
 by vejha on: Dec 30 2009
 
Score 50%

/home/vejha/downloads/vavrusa-plasma-transport-8b181cf/transport.cpp: In member function ‘virtual void Transport::init()’:
/home/vejha/downloads/vavrusa-plasma-transport-8b181cf/transport.cpp:111: error: ‘class Plasma::TreeView’ has no member named ‘setFocusProxy’
make[2]: *** [CMakeFiles/plasma_applet_transport.dir/transport.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_transport.dir/all] Error 2
make: *** [all] Error 2


Reply to this

-

 Re: Error

 
 by vavrusa on: Dec 30 2009
 
Score 50%

Thanks, removed focusProxy() for now. It's handy but I'm not sure if it doesn't clash with other plasmoids. Please try recent git snapshot :)


Reply to this

-

 Plasmoid doubling?

 
 by Kirilo on: Dec 30 2009
 
Score 50%

Hi, what's the difference between your plasmoid and the public transport plasmoid (http://www.kde-look.org/content/show.php/PublicTransport?content=106175)?

Sorry if I don't see an obvious difference...


Reply to this

-

 Re: Plasmoid doubling?

 
 by vavrusa on: Dec 30 2009
 
Score 50%

Hi, the most visible thing is, that it's not a "departure table". - it's focused on searching journeys from live services, which didn't work for me in PublicTransport.

Search bar - in this applet it's designed more like KRunner. The only attribute it supports right now is "at 00:00", but it will be extended in future for queries like "Prague on 12.6. at 6:00" and so.

Home stop oriented - it is planned to recognize your position from given rules based on IP, WiFi SSID etc.

The major (although invisible) thing is JavaScript based services. Since PublicTransport is XML and RegExp based, it's not always possible to fetch live data from some sites, as many providers (like Czech Railways) make it as difficult as possible to parse them. JavaScript based services give you much more freedom to parse more complex pages and still remain understandable.
Who loves to debug complex RegExp? :-)

The interface is quite similar, which may be confusing and PublicTransport is very nice applet, but it didn't suit my needs. I hope I made it a bit clear :-)


Reply to this

-

 Re: Re: Plasmoid doubling?

 
 by markum on: Jan 3 2010
 
Score 50%

I think your approach is something which is more useful for me in daily use. But still, wouldn't it be useful to combine the functionality of both plasmoids? I would rather prefer a feature rich "travel" plasmoid which can be configured to do different things than finally having 20 of them and having to find out which one supports what. :-)

Another wish: Support for car polling via mitfahrgelegenheit.de and mitfahrzentrale.de (both are european wide and have pages in different languages)


Reply to this

-

 Re: Re: Re: Plasmoid doubling?

 
 by vavrusa on: Jan 7 2010
 
Score 50%

Hi, I think I anwered most in the second reply to fpuelz :)
I'd like to join efforts in creating powerful data engine for KDE workspace and even merge some stuff
in plasmoid itself. But I still think it's a good idea to have several different plasmoids for different approaches, but the very same powerful data engine.

Remember - different tasks, different tools :)


Reply to this

-

 Re: Re: Plasmoid doubling?

 
 by fpuelz on: Jan 6 2010
 
Score 50%

Hi vavrusa!
I'm the developer of publicTransport and I would also like to combine the power of our both plasmoids :) Or better: Your timetable/journey fetching code with the public transport data engine.
I tried to design publicTransport mostly independent of the method used to fetch the data. I could add another level of abstraction to the timetable accessor classes, if that's needed (haven't looked at your sources for now). Having your fetching algorithm inside the publicTransport-Data engine would be great, I think. And: Both plasmoids could use it. Hm.. Are you already using a data engine?
The RegExp-Code to get departures could also be replaced with JavaScript based services where needed.
What do you think?


Reply to this

-

 Re: Re: Re: Plasmoid doubling?

 
 by vavrusa on: Jan 7 2010
 
Score 50%

Hi, I had exactly the same thought :) I think, that powerful data engine for public transportation should be present in KDE workspace. Probably better as a separate package (dependencies) to encourage more developers to create great features and UIs, and I'd definitely like to join our efforts in that!

Concerning the UI, I could definitely merge some planned features, but that's not as important as powerful data engine, which should be accessible from anywhere like KRunner and so.
What do you think?

Sorry about the late reply, I've taken semestral exams, so I'm still quite busy :)


Reply to this

-

 Re: Re: Re: Re: Plasmoid doubling?

 
 by fpuelz on: Jan 7 2010
 
Score 50%

Hi,
yes, I should contact some KDE person to move the data engine out of playground. I have little time currently, too, because of the end of the semester ;)
But I have played a little bit with the script engine stuff and have implemented a new "accessor" type, that uses a script to do the actual parsing (just like you did). It does work for one of the simplest providers now :) Great idea to use scripts here.
So the next step is to move the data engine to kde-review, I think (never done that before). After contacting someone of course.


Reply to this

-
.

 Same error occurs on new GIT

 
 by brucew on: Dec 30 2009
 
Score 50%
brucewbrucew
Alcohol Justice
Home
-
Bruce Wolfe 1

Alcohol Justice
United States of America, San Rafael
Last visit Apr 4 2013
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Even with new git package, same error occurs:

<code>

desktop:~/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/build$ make
[ 0%] Built target plasma_applet_transport_automoc
[ 20%] Building CXX object CMakeFiles/plasma_applet_transport.dir/routedelegate.o
/home/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/routedelegate.cpp: In member function ‘virtual void RouteDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
/home/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/routedelegate.cpp:93: error: ‘class QVariant’ has no member named ‘toReal’
make[2]: *** [CMakeFiles/plasma_applet_transport.dir/routedelegate.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_transport.dir/all] Error 2
make: *** [all] Error 2

</code>


*Please advise.*


Reply to this

-
.

 New error occurs on new GIT

 
 by brucew on: Dec 30 2009
 
Score 50%
brucewbrucew
Alcohol Justice
Home
-
Bruce Wolfe 1

Alcohol Justice
United States of America, San Rafael
Last visit Apr 4 2013
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Even with new git package, another error occurs:

<code>

desktop:~/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/build$ make
[ 0%] Built target plasma_applet_transport_automoc
[ 20%] Building CXX object CMakeFiles/plasma_applet_transport.dir/routedelegate.o
/home/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/routedelegate.cpp: In member function ‘virtual void RouteDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
/home/Downloads/KDE/Plasmoids/vavrusa-plasma-transport-ee0998e/routedelegate.cpp:93: error: ‘class QVariant’ has no member named ‘toReal’
make[2]: *** [CMakeFiles/plasma_applet_transport.dir/routedelegate.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_transport.dir/all] Error 2
make: *** [all] Error 2

</code>


*Please advise.*


Reply to this

-

 Re: New error occurs on new GIT

 
 by vavrusa on: Dec 31 2009
 
Score 50%

Sorry, QVariant.toReal() was introduced in Qt 4.6, for compatibility reasons I replaced it with toDouble(), latest git should work for you :-)


Reply to this

-

 Coooooooooo...oool

 
 by smihael on: Dec 30 2009
 
Score 50%

It works for Slovenia as well.

Thanks!


Greetings,
Miha (smihael@gmail.com)

Reply to this

-

 Re: Coooooooooo...oool

 
 by vavrusa on: Dec 31 2009
 
Score 50%

Wow, thanks for checking - never knew Czech Railways have so wide database. :-)


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.