summaryrefslogtreecommitdiffstats
path: root/kbabel/common/poinfo.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:35:10 -0600
commit1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch)
tree11037eed53e1cd90dad4e194f9dea542ad28607f /kbabel/common/poinfo.cpp
parent3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff)
downloadtdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz
tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kbabel/common/poinfo.cpp')
-rw-r--r--kbabel/common/poinfo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbabel/common/poinfo.cpp b/kbabel/common/poinfo.cpp
index 63a01d38..aa6b1666 100644
--- a/kbabel/common/poinfo.cpp
+++ b/kbabel/common/poinfo.cpp
@@ -350,12 +350,12 @@ PoInfo PoInfo::headerInfo(const CatalogItem& headerItem)
}
-ConversiontqStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList &wordList, bool updateWordList, bool interactive)
+ConversionStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList &wordList, bool updateWordList, bool interactive)
{
return PoInfo::info( url, info, wordList, updateWordList, interactive, true);
}
-ConversiontqStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList &wordList, bool updateWordList, bool interactive, bool msgfmt)
+ConversionStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList &wordList, bool updateWordList, bool interactive, bool msgfmt)
{
stopStaticRead = false;
@@ -372,7 +372,7 @@ ConversiontqStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList
// First check file with msgfmt to be sure, it is syntactically correct
Msgfmt msgfmt;
TQString output;
- Msgfmt::tqStatus stat = msgfmt.checkSyntax( target , output );
+ Msgfmt::Status stat = msgfmt.checkSyntax( target , output );
if(stat == Msgfmt::SyntaxError)
{
KIO::NetAccess::removeTempFile(target);
@@ -395,11 +395,11 @@ ConversiontqStatus PoInfo::info(const TQString& url, PoInfo& info, TQStringList
lexer->yylex();
// now parse the rest of the file
- ConversiontqStatus success=OK;
+ ConversionStatus success=OK;
while( lexer->lastToken != T_EOF && success==OK)
{
- if( interactive ) kapp->tqprocessEvents(10);
+ if( interactive ) kapp->processEvents(10);
if( stopStaticRead )
{
@@ -532,7 +532,7 @@ bool PoInfo::findInFile( const TQString& url, FindOptions options )
// first read header
CatalogItem temp;
- ConversiontqStatus status = fastRead( temp, lexer, true );
+ ConversionStatus status = fastRead( temp, lexer, true );
if( status != OK || !temp.msgid().first().isEmpty() )
{
delete lexer;
@@ -639,7 +639,7 @@ bool PoInfo::findInFile( const TQString& url, FindOptions options )
}
case T_MSGID:
case T_MSGIDPLURAL: {
- kapp->tqprocessEvents(10);
+ kapp->processEvents(10);
// if stopped, return not found
if( stopStaticRead )
@@ -666,7 +666,7 @@ bool PoInfo::findInFile( const TQString& url, FindOptions options )
}
// this does not like any incorrect files
-ConversiontqStatus PoInfo::fastRead( CatalogItem& item, GettextFlexLexer *lexer, bool storeText)
+ConversionStatus PoInfo::fastRead( CatalogItem& item, GettextFlexLexer *lexer, bool storeText)
{
item.clear();
_gettextPluralForm = false;