summaryrefslogtreecommitdiffstats
path: root/languages/ada
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /languages/ada
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'languages/ada')
-rw-r--r--languages/ada/README.dox2
-rw-r--r--languages/ada/ada.g2
-rw-r--r--languages/ada/ada_utils.cpp2
-rw-r--r--languages/ada/adasupportpart.cpp6
-rw-r--r--languages/ada/addclass.cpp4
-rw-r--r--languages/ada/backgroundparser.cpp4
-rw-r--r--languages/ada/configproblemreporter.ui2
7 files changed, 11 insertions, 11 deletions
diff --git a/languages/ada/README.dox b/languages/ada/README.dox
index d9cd67bd..d4bd3352 100644
--- a/languages/ada/README.dox
+++ b/languages/ada/README.dox
@@ -24,7 +24,7 @@ with the one from <a href="ftp://fara.cs.uni-potsdam.de/incoming/CppCodeGenerato
\authors <a href="mailto:roberto AT tdevelop.org">Roberto Raggi</a>
\authors <a href="mailto:cloudtemple AT mksat.net">Alexander Dymo</a>
-\feature Consult \ref LangSupporttqStatus for a up to date features/status of this programming language support part.
+\feature Consult \ref LangSupportStatus for a up to date features/status of this programming language support part.
\requirement Ada compiler
diff --git a/languages/ada/ada.g b/languages/ada/ada.g
index 8c073e23..5f97952b 100644
--- a/languages/ada/ada.g
+++ b/languages/ada/ada.g
@@ -1773,7 +1773,7 @@ tokens {
// part 3: Non-RM synthetic tokens.
// They exist mainly to normalize the node structure with respect to
// optional items. (Without them, the presence or absence of an optional
- // item would change the node tqlayout, but we want a fixed tqlayout.)
+ // item would change the node layout, but we want a fixed layout.)
ABSTRACT_FUNCTION_DECLARATION;
ABSTRACT_PROCEDURE_DECLARATION;
ACCESS_TO_FUNCTION_DECLARATION;
diff --git a/languages/ada/ada_utils.cpp b/languages/ada/ada_utils.cpp
index 43b94fa7..d7b8bbf7 100644
--- a/languages/ada/ada_utils.cpp
+++ b/languages/ada/ada_utils.cpp
@@ -16,7 +16,7 @@
TQString qtext (const RefAdaAST& n)
{
- return TQString::tqfromLatin1 (text (n).c_str ());
+ return TQString::fromLatin1 (text (n).c_str ());
}
TQStringList qnamelist (const RefAdaAST& n)
diff --git a/languages/ada/adasupportpart.cpp b/languages/ada/adasupportpart.cpp
index 85374ee4..4c035cb2 100644
--- a/languages/ada/adasupportpart.cpp
+++ b/languages/ada/adasupportpart.cpp
@@ -143,7 +143,7 @@ void AdaSupportPart::initialParse ()
TQString fn = project ()->projectDirectory () + "/" + *it;
maybeParse (fn);
- kapp->tqprocessEvents (500);
+ kapp->processEvents (500);
}
emit updatedSourceInfo();
@@ -250,7 +250,7 @@ void AdaSupportPart::parse (const TQString &fileName)
}
} catch (antlr::ANTLRException& ex) {
kdDebug () << "*exception*: " << ex.toString ().c_str () << endl;
- d->problemReporter->reportError (TQString::tqfromLatin1( ex.getMessage ().c_str() ),
+ d->problemReporter->reportError (TQString::fromLatin1( ex.getMessage ().c_str() ),
fileName,
lexer.getLine (),
lexer.getColumn ());
@@ -285,7 +285,7 @@ void AdaSupportPart::parseContents (const TQString& contents, const TQString& fi
} catch (antlr::ANTLRException& ex) {
kdDebug () << "*exception*: " << ex.toString ().c_str () << endl;
- d->problemReporter->reportError (TQString::tqfromLatin1( ex.getMessage().c_str() ),
+ d->problemReporter->reportError (TQString::fromLatin1( ex.getMessage().c_str() ),
fileName,
lexer.getLine (),
lexer.getColumn ());
diff --git a/languages/ada/addclass.cpp b/languages/ada/addclass.cpp
index 725d6dc9..4fd8b2d9 100644
--- a/languages/ada/addclass.cpp
+++ b/languages/ada/addclass.cpp
@@ -4,8 +4,8 @@
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <tqtextedit.h>
-#include <tqtextstream.h>
+#include <textedit.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <tqfile.h>
#include <tqfileinfo.h>
diff --git a/languages/ada/backgroundparser.cpp b/languages/ada/backgroundparser.cpp
index f38491b9..22d959b0 100644
--- a/languages/ada/backgroundparser.cpp
+++ b/languages/ada/backgroundparser.cpp
@@ -25,7 +25,7 @@ BackgroundParser::BackgroundParser( ProblemReporter* reporter,
const TQString& source,
const TQString& filename )
: m_reporter( reporter ),
- m_source( source.tqunicode(), source.length() ),
+ m_source( source.unicode(), source.length() ),
m_fileName( filename )
{
}
@@ -64,7 +64,7 @@ void BackgroundParser::run()
} catch( antlr::ANTLRException& ex ){
kdDebug() << "*exception*: " << ex.toString().c_str() << endl;
- m_reporter->reportError( TQString::tqfromLatin1( ex.getMessage().c_str() ),
+ m_reporter->reportError( TQString::fromLatin1( ex.getMessage().c_str() ),
m_fileName,
lexer.getLine(),
lexer.getColumn() );
diff --git a/languages/ada/configproblemreporter.ui b/languages/ada/configproblemreporter.ui
index 32ca9e54..f2e03383 100644
--- a/languages/ada/configproblemreporter.ui
+++ b/languages/ada/configproblemreporter.ui
@@ -57,7 +57,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>0</width>
<height>101</height>