diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
commit | aa0726b20f398264f0a2abc60215be044b106f9c (patch) | |
tree | 070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/htmlexporter.h | |
parent | d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff) | |
download | basket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip |
TQt4 port basket
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |