D14536: [scripting] Port ScriptedEffects to QJSEngine

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


  I don't think there's an issue in this case.
  
  The only qvariant is readConfig's default param. If we get a QJSValue in, we get a QJSValue out and that does get unboxed correctly.
  
    print(effect.readConfig("foobar", 4));
    print(effect.readConfig("foobar", [4,2]));
  
  gives an int and a JS array respectively

REPOSITORY
  R108 KWin

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

To: davidedmundson, #kwin, mart, fvogt
Cc: fvogt, zzag, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, 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.