[Kde-bindings] One Smoke question

Sven Aßmann sven.assmann at lubico.biz
Fri Aug 27 14:16:09 UTC 2010


Can Anyone say me what happens when i passed a char* as an argument for a 
methodsignature that contains QString& ??

Is it possible that Smoke or the underlying class cannot call a cast method 
for e.g. char* to QString?

i work on a smoke based php binding for qt/kde..

for interested that allready work:
<?php
$app =  new BlackSmoke("QApplication", $argc, $argv);
$widget =  new BlackSmoke("QWidget");

//$widget->method('setWindowTitle', "Hallo Welt!");
//$widget->method("resize", 100, 30);
$widget->method("show");
$app->method("exec");
?>

that not:
<?php
$app =  new BlackSmoke("QApplication", $argc, $argv);
$widget =  new BlackSmoke("QWidget");

$widget->method('setWindowTitle', "Hallo Welt!");
//$widget->method("resize", 100, 30);
$widget->method("show");
$app->method("exec");
?>

Greets Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100827/aef1d131/attachment.sig>


More information about the Kde-bindings mailing list