summaryrefslogtreecommitdiffstats
path: root/src/gvcore/xpm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/xpm.cpp')
-rw-r--r--src/gvcore/xpm.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp
index b56ba59..cc2cabc 100644
--- a/src/gvcore/xpm.cpp
+++ b/src/gvcore/xpm.cpp
@@ -74,7 +74,7 @@ static TQString fbname( const TQString &fileName ) // get file basename (sort of
s = s.mid( i );
if ( (i = s.findRev('\\')) >= 0 )
s = s.mid( i );
- TQRegExp r( TQString::fromLatin1("[a-zA-Z][a-zA-Z0-9_]*") );
+ TQRegExp r( TQString::tqfromLatin1("[a-zA-Z][a-zA-Z0-9_]*") );
int p = r.search( s );
if ( p == -1 )
s.truncate( 0 );
@@ -82,7 +82,7 @@ static TQString fbname( const TQString &fileName ) // get file basename (sort of
s = s.mid( p, r.matchedLength() );
}
if ( s.isEmpty() )
- s = TQString::fromLatin1( "dummy" );
+ s = TQString::tqfromLatin1( "dummy" );
return s;
}
@@ -161,10 +161,10 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc
int i, cpp, ncols, w, h, index = 0;
if ( iio ) {
- iio->seStatus( 1 );
+ iio->setqStatus( 1 );
d = iio ? iio->ioDevice() : 0;
d->readLine( buf.data(), buf.size() ); // "/* XPM */"
- TQRegExp r( TQString::fromLatin1("/\\*.XPM.\\*/") );
+ TQRegExp r( TQString::tqfromLatin1("/\\*.XPM.\\*/") );
if ( buf.find(r) == -1 )
return; // bad magic
} else if ( !source ) {
@@ -291,7 +291,7 @@ static void read_xpm_image_or_array( TQImageIO * iio, const char * const * sourc
}
if ( iio ) {
iio->setImage( image );
- iio->seStatus( 0 ); // image ok
+ iio->setqStatus( 0 ); // image ok
}
}
@@ -340,7 +340,7 @@ static const char* xpm_color_name( int cpp, int index )
static void write_xpm_image( TQImageIO * iio )
{
if ( iio )
- iio->seStatus( 1 );
+ iio->setqStatus( 1 );
else
return;
@@ -424,7 +424,7 @@ static void write_xpm_image( TQImageIO * iio )
}
s << "};" << endl;
- iio->seStatus( 0 );
+ iio->setqStatus( 0 );
}
// TQt code end ---------------------------