diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:46:54 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-02-03 22:38:49 +0900 |
| commit | 4a47c1bfffffad7094f0b5c7cef532069e088ec3 (patch) | |
| tree | 31b86dd0d87816e4b31e8bc2aa7687b2e85c2e82 /src/htmlexporter.cpp | |
| parent | 7975b08418486c2793bd61c32ee347ce6b81c687 (diff) | |
| download | basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.tar.gz basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/htmlexporter.cpp')
| -rw-r--r-- | src/htmlexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index 413220b..aa1d4ca 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -103,7 +103,7 @@ void HTMLExporter::prepareExport(Basket *basket, const TQString &fullPath) { progress->setTotalSteps(/*Preparation:*/1 + /*Finishing:*/1 + /*Basket:*/1 + /*SubBaskets:*/Global::bnpView->basketCount(Global::bnpView->listViewItemForBasket(basket))); progress->setValue(0); - kapp->processEvents(); + tdeApp->processEvents(); // Remember the file path choosen by the user: filePath = fullPath; @@ -217,7 +217,7 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket) "<html>\n" " <head>\n" " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n" - " <meta name=\"Generator\" content=\"" << kapp->aboutData()->programName() << " " << VERSION << "\">\n" + " <meta name=\"Generator\" content=\"" << tdeApp->aboutData()->programName() << " " << VERSION << "\">\n" " <style type=\"text/css\">\n" // " @media print {\n" // " span.printable { display: inline; }\n" @@ -320,7 +320,7 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket) " </div>\n" " <p class=\"credits\">%1</p>\n").arg( i18n("Made with %1, a TDE tool to take notes and keep information at hand.") - .arg(kapp->aboutData()->programName(), VERSION)); + .arg(tdeApp->aboutData()->programName(), VERSION)); // Copy a transparent GIF image in the folder, needed for the JavaScript hack: TQString gifFileName = "spacer.gif"; |
