In KLineEditDlg in PyKDE the static method 'getText' does not work correctly - it generates a runtime error under some circumstances. I'm not sure of the exact problem, but it's in handwritten code for this method (which should return a tuple of QString and int). This applies to all PyKDE/KDE versions.
The workaround is to instantiate KLineEditDlg, run it with exec_loop, retrieve the button pressed from exec_loop's return value, and retrieve the text entered using the KLineEditDlg 'text' method. The tuple 'getText' returns contains both values, and 'getText' does the exec automatically, with no need to instantiate KLineEditDlg (or would if it worked). This will be fixed in the next PyKDE release. Jim _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
