[Kst] Delaying opening
George Staikos
staikos at kde.org
Wed Oct 27 19:54:57 CEST 2004
Are there any implications to delaying opening of .kst files from main()? If
we delay them, the UI will update cleanly, but if we rely on them to be open
immediately, then things could break. I do notice these calls which could be
just those types of situations:
if (printfile != "<none>") {
kst->forceUpdate();
kst->immediatePrintToFile(printfile);
}
if (pngfile != "<none>") {
kst->forceUpdate();
kst->immediatePrintToPng(pngfile);
}
if (print_and_exit) {
args->clear();
delete kst;
exit(0);
} else {
args->clear();
kst->updateDialogs();
kst->document()->setModified(false);
if (showQuickStart) {
kst->showQuickStartDialog();
}
}
We could probably work around these three easily, but are there others I'm
missing?
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list