D20640: WIP: [scripting] Port to QJSEngine

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson added a comment.


  > In all three cases I'm worried about reply arguments, e.g. if there is any QDBusVariant reply argument, we have to unwrap it.
  
  That's true of the current state.  Not just for QDBusVariant but for any complex type we demarshall that doesn't have a script-friendly metaobject attached.
  
  > In addition to 4 required arguments, specify N optional QVariant arguments;
  
  That's what we do for i18n in kdeclarative. It's not super clever but pragmatically easy to read.
  
  > In long term, I think it would be nice to introduce a module
  
  If we're thinking long term with API breaks it would be better to have something generic for all Plasma - as well as removing duplication between this and the QQmlEngine scripting.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D20640

To: zzag
Cc: davidedmundson, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.