summaryrefslogtreecommitdiffstats
path: root/languages/pascal/pascalsupport_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:36:08 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:36:08 -0600
commitc3b301575a98e4c3505ad95534d6192b65539dab (patch)
tree532456654ca955508c4a6e7cd6f04db4ce151c53 /languages/pascal/pascalsupport_part.cpp
parent1623fe64102c18ab098b79656b80f28cef840756 (diff)
downloadtdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.tar.gz
tdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'languages/pascal/pascalsupport_part.cpp')
-rw-r--r--languages/pascal/pascalsupport_part.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp
index 2b1edd31..abd1dec1 100644
--- a/languages/pascal/pascalsupport_part.cpp
+++ b/languages/pascal/pascalsupport_part.cpp
@@ -138,7 +138,7 @@ void PascalSupportPart::addedFilesToProject(const TQStringList &fileList)
{
TQString fn = project()->projectDirectory() + "/" + *it;
maybeParse( fn );
- kapp->tqprocessEvents( 500 );
+ kapp->processEvents( 500 );
emit addedSourceInfo(fn);
}
}
@@ -173,7 +173,7 @@ void PascalSupportPart::initialParse( )
for (TQStringList::Iterator it = files.begin(); it != files.end() ;++it){
TQString fn = project()->projectDirectory() + "/" + *it;
maybeParse( fn );
- kapp->tqprocessEvents( 500 );
+ kapp->processEvents( 500 );
}
emit updatedSourceInfo();
@@ -256,10 +256,10 @@ TQString PascalSupportPart::formatTag( const Tag & inputTag )
switch( tag.kind() )
{
case Tag::Kind_Namespace:
- return TQString::tqfromLatin1("unit ") + tag.name();
+ return TQString::fromLatin1("unit ") + tag.name();
case Tag::Kind_Class:
- return TQString::tqfromLatin1("class ") + tag.name();
+ return TQString::fromLatin1("class ") + tag.name();
case Tag::Kind_Function:
case Tag::Kind_FunctionDeclaration:
@@ -271,7 +271,7 @@ TQString PascalSupportPart::formatTag( const Tag & inputTag )
case Tag::Kind_Variable:
case Tag::Kind_VariableDeclaration:
{
- return TQString::tqfromLatin1("var ") + tag.name();
+ return TQString::fromLatin1("var ") + tag.name();
}
break;
}