Re: KRunProxy

2020-06-06 Thread Albert Astals Cid
El dissabte, 6 de juny de 2020, a les 19:00:59 CEST, David Faure va escriure: > In order to switch kdeclarative to > -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054700 > we need to port KRunProxy away from KRun, or to deprecate KRunProxy. > > AFAICS it exposes an object named KRun to

KRunProxy

2020-06-06 Thread David Faure
In order to switch kdeclarative to -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054700 we need to port KRunProxy away from KRun, or to deprecate KRunProxy. AFAICS it exposes an object named KRun to QML files, but searching for qml files with KRun in them leads to no results: https://lxr.kde.org

D7676: Added openService() method to KRunProxy

2017-09-05 Thread Mladen Milinkovic
maxrd2 added a comment. In https://phabricator.kde.org/D7676#143033, @broulik wrote: > Well it is now "openService" calling "runApplication", that's inconsistent isn't it Yes, but it will start services that have Exec line though. Should i just rename the method to "openApplicat

D7676: Added openService() method to KRunProxy

2017-09-04 Thread Kai Uwe Broulik
broulik added a comment. Well it is now "openService" calling "runApplication", that's inconsistent isn't it REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2, davidedmundson Cc: broulik, #frameworks

D7676: Added openService() method to KRunProxy

2017-09-04 Thread David Edmundson
This revision was automatically updated to reflect the committed changes. Closed by commit R296:a6d341f817c8: Added openService() method to KRunProxy (authored by maxrd2, committed by davidedmundson). REPOSITORY R296 KDeclarative CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D7676

D7676: Added openService() method to KRunProxy

2017-09-04 Thread David Edmundson
davidedmundson accepted this revision. This revision is now accepted and ready to land. REPOSITORY R296 KDeclarative BRANCH runproxy_openservice REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2, davidedmundson Cc: broulik, #frameworks

D7676: Added openService() method to KRunProxy

2017-09-04 Thread Mladen Milinkovic
maxrd2 updated this revision to Diff 19173. maxrd2 marked an inline comment as done. maxrd2 added a comment. Removed service->isApplication() check, improved method description. REPOSITORY R296 KDeclarative CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D7676?vs=19138&id=19173 BRA

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 added inline comments. INLINE COMMENTS > krunproxy.cpp:48 > KService::Ptr service = KService::serviceByDesktopPath(filePath); > return KRun::runService(*service, QList(), nullptr) != 0; > } else { While I'm at it should i also change to runApplication() here? > kru

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 added a dependent revision: D7648: Fix ksysguard not starting on plasmoid click. REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2, davidedmundson Cc: broulik, #frameworks

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 added a comment. Am not sure whether if( && service->isApplication()) is needed. While I'm at it should i replace runService() with runApplication() inside inside openUrl() method? REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2,

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 updated this revision to Diff 19138. maxrd2 added a comment. Replaced runService() call with runApplication() REPOSITORY R296 KDeclarative CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D7676?vs=19137&id=19138 BRANCH runproxy_openservice REVISION DETAIL https://phabric

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Kai Uwe Broulik
broulik added a comment. Use `runApplication` for running applications which doesn't block until the app has registered a DBus service REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2, davidedmundson Cc: broulik, #frameworks

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 added a reviewer: davidedmundson. REPOSITORY R296 KDeclarative REVISION DETAIL https://phabricator.kde.org/D7676 To: maxrd2, davidedmundson Cc: #frameworks

D7676: Added openService() method to KRunProxy

2017-09-03 Thread Mladen Milinkovic
maxrd2 created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY Added openService() method to KRunProxy so plasmoids can start applications without needing to use openUrl() and "apps" d