KGet Runner

App Runners

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Description:
KRunner plugin that allows you to download any links found in the query with KGet.
You can simply copy/paste plain text mixed with URLs in KRunner and download all URLs with KGet.

This is the last version that will be offered here. In KDE-4.4 this will be part of the main distribution of KGet.
Last changelog:

0.1
Initial release.
0.1.1
Changed runner name to krunner_kget for consistency with other runners.
Updated code and regexp to find urls.
Added configurable inclusion/exclusion of certain protocols using 2 regexps. This might be too much to handle for the average user, so need to think about this.
First attempt at a config dialog, this is not finished.
0.1.2
Fixed bug in URL finding code which caused infinite recursion when using the "disallowed protocols" feature.
Fixed config dialog. Needed to change "X-KDE-PluginInfo-Name=krunner_kget" for this to work.
Fixed licence in kgetrunner_config.h/cpp
Fixed Messages.sh to use krunner_kget.pot instead of kgetrunner.pot. Still need to figure out what else needs to be done for translation to work.
Updated snapshot.
0.1.3
Switched to KUrl for finding urls. Use KUrl:rettyUrl() to display URL to the user.
Switched dbus call from "importLinks()" to "showNewTranferDialog(QStringList)".
Removed the 2 regexps for allowed/disallowed protocols in favor of a simple QStringList with supported protocols. This might change again in the future: http://mail.kde.org/pipermail/kget/2009-September/003039.html
0.1.4
Updated DBus code to provide propper error check/message.
Cleaned up and commented source code.
0.1.5
Updated license to conform to KGet license.
Switched to KNotification for error message.
Fixed bug where error message would be shown if "New Download" dialog remains open too long.
0.1.6
Call KGet asynchronously so KRunner stays responsive while "New Download" is open.
Added to KDE subversion repository.
Backported latest version from trunk to 4.3
Install the org.kde.kget.service for DBus activation automatically.


Ratings & Comments

5 Comments

gohanz

On my Slackware 13.0, KDE 4.2.4 i have a compilation problem. [100%] Building CXX object src/CMakeFiles/krunner_kget.dir/kgetrunner.o /root/Downloads/kgetrunner-0.1.4/src/kgetrunner.cpp: In constructor ‘KGetRunner::KGetRunner(QObject*, const QVariantList&)’: /root/Downloads/kgetrunner-0.1.4/src/kgetrunner.cpp:37: error: ‘RunnerSyntax’ is not a member of ‘Plasma’ /root/Downloads/kgetrunner-0.1.4/src/kgetrunner.cpp:37: error: ‘addSyntax’ was not declared in this scope make[2]: *** [src/CMakeFiles/krunner_kget.dir/kgetrunner.o] Error 1 make[1]: *** [src/CMakeFiles/krunner_kget.dir/all] Error 2 make: *** [all] Error 2

vtv

You need KDE >= 4.3 for this to work. But no worries, this runner will be merged in the main distribution of KGet.

gohanz

Many thanks for help

uwolfer

I like this idea. IMHO we should integrate this into KGet. Would you like that? Please contact us on the KGet mailing list: kget @ kde.org

srog

Good idea ! Working fine with the Kubuntu Karmic (alpha6). Thank you of a good runner!

Pling
0 Affiliates
Details
license
version 0.1.6
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other App Runners:

PidginRunner
todd1215
last update date: 11 years ago

Score 5.7

PublicTransport-Runner
fpuelz
last update date: 14 years ago

Score 6.8

Qalculator Runner
siefkenj
last update date: 16 years ago

Score 5.0

Choqok KRunner Dent
harriseldon_double
last update date: 14 years ago

Score 7.5

KooRunner
cirkus
last update date: 14 years ago

Score 5.0

Browse Chromium History
gcala
last update date: 14 years ago

Score 5.7



System Tags