diff options
Diffstat (limited to 'src/htmlexporter.h')
-rw-r--r-- | src/htmlexporter.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/htmlexporter.h b/src/htmlexporter.h index 5b75ab6..86b72fd 100644 --- a/src/htmlexporter.h +++ b/src/htmlexporter.h @@ -21,8 +21,8 @@ #ifndef HTMLEXPORTER_H #define HTMLEXPORTER_H -#include <qstring.h> -#include <qtextstream.h> +#include <tqstring.h> +#include <tqtextstream.h> class KProgress; @@ -38,39 +38,39 @@ class HTMLExporter HTMLExporter(Basket *basket); ~HTMLExporter(); private: - void prepareExport(Basket *basket, const QString &fullPath); + void prepareExport(Basket *basket, const TQString &fullPath); void exportBasket(Basket *basket, bool isSubBasket); void exportNote(Note *note, int indent); void writeBasketTree(Basket *currentBasket); void writeBasketTree(Basket *currentBasket, Basket *basket, int indent); public: - QString copyIcon(const QString &iconName, int size); - QString copyFile(const QString &srcPath, bool createIt); + TQString copyIcon(const TQString &iconName, int size); + TQString copyFile(const TQString &srcPath, bool createIt); public: // Absolute path of the file name the user choosen: - QString filePath; // eg.: "/home/seb/foo.html" - QString fileName; // eg.: "foo.html" + TQString filePath; // eg.: "/home/seb/foo.html" + TQString fileName; // eg.: "foo.html" // Absolute & relative paths for the current basket to be exported: - QString basketFilePath; // eg.: "/home/seb/foo.html" or "/home/seb/foo.html_files/baskets/basketN.html" - QString filesFolderPath; // eg.: "/home/seb/foo.html_files/" - QString filesFolderName; // eg.: "foo.html_files/" or "../" - QString iconsFolderPath; // eg.: "/home/seb/foo.html_files/icons/" - QString iconsFolderName; // eg.: "foo.html_files/icons/" or "../icons/" - QString imagesFolderPath; // eg.: "/home/seb/foo.html_files/images/" - QString imagesFolderName; // eg.: "foo.html_files/images/" or "../images/" - QString dataFolderPath; // eg.: "/home/seb/foo.html_files/data/" or "/home/seb/foo.html_files/baskets/basketN-data/" - QString dataFolderName; // eg.: "foo.html_files/data/" or "basketN-data/" - QString basketsFolderPath; // eg.: "/home/seb/foo.html_files/baskets/" - QString basketsFolderName; // eg.: "foo.html_files/baskets/" or "" + TQString basketFilePath; // eg.: "/home/seb/foo.html" or "/home/seb/foo.html_files/baskets/basketN.html" + TQString filesFolderPath; // eg.: "/home/seb/foo.html_files/" + TQString filesFolderName; // eg.: "foo.html_files/" or "../" + TQString iconsFolderPath; // eg.: "/home/seb/foo.html_files/icons/" + TQString iconsFolderName; // eg.: "foo.html_files/icons/" or "../icons/" + TQString imagesFolderPath; // eg.: "/home/seb/foo.html_files/images/" + TQString imagesFolderName; // eg.: "foo.html_files/images/" or "../images/" + TQString dataFolderPath; // eg.: "/home/seb/foo.html_files/data/" or "/home/seb/foo.html_files/baskets/basketN-data/" + TQString dataFolderName; // eg.: "foo.html_files/data/" or "basketN-data/" + TQString basketsFolderPath; // eg.: "/home/seb/foo.html_files/baskets/" + TQString basketsFolderName; // eg.: "foo.html_files/baskets/" or "" // Various properties of the currently exporting basket: - QString backgroundColorName; + TQString backgroundColorName; // Variables used by every export methods: - QTextStream stream; + TQTextStream stream; Basket *exportedBasket; bool withBasketTree; KProgress *progress; |