summaryrefslogtreecommitdiffstats
path: root/languages
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-27 10:48:41 +0900
commit392b47409ac925384208e3abfdd039f6be47ce56 (patch)
treef2587004d7fee4717f569ef0d0cbc12e67b9f3b6 /languages
parent2693e2b9a63c993da052449b5bdca241d05ed95f (diff)
downloadtdevelop-38866ac7bda51c6310235f437389c4c179c720a7.tar.gz
tdevelop-38866ac7bda51c6310235f437389c4c179c720a7.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d2728dd8dbad48f045a5eca1899924df15633a89)
Diffstat (limited to 'languages')
-rw-r--r--languages/ada/ada.store.g14
-rw-r--r--languages/cpp/app_templates/chello/chello.kdevtemplate6
-rw-r--r--languages/cpp/app_templates/kdevpart/kdevpart.kdevtemplate4
-rw-r--r--languages/cpp/app_templates/kdevpart2/kdevpart2.kdevtemplate4
-rw-r--r--languages/cpp/app_templates/opieapp/examplebase.ui2
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.kdevtemplate4
-rw-r--r--languages/cpp/app_templates/qmakeempty/qmakeempty.kdevtemplate4
-rw-r--r--languages/cpp/app_templates/qmakesimple/qmakesimple.kdevtemplate4
-rw-r--r--languages/cpp/cppnewclassdlgbase.ui2
-rw-r--r--languages/cpp/debugger/DESIGN.txt2
-rw-r--r--languages/java/app_templates/kappjava/app_client.java6
-rw-r--r--languages/java/app_templates/kappjava/appview.java4
-rw-r--r--languages/java/app_templates/kappjava/pref.java4
-rw-r--r--languages/java/app_templates/superwaba/superwaba4
-rw-r--r--languages/java/app_templates/superwaba/superwaba.kdevtemplate4
-rw-r--r--languages/java/java.g16
-rw-r--r--languages/java/java.store.g40
-rw-r--r--languages/lib/debugger/Mainpage.dox12
-rw-r--r--languages/pascal/pascal.tree.g6
-rw-r--r--languages/ruby/app_templates/dcopservice/dcopservice.rb6
-rw-r--r--languages/ruby/app_templates/kapp/app.rb12
-rw-r--r--languages/ruby/app_templates/kapp/appiface.rb2
-rw-r--r--languages/ruby/app_templates/kapp/appview.rb16
-rw-r--r--languages/ruby/app_templates/kxt/app.rb12
-rw-r--r--languages/ruby/app_templates/kxt/appview.rb4
-rw-r--r--languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb2
26 files changed, 98 insertions, 98 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)
diff --git a/languages/cpp/app_templates/chello/chello.kdevtemplate b/languages/cpp/app_templates/chello/chello.kdevtemplate
index b3848aa4..5d867549 100644
--- a/languages/cpp/app_templates/chello/chello.kdevtemplate
+++ b/languages/cpp/app_templates/chello/chello.kdevtemplate
@@ -13,21 +13,21 @@ Archive=chello.tar.gz
[LIBS]
Type = value
-ValueType=QString
+ValueType=TQString
Value= OPT_LIBS
Comment= Optional libraries to link to.
Default= -lm
[INCLUDES]
Type = value
-ValueType=QString
+ValueType=TQString
Value= OPT_INCS
Comment= Optional include path.
Default= -I/usr/include
[CFLAGS]
Type = value
-ValueType=QString
+ValueType=TQString
Value= CFLAGS
Comment= Optional CFLAGS to define in the makefile.
Default=
diff --git a/languages/cpp/app_templates/kdevpart/kdevpart.kdevtemplate b/languages/cpp/app_templates/kdevpart/kdevpart.kdevtemplate
index a7d04396..7bb82bf9 100644
--- a/languages/cpp/app_templates/kdevpart/kdevpart.kdevtemplate
+++ b/languages/cpp/app_templates/kdevpart/kdevpart.kdevtemplate
@@ -12,14 +12,14 @@ Archive=kdevpart.tar.gz
[SCOPE]
Type = value
-ValueType=QString
+ValueType=TQString
Value= SCOPE
Comment= The scope of a plugin (Global, Project, Core)
Default= Global
[PROPS]
Type = value
-ValueType=QString
+ValueType=TQString
Value= PROPS
Comment= The list of supported TDevelop properties
Default=
diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart2.kdevtemplate b/languages/cpp/app_templates/kdevpart2/kdevpart2.kdevtemplate
index 3eebf31a..d2b2e39f 100644
--- a/languages/cpp/app_templates/kdevpart2/kdevpart2.kdevtemplate
+++ b/languages/cpp/app_templates/kdevpart2/kdevpart2.kdevtemplate
@@ -12,14 +12,14 @@ Archive=kdevpart2.tar.gz
[SCOPE]
Type = value
-ValueType=QString
+ValueType=TQString
Value= SCOPE
Comment= The scope of a plugin (Global, Project, Core)
Default= Global
[PROPS]
Type = value
-ValueType=QString
+ValueType=TQString
Value= PROPS
Comment= The list of supported TDevelop properties
Default=
diff --git a/languages/cpp/app_templates/opieapp/examplebase.ui b/languages/cpp/app_templates/opieapp/examplebase.ui
index b6b81b11..e6f7eba6 100644
--- a/languages/cpp/app_templates/opieapp/examplebase.ui
+++ b/languages/cpp/app_templates/opieapp/examplebase.ui
@@ -1,7 +1,7 @@
<!DOCTYPE UI><UI>
<class>%{APPNAME}Base</class>
<widget>
- <class>QWidget</class>
+ <class>TQWidget</class>
<property stdset="1">
<name>name</name>
<cstring>%{APPNAME}Base</cstring>
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.kdevtemplate b/languages/cpp/app_templates/qmakeapp/qmakeapp.kdevtemplate
index 9572fea6..091cc093 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.kdevtemplate
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.kdevtemplate
@@ -66,14 +66,14 @@ Comment=A Qt3/Qmake based application was created in %{dest}
[TQTDIR]
Type=value
-ValueType=QString
+ValueType=TQString
Value=TQTDIR
Comment=Directory where Qt3 is installed.
Default=
[QMAKE]
Type=value
-ValueType=QString
+ValueType=TQString
Value=QMAKE
Comment=Absolute Path for QMake (Qt3).
Default=
diff --git a/languages/cpp/app_templates/qmakeempty/qmakeempty.kdevtemplate b/languages/cpp/app_templates/qmakeempty/qmakeempty.kdevtemplate
index 2ff310ba..69339244 100644
--- a/languages/cpp/app_templates/qmakeempty/qmakeempty.kdevtemplate
+++ b/languages/cpp/app_templates/qmakeempty/qmakeempty.kdevtemplate
@@ -26,14 +26,14 @@ Comment=A Qmake based application was created in %{dest}
[QMAKE]
Type=value
-ValueType=QString
+ValueType=TQString
Value=QMAKE
Comment=Absolute Path for QMake.
Default=
[DESIGNER]
Type=value
-ValueType=QString
+ValueType=TQString
Value=DESIGNER
Comment=Absolute Path for Designer.
Default=
diff --git a/languages/cpp/app_templates/qmakesimple/qmakesimple.kdevtemplate b/languages/cpp/app_templates/qmakesimple/qmakesimple.kdevtemplate
index 4d9b41b1..c8718e94 100644
--- a/languages/cpp/app_templates/qmakesimple/qmakesimple.kdevtemplate
+++ b/languages/cpp/app_templates/qmakesimple/qmakesimple.kdevtemplate
@@ -42,14 +42,14 @@ Comment=A Qmake/Qt3 based hello world program was created in %{dest}
[TQTDIR]
Type=value
-ValueType=QString
+ValueType=TQString
Value=TQTDIR
Comment=Directory where Qt3 is installed.
Default=
[QMAKE]
Type=value
-ValueType=QString
+ValueType=TQString
Value=QMAKE
Comment=Absolute Path for QMake (Qt3).
Default=
diff --git a/languages/cpp/cppnewclassdlgbase.ui b/languages/cpp/cppnewclassdlgbase.ui
index 03cd0909..6cef7a20 100644
--- a/languages/cpp/cppnewclassdlgbase.ui
+++ b/languages/cpp/cppnewclassdlgbase.ui
@@ -413,7 +413,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<enum>StrongFocus</enum>
</property>
<property name="whatsThis" stdset="0">
- <string>Insert the base class which your new class will be derived from. If you have checked 'Generate QWidget child class' the new class will be derived from QWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass&lt;int, int&gt;)</string>
+ <string>Insert the base class which your new class will be derived from. If you have checked 'Generate TQWidget child class' the new class will be derived from TQWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass&lt;int, int&gt;)</string>
</property>
</widget>
<widget class="KLineEdit" row="0" column="2">
diff --git a/languages/cpp/debugger/DESIGN.txt b/languages/cpp/debugger/DESIGN.txt
index 627fd403..3f4b4786 100644
--- a/languages/cpp/debugger/DESIGN.txt
+++ b/languages/cpp/debugger/DESIGN.txt
@@ -30,7 +30,7 @@ necessary to clear already cached data for other threads.
== Command execution ==
The controller has a queue of commands to send to gdb. A command typically
-has a callback (pair of QObject* and a member pointer) to be called when
+has a callback (pair of TQObject* and a member pointer) to be called when
command is done.
When the queue is non-empty, and debugger is not busy executing the previous
diff --git a/languages/java/app_templates/kappjava/app_client.java b/languages/java/app_templates/kappjava/app_client.java
index 9648cfad..ab327d4c 100644
--- a/languages/java/app_templates/kappjava/app_client.java
+++ b/languages/java/app_templates/kappjava/app_client.java
@@ -19,10 +19,10 @@ int main(int argc, char **argv)
QByteArray data;
QDataStream ds(data, IO_WriteOnly);
if (argc > 1)
- ds << QString(argv[1]);
+ ds << TQString(argv[1]);
else
- ds << QString("http://www.kde.org");
- client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(QString)", data);
+ ds << TQString("http://www.kde.org");
+ client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(TQString)", data);
return app.exec();
}
diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/kappjava/appview.java
index 347ff58f..0d79ac31 100644
--- a/languages/java/app_templates/kappjava/appview.java
+++ b/languages/java/app_templates/kappjava/appview.java
@@ -17,12 +17,12 @@ import org.kde.koala.*;
* @author %{AUTHOR} <%{EMAIL}>
* @version %{VERSION}
*/
-public class %{APPNAME}View extends QWidget
+public class %{APPNAME}View extends TQWidget
{
QHBoxLayout top_layout;
-public %{APPNAME}View(QWidget parent)
+public %{APPNAME}View(TQWidget parent)
{
super(parent, null);
// setup our layout manager to automatically add our widgets
diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/kappjava/pref.java
index a50fdb31..90e8e533 100644
--- a/languages/java/app_templates/kappjava/pref.java
+++ b/languages/java/app_templates/kappjava/pref.java
@@ -28,7 +28,7 @@ public %{APPNAME}Preferences()
}
public class %{APPNAME}PrefPageOne extends QFrame {
-public %{APPNAME}PrefPageOne(QWidget parent)
+public %{APPNAME}PrefPageOne(TQWidget parent)
{
super(parent);
QHBoxLayout layout = new QHBoxLayout(this);
@@ -39,7 +39,7 @@ public %{APPNAME}PrefPageOne(QWidget parent)
}
public class %{APPNAME}PrefPageTwo extends QFrame {
-public %{APPNAME}PrefPageTwo(QWidget parent)
+public %{APPNAME}PrefPageTwo(TQWidget parent)
{
super(parent);
QHBoxLayout layout = new QHBoxLayout(this);
diff --git a/languages/java/app_templates/superwaba/superwaba b/languages/java/app_templates/superwaba/superwaba
index eddcce86..82fb4752 100644
--- a/languages/java/app_templates/superwaba/superwaba
+++ b/languages/java/app_templates/superwaba/superwaba
@@ -16,14 +16,14 @@ Type=value
Value=JAVA
Comment=Path to your java root
Default=/usr/lib/java
-ValueType=QString
+ValueType=TQString
[WABA]
Type=value
Value=WABA
Comment=Path to your SuperWaba root
Default=/usr/lib
-ValueType=QString
+ValueType=TQString
[GNU]
Type=install archive
diff --git a/languages/java/app_templates/superwaba/superwaba.kdevtemplate b/languages/java/app_templates/superwaba/superwaba.kdevtemplate
index a14c511a..3711dbc4 100644
--- a/languages/java/app_templates/superwaba/superwaba.kdevtemplate
+++ b/languages/java/app_templates/superwaba/superwaba.kdevtemplate
@@ -16,14 +16,14 @@ Type=value
Value=JAVA
Comment=Path to your java root
Default=/usr/lib/java
-ValueType=QString
+ValueType=TQString
[WABA]
Type=value
Value=WABA
Comment=Path to your SuperWaba root
Default=/usr/lib
-ValueType=QString
+ValueType=TQString
[GNU]
Type=install archive
diff --git a/languages/java/java.g b/languages/java/java.g
index 4228a573..15ccf63d 100644
--- a/languages/java/java.g
+++ b/languages/java/java.g
@@ -157,18 +157,18 @@ private:
public:
void setDriver( Driver* d ) { m_driver = d; }
- void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; }
+ void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
}
void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
}
void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
}
}
@@ -1061,18 +1061,18 @@ private:
public:
void setDriver( Driver* d ) { m_driver = d; }
- void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; }
+ void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
virtual void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
}
virtual void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) );
}
virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
}
}
diff --git a/languages/java/java.store.g b/languages/java/java.store.g
index cc545c64..bf996974 100644
--- a/languages/java/java.store.g
+++ b/languages/java/java.store.g
@@ -72,26 +72,26 @@ public:
}
}
-compilationUnit { QString package; QString imp; QStringList imports; }
+compilationUnit { TQString package; TQString imp; QStringList imports; }
: { init(); }
(package=packageDefinition)?
(imp=importDefinition { imports << imp; } )*
(typeDefinition)*
;
-packageDefinition returns [ QString id ]
+packageDefinition returns [ TQString id ]
: #( PACKAGE_DEF id=identifier )
;
-importDefinition returns [ QString id ]
+importDefinition returns [ TQString id ]
: #( IMPORT id=identifierStar )
;
-typeDefinition { QStringList bases; QString className; ClassDom klass; QStringList m;}
+typeDefinition { QStringList bases; TQString className; ClassDom klass; QStringList m;}
: #(CLASS_DEF m=modifiers IDENT
{
klass = m_model->create<ClassModel>();
- QString name = QString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
+ TQString name = TQString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
QStringList path = QStringList::split( ".", name );
className = path.back();
@@ -125,7 +125,7 @@ typeDefinition { QStringList bases; QString className; ClassDom klass; QStringLi
| #(INTERFACE_DEF m=modifiers IDENT
{
klass = m_model->create<ClassModel>();
- QString name = QString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
+ TQString name = TQString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
QStringList path = QStringList::split( ".", name );
className = path.back();
@@ -154,16 +154,16 @@ typeDefinition { QStringList bases; QString className; ClassDom klass; QStringLi
)
;
-typeSpec returns [ QString tp ]
+typeSpec returns [ TQString tp ]
: #(TYPE tp=typeSpecArray)
;
-typeSpecArray returns [ QString tp ]
+typeSpecArray returns [ TQString tp ]
: #( ARRAY_DECLARATOR tp=typeSpecArray ) { tp += "[]"; }
| tp=type
;
-type returns [ QString tp ]
+type returns [ TQString tp ]
: tp=identifier
| b:builtInType { tp = #b->getText().c_str(); }
;
@@ -199,11 +199,11 @@ modifier
| "volatile"
;
-extendsClause returns [ QStringList l ] { QString id; }
+extendsClause returns [ QStringList l ] { TQString id; }
: #(EXTENDS_CLAUSE (id=identifier { l << id; } )* )
;
-implementsClause returns [ QStringList l ] { QString id; }
+implementsClause returns [ QStringList l ] { TQString id; }
: #(IMPLEMENTS_CLAUSE (id=identifier { l << id; } )* )
;
@@ -256,7 +256,7 @@ ctorDef returns [ FunctionDom meth ] {
methodDecl returns [ FunctionDom meth ] {
QStringList m;
- QString tp;
+ TQString tp;
meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() );
}
@@ -274,7 +274,7 @@ methodDecl returns [ FunctionDom meth ] {
methodDef returns [ FunctionDom meth ] {
QStringList m;
- QString tp;
+ TQString tp;
meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() );
}
@@ -292,7 +292,7 @@ methodDef returns [ FunctionDom meth ] {
variableDef returns [ VariableDom attr ] {
QStringList m;
- QString tp;
+ TQString tp;
attr = m_model->create<VariableModel>();
attr->setFileName( m_file->name() );
}
@@ -311,7 +311,7 @@ variableDef returns [ VariableDom attr ] {
;
parameterDef returns [ ArgumentDom arg ] {
- QString tp;
+ TQString tp;
arg = m_model->create<ArgumentModel>();
}
: #(PARAMETER_DEF modifiers tp=typeSpec IDENT )
@@ -360,21 +360,21 @@ throwsClause
: #( "throws" (identifier)* )
;
-identifier returns [ QString id ]
+identifier returns [ TQString id ]
: IDENT {
id = #IDENT->getText().c_str();
}
| #( DOT id=identifier IDENT ) {
- id += QString(".") + #IDENT->getText().c_str();
+ id += TQString(".") + #IDENT->getText().c_str();
}
;
-identifierStar returns [ QString id ]
+identifierStar returns [ TQString id ]
: IDENT {
id = #IDENT->getText().c_str();
}
- | #( DOT id=identifier (STAR { id += QString(".") + #STAR->getText().c_str(); } |
- IDENT { id += QString(".") + #IDENT->getText().c_str(); }) )
+ | #( DOT id=identifier (STAR { id += TQString(".") + #STAR->getText().c_str(); } |
+ IDENT { id += TQString(".") + #IDENT->getText().c_str(); }) )
;
slist
diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox
index 90c16a2a..3e0641a9 100644
--- a/languages/lib/debugger/Mainpage.dox
+++ b/languages/lib/debugger/Mainpage.dox
@@ -16,12 +16,12 @@ an instance of @ref Debugger class and connect its Q_SIGNALS, for example:
@code
m_debugger = new Debugger( partController() );
-connect( m_debugger, SIGNAL(toggledBreakpoint(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const QString &, int)) );
-connect( m_debugger, SIGNAL(editedBreakpoint(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const QString &, int)) );
-connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const QString &, int)),
- debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const QString &, int)) );
+connect( m_debugger, SIGNAL(toggledBreakpoint(const TQString &, int)),
+ debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const TQString &, int)) );
+connect( m_debugger, SIGNAL(editedBreakpoint(const TQString &, int)),
+ debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const TQString &, int)) );
+connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
+ debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
@endcode
Then m_debugger instance can be used for example, to jump to the execution point:
@code
diff --git a/languages/pascal/pascal.tree.g b/languages/pascal/pascal.tree.g
index d90503c4..c50d5a9f 100644
--- a/languages/pascal/pascal.tree.g
+++ b/languages/pascal/pascal.tree.g
@@ -46,7 +46,7 @@ options {
{
private:
- QString m_fileName;
+ TQString m_fileName;
QStringList m_currentScope;
int m_currentAccess;
int m_anon;
@@ -57,8 +57,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_currentScope.clear();
diff --git a/languages/ruby/app_templates/dcopservice/dcopservice.rb b/languages/ruby/app_templates/dcopservice/dcopservice.rb
index 94a03ec9..b0e59b6d 100644
--- a/languages/ruby/app_templates/dcopservice/dcopservice.rb
+++ b/languages/ruby/app_templates/dcopservice/dcopservice.rb
@@ -1,10 +1,10 @@
class %{APPNAME} < KDE::DCOPObject
- k_dcop 'QString string(int)',
+ k_dcop 'TQString string(int)',
'QStringList list()',
- 'void add(QString)',
- 'bool remove(QString)',
+ 'void add(TQString)',
+ 'bool remove(TQString)',
'bool exit()'
def initialize()
diff --git a/languages/ruby/app_templates/kapp/app.rb b/languages/ruby/app_templates/kapp/app.rb
index 61531be2..37a00d8b 100644
--- a/languages/ruby/app_templates/kapp/app.rb
+++ b/languages/ruby/app_templates/kapp/app.rb
@@ -15,8 +15,8 @@ class %{APPNAMESC} < KDE::MainWindow
'fileSaveAs()',
'filePrint()',
'optionsPreferences()',
- 'changeStatusbar(const QString&)',
- 'changeCaption(const QString&)'
+ 'changeStatusbar(const TQString&)',
+ 'changeCaption(const TQString&)'
def initialize()
super( nil, "%{APPNAMESC}" )
@@ -41,10 +41,10 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI();
# allow the view to change the statusbar and caption
- connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'),
- self, SLOT('changeStatusbar(const QString&)'))
- connect(@view, SIGNAL('signalChangeCaption(const QString&)'),
- self, SLOT('changeCaption(const QString&)'))
+ connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
+ self, SLOT('changeStatusbar(const TQString&)'))
+ connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
+ self, SLOT('changeCaption(const TQString&)'))
end
diff --git a/languages/ruby/app_templates/kapp/appiface.rb b/languages/ruby/app_templates/kapp/appiface.rb
index a8be16b5..7ff96bd6 100644
--- a/languages/ruby/app_templates/kapp/appiface.rb
+++ b/languages/ruby/app_templates/kapp/appiface.rb
@@ -1,6 +1,6 @@
class %{APPNAMESC}Iface < KDE::DCOPObject
- k_dcop 'void openURL(QString)'
+ k_dcop 'void openURL(TQString)'
def initialize(app)
super("%{APPNAMESC}Iface")
diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb
index e7aabe3c..e75ca6bc 100644
--- a/languages/ruby/app_templates/kapp/appview.rb
+++ b/languages/ruby/app_templates/kapp/appview.rb
@@ -15,15 +15,15 @@ class %{APPNAMESC}View < Qt::Widget
#
# Use this signal to change the content of the statusbar
#
- Q_SIGNALS 'signalChangeStatusbar(const QString&)'
+ Q_SIGNALS 'signalChangeStatusbar(const TQString&)'
#
# Use this signal to change the content of the caption
#
- Q_SIGNALS 'signalChangeCaption(const QString&)'
+ Q_SIGNALS 'signalChangeCaption(const TQString&)'
- Q_SLOTS 'slotOnURL(const QString&)',
- 'slotSetTitle(const QString&)'
+ Q_SLOTS 'slotOnURL(const TQString&)',
+ 'slotSetTitle(const TQString&)'
def initialize(parent)
super(parent)
@@ -71,10 +71,10 @@ class %{APPNAMESC}View < Qt::Widget
return
end
- connect(@html, SIGNAL('setWindowCaption(const QString&)'),
- self, SLOT('slotSetTitle(const QString&)'))
- connect(@html, SIGNAL('setStatusBarText(const QString&)'),
- self, SLOT('slotOnURL(const QString&)'))
+ connect(@html, SIGNAL('setWindowCaption(const TQString&)'),
+ self, SLOT('slotSetTitle(const TQString&)'))
+ connect(@html, SIGNAL('setStatusBarText(const TQString&)'),
+ self, SLOT('slotOnURL(const TQString&)'))
end
diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb
index 9ab56921..59a7c266 100644
--- a/languages/ruby/app_templates/kxt/app.rb
+++ b/languages/ruby/app_templates/kxt/app.rb
@@ -12,8 +12,8 @@ class %{APPNAMESC} < KDE::MainWindow
Q_SLOTS 'fileNew()',
'optionsPreferences()',
'newToolbarConfig()',
- 'changeStatusbar(const QString&)',
- 'changeCaption(const QString&)'
+ 'changeStatusbar(const TQString&)',
+ 'changeCaption(const TQString&)'
def initialize()
super( nil, "%{APPNAMESC}" )
@@ -40,10 +40,10 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI();
# allow the view to change the statusbar and caption
- connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'),
- self, SLOT('changeStatusbar(const QString&)'))
- connect(@view, SIGNAL('signalChangeCaption(const QString&)'),
- self, SLOT('changeCaption(const QString&)'))
+ connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
+ self, SLOT('changeStatusbar(const TQString&)'))
+ connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
+ self, SLOT('changeCaption(const TQString&)'))
end
diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb
index 58327208..4f63037f 100644
--- a/languages/ruby/app_templates/kxt/appview.rb
+++ b/languages/ruby/app_templates/kxt/appview.rb
@@ -15,12 +15,12 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base
#
# Use this signal to change the content of the statusbar
#
- Q_SIGNALS 'signalChangeStatusbar(const QString&)'
+ Q_SIGNALS 'signalChangeStatusbar(const TQString&)'
#
# Use this signal to change the content of the caption
#
- Q_SIGNALS 'signalChangeCaption(const QString&)'
+ Q_SIGNALS 'signalChangeCaption(const TQString&)'
Q_SLOTS 'switchColors()',
'settingsChanged()'
diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb
index 7d5f9ad3..26b0b378 100644
--- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb
+++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb
@@ -2,7 +2,7 @@ class %{APPNAMESC} < Qt::MainWindow
Q_SLOTS 'newDoc()',
'choose()',
- 'load( const QString& )',
+ 'load( const TQString& )',
'save()',
'saveAs()',
'print()',