summaryrefslogtreecommitdiffstats
path: root/kimgio
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-01 21:32:16 +0900
committerMichele Calgaro <[email protected]>2024-05-01 21:32:16 +0900
commitbba3128085abe1a32cca43d9fb8ac02c2a29bf6b (patch)
treef831d0139ef6cd483a39cc1fb0cb39445f317185 /kimgio
parentcfbeb5efe9335d9a47bd5beebd81304cabab9f61 (diff)
downloadtdelibs-bba3128085abe1a32cca43d9fb8ac02c2a29bf6b.tar.gz
tdelibs-bba3128085abe1a32cca43d9fb8ac02c2a29bf6b.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kimgio')
-rw-r--r--kimgio/dds.cpp4
-rw-r--r--kimgio/eps.cpp4
-rw-r--r--kimgio/exr.cpp4
-rw-r--r--kimgio/g3r.cpp4
-rw-r--r--kimgio/hdr.cpp4
-rw-r--r--kimgio/ico.cpp2
-rw-r--r--kimgio/jp2.cpp4
-rw-r--r--kimgio/pcx.cpp4
-rw-r--r--kimgio/psd.h4
-rw-r--r--kimgio/rgb.cpp4
-rw-r--r--kimgio/tga.cpp4
-rw-r--r--kimgio/tiffr.cpp4
-rw-r--r--kimgio/xcf.cpp4
-rw-r--r--kimgio/xview.cpp4
14 files changed, 27 insertions, 27 deletions
diff --git a/kimgio/dds.cpp b/kimgio/dds.cpp
index 28e4f9110..b84b41a23 100644
--- a/kimgio/dds.cpp
+++ b/kimgio/dds.cpp
@@ -953,7 +953,7 @@ namespace { // Private.
}
-KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
+TDE_EXPORT void kimgio_dds_read( TQImageIO *io )
{
TQDataStream s( io->ioDevice() );
s.setByteOrder( TQDataStream::LittleEndian );
@@ -1011,7 +1011,7 @@ KDE_EXPORT void kimgio_dds_read( TQImageIO *io )
}
-KDE_EXPORT void kimgio_dds_write( TQImageIO * )
+TDE_EXPORT void kimgio_dds_write( TQImageIO * )
{
// TODO Stub!
}
diff --git a/kimgio/eps.cpp b/kimgio/eps.cpp
index bcf916836..f7f756c0f 100644
--- a/kimgio/eps.cpp
+++ b/kimgio/eps.cpp
@@ -121,7 +121,7 @@ static bool bbox ( TQIODevice *io, int *x1, int *y1, int *x2, int *y2)
return ret;
}
-KDE_EXPORT void kimgio_eps_read (TQImageIO *image)
+TDE_EXPORT void kimgio_eps_read (TQImageIO *image)
{
kdDebug(399) << "kimgio EPS: starting..." << endl;
@@ -245,7 +245,7 @@ KDE_EXPORT void kimgio_eps_read (TQImageIO *image)
}
// Sven Wiegand <[email protected]> -- eps output filter (from KSnapshot)
-KDE_EXPORT void kimgio_eps_write( TQImageIO *imageio )
+TDE_EXPORT void kimgio_eps_write( TQImageIO *imageio )
{
TQPrinter psOut(TQPrinter::PrinterResolution);
TQPainter p;
diff --git a/kimgio/exr.cpp b/kimgio/exr.cpp
index 862d8237a..d03e41dbe 100644
--- a/kimgio/exr.cpp
+++ b/kimgio/exr.cpp
@@ -114,7 +114,7 @@ TQRgb RgbaToQrgba(struct Rgba imagePixel)
char (Imath::clamp ( a * 84.66f, 0.f, 255.f ) ) );
}
-KDE_EXPORT void kimgio_exr_read( TQImageIO *io )
+TDE_EXPORT void kimgio_exr_read( TQImageIO *io )
{
try
{
@@ -156,7 +156,7 @@ KDE_EXPORT void kimgio_exr_read( TQImageIO *io )
}
-KDE_EXPORT void kimgio_exr_write(TQImageIO *)
+TDE_EXPORT void kimgio_exr_write(TQImageIO *)
{
// TODO: stub
}
diff --git a/kimgio/g3r.cpp b/kimgio/g3r.cpp
index 1efb07434..445c46012 100644
--- a/kimgio/g3r.cpp
+++ b/kimgio/g3r.cpp
@@ -11,7 +11,7 @@
#include "g3r.h"
-KDE_EXPORT void kimgio_g3_read( TQImageIO *io )
+TDE_EXPORT void kimgio_g3_read( TQImageIO *io )
{
// This won't work if io is not a TQFile !
TIFF *tiff = TIFFOpen(TQFile::encodeName(io->fileName()), "r");
@@ -44,7 +44,7 @@ KDE_EXPORT void kimgio_g3_read( TQImageIO *io )
}
-KDE_EXPORT void kimgio_g3_write(TQImageIO *)
+TDE_EXPORT void kimgio_g3_write(TQImageIO *)
{
// TODO: stub
}
diff --git a/kimgio/hdr.cpp b/kimgio/hdr.cpp
index 0749ce751..88cdfafe7 100644
--- a/kimgio/hdr.cpp
+++ b/kimgio/hdr.cpp
@@ -199,7 +199,7 @@ namespace { // Private.
} // namespace
-KDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
+TDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
{
int len;
char line[MAXLINE];
@@ -258,7 +258,7 @@ KDE_EXPORT void kimgio_hdr_read( TQImageIO * io )
}
-KDE_EXPORT void kimgio_hdr_write( TQImageIO * )
+TDE_EXPORT void kimgio_hdr_write( TQImageIO * )
{
// intentionally not implemented (since writing low dynamic range data to a HDR file is nonsense.)
}
diff --git a/kimgio/ico.cpp b/kimgio/ico.cpp
index bf53ecc3b..57627cb8b 100644
--- a/kimgio/ico.cpp
+++ b/kimgio/ico.cpp
@@ -241,7 +241,7 @@ namespace
}
}
-extern "C" KDE_EXPORT void kimgio_ico_read( TQImageIO* io )
+extern "C" TDE_EXPORT void kimgio_ico_read( TQImageIO* io )
{
TQIODevice::Offset offset = io->ioDevice()->at();
diff --git a/kimgio/jp2.cpp b/kimgio/jp2.cpp
index 5b7e4318e..ff64f9263 100644
--- a/kimgio/jp2.cpp
+++ b/kimgio/jp2.cpp
@@ -149,7 +149,7 @@ render_view( gs_t& gs, TQImage& qti )
} // render_view
-KDE_EXPORT void
+TDE_EXPORT void
kimgio_jp2_read( TQImageIO* io )
{
if( jas_init() ) return;
@@ -233,7 +233,7 @@ write_components( jas_image_t* ji, const TQImage& qi )
return true;
} // write_components
-KDE_EXPORT void
+TDE_EXPORT void
kimgio_jp2_write( TQImageIO* io )
{
if( jas_init() ) return;
diff --git a/kimgio/pcx.cpp b/kimgio/pcx.cpp
index ea02b67a9..232f5c3ca 100644
--- a/kimgio/pcx.cpp
+++ b/kimgio/pcx.cpp
@@ -262,7 +262,7 @@ static void readImage24( TQImage &img, TQDataStream &s, const PCXHEADER &header
}
}
-KDE_EXPORT void kimgio_pcx_read( TQImageIO *io )
+TDE_EXPORT void kimgio_pcx_read( TQImageIO *io )
{
TQDataStream s( io->ioDevice() );
s.setByteOrder( TQDataStream::LittleEndian );
@@ -479,7 +479,7 @@ static void writeImage24( TQImage &img, TQDataStream &s, PCXHEADER &header )
}
}
-KDE_EXPORT void kimgio_pcx_write( TQImageIO *io )
+TDE_EXPORT void kimgio_pcx_write( TQImageIO *io )
{
TQDataStream s( io->ioDevice() );
s.setByteOrder( TQDataStream::LittleEndian );
diff --git a/kimgio/psd.h b/kimgio/psd.h
index cf2e7dc25..14733ad68 100644
--- a/kimgio/psd.h
+++ b/kimgio/psd.h
@@ -15,8 +15,8 @@
class TQImageIO;
extern "C" {
-KDE_EXPORT void kimgio_psd_read( TQImageIO * );
-KDE_EXPORT void kimgio_psd_write( TQImageIO * );
+TDE_EXPORT void kimgio_psd_read( TQImageIO * );
+TDE_EXPORT void kimgio_psd_write( TQImageIO * );
}
#endif
diff --git a/kimgio/rgb.cpp b/kimgio/rgb.cpp
index bdda0959a..26129ca3e 100644
--- a/kimgio/rgb.cpp
+++ b/kimgio/rgb.cpp
@@ -31,7 +31,7 @@
///////////////////////////////////////////////////////////////////////////////
-KDE_EXPORT void kimgio_rgb_read(TQImageIO *io)
+TDE_EXPORT void kimgio_rgb_read(TQImageIO *io)
{
SGIImage sgi(io);
TQImage img;
@@ -47,7 +47,7 @@ KDE_EXPORT void kimgio_rgb_read(TQImageIO *io)
}
-KDE_EXPORT void kimgio_rgb_write(TQImageIO *io)
+TDE_EXPORT void kimgio_rgb_write(TQImageIO *io)
{
SGIImage sgi(io);
TQImage img = io->image();
diff --git a/kimgio/tga.cpp b/kimgio/tga.cpp
index 65e29a8cf..b0c2e2688 100644
--- a/kimgio/tga.cpp
+++ b/kimgio/tga.cpp
@@ -313,7 +313,7 @@ namespace { // Private.
} // namespace
-KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
+TDE_EXPORT void kimgio_tga_read( TQImageIO *io )
{
//kdDebug(399) << "Loading TGA file!" << endl;
@@ -359,7 +359,7 @@ KDE_EXPORT void kimgio_tga_read( TQImageIO *io )
}
-KDE_EXPORT void kimgio_tga_write( TQImageIO *io )
+TDE_EXPORT void kimgio_tga_write( TQImageIO *io )
{
TQDataStream s( io->ioDevice() );
s.setByteOrder( TQDataStream::LittleEndian );
diff --git a/kimgio/tiffr.cpp b/kimgio/tiffr.cpp
index bbffa82a9..7f7b13ea6 100644
--- a/kimgio/tiffr.cpp
+++ b/kimgio/tiffr.cpp
@@ -60,7 +60,7 @@ static void tiff_unmap( thandle_t, tdata_t, toff_t )
{
}
-KDE_EXPORT void kimgio_tiff_read( TQImageIO *io )
+TDE_EXPORT void kimgio_tiff_read( TQImageIO *io )
{
TIFF *tiff;
uint32 width, height;
@@ -143,7 +143,7 @@ KDE_EXPORT void kimgio_tiff_read( TQImageIO *io )
io->setStatus ( 0 );
}
-KDE_EXPORT void kimgio_tiff_write( TQImageIO * )
+TDE_EXPORT void kimgio_tiff_write( TQImageIO * )
{
// TODO: stub
}
diff --git a/kimgio/xcf.cpp b/kimgio/xcf.cpp
index 78af2e995..d90b12d85 100644
--- a/kimgio/xcf.cpp
+++ b/kimgio/xcf.cpp
@@ -32,14 +32,14 @@
///////////////////////////////////////////////////////////////////////////////
-KDE_EXPORT void kimgio_xcf_read(TQImageIO *io)
+TDE_EXPORT void kimgio_xcf_read(TQImageIO *io)
{
XCFImageFormat xcfif;
xcfif.readXCF(io);
}
-KDE_EXPORT void kimgio_xcf_write(TQImageIO *io)
+TDE_EXPORT void kimgio_xcf_write(TQImageIO *io)
{
kdDebug(399) << "XCF: write support not implemented" << endl;
io->setStatus(-1);
diff --git a/kimgio/xview.cpp b/kimgio/xview.cpp
index c2ceae05a..fdc598195 100644
--- a/kimgio/xview.cpp
+++ b/kimgio/xview.cpp
@@ -19,7 +19,7 @@
static const int b_255_3[]= {0,85,170,255}, // index*255/3
rg_255_7[]={0,36,72,109,145,182,218,255}; // index *255/7
-KDE_EXPORT void kimgio_xv_read( TQImageIO *_imageio )
+TDE_EXPORT void kimgio_xv_read( TQImageIO *_imageio )
{
int x=-1;
int y=-1;
@@ -100,7 +100,7 @@ KDE_EXPORT void kimgio_xv_read( TQImageIO *_imageio )
return;
}
-KDE_EXPORT void kimgio_xv_write( TQImageIO *imageio )
+TDE_EXPORT void kimgio_xv_write( TQImageIO *imageio )
{
TQIODevice& f = *( imageio->ioDevice() );