summaryrefslogtreecommitdiffstats
path: root/filters/chalk/gmagick
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /filters/chalk/gmagick
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'filters/chalk/gmagick')
-rw-r--r--filters/chalk/gmagick/kis_image_magick_converter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/filters/chalk/gmagick/kis_image_magick_converter.cc b/filters/chalk/gmagick/kis_image_magick_converter.cc
index 2b014388..22982cc5 100644
--- a/filters/chalk/gmagick/kis_image_magick_converter.cc
+++ b/filters/chalk/gmagick/kis_image_magick_converter.cc
@@ -391,7 +391,7 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB
images = BlobToImage(ii, &m_data[0], m_data.size(), &ei);
} else {
- qstrncpy(ii -> filename, TQFile::encodeName(uri.path()), MaxTextExtent - 1);
+ tqstrncpy(ii -> filename, TQFile::encodeName(uri.path()), MaxTextExtent - 1);
if (ii -> filename[MaxTextExtent - 1]) {
emit notifyProgressError();
@@ -721,7 +721,7 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB
ii = CloneImageInfo(0);
- qstrncpy(ii -> filename, TQFile::encodeName(uri.path()), MaxTextExtent - 1);
+ tqstrncpy(ii -> filename, TQFile::encodeName(uri.path()), MaxTextExtent - 1);
if (ii -> filename[MaxTextExtent - 1]) {
emit notifyProgressError();
@@ -767,10 +767,10 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB
TQString ext = TQFileInfo(TQFile::encodeName(uri.path())).extension(false).upper();
if (ext == "BMP") {
alpha = false;
- qstrncpy(ii->magick, "BMP2", MaxTextExtent - 1);
+ tqstrncpy(ii->magick, "BMP2", MaxTextExtent - 1);
}
else if (ext == "RGB") {
- qstrncpy(ii->magick, "SGI", MaxTextExtent - 1);
+ tqstrncpy(ii->magick, "SGI", MaxTextExtent - 1);
}
for (y = 0; y < height; y++) {