DEB kiosktool: Update Ubuntu specific patch to use tdeApps.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/411/head
Slávek Banko 1 week ago
parent 112489d76b
commit 34c282220d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -59,7 +59,7 @@
+ TQByteArray buffer;
+ proc.launch(buffer);
+ while (!proc.normalExit()) {
+ TDEApplication::kapp->processEvents();
+ TDEApplication::tdeApp->processEvents();
+ }
+ bool exists = TQFile::exists(url.path());
+ return exists;
@ -88,7 +88,7 @@
+ TQByteArray buffer;
+ proc.launch(buffer);
+ while (!proc.normalExit()) {
+ TDEApplication::kapp->processEvents();
+ TDEApplication::tdeApp->processEvents();
+ }
+
+ TQProcess proc2;
@ -96,7 +96,7 @@
+ proc2.addArgument("chmod 0644 " + dest.path());
+ proc2.launch(buffer);
+ while (!proc2.normalExit()) {
+ TDEApplication::kapp->processEvents();
+ TDEApplication::tdeApp->processEvents();
+ }
+
+ bool exists = TQFile::exists(dest.path());
@ -116,7 +116,7 @@
+ TQByteArray buffer;
+ proc.launch(buffer);
+ while (!proc.normalExit()) {
+ TDEApplication::kapp->processEvents();
+ TDEApplication::tdeApp->processEvents();
+ }
+ bool exists = !TQFile::exists(url.path());
+ return exists;
@ -135,7 +135,7 @@
+ TQByteArray buffer;
+ proc.launch(buffer);
+ while (!proc.normalExit()) {
+ TDEApplication::kapp->processEvents();
+ TDEApplication::tdeApp->processEvents();
+ }
+
+ bool exists = TQFile::exists(target.path());

Loading…
Cancel
Save