|
Last change
on this file since 280 was 2, checked in by Dmitry A. Kuminov, 17 years ago |
|
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
|
File size:
416 bytes
|
| Line | |
|---|
| 1 | name = "eval";
|
|---|
| 2 |
|
|---|
| 3 | group = "running";
|
|---|
| 4 |
|
|---|
| 5 | shortDescription = "Evaluate program";
|
|---|
| 6 |
|
|---|
| 7 | longDescription = "";
|
|---|
| 8 |
|
|---|
| 9 | argumentTypes = [ "script" ];
|
|---|
| 10 |
|
|---|
| 11 | function execute() {
|
|---|
| 12 | if (arguments.length == 0) {
|
|---|
| 13 | message("Missing argument (program).");
|
|---|
| 14 | return;
|
|---|
| 15 | }
|
|---|
| 16 | setEvaluateAction(0);
|
|---|
| 17 | scheduleEvaluate(getCurrentFrameIndex(), arguments[0], "console input (" + Date() + ")");
|
|---|
| 18 | };
|
|---|
| 19 |
|
|---|
| 20 | function handleResponse(resp, id) {
|
|---|
| 21 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.