KGet Runner

Krunner Plugins

Source (required if based on other people's work):

1
Score 66%
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:

8 years ago

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::prettyUrl() 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.

gohanz

9 years ago

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

Report

C

vtv

9 years ago

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

Report

gohanz

9 years ago

Many thanks for help

Report

uwolfer

9 years ago

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

Report

srog

9 years ago

Good idea !

Working fine with the Kubuntu Karmic (alpha6).

Thank you of a good runner!

Report

8 years ago

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::prettyUrl() 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.

product-maker g99 Jun 13 2018

- does not build

product-maker 6 17

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.1.6
updated Oct 25 2009
added Sep 20 2009
downloads today
0
page views today 1
System Tags addon