summaryrefslogtreecommitdiffstats
path: root/languages/ada
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:57:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:57:48 +0900
commitd2728dd8dbad48f045a5eca1899924df15633a89 (patch)
tree451778bfeb320b91a89045f80c4768b1bfbd6626 /languages/ada
parenta97b6afffb6ad7624b2d936a9f32056c7b6dd831 (diff)
downloadtdevelop-d2728dd8dbad48f045a5eca1899924df15633a89.tar.gz
tdevelop-d2728dd8dbad48f045a5eca1899924df15633a89.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/ada')
-rw-r--r--languages/ada/ada.store.g14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/ada/ada.store.g b/languages/ada/ada.store.g
index 658bfcfa..b15e5f3e 100644
--- a/languages/ada/ada.store.g
+++ b/languages/ada/ada.store.g
@@ -30,7 +30,7 @@ options {
{
private:
- QString m_fileName;
+ TQString m_fileName;
QValueList<NamespaceDom> m_scopeStack;
CodeModel* m_model;
QValueList<QStringList> m_imports;
@@ -46,8 +46,8 @@ public:
CodeModel* codeModel () { return m_model; }
const CodeModel* codeModel () const { return m_model; }
- QString fileName () const { return m_fileName; }
- void setFileName (const QString& fileName) { m_fileName = fileName; }
+ TQString fileName () const { return m_fileName; }
+ void setFileName (const TQString& fileName) { m_fileName = fileName; }
void init () {
m_scopeStack.clear ();
@@ -66,13 +66,13 @@ public:
void wipeout () { m_model->wipeout (); }
// void out () { m_store->out (); }
- void removeWithReferences (const QString& fileName) {
+ void removeWithReferences (const TQString& fileName) {
m_model->removeFile (m_model->fileByName(fileName));
}
NamespaceDom insertScopeContainer
(NamespaceDom scope, const QStringList & scopes ) {
QStringList::ConstIterator it = scopes.begin();
- QString prefix( *it );
+ TQString prefix( *it );
NamespaceDom ns = scope->namespaceByName( prefix );
// kdDebug() << "insertScopeContainer begin with prefix " << prefix << endl;
if (!ns.data()) {
@@ -89,7 +89,7 @@ public:
}
// kdDebug() << "insertScopeContainer: while" << endl;
while ( ++it != scopes.end() ) {
- QString nameSegment( *it );
+ TQString nameSegment( *it );
prefix += "." + nameSegment;
// kdDebug() << "insertScopeContainer: while prefix = " << prefix << endl;
NamespaceDom inner = scope->namespaceByName( prefix );
@@ -592,7 +592,7 @@ name_or_qualified
package_body
: #(PACKAGE_BODY id:def_id
/* TBD
- { QString name (qtext (id));
+ { TQString name (qtext (id));
}
*/
pkg_body_part)