summaryrefslogtreecommitdiffstats
path: root/src/kernel/qimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qimage.cpp')
-rw-r--r--src/kernel/qimage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/qimage.cpp b/src/kernel/qimage.cpp
index c67c463ab..fad12bfae 100644
--- a/src/kernel/qimage.cpp
+++ b/src/kernel/qimage.cpp
@@ -3861,7 +3861,7 @@ static TQPluginManager<TQImageFormatInterface> *plugin_manager = 0;
static void *plugin_manager = 0;
#endif
-void qt_init_image_plugins()
+void tqt_init_image_plugins()
{
#ifndef QT_NO_COMPONENT
if ( plugin_manager )
@@ -3893,7 +3893,7 @@ static void cleanup()
#endif
}
-void qt_init_image_handlers() // initialize image handlers
+void tqt_init_image_handlers() // initialize image handlers
{
if ( !imageHandlers ) {
imageHandlers = new TQIHList;
@@ -3940,8 +3940,8 @@ void qt_init_image_handlers() // initialize image handlers
static TQImageHandler *get_image_handler( const char *format )
{ // get pointer to handler
- qt_init_image_handlers();
- qt_init_image_plugins();
+ tqt_init_image_handlers();
+ tqt_init_image_plugins();
register TQImageHandler *p = imageHandlers->first();
while ( p ) { // traverse list
if ( p->format == format )
@@ -4012,7 +4012,7 @@ void TQImageIO::defineIOHandler( const char *format,
image_io_handler readImage,
image_io_handler writeImage )
{
- qt_init_image_handlers();
+ tqt_init_image_handlers();
TQImageHandler *p;
p = new TQImageHandler( format, header, flags,
readImage, writeImage );
@@ -4278,8 +4278,8 @@ const char *TQImageIO::imageFormat( TQIODevice *d )
char buf[buflen];
char buf2[buflen];
- qt_init_image_handlers();
- qt_init_image_plugins();
+ tqt_init_image_handlers();
+ tqt_init_image_plugins();
int pos = d->at(); // save position
int rdlen = d->readBlock( buf, buflen ); // read a few bytes
@@ -4326,8 +4326,8 @@ TQStrList TQImageIO::inputFormats()
{
TQStrList result;
- qt_init_image_handlers();
- qt_init_image_plugins();
+ tqt_init_image_handlers();
+ tqt_init_image_plugins();
#ifndef QT_NO_ASYNC_IMAGE_IO
// Include asynchronous loaders first.
@@ -4356,8 +4356,8 @@ TQStrList TQImageIO::outputFormats()
{
TQStrList result;
- qt_init_image_handlers();
- qt_init_image_plugins();
+ tqt_init_image_handlers();
+ tqt_init_image_plugins();
// Include asynchronous writers (!) first.
// (None)
@@ -4497,7 +4497,7 @@ bool TQImageIO::write()
return FALSE;
TQImageHandler *h = get_image_handler( frmt );
if ( !h && !plugin_manager) {
- qt_init_image_plugins();
+ tqt_init_image_plugins();
h = get_image_handler( frmt );
}
if ( !h || !h->write_image ) {