summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 16:24:21 +0900
commit1a620eed38cfa429508f6ac347e09a694b4adf16 (patch)
tree9c704578873ad1daf1b4cd8d9a056991d99b2f17
parentf96a49ac585eae4bc960a7f722c95d58efd17699 (diff)
downloadbasket-1a620eed38cfa429508f6ac347e09a694b4adf16.tar.gz
basket-1a620eed38cfa429508f6ac347e09a694b4adf16.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/htmlexporter.cpp2
-rw-r--r--src/notecontent.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp
index a81c13f..413220b 100644
--- a/src/htmlexporter.cpp
+++ b/src/htmlexporter.cpp
@@ -200,7 +200,7 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket)
TQFile file(basketFilePath);
if (!file.open(IO_WriteOnly))
return;
- stream.setDevice(TQT_TQIODEVICE(&file));
+ stream.setDevice(&file);
stream.setEncoding(TQTextStream::UnicodeUTF8);
// Compute the colors to draw dragient for notes:
diff --git a/src/notecontent.cpp b/src/notecontent.cpp
index ef01cb9..c3629f6 100644
--- a/src/notecontent.cpp
+++ b/src/notecontent.cpp
@@ -773,7 +773,7 @@ bool ImageContent::finishLazyLoad()
TQBuffer buffer(content);
buffer.open(IO_ReadOnly);
- m_format = (char* /* from const char* */)TQImageIO::imageFormat(TQT_TQIODEVICE(&buffer)); // See TQImageIO to know what formats can be supported.
+ m_format = (char* /* from const char* */)TQImageIO::imageFormat(&buffer); // See TQImageIO to know what formats can be supported.
buffer.close();
if (m_format) {
m_pixmap.loadFromData(content);