diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:43 -0600 |
commit | d0bdd0d7a768f9935b521f3bd12a4cd72739b96f (patch) | |
tree | fa2f2df5113b9dd1e7e821c80084af9da0175187 /src/gvcore/xpm.cpp | |
parent | 676f6ed378c861a872de8cfce3dd5efe1780f769 (diff) | |
download | gwenview-d0bdd0d7a768f9935b521f3bd12a4cd72739b96f.tar.gz gwenview-d0bdd0d7a768f9935b521f3bd12a4cd72739b96f.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/gvcore/xpm.cpp')
-rw-r--r-- | src/gvcore/xpm.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp index cc2cabc..b56ba59 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::tqfromLatin1("[a-zA-Z][a-zA-Z0-9_]*") ); + TQRegExp r( TQString::fromLatin1("[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::tqfromLatin1( "dummy" ); + s = TQString::fromLatin1( "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->setqStatus( 1 ); + iio->seStatus( 1 ); d = iio ? iio->ioDevice() : 0; d->readLine( buf.data(), buf.size() ); // "/* XPM */" - TQRegExp r( TQString::tqfromLatin1("/\\*.XPM.\\*/") ); + TQRegExp r( TQString::fromLatin1("/\\*.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->setqStatus( 0 ); // image ok + iio->seStatus( 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->setqStatus( 1 ); + iio->seStatus( 1 ); else return; @@ -424,7 +424,7 @@ static void write_xpm_image( TQImageIO * iio ) } s << "};" << endl; - iio->setqStatus( 0 ); + iio->seStatus( 0 ); } // TQt code end --------------------------- |