summaryrefslogtreecommitdiffstats
path: root/filters/chalk
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /filters/chalk
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'filters/chalk')
-rw-r--r--filters/chalk/gmagick/kis_image_magick_converter.cc12
-rw-r--r--filters/chalk/jpeg/kis_jpeg_converter.cc4
-rw-r--r--filters/chalk/jpeg/kis_jpeg_export.cc2
-rw-r--r--filters/chalk/magick/kis_image_magick_converter.cc6
-rw-r--r--filters/chalk/openexr/kis_openexr_export.cpp2
-rw-r--r--filters/chalk/png/kis_png_converter.cc4
-rw-r--r--filters/chalk/tiff/kis_tiff_converter.cc2
7 files changed, 16 insertions, 16 deletions
diff --git a/filters/chalk/gmagick/kis_image_magick_converter.cc b/filters/chalk/gmagick/kis_image_magick_converter.cc
index 2a49bede..2b014388 100644
--- a/filters/chalk/gmagick/kis_image_magick_converter.cc
+++ b/filters/chalk/gmagick/kis_image_magick_converter.cc
@@ -178,7 +178,7 @@ namespace {
memcpy(rawdata.data(), profiledata, length);
KisAnnotation* annotation = new KisAnnotation(TQString("IPTC"), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
}
@@ -191,7 +191,7 @@ namespace {
memcpy(rawdata.data(), src->generic_profile[i].info, src->generic_profile[i].length);
KisAnnotation* annotation = new KisAnnotation(TQString(src->generic_profile[i].name), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
}
@@ -206,7 +206,7 @@ namespace {
memcpy(rawdata.data(), imgAttr -> value, len);
KisAnnotation* annotation = new KisAnnotation( TQString("chalk_attribute:%1").arg(TQString(imgAttr -> key)), "", rawdata );
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
@@ -237,7 +237,7 @@ namespace {
memcpy(rawdata.data(), profile->datum, profile->length);
annotation = new KisAnnotation(TQString(name), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
}
@@ -262,7 +262,7 @@ namespace {
annotation = new KisAnnotation(
TQString("chalk_attribute:%1").arg(TQString(attr -> key)), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
#if MagickLibVersion < 0x620
@@ -470,7 +470,7 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB
if( ! m_img) {
m_img = new KisImage(m_doc->undoAdapter(), image -> columns, image -> rows, cs, "built image");
- Q_CHECK_PTR(m_img);
+ TQ_CHECK_PTR(m_img);
m_img->blockSignals(true); // Don't send out signals while we're building the image
// XXX I'm assuming seperate layers won't have other profile things like EXIF
diff --git a/filters/chalk/jpeg/kis_jpeg_converter.cc b/filters/chalk/jpeg/kis_jpeg_converter.cc
index c9772d9a..190c939b 100644
--- a/filters/chalk/jpeg/kis_jpeg_converter.cc
+++ b/filters/chalk/jpeg/kis_jpeg_converter.cc
@@ -153,7 +153,7 @@ KisImageBuilder_Result KisJPEGConverter::decode(const KURL& uri)
if (hProfile != (cmsHPROFILE) NULL) {
profile = new KisProfile( profile_rawdata);
- Q_CHECK_PTR(profile);
+ TQ_CHECK_PTR(profile);
kdDebug(41008) << "profile name: " << profile->productName() << " profile description: " << profile->productDescription() << " information sur le produit: " << profile->productInfo() << endl;
if(!profile->isSuitableForOutput())
{
@@ -193,7 +193,7 @@ KisImageBuilder_Result KisJPEGConverter::decode(const KURL& uri)
// Creating the KisImageSP
if( ! m_img) {
m_img = new KisImage(m_doc->undoAdapter(), cinfo.image_width, cinfo.image_height, cs, "built image");
- Q_CHECK_PTR(m_img);
+ TQ_CHECK_PTR(m_img);
if(profile && !profile->isSuitableForOutput())
{
m_img -> addAnnotation( new KisAnnotation( profile->productName(), "", profile_rawdata) );
diff --git a/filters/chalk/jpeg/kis_jpeg_export.cc b/filters/chalk/jpeg/kis_jpeg_export.cc
index c0eef02d..5a5c6439 100644
--- a/filters/chalk/jpeg/kis_jpeg_export.cc
+++ b/filters/chalk/jpeg/kis_jpeg_export.cc
@@ -122,7 +122,7 @@ KoFilter::ConversionStatus KisJPEGExport::convert(const TQCString& from, const T
url.setPath(filename);
KisImageSP img = output->currentImage();
- Q_CHECK_PTR(img);
+ TQ_CHECK_PTR(img);
KisJPEGConverter kpc(output, output->undoAdapter());
diff --git a/filters/chalk/magick/kis_image_magick_converter.cc b/filters/chalk/magick/kis_image_magick_converter.cc
index 880a52c6..225177c4 100644
--- a/filters/chalk/magick/kis_image_magick_converter.cc
+++ b/filters/chalk/magick/kis_image_magick_converter.cc
@@ -182,7 +182,7 @@ namespace {
memcpy(rawdata.data(), profile->datum, profile->length);
annotation = new KisAnnotation(TQString(name), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
}
@@ -207,7 +207,7 @@ namespace {
annotation = new KisAnnotation(
TQString("chalk_attribute:%1").arg(TQString(attr -> key)), "", rawdata);
- Q_CHECK_PTR(annotation);
+ TQ_CHECK_PTR(annotation);
image -> addAnnotation(annotation);
#if MagickLibVersion < 0x620
@@ -412,7 +412,7 @@ KisImageBuilder_Result KisImageMagickConverter::decode(const KURL& uri, bool isB
if( ! m_img) {
m_img = new KisImage(m_doc->undoAdapter(), image -> columns, image -> rows, cs, "built image");
- Q_CHECK_PTR(m_img);
+ TQ_CHECK_PTR(m_img);
m_img->blockSignals(true); // Don't send out signals while we're building the image
// XXX I'm assuming seperate layers won't have other profile things like EXIF
diff --git a/filters/chalk/openexr/kis_openexr_export.cpp b/filters/chalk/openexr/kis_openexr_export.cpp
index 062a072f..33d9ec60 100644
--- a/filters/chalk/openexr/kis_openexr_export.cpp
+++ b/filters/chalk/openexr/kis_openexr_export.cpp
@@ -79,7 +79,7 @@ KoFilter::ConversionStatus KisOpenEXRExport::convert(const TQCString& from, cons
}
KisImageSP img = new KisImage(*doc -> currentImage());
- Q_CHECK_PTR(img);
+ TQ_CHECK_PTR(img);
// Don't store this information in the document's undo adapter
bool undo = doc -> undoAdapter() -> undo();
diff --git a/filters/chalk/png/kis_png_converter.cc b/filters/chalk/png/kis_png_converter.cc
index ca51980f..87b46029 100644
--- a/filters/chalk/png/kis_png_converter.cc
+++ b/filters/chalk/png/kis_png_converter.cc
@@ -238,7 +238,7 @@ KisImageBuilder_Result KisPNGConverter::decode(const KURL& uri)
profile_rawdata.resize(proflen);
memcpy(profile_rawdata.data(), profile_data, proflen);
profile = new KisProfile(profile_rawdata);
- Q_CHECK_PTR(profile);
+ TQ_CHECK_PTR(profile);
if (profile) {
kdDebug(41008) << "profile name: " << profile->productName() << " profile description: " << profile->productDescription() << " information sur le produit: " << profile->productInfo() << endl;
if(!profile->isSuitableForOutput())
@@ -332,7 +332,7 @@ KisImageBuilder_Result KisPNGConverter::decode(const KURL& uri)
if( ! m_img) {
m_img = new KisImage(m_doc->undoAdapter(), width, height, cs, "built image");
m_img->blockSignals(true); // Don't send out signals while we're building the image
- Q_CHECK_PTR(m_img);
+ TQ_CHECK_PTR(m_img);
if(profile && !profile->isSuitableForOutput())
{
m_img -> addAnnotation( profile->annotation() );
diff --git a/filters/chalk/tiff/kis_tiff_converter.cc b/filters/chalk/tiff/kis_tiff_converter.cc
index 09a0ba99..39e71c81 100644
--- a/filters/chalk/tiff/kis_tiff_converter.cc
+++ b/filters/chalk/tiff/kis_tiff_converter.cc
@@ -333,7 +333,7 @@ KisImageBuilder_Result KisTIFFConverter::readTIFFDirectory( TIFF* image)
// Creating the KisImageSP
if( ! m_img ) {
m_img = new KisImage(m_doc->undoAdapter(), width, height, cs, "built image");
- Q_CHECK_PTR(m_img);
+ TQ_CHECK_PTR(m_img);
m_img->blockSignals(true); // Don't send out signals while we're building the image
if(profile)
{