summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
Diffstat (limited to 'languages')
-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
-rw-r--r--languages/bash/README.dox2
-rw-r--r--languages/bash/bashsupport_part.cpp2
-rw-r--r--languages/cpp/README.dox2
-rw-r--r--languages/cpp/addattributedialog.cpp10
-rw-r--r--languages/cpp/addattributedialogbase.ui10
-rw-r--r--languages/cpp/addmethoddialog.cpp22
-rw-r--r--languages/cpp/addmethoddialogbase.ui10
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp10
-rw-r--r--languages/cpp/app_templates/kapp/appview.cpp4
-rw-r--r--languages/cpp/app_templates/kapp/pref.cpp10
-rw-r--r--languages/cpp/app_templates/kateplugin2/plugin_app.cpp2
-rw-r--r--languages/cpp/app_templates/kcmodule/module.cpp2
-rw-r--r--languages/cpp/app_templates/kconfig35/appview.cpp2
-rw-r--r--languages/cpp/app_templates/kconfig35/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view_base.ui6
-rw-r--r--languages/cpp/app_templates/kde4app/prefs_base.ui10
-rw-r--r--languages/cpp/app_templates/kioslave/slave.cpp2
-rw-r--r--languages/cpp/app_templates/kmake/mainview.ui2
-rw-r--r--languages/cpp/app_templates/kpartapp/app_part.cpp2
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/app_part.cpp2
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp6
-rw-r--r--languages/cpp/app_templates/kscons_kxt/appview.cpp2
-rw-r--r--languages/cpp/app_templates/kscons_kxt/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/kxt/appview.cpp2
-rw-r--r--languages/cpp/app_templates/kxt/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.cpp8
-rw-r--r--languages/cpp/app_templates/noatunvisual/plugin_impl.cpp4
-rw-r--r--languages/cpp/app_templates/noatunvisual/plugin_impl.h2
-rw-r--r--languages/cpp/app_templates/opieapp/example.h2
-rw-r--r--languages/cpp/app_templates/opieapp/examplebase.ui2
-rw-r--r--languages/cpp/app_templates/opieinput/simpleimpl.cpp2
-rw-r--r--languages/cpp/app_templates/opienet/simmplemodule.h4
-rw-r--r--languages/cpp/app_templates/opienet/simpleiface.cpp4
-rw-r--r--languages/cpp/app_templates/opienet/simplemodule.h4
-rw-r--r--languages/cpp/app_templates/opietoday/exampleplugin.cpp2
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginwidget.h2
-rw-r--r--languages/cpp/app_templates/prc-tool/palmhello.c2
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.cpp10
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp10
-rw-r--r--languages/cpp/app_templates/qtopia4app/examplebase.ui4
-rw-r--r--languages/cpp/app_templates/qtopiaapp/examplebase.ui2
-rw-r--r--languages/cpp/ast_utils.cpp10
-rw-r--r--languages/cpp/backgroundparser.cpp2
-rw-r--r--languages/cpp/ccconfigwidget.cpp10
-rw-r--r--languages/cpp/ccconfigwidgetbase.ui56
-rw-r--r--languages/cpp/classgeneratorconfig.cpp2
-rw-r--r--languages/cpp/codeinformationrepository.cpp2
-rw-r--r--languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp40
-rw-r--r--languages/cpp/configproblemreporter.ui4
-rw-r--r--languages/cpp/configproblemreporter.ui.h4
-rw-r--r--languages/cpp/cppcodecompletion.cpp118
-rw-r--r--languages/cpp/cppcodecompletionconfig.cpp2
-rw-r--r--languages/cpp/cppevaluation.cpp2
-rw-r--r--languages/cpp/cppimplementationwidget.cpp2
-rw-r--r--languages/cpp/cppnewclassdlg.cpp30
-rw-r--r--languages/cpp/cppnewclassdlgbase.ui22
-rw-r--r--languages/cpp/cppsplitheadersourceconfig.cpp2
-rw-r--r--languages/cpp/cppsupportpart.cpp46
-rw-r--r--languages/cpp/creategettersetter.ui4
-rw-r--r--languages/cpp/creategettersetterconfiguration.cpp2
-rw-r--r--languages/cpp/createpcsdialog.cpp2
-rw-r--r--languages/cpp/createpcsdialogbase.ui4
-rw-r--r--languages/cpp/debugger/TODO.txt2
-rw-r--r--languages/cpp/debugger/breakpoint.cpp10
-rw-r--r--languages/cpp/debugger/dbgcontroller.h2
-rw-r--r--languages/cpp/debugger/dbgpsdlg.cpp6
-rw-r--r--languages/cpp/debugger/dbgtoolbar.cpp42
-rw-r--r--languages/cpp/debugger/dbgtoolbar.h2
-rw-r--r--languages/cpp/debugger/debuggerconfigwidget.cpp2
-rw-r--r--languages/cpp/debugger/debuggerconfigwidgetbase.ui8
-rw-r--r--languages/cpp/debugger/debuggerpart.cpp34
-rw-r--r--languages/cpp/debugger/debuggerpart.h2
-rw-r--r--languages/cpp/debugger/debuggertracingdialogbase.ui2
-rw-r--r--languages/cpp/debugger/disassemblewidget.cpp2
-rw-r--r--languages/cpp/debugger/disassemblewidget.h2
-rw-r--r--languages/cpp/debugger/framestackwidget.cpp16
-rw-r--r--languages/cpp/debugger/gdbbreakpointwidget.cpp28
-rw-r--r--languages/cpp/debugger/gdbcommand.cpp2
-rw-r--r--languages/cpp/debugger/gdbcontroller.cpp58
-rw-r--r--languages/cpp/debugger/gdbcontroller.h2
-rw-r--r--languages/cpp/debugger/gdboutputwidget.cpp18
-rw-r--r--languages/cpp/debugger/gdboutputwidget.h4
-rw-r--r--languages/cpp/debugger/memviewdlg.cpp20
-rw-r--r--languages/cpp/debugger/variablewidget.cpp108
-rw-r--r--languages/cpp/debugger/variablewidget.h20
-rw-r--r--languages/cpp/declarationinfo.h2
-rw-r--r--languages/cpp/doc/cppannotations.toc2
-rw-r--r--languages/cpp/doc/gnome1.toc4
-rw-r--r--languages/cpp/doc/kde2book.toc108
-rw-r--r--languages/cpp/includepathresolver.cpp22
-rw-r--r--languages/cpp/kdevdriver.cpp4
-rw-r--r--languages/cpp/main.cpp2
-rw-r--r--languages/cpp/pcsimporter/customimporter/settingsdialog.cpp4
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp2
-rw-r--r--languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h2
-rw-r--r--languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h2
-rw-r--r--languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui4
-rw-r--r--languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.h2
-rw-r--r--languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui2
-rw-r--r--languages/cpp/problemreporter.cpp4
-rw-r--r--languages/cpp/qtbuildconfig.cpp6
-rw-r--r--languages/cpp/qtdesignercppintegration.cpp16
-rw-r--r--languages/cpp/simpletype.cpp2
-rw-r--r--languages/cpp/simpletype.h2
-rw-r--r--languages/cpp/subclassingdlgbase.ui2
-rw-r--r--languages/cpp/tag_creator.cpp6
-rw-r--r--languages/cpp/typedesc.cpp6
-rw-r--r--languages/csharp/README.dox2
-rw-r--r--languages/csharp/csharpdoc.cpp2
-rw-r--r--languages/csharp/csharpsupportpart.cpp2
-rw-r--r--languages/fortran/README.dox2
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp14
-rw-r--r--languages/fortran/fixedformparser.cpp2
-rw-r--r--languages/fortran/fixedformparser.h2
-rw-r--r--languages/fortran/fortransupportpart.cpp2
-rw-r--r--languages/fortran/ftnchekconfigwidget.cpp4
-rw-r--r--languages/fortran/ftnchekconfigwidgetbase.ui10
-rw-r--r--languages/java/JavaRecognizer.hpp2
-rw-r--r--languages/java/README.dox2
-rw-r--r--languages/java/app_templates/kappjava/appview.java2
-rw-r--r--languages/java/app_templates/kappjava/pref.java8
-rw-r--r--languages/java/backgroundparser.cpp2
-rw-r--r--languages/java/configproblemreporter.ui6
-rw-r--r--languages/java/configproblemreporter.ui.h2
-rw-r--r--languages/java/java.g4
-rw-r--r--languages/java/javasupportpart.cpp12
-rw-r--r--languages/java/problemreporter.cpp8
-rw-r--r--languages/kjssupport/jscodecompletion.cpp2
-rw-r--r--languages/kjssupport/kjssupport_part.cpp2
-rw-r--r--languages/kjssupport/subclassingdlgbase.ui2
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp4
-rw-r--r--languages/lib/designer_integration/implementationwidgetbase.ui8
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.cpp2
-rw-r--r--languages/pascal/README.dox2
-rw-r--r--languages/pascal/backgroundparser.cpp2
-rw-r--r--languages/pascal/compiler/dccoptions/optiontabs.cpp78
-rw-r--r--languages/pascal/compiler/fpcoptions/optiontabs.cpp134
-rw-r--r--languages/pascal/configproblemreporter.ui2
-rw-r--r--languages/pascal/pascal.g2
-rw-r--r--languages/pascal/pascalsupport_part.cpp12
-rw-r--r--languages/perl/README.dox2
-rw-r--r--languages/perl/doc/perl.toc2
-rw-r--r--languages/perl/perldoc.cpp2
-rw-r--r--languages/perl/perlsupportpart.cpp2
-rw-r--r--languages/php/README.dox2
-rw-r--r--languages/php/data/phpfunctions34
-rw-r--r--languages/php/doc/php.toc134
-rw-r--r--languages/php/phpcodecompletion.cpp16
-rw-r--r--languages/php/phpconfigwidgetbase.ui24
-rw-r--r--languages/php/phperrorview.cpp4
-rw-r--r--languages/php/phpfile.cpp2
-rw-r--r--languages/php/phpinfodlg.ui4
-rw-r--r--languages/php/phpnewclassdlg.cpp2
-rw-r--r--languages/php/phpnewclassdlgbase.ui2
-rw-r--r--languages/php/phpparser.cpp2
-rw-r--r--languages/php/phpsupportpart.cpp2
-rw-r--r--languages/python/README.dox2
-rw-r--r--languages/python/doc/python.toc10
-rw-r--r--languages/python/pydoc.cpp2
-rw-r--r--languages/python/pythonconfigwidgetbase.ui6
-rw-r--r--languages/python/pythonimplementationwidget.cpp2
-rw-r--r--languages/python/pythonsupportpart.cpp4
-rw-r--r--languages/ruby/README.dox2
-rw-r--r--languages/ruby/app_templates/dcopservice/app.cpp4
-rw-r--r--languages/ruby/app_templates/kapp/app.cpp4
-rw-r--r--languages/ruby/app_templates/kapp/appview.rb2
-rw-r--r--languages/ruby/app_templates/kapp/pref.rb8
-rw-r--r--languages/ruby/app_templates/kxt/app.cpp4
-rw-r--r--languages/ruby/app_templates/kxt/prefs-base.ui6
-rw-r--r--languages/ruby/debugger/breakpoint.cpp6
-rw-r--r--languages/ruby/debugger/dbgcontroller.h2
-rw-r--r--languages/ruby/debugger/dbgpsdlg.cpp8
-rw-r--r--languages/ruby/debugger/dbgtoolbar.cpp42
-rw-r--r--languages/ruby/debugger/dbgtoolbar.h2
-rw-r--r--languages/ruby/debugger/debuggerpart.cpp22
-rw-r--r--languages/ruby/debugger/debuggerpart.h2
-rw-r--r--languages/ruby/debugger/framestackwidget.cpp4
-rw-r--r--languages/ruby/debugger/rdbbreakpointwidget.cpp16
-rw-r--r--languages/ruby/debugger/rdbcontroller.cpp44
-rw-r--r--languages/ruby/debugger/rdboutputwidget.cpp10
-rw-r--r--languages/ruby/debugger/rdboutputwidget.h2
-rw-r--r--languages/ruby/debugger/variablewidget.cpp12
-rw-r--r--languages/ruby/debugger/variablewidget.h6
-rw-r--r--languages/ruby/rubyconfigwidgetbase.ui6
-rw-r--r--languages/ruby/rubyimplementationwidget.cpp2
-rw-r--r--languages/ruby/rubysupport_part.cpp26
-rw-r--r--languages/sql/README.dox2
-rw-r--r--languages/sql/sqlactions.cpp2
-rw-r--r--languages/sql/sqlconfigwidget.ui4
-rw-r--r--languages/sql/sqloutputwidget.cpp20
-rw-r--r--languages/sql/sqlsupport_part.cpp10
198 files changed, 1037 insertions, 1037 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>
diff --git a/languages/bash/README.dox b/languages/bash/README.dox
index af38febf..95765f0a 100644
--- a/languages/bash/README.dox
+++ b/languages/bash/README.dox
@@ -10,6 +10,6 @@ Supports bash language
\feature runs bash script in external terminal
\feature syntax highlighting and code folding via katepart
\feature Code completion works for variables
-\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.
*/
diff --git a/languages/bash/bashsupport_part.cpp b/languages/bash/bashsupport_part.cpp
index a36761a8..9daa4294 100644
--- a/languages/bash/bashsupport_part.cpp
+++ b/languages/bash/bashsupport_part.cpp
@@ -7,7 +7,7 @@
#include <tqfileinfo.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kapplication.h>
#include <tqregexp.h>
diff --git a/languages/cpp/README.dox b/languages/cpp/README.dox
index 04c7fe30..4ac19153 100644
--- a/languages/cpp/README.dox
+++ b/languages/cpp/README.dox
@@ -16,7 +16,7 @@ and if you want play with the c++ parser go to lib/cppparser/, the best is to st
\feature can do code completion
\feature has presistent class store
\feature code highlight
-\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.
\bug bugs in <a href="http://bugs.kde.org/buglist.cgi?product=tdevelop&component=cppsupport&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&order=Bug+Number">cppsupport component at Bugzilla database</a>
diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp
index 69d373fd..95e33970 100644
--- a/languages/cpp/addattributedialog.cpp
+++ b/languages/cpp/addattributedialog.cpp
@@ -38,7 +38,7 @@
#include <tqcheckbox.h>
#include <tqpushbutton.h>
#include <tqtoolbutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
AddAttributeDialog::AddAttributeDialog( CppSupportPart* cppSupport, ClassDom klass,
TQWidget* parent, const char* name, bool modal, WFlags fl )
@@ -194,7 +194,7 @@ void AddAttributeDialog::updateGUI()
void AddAttributeDialog::addAttribute()
{
TQListViewItem * item = new TQListViewItem( attributes, "Protected", "Normal",
- "int", TQString( "attribute_%1" ).tqarg( ++m_count ) );
+ "int", TQString( "attribute_%1" ).arg( ++m_count ) );
attributes->setCurrentItem( item );
attributes->setSelected( item, true );
@@ -248,13 +248,13 @@ TQString AddAttributeDialog::accessID( VariableDom var ) const
switch ( var->access() )
{
case CodeModelItem::Public:
- return TQString::tqfromLatin1( "Public" );
+ return TQString::fromLatin1( "Public" );
case CodeModelItem::Protected:
- return TQString::tqfromLatin1( "Protected" );
+ return TQString::fromLatin1( "Protected" );
case CodeModelItem::Private:
- return TQString::tqfromLatin1( "Private" );
+ return TQString::fromLatin1( "Private" );
}
return TQString();
diff --git a/languages/cpp/addattributedialogbase.ui b/languages/cpp/addattributedialogbase.ui
index 0ad0f62e..4e42f714 100644
--- a/languages/cpp/addattributedialogbase.ui
+++ b/languages/cpp/addattributedialogbase.ui
@@ -79,7 +79,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>111</width>
<height>20</height>
@@ -133,7 +133,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -178,7 +178,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -244,7 +244,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/cpp/addmethoddialog.cpp b/languages/cpp/addmethoddialog.cpp
index 6f13ed91..dfb6c314 100644
--- a/languages/cpp/addmethoddialog.cpp
+++ b/languages/cpp/addmethoddialog.cpp
@@ -41,7 +41,7 @@
#include <tqcheckbox.h>
#include <tqpushbutton.h>
#include <tqtoolbutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
AddMethodDialog::AddMethodDialog( CppSupportPart* cppSupport, ClassDom klass,
TQWidget* parent, const char* name, bool modal, WFlags fl )
@@ -119,24 +119,24 @@ void AddMethodDialog::reject()
TQString AddMethodDialog::accessID( FunctionDom fun ) const
{
if ( fun->isSignal() )
- return TQString::tqfromLatin1( "Signals" );
+ return TQString::fromLatin1( "Signals" );
switch ( fun->access() )
{
case CodeModelItem::Public:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "Public Slots" );
- return TQString::tqfromLatin1( "Public" );
+ return TQString::fromLatin1( "Public Slots" );
+ return TQString::fromLatin1( "Public" );
case CodeModelItem::Protected:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "Protected Slots" );
- return TQString::tqfromLatin1( "Protected" );
+ return TQString::fromLatin1( "Protected Slots" );
+ return TQString::fromLatin1( "Protected" );
case CodeModelItem::Private:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "Private Slots" );
- return TQString::tqfromLatin1( "Private" );
+ return TQString::fromLatin1( "Private Slots" );
+ return TQString::fromLatin1( "Private" );
}
return TQString();
@@ -248,7 +248,7 @@ void AddMethodDialog::accept()
bool isInline = currentItem->text( 0 ) == "True";
if ( !isInline )
{
- editIface->insertLine( editIface->numLines(), TQString::tqfromLatin1( "" ) );
+ editIface->insertLine( editIface->numLines(), TQString::fromLatin1( "" ) );
editIface->insertText( editIface->numLines() - 1, 0, str );
m_cppSupport->backgroundParser() ->addFile( implementationFile );
}
@@ -293,7 +293,7 @@ void AddMethodDialog::updateGUI()
void AddMethodDialog::addMethod()
{
TQListViewItem * item = new TQListViewItem( methods, "False", "Public", "Normal",
- "void", TQString( "method_%1()" ).tqarg( ++m_count ),
+ "void", TQString( "method_%1()" ).arg( ++m_count ),
sourceFile->currentText() );
methods->setCurrentItem( item );
methods->setSelected( item, true );
@@ -387,7 +387,7 @@ TQString AddMethodDialog::functionDefinition( TQListViewItem* item ) const
<< ind << " */\n";
stream
- << ind << item->text( 3 ) << " " << ( isInline ? TQString::tqfromLatin1( "" ) : fullName + "::" )
+ << ind << item->text( 3 ) << " " << ( isInline ? TQString::fromLatin1( "" ) : fullName + "::" )
<< item->text( 4 ) << "\n"
<< ind << "{\n"
<< ind << " /// @todo implement me\n"
diff --git a/languages/cpp/addmethoddialogbase.ui b/languages/cpp/addmethoddialogbase.ui
index a3887be6..a8048708 100644
--- a/languages/cpp/addmethoddialogbase.ui
+++ b/languages/cpp/addmethoddialogbase.ui
@@ -90,7 +90,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@@ -106,7 +106,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>111</width>
<height>20</height>
@@ -144,7 +144,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@@ -189,7 +189,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@@ -300,7 +300,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
index 4b78645a..9666125e 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
@@ -8,7 +8,7 @@
#include <tqtoolbutton.h>
#include <tqpopupmenu.h>
#include <tqmenubar.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqfile.h>
#include <tqfiledialog.h>
#include <statusbar.h>
@@ -16,7 +16,7 @@
#include <tqprinter.h>
#include <tqapplication.h>
#include <tqaccel.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqwhatsthis.h>
@@ -159,7 +159,7 @@ void %{APPNAME}::load( const TQString &fileName )
e->setText( ts.read() );
e->setModified( FALSE );
setCaption( fileName );
- statusBar()->message( tr("Loaded document %1").tqarg(fileName), 2000 );
+ statusBar()->message( tr("Loaded document %1").arg(fileName), 2000 );
}
@@ -173,7 +173,7 @@ void %{APPNAME}::save()
TQString text = e->text();
TQFile f( filename );
if ( !f.open( IO_WriteOnly ) ) {
- statusBar()->message( tr("Could not write to %1").tqarg(filename),
+ statusBar()->message( tr("Could not write to %1").arg(filename),
2000 );
return;
}
@@ -186,7 +186,7 @@ void %{APPNAME}::save()
setCaption( filename );
- statusBar()->message( tr( "File %1 saved" ).tqarg( filename ), 2000 );
+ statusBar()->message( tr( "File %1 saved" ).arg( filename ), 2000 );
}
diff --git a/languages/cpp/app_templates/kapp/appview.cpp b/languages/cpp/app_templates/kapp/appview.cpp
index 5f9d906a..9cc3cec3 100644
--- a/languages/cpp/app_templates/kapp/appview.cpp
+++ b/languages/cpp/app_templates/kapp/appview.cpp
@@ -3,7 +3,7 @@
#include "%{APPNAMELC}view.h"
#include <tqpainter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kurl.h>
@@ -17,7 +17,7 @@
: TQWidget(parent),
DCOPObject("%{APPNAME}Iface")
{
- // setup our tqlayout manager to automatically add our widgets
+ // setup our layout manager to automatically add our widgets
TQHBoxLayout *top_layout = new TQHBoxLayout(this);
top_layout->setAutoAdd(true);
diff --git a/languages/cpp/app_templates/kapp/pref.cpp b/languages/cpp/app_templates/kapp/pref.cpp
index 673df14e..87951c76 100644
--- a/languages/cpp/app_templates/kapp/pref.cpp
+++ b/languages/cpp/app_templates/kapp/pref.cpp
@@ -4,7 +4,7 @@
#include <klocale.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
%{APPNAME}Preferences::%{APPNAME}Preferences()
@@ -25,8 +25,8 @@
%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
new TQLabel(i18n("Add something here"), this);
}
@@ -34,8 +34,8 @@
%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
new TQLabel(i18n("Add something here"), this);
}
diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp
index 18595d10..d159d8f4 100644
--- a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp
+++ b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp
@@ -7,7 +7,7 @@
#include <kstandarddirs.h>
#include <kfiledialog.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
class PluginView : public KXMLGUIClient
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp
index bb15b923..3e0c0512 100644
--- a/languages/cpp/app_templates/kcmodule/module.cpp
+++ b/languages/cpp/app_templates/kcmodule/module.cpp
@@ -1,6 +1,6 @@
%{CPP_TEMPLATE}
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include <kglobal.h>
diff --git a/languages/cpp/app_templates/kconfig35/appview.cpp b/languages/cpp/app_templates/kconfig35/appview.cpp
index 6123db0b..30d627fe 100644
--- a/languages/cpp/app_templates/kconfig35/appview.cpp
+++ b/languages/cpp/app_templates/kconfig35/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAMELC}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/kconfig35/prefs-base.ui b/languages/cpp/app_templates/kconfig35/prefs-base.ui
index 46a35473..03af967a 100644
--- a/languages/cpp/app_templates/kconfig35/prefs-base.ui
+++ b/languages/cpp/app_templates/kconfig35/prefs-base.ui
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/kde4app/kapp4view_base.ui b/languages/cpp/app_templates/kde4app/kapp4view_base.ui
index c3780092..6738a789 100644
--- a/languages/cpp/app_templates/kde4app/kapp4view_base.ui
+++ b/languages/cpp/app_templates/kde4app/kapp4view_base.ui
@@ -15,7 +15,7 @@
<property name="autoFillBackground" >
<bool>true</bool>
</property>
- <tqlayout class="TQGridLayout" >
+ <layout class="TQGridLayout" >
<property name="leftMargin" >
<number>11</number>
</property>
@@ -196,7 +196,7 @@
<property name="scaledContents" >
<bool>true</bool>
</property>
- <property name="tqalignment" >
+ <property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap" >
@@ -204,7 +204,7 @@
</property>
</widget>
</item>
- </tqlayout>
+ </layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
diff --git a/languages/cpp/app_templates/kde4app/prefs_base.ui b/languages/cpp/app_templates/kde4app/prefs_base.ui
index f1e5fdfb..87a191f1 100644
--- a/languages/cpp/app_templates/kde4app/prefs_base.ui
+++ b/languages/cpp/app_templates/kde4app/prefs_base.ui
@@ -9,7 +9,7 @@
<height>156</height>
</rect>
</property>
- <tqlayout class="TQGridLayout" >
+ <layout class="TQGridLayout" >
<item row="0" column="0" >
<widget class="TQLabel" name="textLabel2_2" >
<property name="text" >
@@ -80,7 +80,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
@@ -96,7 +96,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
@@ -128,7 +128,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
@@ -136,7 +136,7 @@ p, li { white-space: pre-wrap; }
</property>
</spacer>
</item>
- </tqlayout>
+ </layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
diff --git a/languages/cpp/app_templates/kioslave/slave.cpp b/languages/cpp/app_templates/kioslave/slave.cpp
index ad5d7991..c8dc5d81 100644
--- a/languages/cpp/app_templates/kioslave/slave.cpp
+++ b/languages/cpp/app_templates/kioslave/slave.cpp
@@ -48,7 +48,7 @@ void kio_%{APPNAMELC}Protocol::get(const KURL& url )
int remotePort = url.port();
kdDebug() << "myURL: " << url.prettyURL() << endl;
- infoMessage(i18n("Looking for %1...").tqarg( remoteServer ) );
+ infoMessage(i18n("Looking for %1...").arg( remoteServer ) );
// Send the mimeType as soon as it is known
mimeType("text/plain");
// Send the data
diff --git a/languages/cpp/app_templates/kmake/mainview.ui b/languages/cpp/app_templates/kmake/mainview.ui
index 94fb52fa..194d8ffe 100644
--- a/languages/cpp/app_templates/kmake/mainview.ui
+++ b/languages/cpp/app_templates/kmake/mainview.ui
@@ -45,7 +45,7 @@
<property name="scaledContents">
<bool>true</bool>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
diff --git a/languages/cpp/app_templates/kpartapp/app_part.cpp b/languages/cpp/app_templates/kpartapp/app_part.cpp
index 1f3992af..6d9bf7ac 100644
--- a/languages/cpp/app_templates/kpartapp/app_part.cpp
+++ b/languages/cpp/app_templates/kpartapp/app_part.cpp
@@ -9,7 +9,7 @@
#include <klocale.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqmultilineedit.h>
%{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName,
diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp
index 06a6409c..0094f5dd 100644
--- a/languages/cpp/app_templates/kscons_kmdi/app_part.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/app_part.cpp
@@ -11,7 +11,7 @@
#include <klocale.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqmultilineedit.h>
typedef KParts::GenericFactory<%{APPNAMELC}Part> %{APPNAMELC}PartFactory;
diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp
index 006b844e..a1cfb9f0 100644
--- a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp
@@ -1,7 +1,7 @@
%{CPP_TEMPLATE}
#include <tqpixmap.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kiconloader.h>
#include <klocale.h>
@@ -35,9 +35,9 @@
part()->widget()->setFocus();
setFocusProxy(part()->widget());
- TQBoxLayout* tqlayout = new TQHBoxLayout(this, 0, -1, "kdissertviewtqlayout" );
+ TQBoxLayout* layout = new TQHBoxLayout(this, 0, -1, "kdissertviewlayout" );
part()->widget()->reparent( this, TQPoint(0, 0) );
- tqlayout->addWidget( part()->widget() );
+ layout->addWidget( part()->widget() );
// connect( m_part, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(updateCaption()) );
}
diff --git a/languages/cpp/app_templates/kscons_kxt/appview.cpp b/languages/cpp/app_templates/kscons_kxt/appview.cpp
index f2dd28a3..2bcc9c6a 100644
--- a/languages/cpp/app_templates/kscons_kxt/appview.cpp
+++ b/languages/cpp/app_templates/kscons_kxt/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAME}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
index a343c6cf..b1115e6f 100644
--- a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
@@ -68,7 +68,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -85,7 +85,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -113,7 +113,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/kxt/appview.cpp b/languages/cpp/app_templates/kxt/appview.cpp
index 6123db0b..30d627fe 100644
--- a/languages/cpp/app_templates/kxt/appview.cpp
+++ b/languages/cpp/app_templates/kxt/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAMELC}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/kxt/prefs-base.ui b/languages/cpp/app_templates/kxt/prefs-base.ui
index 46a35473..03af967a 100644
--- a/languages/cpp/app_templates/kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kxt/prefs-base.ui
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
index 508f7cc9..b8654693 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
@@ -11,7 +11,7 @@
#include <tqpushbutton.h>
#include <tqdragobject.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqobjectlist.h>
#include <tqobjectdict.h>
@@ -124,7 +124,7 @@
connect(napp->player(), TQT_SIGNAL(playlistHidden()), TQT_SLOT(playlistHidden()));
// Event Filter for the RMB
- for (TQPtrListIterator<TQObject> i(*tqchildren()); i.current(); ++i)
+ for (TQPtrListIterator<TQObject> i(*children()); i.current(); ++i)
(*i)->installEventFilter(this);
setCaption("Noatun");
@@ -132,7 +132,7 @@
show();
// What it is now, stay.
- setFixedSize(tqminimumSize());
+ setFixedSize(minimumSize());
}
%{APPNAME}UI::~%{APPNAME}UI()
@@ -189,7 +189,7 @@ void %{APPNAME}UI::changeCaption(const TQString& text)
void %{APPNAME}UI::popup()
{
NoatunStdAction::ContextMenu::showContextMenu(
- mapToGlobal(mPopup->tqgeometry().bottomLeft()) );
+ mapToGlobal(mPopup->geometry().bottomLeft()) );
}
void %{APPNAME}UI::slotPlaying()
diff --git a/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp b/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
index f84a4fd3..5a5df025 100644
--- a/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
@@ -117,7 +117,7 @@ void Bitmap<Type>::fadeStar()
d++;
x++;
}
- tqrepaint();
+ repaint();
}
}
@@ -220,7 +220,7 @@ void %{APPNAME}View::checkInput()
#define output2 ((unsigned char*)outputBmp.data)
-void %{APPNAME}View::tqrepaint()
+void %{APPNAME}View::repaint()
{
SDL_LockSurface(surface);
TEST();
diff --git a/languages/cpp/app_templates/noatunvisual/plugin_impl.h b/languages/cpp/app_templates/noatunvisual/plugin_impl.h
index a95845c9..2a7de7b1 100644
--- a/languages/cpp/app_templates/noatunvisual/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunvisual/plugin_impl.h
@@ -58,7 +58,7 @@ protected:
void setupPalette(double dummy=0.0);
/** Draw everything. */
- void tqrepaint();
+ void repaint();
private:
/** used for pipelining */
diff --git a/languages/cpp/app_templates/opieapp/example.h b/languages/cpp/app_templates/opieapp/example.h
index 7da09f5a..92a4019f 100644
--- a/languages/cpp/app_templates/opieapp/example.h
+++ b/languages/cpp/app_templates/opieapp/example.h
@@ -9,7 +9,7 @@ class %{APPNAME} : public %{APPNAME}Base
public:
static TQString appName() {
- return TQString::tqfromLatin1("%{APPNAMELC}" );
+ return TQString::fromLatin1("%{APPNAMELC}" );
}
%{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~%{APPNAME}();
diff --git a/languages/cpp/app_templates/opieapp/examplebase.ui b/languages/cpp/app_templates/opieapp/examplebase.ui
index 90d39d17..b6b81b11 100644
--- a/languages/cpp/app_templates/opieapp/examplebase.ui
+++ b/languages/cpp/app_templates/opieapp/examplebase.ui
@@ -7,7 +7,7 @@
<cstring>%{APPNAME}Base</cstring>
</property>
<property stdset="1">
- <name>tqgeometry</name>
+ <name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.cpp b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
index 6a7bef4f..a4c2e177 100644
--- a/languages/cpp/app_templates/opieinput/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
@@ -58,7 +58,7 @@ void %{APPNAME}::slotKey(int _ke){
/*
* Send the key
- * ke is the tqunicode
+ * ke is the unicode
* _ke + 0x41 is the keycode
* m_state Normally the state
* down/up
diff --git a/languages/cpp/app_templates/opienet/simmplemodule.h b/languages/cpp/app_templates/opienet/simmplemodule.h
index 5c928ec9..b19152b6 100644
--- a/languages/cpp/app_templates/opienet/simmplemodule.h
+++ b/languages/cpp/app_templates/opienet/simmplemodule.h
@@ -12,7 +12,7 @@ public:
VirtualModule();
~VirtualModule();
- const TQString type() {return TQString::tqfromLatin1("vpn" );}
+ const TQString type() {return TQString::fromLatin1("vpn" );}
void setProfile( const TQString& ) {}
bool isOwner( Interface* );
TQWidget *configure( Interface* );
@@ -21,7 +21,7 @@ public:
void possibleNewInterfaces( TQMap<TQString, TQString>& );
Interface *addNewInterface( const TQString& );
bool remove( Interface* iface );
- TQString getPixmapName( Interface* ) {return TQString::tqfromLatin1("Tux"); }
+ TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); }
void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen
private:
TQList<Interface> m_interfaces;
diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp
index e98148d2..bbabcbda 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.cpp
+++ b/languages/cpp/app_templates/opienet/simpleiface.cpp
@@ -31,13 +31,13 @@ bool %{APPNAME}Interface::refresh() {
void %{APPNAME}Interface::start() {
// call pptp
- settqStatus(true);
+ setStatus(true);
refresh();
emit updateMessage("VPN started");
}
void %{APPNAME}Interface::stop() {
- settqStatus(false );
+ setStatus(false );
refresh();
emit updateMessage("VPN halted");
}
diff --git a/languages/cpp/app_templates/opienet/simplemodule.h b/languages/cpp/app_templates/opienet/simplemodule.h
index 327c1d43..6fce8b10 100644
--- a/languages/cpp/app_templates/opienet/simplemodule.h
+++ b/languages/cpp/app_templates/opienet/simplemodule.h
@@ -12,7 +12,7 @@ public:
%{APPNAME}Module();
~%{APPNAME}Module();
- const TQString type() {return TQString::tqfromLatin1("vpn" );}
+ const TQString type() {return TQString::fromLatin1("vpn" );}
void setProfile( const TQString& ) {}
bool isOwner( Interface* );
TQWidget *configure( Interface* );
@@ -21,7 +21,7 @@ public:
void possibleNewInterfaces( TQMap<TQString, TQString>& );
Interface *addNewInterface( const TQString& );
bool remove( Interface* iface );
- TQString getPixmapName( Interface* ) {return TQString::tqfromLatin1("Tux"); }
+ TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); }
void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen
private:
TQList<Interface> m_interfaces;
diff --git a/languages/cpp/app_templates/opietoday/exampleplugin.cpp b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
index 12d702b6..3606927f 100644
--- a/languages/cpp/app_templates/opietoday/exampleplugin.cpp
+++ b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
@@ -19,7 +19,7 @@ double %{APPNAME}::versionNumber() const {
// this sets the image that will be shown on the left side of the plugin
TQString %{APPNAME}::pixmapNameWidget() const {
- return TQString::tqfromLatin1("%{APPNAMELC}/%{APPNAMELC}");
+ return TQString::fromLatin1("%{APPNAMELC}/%{APPNAMELC}");
}
TQWidget* %{APPNAME}::widget( TQWidget * wid ) {
diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
index f079013e..ddb38793 100644
--- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h
+++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
@@ -1,7 +1,7 @@
#ifndef %{APPNAME}_PLUGIN_WIDGET_H
#define %{APPNAME}_PLUGIN_WIDGET_H
-#include <tqlayout.h>
+#include <layout.h>
#include <opie/oclickablelabel.h>
diff --git a/languages/cpp/app_templates/prc-tool/palmhello.c b/languages/cpp/app_templates/prc-tool/palmhello.c
index e0317932..0a34b6c4 100644
--- a/languages/cpp/app_templates/prc-tool/palmhello.c
+++ b/languages/cpp/app_templates/prc-tool/palmhello.c
@@ -22,7 +22,7 @@ static Boolean MainFormHandleEvent (EventPtr e)
break;
case menuEvent:
- MenuErasetqStatus(NULL);
+ MenuEraseStatus(NULL);
switch(e->data.menu.itemID) {
}
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
index 4b78645a..9666125e 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
@@ -8,7 +8,7 @@
#include <tqtoolbutton.h>
#include <tqpopupmenu.h>
#include <tqmenubar.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqfile.h>
#include <tqfiledialog.h>
#include <statusbar.h>
@@ -16,7 +16,7 @@
#include <tqprinter.h>
#include <tqapplication.h>
#include <tqaccel.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqwhatsthis.h>
@@ -159,7 +159,7 @@ void %{APPNAME}::load( const TQString &fileName )
e->setText( ts.read() );
e->setModified( FALSE );
setCaption( fileName );
- statusBar()->message( tr("Loaded document %1").tqarg(fileName), 2000 );
+ statusBar()->message( tr("Loaded document %1").arg(fileName), 2000 );
}
@@ -173,7 +173,7 @@ void %{APPNAME}::save()
TQString text = e->text();
TQFile f( filename );
if ( !f.open( IO_WriteOnly ) ) {
- statusBar()->message( tr("Could not write to %1").tqarg(filename),
+ statusBar()->message( tr("Could not write to %1").arg(filename),
2000 );
return;
}
@@ -186,7 +186,7 @@ void %{APPNAME}::save()
setCaption( filename );
- statusBar()->message( tr( "File %1 saved" ).tqarg( filename ), 2000 );
+ statusBar()->message( tr( "File %1 saved" ).arg( filename ), 2000 );
}
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
index f2178d9d..c3a8964f 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
@@ -223,8 +223,8 @@ void %{APPNAME}::loadFile(const TQString &fileName)
if (!file.open(TQFile::ReadOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot read file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return;
}
@@ -243,8 +243,8 @@ bool %{APPNAME}::saveFile(const TQString &fileName)
if (!file.open(TQFile::WriteOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot write file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return false;
}
@@ -270,7 +270,7 @@ void %{APPNAME}::setCurrentFile(const TQString &fileName)
else
shownName = strippedName(curFile);
- setWindowTitle(tr("%1[*] - %2").tqarg(shownName).tqarg(tr("Application")));
+ setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Application")));
}
TQString %{APPNAME}::strippedName(const TQString &fullFileName)
diff --git a/languages/cpp/app_templates/qtopia4app/examplebase.ui b/languages/cpp/app_templates/qtopia4app/examplebase.ui
index 76e7d49f..107d4e96 100644
--- a/languages/cpp/app_templates/qtopia4app/examplebase.ui
+++ b/languages/cpp/app_templates/qtopia4app/examplebase.ui
@@ -15,7 +15,7 @@
<property name="windowTitle" >
<string>%{APPNAME}</string>
</property>
- <tqlayout class="TQVBoxLayout" >
+ <layout class="TQVBoxLayout" >
<property name="margin" >
<number>11</number>
</property>
@@ -39,6 +39,6 @@
</property>
</widget>
</item>
- </tqlayout>
+ </layout>
</widget>
</ui>
diff --git a/languages/cpp/app_templates/qtopiaapp/examplebase.ui b/languages/cpp/app_templates/qtopiaapp/examplebase.ui
index 90d39d17..b6b81b11 100644
--- a/languages/cpp/app_templates/qtopiaapp/examplebase.ui
+++ b/languages/cpp/app_templates/qtopiaapp/examplebase.ui
@@ -7,7 +7,7 @@
<cstring>%{APPNAME}Base</cstring>
</property>
<property stdset="1">
- <name>tqgeometry</name>
+ <name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp
index 9fded09c..f6d19c2a 100644
--- a/languages/cpp/ast_utils.cpp
+++ b/languages/cpp/ast_utils.cpp
@@ -40,8 +40,8 @@ AST* findNodeAt( AST* node, int line, int column )
( line < endLine || ( line == endLine && column < endColumn ) ) )
{
- TQPtrList<AST> tqchildren = node->tqchildren();
- TQPtrListIterator<AST> it( tqchildren );
+ TQPtrList<AST> children = node->children();
+ TQPtrListIterator<AST> it( children );
while ( it.current() )
{
AST * a = it.current();
@@ -73,7 +73,7 @@ void scopeOfNode( AST* ast, TQStringList& scope )
if ( ( ( ClassSpecifierAST* ) ast ) ->name() )
{
s = ( ( ClassSpecifierAST* ) ast ) ->name() ->text();
- s = s.isEmpty() ? TQString::tqfromLatin1( "<unnamed>" ) : s;
+ s = s.isEmpty() ? TQString::fromLatin1( "<unnamed>" ) : s;
scope.push_back( s );
}
break;
@@ -81,7 +81,7 @@ void scopeOfNode( AST* ast, TQStringList& scope )
case NodeType_Namespace:
{
AST* namespaceName = ( ( NamespaceAST* ) ast ) ->namespaceName();
- s = namespaceName ? namespaceName->text() : TQString::tqfromLatin1( "<unnamed>" );
+ s = namespaceName ? namespaceName->text() : TQString::fromLatin1( "<unnamed>" );
scope.push_back( s );
}
break;
@@ -141,7 +141,7 @@ TQString declaratorToString( DeclaratorAST* declarator, const TQString& scope, b
text += scope;
if ( declarator->subDeclarator() )
- text += TQString::tqfromLatin1( "(" ) + declaratorToString( declarator->subDeclarator() ) + TQString::tqfromLatin1( ")" );
+ text += TQString::fromLatin1( "(" ) + declaratorToString( declarator->subDeclarator() ) + TQString::fromLatin1( ")" );
if ( declarator->declaratorId() )
text += declarator->declaratorId() ->text();
diff --git a/languages/cpp/backgroundparser.cpp b/languages/cpp/backgroundparser.cpp
index 668c5599..df9a2383 100644
--- a/languages/cpp/backgroundparser.cpp
+++ b/languages/cpp/backgroundparser.cpp
@@ -34,7 +34,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <list>
#include <tqdatastream.h>
diff --git a/languages/cpp/ccconfigwidget.cpp b/languages/cpp/ccconfigwidget.cpp
index 445940e6..196c4d16 100644
--- a/languages/cpp/ccconfigwidget.cpp
+++ b/languages/cpp/ccconfigwidget.cpp
@@ -22,7 +22,7 @@
#include <tqheader.h>
#include <tqcolor.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
// kde includes
#include <kdevproject.h>
@@ -230,7 +230,7 @@ void CCConfigWidget::slotRemovePCS()
return ;
TQString db = advancedOptions->selectedItem() ->text( 0 );
- TQString question = i18n( "Are you sure you want to delete the \"%1\" database?" ).tqarg( db );
+ TQString question = i18n( "Are you sure you want to delete the \"%1\" database?" ).arg( db );
KStandardDirs *dirs = m_pPart->instance() ->dirs();
TQString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + KURL::encode_string_no_slash( db ) + ".db";
@@ -561,7 +561,7 @@ void CCConfigWidget::openPluginPaths()
kdDebug(9024) << "Plugin paths opened" << endl;
QtBuildConfig* c = m_pPart->qtBuildConfig();
KDialog d( this );
- TQVBoxLayout* maintqlayout = new TQVBoxLayout( &d );
+ TQVBoxLayout* mainlayout = new TQVBoxLayout( &d );
KPushButton* ok = new KPushButton( KStdGuiItem::ok(), &d );
connect( ok, TQT_SIGNAL(clicked()), &d, TQT_SLOT(accept()));
KPushButton* cancel = new KPushButton( KStdGuiItem::cancel(), &d );
@@ -576,8 +576,8 @@ void CCConfigWidget::openPluginPaths()
req->setMode( KFile::Directory );
KEditListBox* p = new KEditListBox( i18n( "Plugin Paths" ), req->customEditor(), &d );
p->insertStringList( c->designerPluginPaths() );
- maintqlayout->addWidget( p );
- maintqlayout->addLayout( btns );
+ mainlayout->addWidget( p );
+ mainlayout->addLayout( btns );
d.resize( 450, 250 );
if( d.exec() == TQDialog::Accepted)
{
diff --git a/languages/cpp/ccconfigwidgetbase.ui b/languages/cpp/ccconfigwidgetbase.ui
index 441d1bb1..dae89168 100644
--- a/languages/cpp/ccconfigwidgetbase.ui
+++ b/languages/cpp/ccconfigwidgetbase.ui
@@ -36,7 +36,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout11</cstring>
+ <cstring>layout11</cstring>
</property>
<hbox>
<property name="name">
@@ -77,7 +77,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout13</cstring>
+ <cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@@ -93,7 +93,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -227,7 +227,7 @@ completion-box.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout14</cstring>
+ <cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@@ -243,7 +243,7 @@ completion-box.</string>
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
@@ -299,7 +299,7 @@ argument hint</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout12</cstring>
+ <cstring>layout12</cstring>
</property>
<hbox>
<property name="name">
@@ -397,7 +397,7 @@ Note: Parsing may become very slow when this is enabled
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@@ -413,7 +413,7 @@ Note: Parsing may become very slow when this is enabled
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
@@ -449,7 +449,7 @@ Note: Parsing may become very slow when this is enabled
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
@@ -558,7 +558,7 @@ if they were one("a=b" is equivalent to "a&lt;&lt;b;b&lt;&lt;a")</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@@ -605,7 +605,7 @@ if they were one("a=b" is equivalent to "a&lt;&lt;b;b&lt;&lt;a")</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout6</cstring>
+ <cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@@ -691,7 +691,7 @@ navigate the header and vice versa</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>400</height>
@@ -853,7 +853,7 @@ plugin enabled to have use all options.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>337</height>
@@ -905,7 +905,7 @@ This option only applies to QMake projects.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -949,7 +949,7 @@ This option only applies to QMake projects.</string>
<property name="text">
<string>(After changing the project needs to be re-opened)</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter</set>
</property>
</widget>
@@ -963,7 +963,7 @@ This option only applies to QMake projects.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>470</width>
<height>20</height>
@@ -974,7 +974,7 @@ This option only applies to QMake projects.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -1006,7 +1006,7 @@ This option only applies to QMake projects.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@@ -1149,7 +1149,7 @@ This option only applies to QMake projects.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -1178,7 +1178,7 @@ This option only applies to QMake projects.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout10</cstring>
+ <cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
@@ -1217,7 +1217,7 @@ This option only applies to QMake projects.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>70</height>
@@ -1250,7 +1250,7 @@ This option only applies to QMake projects.</string>
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>tqlayout5_2</cstring>
+ <cstring>layout5_2</cstring>
</property>
<hbox>
<property name="name">
@@ -1282,7 +1282,7 @@ This option only applies to QMake projects.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@@ -1435,7 +1435,7 @@ you right click on a variable in a header file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>87</width>
<height>20</height>
@@ -1460,7 +1460,7 @@ you right click on a variable in a header file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>87</width>
<height>20</height>
@@ -1477,7 +1477,7 @@ you right click on a variable in a header file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>92</width>
<height>20</height>
@@ -1494,7 +1494,7 @@ you right click on a variable in a header file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>92</width>
<height>20</height>
@@ -1513,7 +1513,7 @@ you right click on a variable in a header file.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>91</height>
diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp
index 70ad5d10..eab8beac 100644
--- a/languages/cpp/classgeneratorconfig.cpp
+++ b/languages/cpp/classgeneratorconfig.cpp
@@ -11,7 +11,7 @@
#include <tqcheckbox.h>
#include <tqcombobox.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqfile.h>
#include <tqfileinfo.h>
diff --git a/languages/cpp/codeinformationrepository.cpp b/languages/cpp/codeinformationrepository.cpp
index 7498ad23..cf255601 100644
--- a/languages/cpp/codeinformationrepository.cpp
+++ b/languages/cpp/codeinformationrepository.cpp
@@ -265,7 +265,7 @@ KTextEditor::CompletionEntry CodeInformationRepository::toEntry( Tag & tag, CppC
{
TQString argName = argumentNames[ i ];
if ( !argName.isEmpty() )
- signature += TQString::tqfromLatin1( " " ) + argName;
+ signature += TQString::fromLatin1( " " ) + argName;
}
diff --git a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
index ca2d8fa5..30f0b7ac 100644
--- a/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
+++ b/languages/cpp/compiler/gccoptions/gccoptionsplugin.cpp
@@ -15,7 +15,7 @@
#include <tqradiobutton.h>
#include <tqvaluelist.h>
#include <tqtabwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <kdialog.h>
#include <klocale.h>
@@ -101,9 +101,9 @@ private:
GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
: TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- tqlayout->setAutoAdd( true );
- tqlayout->addSpacing( 10 );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ layout->setAutoAdd( true );
+ layout->addSpacing( 10 );
TQVButtonGroup *output_group = new TQVButtonGroup( i18n( "Output" ), this );
new FlagCheckBox( output_group, controller,
@@ -114,7 +114,7 @@ GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent, const cha
"-save-temps", i18n( "Do not delete intermediate output like assembler files" ) );
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
- tqlayout->addSpacing( 10 );
+ layout->addSpacing( 10 );
TQVButtonGroup *codegen_group = new TQVButtonGroup( i18n( "Code Generation" ), this );
if ( type != GccOptionsPlugin::GPP )
@@ -142,7 +142,7 @@ GeneralTab::GeneralTab( GccOptionsPlugin::Type type, TQWidget *parent, const cha
"-short-double", i18n( "Make 'double' the same as 'float'" ) );
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
- tqlayout->addStretch();
+ layout->addStretch();
}
@@ -167,8 +167,8 @@ void GeneralTab::writeFlags( TQStringList *list )
OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- tqlayout->setAutoAdd( true );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ layout->setAutoAdd( true );
TQVButtonGroup *group = new TQVButtonGroup( i18n( "Optimization Level" ), this );
Odefault = new TQRadioButton( i18n( "Default" ), group );
@@ -211,7 +211,7 @@ OptimizationTab::OptimizationTab( GccOptionsPlugin::Type type, TQWidget *parent,
}
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
- tqlayout->addStretch();
+ layout->addStretch();
}
@@ -264,9 +264,9 @@ void OptimizationTab::writeFlags( TQStringList *list )
G77Tab::G77Tab( TQWidget *parent, const char *name )
: TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- tqlayout->setAutoAdd( true );
- tqlayout->addSpacing( 10 );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ layout->setAutoAdd( true );
+ layout->addSpacing( 10 );
TQVButtonGroup *dialect_group = new TQVButtonGroup( i18n( "Dialect" ), this );
new FlagCheckBox( dialect_group, controller,
@@ -283,7 +283,7 @@ G77Tab::G77Tab( TQWidget *parent, const char *name )
"-fonetrip", i18n( "DO loops are executed at least once" ) );
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
- tqlayout->addSpacing( 10 );
+ layout->addSpacing( 10 );
TQVButtonGroup *codegen_group = new TQVButtonGroup( i18n( "Code Generation" ), this );
new FlagCheckBox( codegen_group, controller,
@@ -294,7 +294,7 @@ G77Tab::G77Tab( TQWidget *parent, const char *name )
"-fbounds-check", i18n( "Generate run-time checks for array subscripts" ) );
TQApplication::sendPostedEvents( this, TQEvent::ChildInserted );
- tqlayout->addStretch();
+ layout->addStretch();
}
@@ -319,8 +319,8 @@ void G77Tab::writeFlags( TQStringList *list )
Warnings1Tab::Warnings1Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
: TQWidget( parent, name ), controller( new FlagCheckBoxController )
{
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- tqlayout->setAutoAdd( true );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ layout->setAutoAdd( true );
new FlagCheckBox( this, controller,
"-w", i18n( "Inhibit all warnings" ) );
@@ -417,8 +417,8 @@ void Warnings1Tab::writeFlags( TQStringList *list )
Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent, const char *name )
: TQWidget( parent, name )
{
- TQBoxLayout * tqlayout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
- tqlayout->setAutoAdd( true );
+ TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
+ layout->setAutoAdd( true );
wrestBox = new FlagListBox( this );
@@ -438,7 +438,7 @@ Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent, const
"qualifier from the target type</qt>" ) );
new FlagListItem( wrestBox,
"-Wcast-align", i18n( "<qt>Warn whenever a pointer is cast such that the required\n"
- "tqalignment of the target is increased</qt>" ) );
+ "alignment of the target is increased</qt>" ) );
new FlagListItem( wrestBox,
"-Wwrite-strings", i18n( "<qt>Warn when the address of a string constant is cast\n"
"into a non-const <i>char *</i> pointer</qt>" ) );
@@ -463,7 +463,7 @@ Warnings2Tab::Warnings2Tab( GccOptionsPlugin::Type type, TQWidget *parent, const
"deprecated by using the 'deprecated' attribute</qt>" ) );
new FlagListItem( wrestBox,
"-Wpacked", i18n( "<qt>Warn if a structure is given the packed attribute, but the packed\n"
- "attribute has no effect on the tqlayout or size of the structure</qt>" ) );
+ "attribute has no effect on the layout or size of the structure</qt>" ) );
new FlagListItem( wrestBox,
"-Wpadded", i18n( "<qt>Warn if padding is included in a structure, either to align an\n"
"element of the structure or to align the whole structure</qt>" ) );
diff --git a/languages/cpp/configproblemreporter.ui b/languages/cpp/configproblemreporter.ui
index fc47d3b2..d752d715 100644
--- a/languages/cpp/configproblemreporter.ui
+++ b/languages/cpp/configproblemreporter.ui
@@ -62,7 +62,7 @@ If disabled, the parser will typically only run when the file is saved.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -91,7 +91,7 @@ If disabled, the parser will typically only run when the file is saved.</string>
<property name="text">
<string>msec</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
diff --git a/languages/cpp/configproblemreporter.ui.h b/languages/cpp/configproblemreporter.ui.h
index 1931c66f..01d30c25 100644
--- a/languages/cpp/configproblemreporter.ui.h
+++ b/languages/cpp/configproblemreporter.ui.h
@@ -16,7 +16,7 @@
#include <kdebug.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
void ConfigureProblemReporter::init()
{
@@ -92,7 +92,7 @@ void ConfigureProblemReporter::bgParserCheckbox_toggled( bool b )
void ConfigureProblemReporter::setDelayLabel( int delay )
{
- delayLabel->setText( i18n( "delay: %1 msec" ).tqarg( delay ) );
+ delayLabel->setText( i18n( "delay: %1 msec" ).arg( delay ) );
}
// kate: indent-mode csands; tab-width 4;
diff --git a/languages/cpp/cppcodecompletion.cpp b/languages/cpp/cppcodecompletion.cpp
index 9796bd17..9fe4b073 100644
--- a/languages/cpp/cppcodecompletion.cpp
+++ b/languages/cpp/cppcodecompletion.cpp
@@ -356,7 +356,7 @@ struct PopupFillerHelpStruct {
if ( d.memberType == SimpleTypeImpl::MemberInfo::Typedef && d.type->fullName() == "const int" )
memType = "enum";
- TQString txt = i18n( "Jump to %1 %2" ).tqarg( memType ).tqarg( cleanForMenu( d.name ) );
+ TQString txt = i18n( "Jump to %1 %2" ).arg( memType ).arg( cleanForMenu( d.name ) );
int id = parent->insertItem( txt, receiver, TQT_SLOT( popupAction( int ) ) );
receiver->m_popupActions.insert( id, d.decl );
@@ -423,7 +423,7 @@ struct PopupFillerHelpStruct {
int sLine, sCol, eLine, eCol;
i->getStartPosition( &sLine, &sCol );
i->getEndPosition( &eLine, &eCol );
- insertItem( parent, (new SimpleTypeCodeModel( i ))->desc(), prefix + " " + (*it)->name() + TQString(" (%1 Lines): ").tqarg( eLine - sLine ) ); ///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion.
+ insertItem( parent, (new SimpleTypeCodeModel( i ))->desc(), prefix + " " + (*it)->name() + TQString(" (%1 Lines): ").arg( eLine - sLine ) ); ///SimpleTypeCodeModel is used instead of SimpleTypeCachedNodeModel, so the detection at (1) does not trigger, this avoids endless recursion.
}
}
@@ -434,10 +434,10 @@ struct PopupFillerHelpStruct {
if ( d.resolved() ) {
if ( d.resolved() ->asFunction() ) {
- txt1 = prefix + i18n( "Jump to declaration of %1(...)" ).tqarg( d.resolved() ->scope().join( "::" ) );
- txt2 = prefix + i18n( "Jump to definition of %1(...)" ).tqarg( d.resolved() ->scope().join( "::" ) );
+ txt1 = prefix + i18n( "Jump to declaration of %1(...)" ).arg( d.resolved() ->scope().join( "::" ) );
+ txt2 = prefix + i18n( "Jump to definition of %1(...)" ).arg( d.resolved() ->scope().join( "::" ) );
} else {
- txt1 = prefix + i18n( "Jump to %1" ).tqarg( cleanForMenu( d.resolved() ->scope().join( "::" ) ) );
+ txt1 = prefix + i18n( "Jump to %1" ).arg( cleanForMenu( d.resolved() ->scope().join( "::" ) ) );
}
} else {
if( !BuiltinTypes::isBuiltin( d ) ) {
@@ -536,7 +536,7 @@ struct PopupClassViewFillerHelpStruct {
if ( d.memberType == SimpleTypeImpl::MemberInfo::Typedef && d.type->fullName() == "const int" )
memType = "enum";
- TQString txt = i18n( "Show %1 %2" ).tqarg( memType ).tqarg( cleanForMenu( d.name ) );
+ TQString txt = i18n( "Show %1 %2" ).arg( memType ).arg( cleanForMenu( d.name ) );
int id = parent->insertItem( txt, receiver, TQT_SLOT( popupClassViewAction( int ) ) );
receiver->m_popupClassViewActions.insert( id, dom );
@@ -583,7 +583,7 @@ struct PopupClassViewFillerHelpStruct {
if ( d.resolved() ->asFunction() ) {
n = buildSignature( d.resolved() );
}
- txt = prefix + i18n( "Show %1" ).tqarg( cleanForMenu( n ) );
+ txt = prefix + i18n( "Show %1" ).arg( cleanForMenu( n ) );
} else {
txt = prefix + d.name() + " not in code-model";
}
@@ -644,7 +644,7 @@ class PopupFiller {
//kdDebug( 9007 ) << "found include-file \"" << includeFile << "\"" << endl;
}
- int id = parent->insertItem( i18n( "#include \"%1\" ( defines %2 )" ).tqarg ( includeFile ).tqarg( decl.name ), struk.receiver, TQT_SLOT( popupAction( int ) ) );
+ int id = parent->insertItem( i18n( "#include \"%1\" ( defines %2 )" ).arg ( includeFile ).arg( decl.name ), struk.receiver, TQT_SLOT( popupAction( int ) ) );
DeclarationInfo fakeDec;
fakeDec.name = decl.name;
fakeDec.file = includeFile;
@@ -670,7 +670,7 @@ class PopupFiller {
f.type = d.desc();
f.memberType = SimpleTypeImpl::MemberInfo::Variable;
- /*int id = m->insertItem( i18n("jump to variable-declaration \"%1\"").tqarg( type.sourceVariable.name ) , this, TQT_SLOT( popupAction( int ) ) );
+ /*int id = m->insertItem( i18n("jump to variable-declaration \"%1\"").arg( type.sourceVariable.name ) , this, TQT_SLOT( popupAction( int ) ) );
m_popupActions.insert( id, type.sourceVariable );*/
struk.insertItem( parent, f, prefix );
@@ -679,7 +679,7 @@ class PopupFiller {
if ( !sourceVariable.comment.isEmpty() ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Comment on %1" ).tqarg( sourceVariable.name ), m );
+ parent->insertItem( i18n( "Comment on %1" ).arg( sourceVariable.name ), m );
TQStringList ls = prepareTextForMenu( sourceVariable.comment, 15, 100 );
for ( TQStringList::iterator it = ls.begin(); it != ls.end(); ++it ) {
m->insertItem( *it, 0, TQT_SLOT( popupClassViewAction( int ) ) );
@@ -695,7 +695,7 @@ class PopupFiller {
LocateResult r = p->locateDecType( d->name() );
if( r ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Specialized from \"%1\"" ).tqarg( cleanForMenu( r->fullNameChain() ) ), m );
+ parent->insertItem( i18n( "Specialized from \"%1\"" ).arg( cleanForMenu( r->fullNameChain() ) ), m );
fill( m, r );
}
}
@@ -704,7 +704,7 @@ class PopupFiller {
for ( TypeDesc::TemplateParams::iterator it = p.begin(); it != p.end(); ++it ) {
//if( (*it)->resolved() ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Template-param \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m );
+ parent->insertItem( i18n( "Template-param \"%1\"" ).arg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m );
fill( m, **it );
/*} else {
fill( parent, **it, prefix + depthAdd );
@@ -716,7 +716,7 @@ class PopupFiller {
LocateResult rt = d->resolved() ->locateDecType( d->resolved() ->asFunction() ->getReturnType() );
if ( rt ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Return-type \"%1\"" ).tqarg( cleanForMenu( rt->fullNameChain() ) ), m );
+ parent->insertItem( i18n( "Return-type \"%1\"" ).arg( cleanForMenu( rt->fullNameChain() ) ), m );
fill( m, rt );
}
@@ -734,7 +734,7 @@ class PopupFiller {
++it2;
}
TQPopupMenu * mo = PopupTracker::createPopup( m );
- m->insertItem( i18n( "Argument \"%1\"" ).tqarg( cleanForMenu( at->fullNameChain() + " " + name ) ), mo );
+ m->insertItem( i18n( "Argument \"%1\"" ).arg( cleanForMenu( at->fullNameChain() + " " + name ) ), mo );
fill( mo, at );
}
@@ -753,7 +753,7 @@ class PopupFiller {
TQString tail = ( *it ).second.fullNameChain();
if ( !tail.isEmpty() )
tail = "::" + tail;
- m->insertItem( i18n( "%1 -> %2" ).tqarg( cleanForMenu( ( *it ).first.name + tail ) ).tqarg( cleanForMenu( ( *it ).first.type->fullNameChain() + tail ) ), mo );
+ m->insertItem( i18n( "%1 -> %2" ).arg( cleanForMenu( ( *it ).first.name + tail ) ).arg( cleanForMenu( ( *it ).first.type->fullNameChain() + tail ) ), mo );
struk.insertItem( mo, ( *it ).first, prefix );
@@ -779,20 +779,20 @@ class PopupFiller {
TQValueList<LocateResult> bases = d->resolved() ->getBases();
for ( TQValueList<LocateResult>::iterator it = bases.begin(); it != bases.end(); ++it ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Base-class \"%1\"" ).tqarg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m );
+ parent->insertItem( i18n( "Base-class \"%1\"" ).arg( cleanForMenu( ( *it ) ->fullNameChain() ) ), m );
fill( m, *it );
}
if ( d->resolved() ->parent() && d->resolved() ->parent() ->desc() ) {
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Nested in \"%1\"" ).tqarg( cleanForMenu( d->resolved() ->parent() ->fullTypeResolved() ) ), m );
+ parent->insertItem( i18n( "Nested in \"%1\"" ).arg( cleanForMenu( d->resolved() ->parent() ->fullTypeResolved() ) ), m );
fill( m, d->resolved() ->parent() ->desc() );
}
if ( !d->resolved() ->comment().isEmpty() ) {
parent->insertSeparator();
TQPopupMenu * m = PopupTracker::createPopup( parent );
- parent->insertItem( i18n( "Comment on %1" ).tqarg( cleanForMenu( d->name() ) ), m );
+ parent->insertItem( i18n( "Comment on %1" ).arg( cleanForMenu( d->name() ) ), m );
TQStringList ls = prepareTextForMenu( d->resolved() ->comment(), 15, 100 );
for ( TQStringList::iterator it = ls.begin(); it != ls.end(); ++it ) {
m->insertItem( *it, 0, TQT_SLOT( popupClassViewAction( int ) ) );
@@ -1449,7 +1449,7 @@ void CppCodeCompletion::popupAction( int number ) {
TQString fileName = ( *it ).file == "current_file" ? m_activeFileName : ( *it ).file.operator TQString();
if( (*it).startLine == -1 ) {
//startLine -1 indicates that the file should be added to the include-files
- m_activeEditor->insertLine( 0, TQString("#include \"%1\" /* defines %2 */").tqarg( fileName ).tqarg( (*it).name ) );
+ m_activeEditor->insertLine( 0, TQString("#include \"%1\" /* defines %2 */").arg( fileName ).arg( (*it).name ) );
} else {
m_pSupport->partController() ->editDocument( fileName, ( *it ).startLine );
}
@@ -1532,11 +1532,11 @@ void CppCodeCompletion::contextEvaluationMenus ( TQPopupMenu *popup, const Conte
TQPopupMenu * m = PopupTracker::createPopup( popup );
int gid;
if ( contextMenuEntriesAtTop )
- gid = popup->insertItem( i18n( "Navigate by Macro \"%1\"" ).tqarg( cleanForMenu( type.macro.name() ) ), m, 5, cpos++ );
+ gid = popup->insertItem( i18n( "Navigate by Macro \"%1\"" ).arg( cleanForMenu( type.macro.name() ) ), m, 5, cpos++ );
else
- gid = popup->insertItem( i18n( "Navigate by Macro \"%1\"" ).tqarg( cleanForMenu( type.macro.name() ) ), m );
+ gid = popup->insertItem( i18n( "Navigate by Macro \"%1\"" ).arg( cleanForMenu( type.macro.name() ) ), m );
- int id = m->insertItem( i18n( "Jump to %1" ).tqarg( cleanForMenu( type.macro.name() ) ), this, TQT_SLOT( popupAction( int ) ) );
+ int id = m->insertItem( i18n( "Jump to %1" ).arg( cleanForMenu( type.macro.name() ) ), this, TQT_SLOT( popupAction( int ) ) );
TQPopupMenu * b = PopupTracker::createPopup( m );
m->insertItem( i18n( "Body" ), b );
@@ -1564,11 +1564,11 @@ void CppCodeCompletion::contextEvaluationMenus ( TQPopupMenu *popup, const Conte
int gid;
TQPopupMenu * m = PopupTracker::createPopup( popup );
if ( contextMenuEntriesAtTop )
- gid = popup->insertItem( i18n( "Goto Include File: %1" ).tqarg( cleanForMenu( includeFileName ) ), m, 5, cpos++ );
+ gid = popup->insertItem( i18n( "Goto Include File: %1" ).arg( cleanForMenu( includeFileName ) ), m, 5, cpos++ );
else
- gid = popup->insertItem( i18n( "Goto Include File: %1" ).tqarg( cleanForMenu( includeFileName ) ), m );
+ gid = popup->insertItem( i18n( "Goto Include File: %1" ).arg( cleanForMenu( includeFileName ) ), m );
- int id = m->insertItem( i18n( "Jump to %1" ).tqarg( cleanForMenu( includeFilePath ) ), this, TQT_SLOT( popupAction( int ) ) );
+ int id = m->insertItem( i18n( "Jump to %1" ).arg( cleanForMenu( includeFilePath ) ), this, TQT_SLOT( popupAction( int ) ) );
DeclarationInfo i;
i.file = includeFilePath;
@@ -1585,9 +1585,9 @@ void CppCodeCompletion::contextEvaluationMenus ( TQPopupMenu *popup, const Conte
} else {
///Could not find include-file
if ( contextMenuEntriesAtTop )
- popup->insertItem( i18n( "Not Found: \"%1\"" ).tqarg( includeFileName ), 5, cpos++ );
+ popup->insertItem( i18n( "Not Found: \"%1\"" ).arg( includeFileName ), 5, cpos++ );
else
- popup->insertItem( i18n( "Not Found: \"%1\"" ).tqarg( includeFileName ) );
+ popup->insertItem( i18n( "Not Found: \"%1\"" ).arg( includeFileName ) );
}
}
@@ -1609,14 +1609,14 @@ void CppCodeCompletion::contextEvaluationMenus ( TQPopupMenu *popup, const Conte
TQPopupMenu * m = PopupTracker::createPopup( popup );
int gid;
if ( contextMenuEntriesAtTop )
- gid = popup->insertItem( i18n( "Navigate by \"%1\"" ).tqarg( cleanForMenu( name ) ), m, 5, cpos++ );
+ gid = popup->insertItem( i18n( "Navigate by \"%1\"" ).arg( cleanForMenu( name ) ), m, 5, cpos++ );
else
- gid = popup->insertItem( i18n( "Navigate by \"%1\"" ).tqarg( cleanForMenu( name ) ), m );
+ gid = popup->insertItem( i18n( "Navigate by \"%1\"" ).arg( cleanForMenu( name ) ), m );
- popup->tqsetWhatsThis( gid, i18n( "<b>Navigation</b><p>Provides a menu to navigate to positions of items that are involved in this expression" ) );
+ popup->setWhatsThis( gid, i18n( "<b>Navigation</b><p>Provides a menu to navigate to positions of items that are involved in this expression" ) );
/*if( type.sourceVariable && type.sourceVariable.name != "this" ) {
- int id = m->insertItem( i18n("jump to variable-declaration \"%1\"").tqarg( type.sourceVariable.name ) , this, TQT_SLOT( popupAction( int ) ) );
+ int id = m->insertItem( i18n("jump to variable-declaration \"%1\"").arg( type.sourceVariable.name ) , this, TQT_SLOT( popupAction( int ) ) );
m_popupActions.insert( id, type.sourceVariable );
}*/
@@ -1629,11 +1629,11 @@ void CppCodeCompletion::contextEvaluationMenus ( TQPopupMenu *popup, const Conte
TQPopupMenu * m = PopupTracker::createPopup( popup );
int gid;
if ( contextMenuEntriesAtTop )
- gid = popup->insertItem( i18n( "Navigate Class-View by \"%1\"" ).tqarg( cleanForMenu( name ) ), m, 6, cpos++ );
+ gid = popup->insertItem( i18n( "Navigate Class-View by \"%1\"" ).arg( cleanForMenu( name ) ), m, 6, cpos++ );
else
- gid = popup->insertItem( i18n( "Navigate Class-View by \"%1\"" ).tqarg( cleanForMenu( name ) ), m );
+ gid = popup->insertItem( i18n( "Navigate Class-View by \"%1\"" ).arg( cleanForMenu( name ) ), m );
- popup->tqsetWhatsThis( gid, i18n( "<b>Navigation</b><p>Provides a menu to show involved items in the class-view " ) );
+ popup->setWhatsThis( gid, i18n( "<b>Navigation</b><p>Provides a menu to show involved items in the class-view " ) );
PopupClassViewFillerHelpStruct h( this );
PopupFiller<PopupClassViewFillerHelpStruct> filler( h, "" );
@@ -1703,27 +1703,27 @@ void CppCodeCompletion::slotTextHint( int line, int column, TQString &text ) {
const int timeout = 2000;
if ( type->resolved() ) {
- addStatusText( i18n( "Type of \"%1\" is \"%2\"" ).tqarg( type.expr.expr() ).tqarg( type->fullNameChain() ), timeout );
+ addStatusText( i18n( "Type of \"%1\" is \"%2\"" ).arg( type.expr.expr() ).arg( type->fullNameChain() ), timeout );
if ( type.sourceVariable && !type.sourceVariable.comment.isEmpty() ) {
- addStatusText( i18n( "Comment on variable \"%1\": \"%2\"" ).tqarg( type.sourceVariable.name ).tqarg( type.sourceVariable.comment ) , 10000 );
+ addStatusText( i18n( "Comment on variable \"%1\": \"%2\"" ).arg( type.sourceVariable.name ).arg( type.sourceVariable.comment ) , 10000 );
}
if ( !type->resolved() ->comment().isEmpty() ) {
- addStatusText( i18n( "Comment on \"%1\": \"%2\"" ).tqarg( type->name() ).tqarg( type->resolved() ->comment() ) , 10000 );
+ addStatusText( i18n( "Comment on \"%1\": \"%2\"" ).arg( type->name() ).arg( type->resolved() ->comment() ) , 10000 );
}
if ( type->resolved() ->comment().isEmpty() ) {
- addStatusText( i18n( "\"%1\" has no comment" ).tqarg( type->name() ) , timeout );
+ addStatusText( i18n( "\"%1\" has no comment" ).arg( type->name() ) , timeout );
}
} else {
if ( type ) {
if( !BuiltinTypes::isBuiltin( type.resultType ) ) {
- addStatusText( i18n( "Type of \"%1\" is unresolved, name: \"%2\"" ).tqarg( type.expr.expr() ).tqarg( type->fullNameChain() ), 2 * timeout );
+ addStatusText( i18n( "Type of \"%1\" is unresolved, name: \"%2\"" ).arg( type.expr.expr() ).arg( type->fullNameChain() ), 2 * timeout );
} else {
- addStatusText( i18n( "\"%1\" is of builtin type \"%2\", a %3" ).tqarg( type.expr.expr() ).tqarg( type->fullNameChain() ).tqarg(BuiltinTypes::comment( type.resultType )), 2 * timeout );
+ addStatusText( i18n( "\"%1\" is of builtin type \"%2\", a %3" ).arg( type.expr.expr() ).arg( type->fullNameChain() ).arg(BuiltinTypes::comment( type.resultType )), 2 * timeout );
}
} else {
- addStatusText( i18n( "Type of \"%1\" could not be evaluated: tried to evaluate expression as \"%2\"" ).tqarg( type.expr.expr() ).tqarg( type.expr.typeAsString() ), 2 * timeout );
+ addStatusText( i18n( "Type of \"%1\" could not be evaluated: tried to evaluate expression as \"%2\"" ).arg( type.expr.expr() ).arg( type.expr.typeAsString() ), 2 * timeout );
}
}
@@ -2059,14 +2059,14 @@ void CppCodeCompletion::needRecoveryPoints() {
if ( !ast ) {
kdDebug( 9007 ) << "background-parser is missing the translation-unit. The file needs to be reparsed." << endl;
m_pSupport->parseFileAndDependencies( m_activeFileName, true );
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Background-parser is missing the necessary translation-unit. It will be computed, but this completion will fail." ).tqarg( m_activeFileName ), 2000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Background-parser is missing the necessary translation-unit. It will be computed, but this completion will fail." ).arg( m_activeFileName ), 2000 );
return;
} else {
computeRecoveryPointsLocked();
}
if ( this->d->recoveryPoints.isEmpty() ) {
kdDebug( 9007 ) << "Failed to compute recovery-points for " << m_activeFileName << endl;
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Failed to compute recovery-points for %1" ).tqarg( m_activeFileName ), 1000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Failed to compute recovery-points for %1" ).arg( m_activeFileName ), 1000 );
} else {
kdDebug( 9007 ) << "successfully computed recovery-points for " << m_activeFileName << endl;
}
@@ -2080,7 +2080,7 @@ EvaluationResult CppCodeCompletion::evaluateExpressionType( int line, int column
FileDom file = m_pSupport->codeModel() ->fileByName( m_activeFileName );
if ( !file ) {
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "File %1 does not exist in the code-model" ).tqarg( m_activeFileName ), 1000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "File %1 does not exist in the code-model" ).arg( m_activeFileName ), 1000 );
kdDebug( 9007 ) << "Error: file " << m_activeFileName << " could not be located in the code-model, code-completion stopped\n";
return SimpleType();
}
@@ -2113,7 +2113,7 @@ EvaluationResult CppCodeCompletion::evaluateExpressionType( int line, int column
c = strCurLine[ --pos ];
if ( !( c.isLetterOrNumber() || c == '_' || c == ')' || c == ']' || c == '>' ) ) {
- conf.tqinvalidate();
+ conf.invalidate();
return SimpleType();
}
}
@@ -2280,7 +2280,7 @@ EvaluationResult CppCodeCompletion::evaluateExpressionType( int line, int column
CppCodeCompletionConfig * cfg = m_pSupport->codeCompletionConfig();
if( cfg->usePermanentCaching() && contextItem ) {
- conf.tqinvalidate();
+ conf.invalidate();
m_cachedFromContext = contextItem;
}
@@ -2323,7 +2323,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) {
FileDom file = m_pSupport->codeModel() ->fileByName( m_activeFileName );
if ( !file ) {
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "File %1 does not exist in the code-model" ).tqarg( m_activeFileName ), 1000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "File %1 does not exist in the code-model" ).arg( m_activeFileName ), 1000 );
kdDebug( 9007 ) << "Error: file " << m_activeFileName << " could not be located in the code-model, code-completion stopped\n";
return ;
}
@@ -2905,7 +2905,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) {
ctx = 0;
if ( cfg->usePermanentCaching() ) {
- conf.tqinvalidate();
+ conf.invalidate();
m_cachedFromContext = contextItem;
}
}
@@ -2972,7 +2972,7 @@ void CppCodeCompletion::slotCodeModelUpdated( const TQString& fileName ) {
if ( fileName != m_activeFileName || !m_pSupport || !m_activeEditor )
return ;
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Current file updated %1" ).tqarg( m_activeFileName ), 1000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Current file updated %1" ).arg( m_activeFileName ), 1000 );
computeRecoveryPointsLocked();
}
@@ -2981,7 +2981,7 @@ void CppCodeCompletion::slotFileParsed( const TQString& fileName ) {
if ( fileName != m_activeFileName || !m_pSupport || !m_activeEditor )
return ;
-// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Current file parsed %1 (cache emptied)" ).tqarg( m_activeFileName ), 1000 );
+// m_pSupport->mainWindow() ->statusBar() ->message( i18n( "Current file parsed %1 (cache emptied)" ).arg( m_activeFileName ), 1000 );
emptyCache(); ///The cache has to be emptied, because the code-model changed. @todo Better: Only refresh the code-model(tell all code-model-types to refresh themselves on demand)
@@ -3463,7 +3463,7 @@ TQString CppCodeCompletion::commentFromItem( const SimpleType& parent, const Ite
ret += "\nKind: Class";
}
- ret += TQString( "\nFile: %1\nLine: %2 Column: %3" ).tqarg( prepareTextForMenu( item->fileName(), 3, MAXCOMMENTCOLUMNS ).join( "\n" ) ).tqarg( line ).tqarg( col );
+ ret += TQString( "\nFile: %1\nLine: %2 Column: %3" ).arg( prepareTextForMenu( item->fileName(), 3, MAXCOMMENTCOLUMNS ).join( "\n" ) ).arg( line ).arg( col );
if ( !item->comment().isEmpty() )
ret += "\n\n" + prepareTextForMenu( item->comment(), 3, MAXCOMMENTCOLUMNS ).join( "\n" );
return ret;
@@ -3585,7 +3585,7 @@ TQString CppCodeCompletion::commentFromTag( const SimpleType& parent, Tag& tag )
ret += "\nKind: Struct";
}
- ret += TQString( "\nFile: %1\nLine: %2 Column: %3" ).tqarg( prepareTextForMenu( tag.fileName(), 3, MAXCOMMENTCOLUMNS ).join( "\n" ) ).tqarg( line ).tqarg( col );
+ ret += TQString( "\nFile: %1\nLine: %2 Column: %3" ).arg( prepareTextForMenu( tag.fileName(), 3, MAXCOMMENTCOLUMNS ).join( "\n" ) ).arg( line ).arg( col );
if ( !tag.comment().isEmpty() ) {
ret += "\n\n" + prepareTextForMenu( tag.comment(), 20, MAXCOMMENTCOLUMNS ).join( "\n" );
}
@@ -3807,7 +3807,7 @@ void CppCodeCompletion::computeCompletionEntryList( SimpleType type, TQValueList
break;
}
- e.userdata = TQString( "%1%2%3%4%5" ).tqarg( num ).tqarg( depth ).tqarg( className ).tqarg( sortPosition ).tqarg( subSorting );
+ e.userdata = TQString( "%1%2%3%4%5" ).arg( num ).arg( depth ).arg( className ).arg( sortPosition ).arg( subSorting );
if ( m_completionMode != SignalCompletion ) {
if ( !type->isNamespace() ) {
@@ -3981,7 +3981,7 @@ void CppCodeCompletion::computeCompletionEntryList( TQString parent, SimpleType
if ( isInstance )
continue;
- entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( parent ).tqarg( 6 );
+ entry.userdata = TQString( "%1%2%3%4%5" ).arg( CodeModelItem::Public ).arg( depth ).arg( parent ).arg( 6 );
entryList << entry;
@@ -4015,7 +4015,7 @@ void CppCodeCompletion::computeCompletionEntryList( TQString parent, SimpleType
entry.prefix = stringMult( depth, " " ) + entry.prefix.stripWhiteSpace();
entry.text = klass->name();
entry.comment = commentFromItem( type, klass.data() );
- entry.userdata = TQString( "%1%2%3%4%5" ).tqarg( CodeModelItem::Public ).tqarg( depth ).tqarg( parent ).tqarg( 5 );
+ entry.userdata = TQString( "%1%2%3%4%5" ).arg( CodeModelItem::Public ).arg( depth ).arg( parent ).arg( 5 );
entryList << entry;
}
}
@@ -4136,7 +4136,7 @@ void CppCodeCompletion::computeCompletionEntryList( SimpleType type, TQValueList
if ( meth->isStatic() )
subSorting = 5;
- entry.userdata += TQString( "%1%2%3%4%5" ).tqarg( meth->access() ).tqarg( depth ).tqarg( className ).tqarg( 1 ).tqarg( subSorting );
+ entry.userdata += TQString( "%1%2%3%4%5" ).arg( meth->access() ).arg( depth ).arg( className ).arg( 1 ).arg( subSorting );
if ( m_completionMode == VirtualDeclCompletion )
entry.text += text + ";";
@@ -4187,7 +4187,7 @@ void CppCodeCompletion::computeCompletionEntryList( SimpleType type, TQValueList
CodeCompletionEntry entry;
entry.text = attr->name();
entry.comment = commentFromItem( type, model_cast<ItemDom>( attr ) );
- entry.userdata += TQString( "%1%2%3%4" ).tqarg( attr->access() ).tqarg( depth ).tqarg( className ).tqarg( 2 );
+ entry.userdata += TQString( "%1%2%3%4" ).arg( attr->access() ).arg( depth ).arg( className ).arg( 2 );
if ( !attr->isEnumeratorVariable() ) {
@@ -4261,7 +4261,7 @@ EvaluationResult CppCodeCompletion::evaluateExpression( ExpressionInfo expr, Sim
}
}
- addStatusText( i18n( "Type of \"%1\" is \"%2\", %3" ).tqarg( expr.expr() ).tqarg( res->fullNameChain() ).tqarg( resolutionType ), 5000 );
+ addStatusText( i18n( "Type of \"%1\" is \"%2\", %3" ).arg( expr.expr() ).arg( res->fullNameChain() ).arg( resolutionType ), 5000 );
return res;
}
@@ -4467,7 +4467,7 @@ bool CppCodeCompletion::getIncludeInfo( int line, TQString& includeFileName, TQS
//It is an include-directive. The regular expression captures the string, and the closing sign('"' or '>').
isIncludeDirective = true;
usedProjectFiles = false;
- TQStringList captured = includeRx.tqcapturedTexts();
+ TQStringList captured = includeRx.capturedTexts();
if( captured.size() == 3 ) {
Dependence d;
d.first = captured[1];
diff --git a/languages/cpp/cppcodecompletionconfig.cpp b/languages/cpp/cppcodecompletionconfig.cpp
index 1bcc6ace..8372efeb 100644
--- a/languages/cpp/cppcodecompletionconfig.cpp
+++ b/languages/cpp/cppcodecompletionconfig.cpp
@@ -18,7 +18,7 @@
#include <kdebug.h>
#include <tqdom.h>
-TQString CppCodeCompletionConfig::defaultPath = TQString::tqfromLatin1( "/kdevcppsupport/codecompletion" );
+TQString CppCodeCompletionConfig::defaultPath = TQString::fromLatin1( "/kdevcppsupport/codecompletion" );
CppCodeCompletionConfig::CppCodeCompletionConfig( CppSupportPart * part, TQDomDocument* dom )
: TQObject( part ), m_part( part ), m_dom( dom )
diff --git a/languages/cpp/cppevaluation.cpp b/languages/cpp/cppevaluation.cpp
index 3338b97a..7a4f9406 100644
--- a/languages/cpp/cppevaluation.cpp
+++ b/languages/cpp/cppevaluation.cpp
@@ -102,7 +102,7 @@ OperatorIdentification UnaryOperator::identify( TQString& str ) {
EvaluationResult UnaryOperator::apply( TQValueList<EvaluationResult> params, TQValueList<EvaluationResult> innerParams ) {
if( !checkParams( params ) ) {
- log( TQString("parameter-check failed: %1 params: ").tqarg( params.size() ) + printTypeList( params ) );
+ log( TQString("parameter-check failed: %1 params: ").arg( params.size() ) + printTypeList( params ) );
return EvaluationResult();
} else {
EvaluationResult t = unaryApply( params.front(), innerParams );
diff --git a/languages/cpp/cppimplementationwidget.cpp b/languages/cpp/cppimplementationwidget.cpp
index 14294fe0..ed8a2308 100644
--- a/languages/cpp/cppimplementationwidget.cpp
+++ b/languages/cpp/cppimplementationwidget.cpp
@@ -20,7 +20,7 @@
#include "cppimplementationwidget.h"
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqfile.h>
#include <tqdir.h>
#include <tqregexp.h>
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp
index dd4d278b..96e10a9b 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -24,7 +24,7 @@
#include <tqfileinfo.h>
#include <tqradiobutton.h>
#include <tqregexp.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqrect.h>
#include <tqstyle.h>
@@ -461,7 +461,7 @@ void CppNewClassDialog::addBaseClass()
if ( baseclasses_view->selectedItem() )
baseclasses_view->selectedItem() ->setSelected( false );
TQListViewItem* it = new TQListViewItem( baseclasses_view, baseclasses_view->lastItem(),
- TQString(), "public", TQString( "%1" ).tqarg( scope_box->currentItem() ), TQString(), "false" );
+ TQString(), "public", TQString( "%1" ).arg( scope_box->currentItem() ), TQString(), "false" );
setStateOfInheritanceEditors( true );
public_button->setChecked( true );
virtual_box->setChecked( false );
@@ -589,7 +589,7 @@ void CppNewClassDialog::scopeboxActivated( int value )
{
if ( baseclasses_view->selectedItem() )
{
- baseclasses_view->selectedItem() ->setText( 2, TQString( "%1" ).tqarg( value ) );
+ baseclasses_view->selectedItem() ->setText( 2, TQString( "%1" ).arg( value ) );
}
}
@@ -1268,8 +1268,8 @@ void CppNewClassDialog::to_constructors_list_clicked()
cparams += ( *argIt ) ->type() + " ";
if ( ( *argIt ) ->name().isEmpty() )
{
- cparams += TQString( "arg%1" ).tqarg( unnamed );
- bparams += TQString( "arg%1" ).tqarg( unnamed++ );
+ cparams += TQString( "arg%1" ).arg( unnamed );
+ bparams += TQString( "arg%1" ).arg( unnamed++ );
}
else
{
@@ -1455,7 +1455,7 @@ void CppNewClassDialog::ClassGenerator::common_text()
TQString author = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/author" );
TQString email = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/email" );
if( !email.isEmpty() )
- author += TQString( " <%1>" ).tqarg( email );
+ author += TQString( " <%1>" ).arg( email );
if ( dlg.gen_config->author_box->isChecked() )
doc.append( "\t@author " + author + "\n" );
@@ -1618,8 +1618,8 @@ void CppNewClassDialog::ClassGenerator::genMethodDeclaration( FunctionDom method
cparams += ( *argIt ) ->type() + " ";
if ( ( *argIt ) ->name().isEmpty() )
{
- cparams += TQString( "arg%1" ).tqarg( unnamed );
- bparams += TQString( "arg%1" ).tqarg( unnamed++ );
+ cparams += TQString( "arg%1" ).arg( unnamed );
+ bparams += TQString( "arg%1" ).arg( unnamed++ );
}
else
{
@@ -1896,11 +1896,11 @@ void CppNewClassDialog::ClassGenerator::gen_interface()
+ ( advConstructorsHeader.isEmpty() ? TQString(" $CLASSNAME$($ARGS$);\n") : advConstructorsHeader )
+ TQString("\n ~$CLASSNAME$();\n")
+ advH_public
- + (advH_public_slots.isEmpty() ? TQString::tqfromLatin1("") : ("\n\npublic slots:" + advH_public_slots))
- + (advH_protected.isEmpty() ? TQString::tqfromLatin1("") : ("\n\nprotected:" + advH_protected))
- + (advH_protected_slots.isEmpty() ? TQString::tqfromLatin1("") : ("\n\nprotected slots:" + advH_protected_slots))
- + (advH_private.isEmpty() ? TQString::tqfromLatin1("") : ("\n\nprivate:" + advH_private))
- + (advH_private_slots.isEmpty() ? TQString::tqfromLatin1("") : ("\n\nprivate slots:" + advH_private_slots))
+ + (advH_public_slots.isEmpty() ? TQString::fromLatin1("") : ("\n\npublic slots:" + advH_public_slots))
+ + (advH_protected.isEmpty() ? TQString::fromLatin1("") : ("\n\nprotected:" + advH_protected))
+ + (advH_protected_slots.isEmpty() ? TQString::fromLatin1("") : ("\n\nprotected slots:" + advH_protected_slots))
+ + (advH_private.isEmpty() ? TQString::fromLatin1("") : ("\n\nprivate:" + advH_private))
+ + (advH_private_slots.isEmpty() ? TQString::fromLatin1("") : ("\n\nprivate slots:" + advH_private_slots))
+ TQString("};\n"
"\n")
+ namespaceEnd
@@ -1963,7 +1963,7 @@ void CppNewClassDialog::ClassGenerator::gen_interface()
if ( !it.current() ->text( 0 ).isEmpty() )
if ( !it.current() ->text( 3 ).isEmpty() )
// if ((!childClass) || (it.current()->text(0) != TQWIDGET_OBJECT_NAME_STRING))
- includeBaseHeader += ( includeBaseHeader.isEmpty() ? TQString( "" ) : TQString( "\n" ) ) + TQString::tqfromLatin1( "#include " ) +
+ includeBaseHeader += ( includeBaseHeader.isEmpty() ? TQString( "" ) : TQString( "\n" ) ) + TQString::fromLatin1( "#include " ) +
( it.current() ->text( 2 ).toInt() == 0 ? TQString( "<" ) : TQString( "\"" ) )
+ it.current() ->text( 3 )
+ ( it.current() ->text( 2 ).toInt() == 0 ? TQString( ">" ) : TQString( "\"" ) );
@@ -1974,7 +1974,7 @@ void CppNewClassDialog::ClassGenerator::gen_interface()
TQString author = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/author" );
TQString email = DomUtil::readEntry( *dlg.m_part->projectDom(), "/general/email" );
if( !email.isEmpty() )
- author += TQString( " <%1>" ).tqarg( email );
+ author += TQString( " <%1>" ).arg( email );
TQString inheritance;
if ( dlg.baseclasses_view->childCount() > 0 )
diff --git a/languages/cpp/cppnewclassdlgbase.ui b/languages/cpp/cppnewclassdlgbase.ui
index a5405690..3e61701b 100644
--- a/languages/cpp/cppnewclassdlgbase.ui
+++ b/languages/cpp/cppnewclassdlgbase.ui
@@ -47,7 +47,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>10</width>
<height>20</height>
@@ -270,7 +270,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -320,7 +320,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -403,7 +403,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -431,7 +431,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
@@ -446,7 +446,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -640,7 +640,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -658,7 +658,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>125</width>
<height>0</height>
@@ -680,7 +680,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>125</width>
<height>0</height>
@@ -700,7 +700,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>150</width>
<height>20</height>
@@ -958,7 +958,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/cpp/cppsplitheadersourceconfig.cpp b/languages/cpp/cppsplitheadersourceconfig.cpp
index a9edc315..7298354b 100644
--- a/languages/cpp/cppsplitheadersourceconfig.cpp
+++ b/languages/cpp/cppsplitheadersourceconfig.cpp
@@ -27,7 +27,7 @@
#include <kdebug.h>
#include <tqdom.h>
-TQString CppSplitHeaderSourceConfig::defaultPath = TQString::tqfromLatin1( "/kdevcppsupport/splitheadersource" );
+TQString CppSplitHeaderSourceConfig::defaultPath = TQString::fromLatin1( "/kdevcppsupport/splitheadersource" );
CppSplitHeaderSourceConfig::CppSplitHeaderSourceConfig( CppSupportPart * part, TQDomDocument* dom )
: TQObject( part ), m_part( part ), m_dom( dom )
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index ac9d52ba..747a7e0a 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -688,7 +688,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
if ( !text.isEmpty() )
{
id = popup->insertItem( i18n( "Make Member" ), this, TQT_SLOT( slotMakeMember() ) );
- popup->tqsetWhatsThis( id, i18n( "<b>Make member</b><p>Creates a class member function in implementation file "
+ popup->setWhatsThis( id, i18n( "<b>Make member</b><p>Creates a class member function in implementation file "
"based on the member declaration at the current line." ) );
}
@@ -737,7 +737,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
{
TQPopupMenu * m2 = new TQPopupMenu( popup );
id = popup->insertItem( i18n( "Go to Declaration" ), m2 );
- popup->tqsetWhatsThis( id, i18n( "<b>Go to declaration</b><p>Provides a menu to select available function declarations "
+ popup->setWhatsThis( id, i18n( "<b>Go to declaration</b><p>Provides a menu to select available function declarations "
"in the current file and in the corresponding header (if the current file is an implementation) or source (if the current file is a header) file." ) );
FileDom file2 = codeModel() ->fileByName( candidate );
@@ -753,7 +753,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
text += "::";
}
text += formatModelItem( *it, true );
- text = text.replace( TQString::tqfromLatin1( "&" ), TQString::tqfromLatin1( "&&" ) );
+ text = text.replace( TQString::fromLatin1( "&" ), TQString::fromLatin1( "&&" ) );
int id = m2->insertItem( text, this, TQT_SLOT( gotoDeclarationLine( int ) ) );
int line, column;
( *it ) ->getStartPosition( &line, &column );
@@ -781,7 +781,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
{
TQPopupMenu * m = new TQPopupMenu( popup );
id = popup->insertItem( i18n( "Go to Definition" ), m );
- popup->tqsetWhatsThis( id, i18n( "<b>Go to definition</b><p>Provides a menu to select available function definitions "
+ popup->setWhatsThis( id, i18n( "<b>Go to definition</b><p>Provides a menu to select available function definitions "
"in the current file and in the corresponding header (if the current file is an implementation) or source (if the current file is a header) file." ) );
const FileDom file = codeModel() ->fileByName( candidate1 );
@@ -794,7 +794,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
text += "::";
}
text += formatModelItem( *it, true );
- text = text.replace( TQString::tqfromLatin1( "&" ), TQString::tqfromLatin1( "&&" ) );
+ text = text.replace( TQString::fromLatin1( "&" ), TQString::fromLatin1( "&&" ) );
int id = m->insertItem( text, this, TQT_SLOT( gotoLine( int ) ) );
int line, column;
( *it ) ->getStartPosition( &line, &column );
@@ -822,7 +822,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
{
m_activeClass = ( ClassModel* ) mcontext->item();
int id = popup->insertItem( i18n( "Extract Interface..." ), this, TQT_SLOT( slotExtractInterface() ) );
- popup->tqsetWhatsThis( id, i18n( "<b>Extract interface</b><p>Extracts interface from the selected class and creates a new class with this interface. "
+ popup->setWhatsThis( id, i18n( "<b>Extract interface</b><p>Extracts interface from the selected class and creates a new class with this interface. "
"No implementation code is extracted and no implementation code is created." ) );
}
else if ( mcontext->item() ->isFunction() )
@@ -840,7 +840,7 @@ void CppSupportPart::contextMenu( TQPopupMenu *popup, const Context *context )
{
m_contextFileName = url.path();
int id = popup->insertItem( i18n( "Create or Select Implementation..." ), this, TQT_SLOT( slotCreateSubclass() ) );
- popup->tqsetWhatsThis( id, i18n( "<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner." ) );
+ popup->setWhatsThis( id, i18n( "<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner." ) );
}
}
}
@@ -1558,7 +1558,7 @@ void CppSupportPart::slotParseFiles()
{
if ( _jd->pcs.contains( absFilePath ) )
{
- _jd->stream.tqdevice() ->at( _jd->pcs[ absFilePath ].second );
+ _jd->stream.device() ->at( _jd->pcs[ absFilePath ].second );
FileDom file = codeModel() ->create<FileModel>();
file->read( _jd->stream );
codeModel() ->addFile( file );
@@ -1777,7 +1777,7 @@ void CppSupportPart::MakeMemberHelper( TQString& text, int& atLine, int& atColum
TQString declStr = declaratorToString( declarator, scopeStr ).simplifyWhiteSpace();
if ( declarator->exceptionSpecification() )
{
- declStr += TQString::tqfromLatin1( " throw( " );
+ declStr += TQString::fromLatin1( " throw( " );
TQPtrList<AST> l = declarator->exceptionSpecification() ->nodeList();
TQPtrListIterator<AST> type_it( l );
while ( type_it.current() )
@@ -1786,10 +1786,10 @@ void CppSupportPart::MakeMemberHelper( TQString& text, int& atLine, int& atColum
++type_it;
if ( type_it.current() )
- declStr += TQString::tqfromLatin1( ", " );
+ declStr += TQString::fromLatin1( ", " );
}
- declStr += TQString::tqfromLatin1( " )" );
+ declStr += TQString::fromLatin1( " )" );
}
text += "\n\n";
@@ -2034,10 +2034,10 @@ TQString CppSupportPart::formatTag( const Tag & inputTag )
switch ( tag.kind() )
{
case Tag::Kind_Namespace:
- return TQString::tqfromLatin1( "namespace " ) + tag.name();
+ return TQString::fromLatin1( "namespace " ) + 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:
@@ -2182,22 +2182,22 @@ void CppSupportPart::saveProjectSourceInfo()
if( m_timestamp.find( dom->name() ) == m_timestamp.end() ) {
kdDebug( 9007 ) << dom->name() << ": timestamp is missing " << endl;
}
- offsets.insert( dom->name(), stream.tqdevice() ->at() );
+ offsets.insert( dom->name(), stream.device() ->at() );
stream << ( uint ) 0; // dummy offset
}
for ( FileList::ConstIterator it = fileList.begin(); it != fileList.end(); ++it )
{
const FileDom dom = ( *it );
- int offset = stream.tqdevice() ->at();
+ int offset = stream.device() ->at();
dom->write( stream );
- int end = stream.tqdevice() ->at();
+ int end = stream.device() ->at();
- stream.tqdevice() ->at( offsets[ dom->name() ] );
+ stream.device() ->at( offsets[ dom->name() ] );
stream << offset;
- stream.tqdevice() ->at( end );
+ stream.device() ->at( end );
}
TQFile::remove( project() ->projectDirectory() + "/"
@@ -2259,7 +2259,7 @@ void CppSupportPart::slotExtractInterface( )
TQString ifaceFileName = fileInfo.dirPath( true ) + "/" + m_activeClass->name().lower() + "_interface.h";
if ( TQFile::exists( ifaceFileName ) )
{
- KMessageBox::error( mainWindow() ->main(), i18n( "File %1 already exists" ).tqarg( ifaceFileName ),
+ KMessageBox::error( mainWindow() ->main(), i18n( "File %1 already exists" ).arg( ifaceFileName ),
i18n( "C++ Support" ) );
}
else
@@ -2856,7 +2856,7 @@ void CppSupportPart::addMethod( ClassDom aClass, const TQString& name, const TQS
if ( !editIface )
return ; //@fixme errorverdoedelung
- editIface->insertLine( editIface->numLines(), TQString::tqfromLatin1( "" ) );
+ editIface->insertLine( editIface->numLines(), TQString::fromLatin1( "" ) );
editIface->insertText( editIface->numLines() - 1, 0, definitionString );
backgroundParser() ->addFile( implementationFile );
}
@@ -3118,7 +3118,7 @@ void CppSupportPart::addToRepository( ParsedFilePointer file ) {
w.parseTranslationUnit( *file );
codeRepository()->touchCatalog( catalog );
- m_safeProjectFiles.insert( file->fileName() + "||" + TQString("%1").tqarg(file->usedMacros().valueHash()) + "||" + TQString("%1").tqarg(file->usedMacros().idHash()) );
+ m_safeProjectFiles.insert( file->fileName() + "||" + TQString("%1").arg(file->usedMacros().valueHash()) + "||" + TQString("%1").arg(file->usedMacros().idHash()) );
}
TQString CppSupportPart::findHeaderSimple( const TQString &header )
@@ -3143,7 +3143,7 @@ void UIBlockTester::UIBlockTesterThread::run() {
while(!m_stop) {
msleep( m_parent.m_msecs / 10 );
m_parent.m_timeMutex.lock();
- TQDateTime t = TQDateTime::tqcurrentDateTime();
+ TQDateTime t = TQDateTime::currentDateTime();
uint msecs = m_parent.m_lastTime.time().msecsTo( t.time() );
if( msecs > m_parent.m_msecs ) {
m_parent.lockup();
@@ -3171,7 +3171,7 @@ UIBlockTester::~UIBlockTester() {
void UIBlockTester::timer() {
m_timeMutex.lock();
- m_lastTime = TQDateTime::tqcurrentDateTime();
+ m_lastTime = TQDateTime::currentDateTime();
m_timeMutex.unlock();
}
diff --git a/languages/cpp/creategettersetter.ui b/languages/cpp/creategettersetter.ui
index fd4feaf6..81edebf0 100644
--- a/languages/cpp/creategettersetter.ui
+++ b/languages/cpp/creategettersetter.ui
@@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@@ -136,7 +136,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
diff --git a/languages/cpp/creategettersetterconfiguration.cpp b/languages/cpp/creategettersetterconfiguration.cpp
index 3bee7f16..7190e796 100644
--- a/languages/cpp/creategettersetterconfiguration.cpp
+++ b/languages/cpp/creategettersetterconfiguration.cpp
@@ -17,7 +17,7 @@
#include <tqdom.h>
#include <kmessagebox.h>
-TQString CreateGetterSetterConfiguration::defaultPath = TQString::tqfromLatin1( "/kdevcppsupport/creategettersetter" );
+TQString CreateGetterSetterConfiguration::defaultPath = TQString::fromLatin1( "/kdevcppsupport/creategettersetter" );
CreateGetterSetterConfiguration::CreateGetterSetterConfiguration( CppSupportPart * part )
: TQObject(part), m_part(part), m_settings(0)
diff --git a/languages/cpp/createpcsdialog.cpp b/languages/cpp/createpcsdialog.cpp
index e237d683..a53ebe35 100644
--- a/languages/cpp/createpcsdialog.cpp
+++ b/languages/cpp/createpcsdialog.cpp
@@ -39,7 +39,7 @@
#include <tqheader.h>
#include <tqlabel.h>
#include <tqregexp.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtimer.h>
#include <tqpushbutton.h>
diff --git a/languages/cpp/createpcsdialogbase.ui b/languages/cpp/createpcsdialogbase.ui
index f40f7c94..eafbc184 100644
--- a/languages/cpp/createpcsdialogbase.ui
+++ b/languages/cpp/createpcsdialogbase.ui
@@ -89,7 +89,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>111</height>
@@ -132,7 +132,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>81</height>
diff --git a/languages/cpp/debugger/TODO.txt b/languages/cpp/debugger/TODO.txt
index 563cf85c..38aca109 100644
--- a/languages/cpp/debugger/TODO.txt
+++ b/languages/cpp/debugger/TODO.txt
@@ -69,7 +69,7 @@ TODO:
- Add icons
- - tqStatus display column is just ugly
+ - Status display column is just ugly
- Handle "out of breakpoints" message.
diff --git a/languages/cpp/debugger/breakpoint.cpp b/languages/cpp/debugger/breakpoint.cpp
index c42f32c9..1b6efdaf 100644
--- a/languages/cpp/debugger/breakpoint.cpp
+++ b/languages/cpp/debugger/breakpoint.cpp
@@ -213,7 +213,7 @@ bool Breakpoint::match(const Breakpoint* breakpoint) const
TQString Breakpoint::dbgRemoveCommand() const
{
if (dbgId_>0)
- return TQString("-break-delete %1").tqarg(dbgId_); // gdb command - not translatable
+ return TQString("-break-delete %1").arg(dbgId_); // gdb command - not translatable
return TQString();
}
@@ -386,7 +386,7 @@ FilePosBreakpoint::FilePosBreakpoint(const TQString &fileName, int lineNum,
: Breakpoint(temporary, enabled)
{
// Sets 'subtype'
- setLocation(TQString("%1:%2").tqarg(fileName).tqarg(lineNum));
+ setLocation(TQString("%1:%2").arg(fileName).arg(lineNum));
}
FilePosBreakpoint::~FilePosBreakpoint()
@@ -482,7 +482,7 @@ void FilePosBreakpoint::setLocation(const TQString& location)
line_ = regExp1.cap(2).toInt();
- location_ = TQString("%1:%2").tqarg(fileName_).tqarg(regExp1.cap(2));
+ location_ = TQString("%1:%2").arg(fileName_).arg(regExp1.cap(2));
}
else
{
@@ -536,7 +536,7 @@ void Watchpoint::setBreakpoint(GDBController* controller)
controller->addCommandBeforeRun(
new GDBCommand(
- TQString("-data-evaluate-expression &%1").tqarg(varName_),
+ TQString("-data-evaluate-expression &%1").arg(varName_),
this,
&Watchpoint::handleAddressComputed));
}
@@ -547,7 +547,7 @@ void Watchpoint::handleAddressComputed(const GDBMI::ResultRecord& r)
address_ = r["value"].literal().toULongLong(0, 16);
controller()->addCommandBeforeRun(
new GDBCommand(
- TQString("-break-watch *%1").tqarg(r["value"].literal()),
+ TQString("-break-watch *%1").arg(r["value"].literal()),
static_cast<Breakpoint*>(this),
&Watchpoint::handleSet));
}
diff --git a/languages/cpp/debugger/dbgcontroller.h b/languages/cpp/debugger/dbgcontroller.h
index c87a333f..f8103ab2 100644
--- a/languages/cpp/debugger/dbgcontroller.h
+++ b/languages/cpp/debugger/dbgcontroller.h
@@ -118,7 +118,7 @@ signals:
void gdbUserCommandStdout (const char *output);
void gdbStderr (const char *output);
void showStepInSource (const TQString &fileName, int lineNum, const TQString &address);
- void dbgtqStatus (const TQString &status, int statusFlag);
+ void dbgStatus (const TQString &status, int statusFlag);
protected:
KProcess *dbgProcess_;
diff --git a/languages/cpp/debugger/dbgpsdlg.cpp b/languages/cpp/debugger/dbgpsdlg.cpp
index c31f4a4c..22c85502 100644
--- a/languages/cpp/debugger/dbgpsdlg.cpp
+++ b/languages/cpp/debugger/dbgpsdlg.cpp
@@ -28,7 +28,7 @@
#include <tqframe.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtoolbutton.h>
#include <tqpushbutton.h>
@@ -77,7 +77,7 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
buttonbox->addStretch();
TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
- buttonbox->tqlayout();
+ buttonbox->layout();
topLayout->addWidget(buttonbox);
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));
@@ -172,7 +172,7 @@ void Dbg_PS_Dialog::slotProcessExited()
// to 'arg'.
i18n("<b>Could not parse output from the <tt>ps</tt> command.</b>"
"<p>The following line could not be parsed:"
- "<b><tt>%1</tt>").tqarg(item),
+ "<b><tt>%1</tt>").arg(item),
i18n("Internal error"), "gdb_error" );
break;
}
diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp
index e8bb0c90..435591a3 100644
--- a/languages/cpp/debugger/dbgtoolbar.cpp
+++ b/languages/cpp/debugger/dbgtoolbar.cpp
@@ -28,7 +28,7 @@
#include <tqapplication.h>
#include <tqcursor.h>
#include <tqframe.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqpushbutton.h>
#include <tqtooltip.h>
@@ -120,8 +120,8 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e)
offset_ = parentWidget()->pos() - e->globalPos();
setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
TQApplication::setOverrideCursor(TQCursor(sizeAllCursor));
- setPalette(TQPalette(tqcolorGroup().background()));
- tqrepaint();
+ setPalette(TQPalette(colorGroup().background()));
+ repaint();
}
}
@@ -134,8 +134,8 @@ void DbgMoveHandle::mouseReleaseEvent(TQMouseEvent *e)
offset_ = TQPoint(0,0);
setFrameStyle(TQFrame::Panel|TQFrame::Raised);
TQApplication::restoreOverrideCursor();
- setPalette(TQPalette(tqcolorGroup().background()));
- tqrepaint();
+ setPalette(TQPalette(colorGroup().background()));
+ repaint();
}
// **************************************************************************
@@ -162,7 +162,7 @@ public:
DbgToolBar *parent, const char *name=0);
virtual ~DbgButton() {};
void drawButtonLabel(TQPainter *painter);
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
private:
TQPixmap pixmap_;
@@ -191,21 +191,21 @@ void DbgButton::drawButtonLabel(TQPainter *painter)
painter->drawPixmap(x, y, pixmap_);
if (hasText) {
- painter->setPen(tqcolorGroup().text());
+ painter->setPen(colorGroup().text());
painter->drawText(height()+2, 0, width()-(height()+2), height(), AlignLeft|AlignVCenter, text());
}
}
// **************************************************************************
-TQSize DbgButton::tqsizeHint() const
+TQSize DbgButton::sizeHint() const
{
if (text().isEmpty())
return pixmap_.size();
else
{
TQSize ps = pixmap_.size();
- TQSize bs = TQPushButton::tqsizeHint();
+ TQSize bs = TQPushButton::sizeHint();
TQSize result;
result.setWidth( ps.width() + bs.width()+10 );
result.setHeight( ps.height() > bs.height() ? ps.height() : bs.height() );
@@ -365,12 +365,12 @@ DbgToolBar::DbgToolBar(DebuggerPart* part,
nextLayout->addWidget(bNext);
nextLayout->addWidget(bNexti);
-// int w = TQMAX(bRun->tqsizeHint().width(), bFinish->tqsizeHint().width());
-// w = TQMAX(w, bInterrupt->tqsizeHint().width());
-// w = TQMAX(w, bView->tqsizeHint().width());
+// int w = TQMAX(bRun->sizeHint().width(), bFinish->sizeHint().width());
+// w = TQMAX(w, bInterrupt->sizeHint().width());
+// w = TQMAX(w, bView->sizeHint().width());
// they should have the same height, so don't be too fussy
-// int h = bFinish->tqsizeHint().height();
+// int h = bFinish->sizeHint().height();
//
// bNext->setMinimumHeight(h);
// bNexti->setMinimumHeight(h);
@@ -404,10 +404,10 @@ void DbgToolBar::slotKdevFocus()
// If anyone has a way of determining what window the app is _actually_ running on
// then please fix and send a patch.
- if (winModule_->activeWindow() != tqtopLevelWidget()->winId())
+ if (winModule_->activeWindow() != topLevelWidget()->winId())
activeWindow_ = winModule_->activeWindow();
- KWin::activateWindow(tqtopLevelWidget()->winId());
+ KWin::activateWindow(topLevelWidget()->winId());
}
// **************************************************************************
@@ -421,7 +421,7 @@ void DbgToolBar::slotPrevFocus()
// If the app is active then the app button is highlighted, otherwise
// kdev button is highlighted.
-void DbgToolBar::slotDbgtqStatus(const TQString&, int state)
+void DbgToolBar::slotDbgStatus(const TQString&, int state)
{
bool appIndicator = state & s_dbgBusy;
if (appIndicator != appIsActive_) {
@@ -435,11 +435,11 @@ void DbgToolBar::slotDbgtqStatus(const TQString&, int state)
void DbgToolBar::setAppIndicator(bool appIndicator)
{
if (appIndicator) {
- bPrevFocus_->setPalette(TQPalette(tqcolorGroup().mid()));
- bKDevFocus_->setPalette(TQPalette(tqcolorGroup().background()));
+ bPrevFocus_->setPalette(TQPalette(colorGroup().mid()));
+ bKDevFocus_->setPalette(TQPalette(colorGroup().background()));
} else {
- bPrevFocus_->setPalette(TQPalette(tqcolorGroup().background()));
- bKDevFocus_->setPalette(TQPalette(tqcolorGroup().mid()));
+ bPrevFocus_->setPalette(TQPalette(colorGroup().background()));
+ bKDevFocus_->setPalette(TQPalette(colorGroup().mid()));
}
}
@@ -487,7 +487,7 @@ void DbgToolBar::slotActivateAndUndock()
if (!docked_)
return;
- KWin::activateWindow(tqtopLevelWidget()->winId());
+ KWin::activateWindow(topLevelWidget()->winId());
slotUndock();
}
diff --git a/languages/cpp/debugger/dbgtoolbar.h b/languages/cpp/debugger/dbgtoolbar.h
index 5e1424d7..7f124c6c 100644
--- a/languages/cpp/debugger/dbgtoolbar.h
+++ b/languages/cpp/debugger/dbgtoolbar.h
@@ -58,7 +58,7 @@ public:
virtual ~DbgToolBar();
private slots:
- void slotDbgtqStatus(const TQString&, int);
+ void slotDbgStatus(const TQString&, int);
void slotDock();
void slotUndock();
void slotIconifyAndDock();
diff --git a/languages/cpp/debugger/debuggerconfigwidget.cpp b/languages/cpp/debugger/debuggerconfigwidget.cpp
index d4c97957..05a8cf78 100644
--- a/languages/cpp/debugger/debuggerconfigwidget.cpp
+++ b/languages/cpp/debugger/debuggerconfigwidget.cpp
@@ -78,7 +78,7 @@ DebuggerConfigWidget::DebuggerConfigWidget(DebuggerPart* part, TQWidget *parent,
// ??? DomUtil::readEntry(dom, "/kdevdebugger/general/allowforcedbpset");
- resize(tqsizeHint());
+ resize(sizeHint());
}
diff --git a/languages/cpp/debugger/debuggerconfigwidgetbase.ui b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
index a3a1e321..72bb4c93 100644
--- a/languages/cpp/debugger/debuggerconfigwidgetbase.ui
+++ b/languages/cpp/debugger/debuggerconfigwidgetbase.ui
@@ -102,7 +102,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -208,7 +208,7 @@ check this option.</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@@ -303,7 +303,7 @@ check this option.</string>
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@@ -404,7 +404,7 @@ or if your executable contains the gdb stub
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp
index 59294487..fb1577d4 100644
--- a/languages/cpp/debugger/debuggerpart.cpp
+++ b/languages/cpp/debugger/debuggerpart.cpp
@@ -92,7 +92,7 @@ DebuggerPart::DebuggerPart( TQObject *parent, const char *name, const TQStringLi
statusBarIndicator = new LabelWithDoubleClick(
" ", mainWindow()->statusBar());
statusBarIndicator->setFixedWidth(15);
- statusBarIndicator->tqsetAlignment(TQt::AlignCenter);
+ statusBarIndicator->setAlignment(TQt::AlignCenter);
mainWindow()->statusBar()->addWidget(statusBarIndicator, 0, true);
statusBarIndicator->show();
@@ -500,7 +500,7 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
this, TQT_SLOT(slotRunToCursor()),
0, -1, index);
- popup->tqsetWhatsThis(id, act->whatsThis());
+ popup->setWhatsThis(id, act->whatsThis());
index += running;
}
}
@@ -510,21 +510,21 @@ void DebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
this, TQT_SLOT(toggleBreakpoint()),
0, -1, index);
index += running;
- popup->tqsetWhatsThis(id, i18n("<b>Toggle breakpoint</b><p>Toggles breakpoint at the current line."));
+ popup->setWhatsThis(id, i18n("<b>Toggle breakpoint</b><p>Toggles breakpoint at the current line."));
}
if (!m_contextIdent.isEmpty())
{
TQString squeezed = KStringHandler::csqueeze(m_contextIdent, 30);
- int id = popup->insertItem( i18n("Evaluate: %1").tqarg(squeezed),
+ int id = popup->insertItem( i18n("Evaluate: %1").arg(squeezed),
this, TQT_SLOT(contextEvaluate()),
0, -1, index);
index += running;
- popup->tqsetWhatsThis(id, i18n("<b>Evaluate expression</b><p>Shows the value of the expression under the cursor."));
- int id2 = popup->insertItem( i18n("Watch: %1").tqarg(squeezed),
+ popup->setWhatsThis(id, i18n("<b>Evaluate expression</b><p>Shows the value of the expression under the cursor."));
+ int id2 = popup->insertItem( i18n("Watch: %1").arg(squeezed),
this, TQT_SLOT(contextWatch()),
0, -1, index);
index += running;
- popup->tqsetWhatsThis(id2, i18n("<b>Watch expression</b><p>Adds an expression under the cursor to the Variables/Watch list."));
+ popup->setWhatsThis(id2, i18n("<b>Watch expression</b><p>Adds an expression under the cursor to the Variables/Watch list."));
}
if (running)
popup->insertSeparator(index);
@@ -589,8 +589,8 @@ void DebuggerPart::setupController()
disassembleWidget, TQT_SLOT(slotShowStepInSource(const TQString&, int, const TQString&)));
// controller -> this
- connect( controller, TQT_SIGNAL(dbgtqStatus(const TQString&, int)),
- this, TQT_SLOT(slottqStatus(const TQString&, int)));
+ connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
+ this, TQT_SLOT(slotStatus(const TQString&, int)));
connect( controller, TQT_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
this, TQT_SLOT(slotShowStep(const TQString&, int)));
connect( controller, TQT_SIGNAL(debuggerAbnormalExit()),
@@ -613,16 +613,16 @@ void DebuggerPart::setupController()
connect( controller, TQT_SIGNAL(gdbStderr(const char*)),
gdbOutputWidget, TQT_SLOT(slotReceivedStderr(const char*)) );
- connect( controller, TQT_SIGNAL(dbgtqStatus(const TQString&, int)),
- gdbOutputWidget, TQT_SLOT(slotDbgtqStatus(const TQString&, int)));
+ connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
+ gdbOutputWidget, TQT_SLOT(slotDbgStatus(const TQString&, int)));
// controller -> viewerWidget
- connect( controller, TQT_SIGNAL(dbgtqStatus(const TQString&, int)),
+ connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
viewerWidget, TQT_SLOT(slotDebuggerState(const TQString&, int)));
connect(statusBarIndicator, TQT_SIGNAL(doubleClicked()),
- controller, TQT_SLOT(explainDebuggertqStatus()));
+ controller, TQT_SLOT(explainDebuggerStatus()));
}
@@ -659,7 +659,7 @@ bool DebuggerPart::startDebugger()
{
KMessageBox::information(
mainWindow()->main(),
- i18n("Could not locate the debugging shell '%1'.").tqarg( shell_without_args ),
+ i18n("Could not locate the debugging shell '%1'.").arg( shell_without_args ),
i18n("Debugging Shell Not Found"), "gdb_error" );
return false;
}
@@ -955,7 +955,7 @@ void DebuggerPart::slotExamineCore()
if (coreFile.isNull())
return;
- mainWindow()->statusBar()->message(i18n("Examining core file %1").tqarg(coreFile), 1000);
+ mainWindow()->statusBar()->message(i18n("Examining core file %1").arg(coreFile), 1000);
startDebugger();
controller->slotCoreFile(coreFile);
@@ -976,7 +976,7 @@ void DebuggerPart::slotAttachProcess()
bool DebuggerPart::attachProcess(int pid)
{
- mainWindow()->statusBar()->message(i18n("Attaching to process %1").tqarg(pid), 1000);
+ mainWindow()->statusBar()->message(i18n("Attaching to process %1").arg(pid), 1000);
bool ret = startDebugger();
controller->slotAttachTo(pid);
@@ -1092,7 +1092,7 @@ void DebuggerPart::slotRefreshBPState( const Breakpoint& BP)
}
}
-void DebuggerPart::slottqStatus(const TQString &msg, int state)
+void DebuggerPart::slotStatus(const TQString &msg, int state)
{
TQString stateIndicator, stateIndicatorFull;
diff --git a/languages/cpp/debugger/debuggerpart.h b/languages/cpp/debugger/debuggerpart.h
index b201b15a..40877e29 100644
--- a/languages/cpp/debugger/debuggerpart.h
+++ b/languages/cpp/debugger/debuggerpart.h
@@ -95,7 +95,7 @@ private slots:
void slotRefreshBPState(const Breakpoint&);
- void slottqStatus(const TQString &msg, int state);
+ void slotStatus(const TQString &msg, int state);
void slotShowStep(const TQString &fileName, int lineNum);
void slotGotoSource(const TQString &fileName, int lineNum);
diff --git a/languages/cpp/debugger/debuggertracingdialogbase.ui b/languages/cpp/debugger/debuggertracingdialogbase.ui
index 51cfe410..faa68cd7 100644
--- a/languages/cpp/debugger/debuggertracingdialogbase.ui
+++ b/languages/cpp/debugger/debuggertracingdialogbase.ui
@@ -71,7 +71,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
diff --git a/languages/cpp/debugger/disassemblewidget.cpp b/languages/cpp/debugger/disassemblewidget.cpp
index 705185fd..dcb9ab6b 100644
--- a/languages/cpp/debugger/disassemblewidget.cpp
+++ b/languages/cpp/debugger/disassemblewidget.cpp
@@ -24,7 +24,7 @@
#include <tqdict.h>
#include <tqheader.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <stdlib.h>
diff --git a/languages/cpp/debugger/disassemblewidget.h b/languages/cpp/debugger/disassemblewidget.h
index 73e743f7..93d3f44d 100644
--- a/languages/cpp/debugger/disassemblewidget.h
+++ b/languages/cpp/debugger/disassemblewidget.h
@@ -18,7 +18,7 @@
#include "mi/gdbmi.h"
-#include <tqtextedit.h>
+#include <textedit.h>
/***************************************************************************/
/***************************************************************************/
diff --git a/languages/cpp/debugger/framestackwidget.cpp b/languages/cpp/debugger/framestackwidget.cpp
index 2b8ae5a6..d7f50778 100644
--- a/languages/cpp/debugger/framestackwidget.cpp
+++ b/languages/cpp/debugger/framestackwidget.cpp
@@ -111,7 +111,7 @@ void FramestackWidget::slotSelectionChanged(TQListViewItem *thisItem)
if (frame->threadNo() != -1)
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(frame->threadNo()).ascii()));
+ .arg(frame->threadNo()).ascii()));
viewedThread_ = findThread(frame->threadNo());
getBacktrace(frame->frameNo(), frame->frameNo() + frameChunk_);
@@ -208,7 +208,7 @@ void FramestackWidget::getBacktrace(int min_frame, int max_frame)
maxFrame_ = max_frame;
controller_->addCommand(
- new GDBCommand(TQString("-stack-info-depth %1").tqarg(max_frame+1),
+ new GDBCommand(TQString("-stack-info-depth %1").arg(max_frame+1),
this,
&FramestackWidget::handleStackDepth));
}
@@ -224,7 +224,7 @@ void FramestackWidget::handleStackDepth(const GDBMI::ResultRecord& r)
//add the following command to the front, so noone switches threads in between
controller_->addCommandToFront(
new GDBCommand(TQString("-stack-list-frames %1 %2")
- .tqarg(minFrame_).tqarg(maxFrame_),
+ .arg(minFrame_).arg(maxFrame_),
this, &FramestackWidget::parseGDBBacktraceList));
}
@@ -236,7 +236,7 @@ void FramestackWidget::getBacktraceForThread(int threadNo)
// Switch to the target thread.
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(threadNo).ascii()));
+ .arg(threadNo).ascii()));
viewedThread_ = findThread(threadNo);
}
@@ -248,7 +248,7 @@ void FramestackWidget::getBacktraceForThread(int threadNo)
// Switch back to the original thread.
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(currentThread).ascii()));
+ .arg(currentThread).ascii()));
}
}
@@ -274,13 +274,13 @@ void FramestackWidget::handleThreadList(const GDBMI::ResultRecord& r)
TQString id = ids.results[i]->value->literal();
controller_->addCommand(
- new GDBCommand(TQString("-thread-select %1").tqarg(id).ascii(),
+ new GDBCommand(TQString("-thread-select %1").arg(id).ascii(),
this, &FramestackWidget::handleThread));
}
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(controller_->currentThread()).ascii()));
+ .arg(controller_->currentThread()).ascii()));
}
// Get backtrace for the current thread. We need to do this
@@ -558,7 +558,7 @@ ThreadStackItem::ThreadStackItem(FramestackWidget *parent, unsigned threadNo)
: TQListViewItem(parent),
threadNo_(threadNo)
{
- setText(0, i18n("Thread %1").tqarg(threadNo_));
+ setText(0, i18n("Thread %1").arg(threadNo_));
setExpandable(true);
}
diff --git a/languages/cpp/debugger/gdbbreakpointwidget.cpp b/languages/cpp/debugger/gdbbreakpointwidget.cpp
index 8626a3e1..146ed57b 100644
--- a/languages/cpp/debugger/gdbbreakpointwidget.cpp
+++ b/languages/cpp/debugger/gdbbreakpointwidget.cpp
@@ -37,7 +37,7 @@
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqvbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
#include <tqcheckbox.h>
@@ -56,7 +56,7 @@ enum Column {
Control = 0,
Enable = 1,
Type = 2,
- tqStatus = 3,
+ Status = 3,
Location = 4,
Condition = 5,
IgnoreCount = 6,
@@ -161,7 +161,7 @@ void BreakpointTableRow::setRow()
TQString status=m_breakpoint->statusDisplay(m_activeFlag);
- table()->setText(row(), tqStatus, status);
+ table()->setText(row(), Status, status);
table()->setText(row(), Condition, m_breakpoint->conditional());
table()->setText(row(), IgnoreCount, TQString::number(m_breakpoint->ignoreCount() ));
table()->setText(row(), Hits, TQString::number(m_breakpoint->hits() ));
@@ -183,7 +183,7 @@ void BreakpointTableRow::setRow()
table()->setText(row(), Type, displayType);
table()->adjustColumn(Type);
- table()->adjustColumn(tqStatus);
+ table()->adjustColumn(Status);
table()->adjustColumn(Location);
table()->adjustColumn(Hits);
table()->adjustColumn(IgnoreCount);
@@ -208,7 +208,7 @@ controller_(controller)
m_table->hideColumn(Control);
m_table->setColumnReadOnly(Type, true);
- m_table->setColumnReadOnly(tqStatus, true);
+ m_table->setColumnReadOnly(Status, true);
m_table->setColumnReadOnly(Hits, true);
m_table->setColumnWidth( Enable, 20);
@@ -216,7 +216,7 @@ controller_(controller)
header->setLabel( Enable, "" );
header->setLabel( Type, i18n("Type") );
- header->setLabel( tqStatus, i18n("Status") );
+ header->setLabel( Status, i18n("Status") );
header->setLabel( Location, i18n("Location") );
header->setLabel( Condition, i18n("Condition") );
header->setLabel( IgnoreCount, i18n("Ignore Count") );
@@ -377,10 +377,10 @@ void GDBBreakpointWidget::slotWatchpointHit(int id,
"Address: 0x%2<br>"
"Old value: %3<br>"
"New value: %4")
- .tqarg(b->varName())
- .tqarg(b->address(), 0, 16)
- .tqarg(oldValue)
- .tqarg(newValue));
+ .arg(b->varName())
+ .arg(b->address(), 0, 16)
+ .arg(oldValue)
+ .arg(newValue));
}
/***************************************************************************/
@@ -1213,7 +1213,7 @@ TQWidget* ComplexEditCell::createEditor() const
{
TQHBox* box = new TQHBox( table()->viewport() );
box->setPaletteBackgroundColor(
- table()->tqpalette().active().highlight());
+ table()->palette().active().highlight());
label_ = new TQLabel(text(), box, "label");
label_->setBackgroundMode(TQt::PaletteHighlight);
@@ -1225,16 +1225,16 @@ TQWidget* ComplexEditCell::createEditor() const
TQPalette p = label_->palette();
p.setColor(TQPalette::Active, TQColorGroup::Foreground,
- table()->tqpalette().active().highlightedText());
+ table()->palette().active().highlightedText());
p.setColor(TQPalette::Inactive, TQColorGroup::Foreground,
- table()->tqpalette().active().highlightedText());
+ table()->palette().active().highlightedText());
label_->setPalette(p);
TQPushButton* b = new TQPushButton("...", box);
// This is exactly what is done in TQDesigner source in the
// similar context. Haven't had any success making the good look
- // with tqlayout, I suppose that tqsizeHint for button is always larger
+ // with layout, I suppose that sizeHint for button is always larger
// than 20.
b->setFixedWidth( 20 );
diff --git a/languages/cpp/debugger/gdbcommand.cpp b/languages/cpp/debugger/gdbcommand.cpp
index c6c4bbc3..b5412dc0 100644
--- a/languages/cpp/debugger/gdbcommand.cpp
+++ b/languages/cpp/debugger/gdbcommand.cpp
@@ -105,7 +105,7 @@ ModifyBreakpointCommand::cmdToSend()
if (bp_->dbgId() > 0)
{
TQString s(initialString());
- s = s.tqarg(bp_->dbgId()) + "\n";
+ s = s.arg(bp_->dbgId()) + "\n";
return s.local8Bit();
}
else
diff --git a/languages/cpp/debugger/gdbcontroller.cpp b/languages/cpp/debugger/gdbcontroller.cpp
index ab7ffe69..b0c3171e 100644
--- a/languages/cpp/debugger/gdbcontroller.cpp
+++ b/languages/cpp/debugger/gdbcontroller.cpp
@@ -294,7 +294,7 @@ void GDBController::queueCmd(GDBCommand *cmd, enum queue_where queue_where)
KMessageBox::information(
0,
i18n("<b>Gdb command sent when debugger is not running</b><br>"
- "The command was:<br> %1").tqarg(cmd->initialString()),
+ "The command was:<br> %1").arg(cmd->initialString()),
i18n("Internal error"), "gdb_error");
return;
}
@@ -320,7 +320,7 @@ void GDBController::queueCmd(GDBCommand *cmd, enum queue_where queue_where)
<< (stateReloadInProgress_ ? " (state reloading)\n" : "\n");
setStateOn(s_dbgBusy);
- emit dbgtqStatus("", state_);
+ emit dbgStatus("", state_);
raiseEvent(debugger_busy);
executeCmd();
@@ -409,7 +409,7 @@ void GDBController::executeCmd()
else
emit gdbInternalCommandStdout( prettyCmd.latin1() );
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
}
// **************************************************************************
@@ -500,7 +500,7 @@ void GDBController::actOnProgramPauseMI(const GDBMI::ResultRecord& r)
if (reason == "exited-signalled")
{
programNoApp(i18n("Exited on signal %1")
- .tqarg(r["signal-name"].literal()), false);
+ .arg(r["signal-name"].literal()), false);
// FIXME: figure out why this variable is needed.
programHasExited_ = true;
state_reload_needed = false;
@@ -540,7 +540,7 @@ void GDBController::actOnProgramPauseMI(const GDBMI::ResultRecord& r)
// or whatever).
setStateOff(s_explicitBreakInto);
- emit dbgtqStatus("Application interrupted", state_);
+ emit dbgStatus("Application interrupted", state_);
// Will show the source line in the code
// handling non-special stop kinds, below.
}
@@ -554,7 +554,7 @@ void GDBController::actOnProgramPauseMI(const GDBMI::ResultRecord& r)
// that'll end the program.
KMessageBox::information(0,
i18n("Program received signal %1 (%2)")
- .tqarg(name).tqarg(user_name),
+ .arg(name).arg(user_name),
i18n("Received signal"));
}
}
@@ -592,7 +592,7 @@ void GDBController::reloadProgramState()
maybeAnnounceWatchpointHit();
}
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
// We're always at frame zero when the program stops
// and we must reset the active flag
@@ -648,7 +648,7 @@ void GDBController::programNoApp(const TQString &msg, bool msgBox)
if (msgBox)
KMessageBox::information(0, i18n("gdb message:\n")+msg,"Warning", "gdb_error");
- emit dbgtqStatus (msg, state_);
+ emit dbgStatus (msg, state_);
/* Also show message in gdb window, so that users who
prefer to look at gdb window know what's up. */
emit gdbUserCommandStdout(msg.ascii());
@@ -716,9 +716,9 @@ void GDBController::handleMiFileListExecSourceFile(const GDBMI::ResultRecord& r)
"Command was: %1\n"
"Response is: %2\n"
"Invalid response kind: \"%3\"")
- .tqarg(currentCmd_->rawDbgCommand())
- .tqarg(buf)
- .tqarg(r.reason),
+ .arg(currentCmd_->rawDbgCommand())
+ .arg(buf)
+ .arg(r.reason),
i18n("Invalid gdb reply"), "gdb_error");
#endif
}
@@ -755,7 +755,7 @@ void GDBController::maybeAnnounceWatchpointHit()
}
else if (last_stop_reason == "read-watchpoint-trigger")
{
- emit dbgtqStatus ("Read watchpoint triggered", state_);
+ emit dbgStatus ("Read watchpoint triggered", state_);
}
}
}
@@ -846,14 +846,14 @@ bool GDBController::start(const TQString& shell, const DomUtil::PairList& run_en
i18n("<b>Could not start debugger.</b>"
"<p>Could not run '%1'. "
"Make sure that the path name is specified correctly."
- ).tqarg(dbgProcess_->args()[0].data()),
+ ).arg(dbgProcess_->args()[0].data()),
i18n("Could not start debugger"), "gdb_error");
return false;
}
setStateOff(s_dbgNotStarted);
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
saw_gdb_prompt_ = false;
@@ -1043,7 +1043,7 @@ void GDBController::slotStopDebugger()
gdbOutput_ = "";
setState(s_dbgNotStarted | s_appNotStarted);
- emit dbgtqStatus (i18n("Debugger stopped"), state_);
+ emit dbgStatus (i18n("Debugger stopped"), state_);
raiseEvent(debugger_exited);
}
@@ -1159,7 +1159,7 @@ void GDBController::slotRun()
" %1\n"
"<br>does not exist. Check that you have specified "
"the right application in the debugger configuration."
- ).tqarg(app.fileName()),
+ ).arg(app.fileName()),
i18n("Application does not exist"));
// FIXME: after this, KDevelop will still show that debugger
@@ -1176,7 +1176,7 @@ void GDBController::slotRun()
"<p>The application does not have the executable bit set. "
"Try rebuilding the project, or change permissions "
"manually."
- ).tqarg(app.fileName()),
+ ).arg(app.fileName()),
i18n("Could not run application"));
slotStopDebugger();
}
@@ -1324,11 +1324,11 @@ void GDBController::selectFrame(int frameNo, int threadNo)
{
if (viewedThread_ != threadNo)
queueCmd(new GDBCommand(
- TQString("-thread-select %1").tqarg(threadNo).ascii()));
+ TQString("-thread-select %1").arg(threadNo).ascii()));
}
queueCmd(new GDBCommand(
- TQString("-stack-select-frame %1").tqarg(frameNo).ascii()));
+ TQString("-stack-select-frame %1").arg(frameNo).ascii()));
// Will emit the 'thread_or_frame_changed' event.
queueCmd(new GDBCommand("-stack-info-frame",
@@ -1352,7 +1352,7 @@ void GDBController::defaultErrorHandler(const GDBMI::ResultRecord& result)
if (msg.contains("No such process"))
{
setState(s_appNotStarted|s_programExited);
- emit dbgtqStatus (i18n("Process exited"), state_);
+ emit dbgStatus (i18n("Process exited"), state_);
raiseEvent(program_exited);
return;
}
@@ -1590,7 +1590,7 @@ void GDBController::slotDbgStdout(KProcess *, char *buf, int buflen)
"<p>The debugger component encountered an internal error while "
"processing a reply from gdb. Please submit a bug report."),
i18n("The exception is: %1\n"
- "The MI response is: %2").tqarg(e.what()).tqarg(reply.data()),
+ "The MI response is: %2").arg(e.what()).arg(reply.data()),
i18n("Internal debugger error"));
destroyCurrentCommand();
@@ -1629,7 +1629,7 @@ void GDBController::commandDone()
{
kdDebug(9012) << "No more commands\n";
setStateOff(s_dbgBusy);
- emit dbgtqStatus("", state_);
+ emit dbgStatus("", state_);
raiseEvent(debugger_ready);
}
}
@@ -1688,7 +1688,7 @@ void GDBController::raiseEvent(event_t e)
void GDBController::slotDbgStderr(KProcess *proc, char *buf, int buflen)
{
// At the moment, just drop a message out and redirect
- kdDebug(9012) << "STDERR: " << TQString::tqfromLatin1(buf, buflen+1) << endl;
+ kdDebug(9012) << "STDERR: " << TQString::fromLatin1(buf, buflen+1) << endl;
slotDbgStdout(proc, buf, buflen);
}
@@ -1722,7 +1722,7 @@ void GDBController::slotDbgProcessExited(KProcess* process)
destroyCmds();
setState(s_dbgNotStarted|s_appNotStarted|s_programExited);
- emit dbgtqStatus (i18n("Process exited"), state_);
+ emit dbgStatus (i18n("Process exited"), state_);
emit gdbUserCommandStdout("(gdb) Process exited\n");
}
@@ -1743,14 +1743,14 @@ void GDBController::slotUserGDBCmd(const TQString& cmd)
// raiseEvent(program_state_changed);
}
-void GDBController::explainDebuggertqStatus()
+void GDBController::explainDebuggerStatus()
{
TQString information("%1 commands in queue\n"
"%2 commands being processed by gdb\n"
"Debugger state: %3\n");
information =
- information.tqarg(cmdList_.count()).tqarg(currentCmd_ ? 1 : 0)
- .tqarg(state_);
+ information.arg(cmdList_.count()).arg(currentCmd_ ? 1 : 0)
+ .arg(state_);
if (currentCmd_)
{
@@ -1758,8 +1758,8 @@ void GDBController::explainDebuggertqStatus()
"Current command text: '%2'\n"
"Current command origianl text: '%3'\n");
- extra = extra.tqarg(
- typeid(*currentCmd_).name()).tqarg(currentCmd_->cmdToSend()).
+ extra = extra.arg(
+ typeid(*currentCmd_).name()).arg(currentCmd_->cmdToSend()).
arg(currentCmd_->initialString());
information += extra;
}
diff --git a/languages/cpp/debugger/gdbcontroller.h b/languages/cpp/debugger/gdbcontroller.h
index 6ea27f41..3bc0020d 100644
--- a/languages/cpp/debugger/gdbcontroller.h
+++ b/languages/cpp/debugger/gdbcontroller.h
@@ -250,7 +250,7 @@ public slots:
// Pops up a dialog box with some hopefully
// detailed information about which state debugger
// is in, which commands were sent and so on.
- void explainDebuggertqStatus();
+ void explainDebuggerStatus();
protected slots:
diff --git a/languages/cpp/debugger/gdboutputwidget.cpp b/languages/cpp/debugger/gdboutputwidget.cpp
index c0157463..82385c72 100644
--- a/languages/cpp/debugger/gdboutputwidget.cpp
+++ b/languages/cpp/debugger/gdboutputwidget.cpp
@@ -25,12 +25,12 @@
#include <kpopupmenu.h>
#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqtextedit.h>
+#include <layout.h>
+#include <textedit.h>
#include <tqtoolbutton.h>
#include <tqtooltip.h>
#include <tqapplication.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <tqdom.h>
@@ -62,7 +62,7 @@ GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
userGDBCmdEntry->setStretchFactor(m_userGDBCmdEditor, 1);
m_Interrupt = new TQToolButton( this, "add breakpoint" );
- m_Interrupt->tqsetSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
+ m_Interrupt->setSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
( TQSizePolicy::SizeType)0,
0,
0,
@@ -76,7 +76,7 @@ GDBOutputWidget::GDBOutputWidget( TQWidget *parent, const char *name) :
topLayout->addWidget(m_gdbView, 10);
topLayout->addLayout(userGDBCmdEntry);
- slotDbgtqStatus( "", s_dbgNotStarted);
+ slotDbgStatus( "", s_dbgNotStarted);
connect( m_userGDBCmdEditor, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotGDBCmd()) );
connect( m_Interrupt, TQT_SIGNAL(clicked()), TQT_SIGNAL(breakInto()));
@@ -257,7 +257,7 @@ void GDBOutputWidget::flushPending()
/***************************************************************************/
-void GDBOutputWidget::slotDbgtqStatus(const TQString &, int statusFlag)
+void GDBOutputWidget::slotDbgStatus(const TQString &, int statusFlag)
{
if (statusFlag & s_dbgNotStarted)
{
@@ -328,7 +328,7 @@ TQPopupMenu* OutputText::createPopupMenu(const TQPoint&)
TQT_SLOT(toggleShowInternalCommands()));
popup->setItemChecked(id, parent_->showInternalCommands_);
- popup->tqsetWhatsThis(
+ popup->setWhatsThis(
id,
i18n(
"Controls if commands issued internally by KDevelop "
@@ -356,8 +356,8 @@ void OutputText::copyAll()
// Make sure the text is pastable both with Ctrl-C and with
// middle click.
- TQApplication::tqclipboard()->setText(text, TQClipboard::Clipboard);
- TQApplication::tqclipboard()->setText(text, TQClipboard::Selection);
+ TQApplication::clipboard()->setText(text, TQClipboard::Clipboard);
+ TQApplication::clipboard()->setText(text, TQClipboard::Selection);
}
void OutputText::toggleShowInternalCommands()
diff --git a/languages/cpp/debugger/gdboutputwidget.h b/languages/cpp/debugger/gdboutputwidget.h
index 28ffb8bc..de7704f1 100644
--- a/languages/cpp/debugger/gdboutputwidget.h
+++ b/languages/cpp/debugger/gdboutputwidget.h
@@ -19,7 +19,7 @@
#define _GDBOUTPUTWIDGET_H_
#include <tqwidget.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqtimer.h>
#include <tqstringlist.h>
@@ -50,7 +50,7 @@ public slots:
void slotInternalCommandStdout(const char* line);
void slotUserCommandStdout(const char* line);
void slotReceivedStderr(const char* line);
- void slotDbgtqStatus (const TQString &status, int statusFlag);
+ void slotDbgStatus (const TQString &status, int statusFlag);
void slotGDBCmd();
diff --git a/languages/cpp/debugger/memviewdlg.cpp b/languages/cpp/debugger/memviewdlg.cpp
index 3b69c206..217f09fe 100644
--- a/languages/cpp/debugger/memviewdlg.cpp
+++ b/languages/cpp/debugger/memviewdlg.cpp
@@ -27,14 +27,14 @@
#include <kiconloader.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmultilineedit.h>
#include <tqpushbutton.h>
#include <tqvariant.h>
#include <tqpopupmenu.h>
#include <tqhbox.h>
#include <tqtoolbox.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <kmessagebox.h>
@@ -84,7 +84,7 @@ namespace GDBDebugger
{
TQVBoxLayout* l = new TQVBoxLayout(this);
- // Grid tqlayout: labels + address field
+ // Grid layout: labels + address field
TQGridLayout* gl = new TQGridLayout(l);
gl->setColSpacing(0, 2);
@@ -263,8 +263,8 @@ namespace GDBDebugger
new
GDBCommand(
TQString("-data-read-memory %1 x 1 1 %2")
- .tqarg(rangeSelector_->startAddressLineEdit->text())
- .tqarg(size).ascii(),
+ .arg(rangeSelector_->startAddressLineEdit->text())
+ .arg(size).ascii(),
this,
&MemoryView::memoryRead));
}
@@ -280,7 +280,7 @@ namespace GDBDebugger
start_ = startAsString_.toUInt(0, 0);
setCaption(TQString("%1 (%2 bytes)")
- .tqarg(startAsString_).tqarg(amount_));
+ .arg(startAsString_).arg(amount_));
emit captionChanged(caption());
KHE::BytesEditInterface* bytesEditor
@@ -328,9 +328,9 @@ namespace GDBDebugger
controller_->addCommand(
new GDBCommand(
TQString("set *(char*)(%1 + %2) = %3")
- .tqarg(start_)
- .tqarg(i)
- .tqarg(TQString::number(data_[i]))));
+ .arg(start_)
+ .arg(i)
+ .arg(TQString::number(data_[i]))));
}
}
@@ -374,7 +374,7 @@ namespace GDBDebugger
new
GDBCommand(
TQString("-data-read-memory %1 x 1 1 %2")
- .tqarg(start_).tqarg(amount_).ascii(),
+ .arg(start_).arg(amount_).ascii(),
this,
&MemoryView::memoryRead));
}
diff --git a/languages/cpp/debugger/variablewidget.cpp b/languages/cpp/debugger/variablewidget.cpp
index a8c9f594..4adf33c2 100644
--- a/languages/cpp/debugger/variablewidget.cpp
+++ b/languages/cpp/debugger/variablewidget.cpp
@@ -26,7 +26,7 @@
#include <tqheader.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqhbox.h>
#include <tqpainter.h>
#include <tqpushbutton.h>
@@ -36,7 +36,7 @@
#include <klocale.h>
#include <tqpoint.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <kapplication.h>
#include <kmessagebox.h>
@@ -47,14 +47,14 @@
/** The variables widget is passive, and is invoked by the rest of the
code via two main slots:
- - slotDbgtqStatus
+ - slotDbgStatus
- slotCurrentFrame
The first is received the program status changes and the second is
recieved after current frame in the debugger can possibly changes.
The widget has a list item for each frame/thread combination, with
- variables as tqchildren. However, at each moment only one item is shown.
+ variables as children. However, at each moment only one item is shown.
When handling the slotCurrentFrame, we check if variables for the
current frame are available. If yes, we simply show the corresponding item.
Otherwise, we fetch the new data from debugger.
@@ -338,7 +338,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item)
controller_->addCommand(
new GDBCommand(
TQString("-data-evaluate-expression &%1")
- .tqarg(var->gdbExpression()),
+ .arg(var->gdbExpression()),
this,
&VariableTree::handleAddressComputed,
true /*handles error*/));
@@ -505,8 +505,8 @@ void VariableTree::updateCurrentFrame()
controller_->addCommand(
new GDBCommand(TQString("-stack-list-arguments 0 %1 %2")
- .tqarg(controller_->currentFrame())
- .tqarg(controller_->currentFrame())
+ .arg(controller_->currentFrame())
+ .arg(controller_->currentFrame())
.ascii(),
this,
&VariableTree::argumentsReady));
@@ -607,7 +607,7 @@ void VariableTree::maybeTip(const TQPoint &p)
VarItem * item = dynamic_cast<VarItem*>( itemAt( p ) );
if ( item )
{
- TQRect r = tqitemRect( item );
+ TQRect r = itemRect( item );
if ( r.isValid() )
tip( r, item->tipText() );
}
@@ -882,8 +882,8 @@ void VarItem::handleCliPrint(const TQValueVector<TQString>& lines)
{
controller_->addCommand(
new GDBCommand(TQString("-var-create %1 * \"%2\"")
- .tqarg(varobjName_)
- .tqarg(r.cap(1)),
+ .arg(varobjName_)
+ .arg(r.cap(1)),
this,
&VarItem::varobjCreated,
// On initial create, errors get reported
@@ -988,7 +988,7 @@ void VariableTree::keyPressEvent(TQKeyEvent* e)
void VariableTree::copyToClipboard(TQListViewItem* item)
{
- TQClipboard *qb = KApplication::tqclipboard();
+ TQClipboard *qb = KApplication::clipboard();
TQString text = item->text( 1 );
qb->setText( text, TQClipboard::Clipboard );
@@ -1078,7 +1078,7 @@ VarItem::VarItem(TrimmableItem *parent,
oldSpecialRepresentationSet_(false),
format_(natural),
numChildren_(0),
- tqchildrenFetched_(false),
+ childrenFetched_(false),
updateUnconditionally_(false),
frozen_(frozen),
initialCreation_(true),
@@ -1123,7 +1123,7 @@ VarItem::VarItem(TrimmableItem *parent, const GDBMI::Value& varobj,
oldSpecialRepresentationSet_(false),
format_(format),
numChildren_(0),
- tqchildrenFetched_(false),
+ childrenFetched_(false),
updateUnconditionally_(false),
frozen_(false),
initialCreation_(false),
@@ -1146,7 +1146,7 @@ VarItem::VarItem(TrimmableItem *parent, const GDBMI::Value& varobj,
controller_ = varTree()->controller();
- // Set type and tqchildren.
+ // Set type and children.
originalValueType_ = varobj["type"].literal();
numChildren_ = varobj["numchild"].literal().toInt();
setExpandable(numChildren_ != 0);
@@ -1159,7 +1159,7 @@ VarItem::VarItem(TrimmableItem *parent, const GDBMI::Value& varobj,
void VarItem::createVarobj()
{
TQString old = varobjName_;
- varobjName_ = TQString("KDEV%1").tqarg(varobjIndex++);
+ varobjName_ = TQString("KDEV%1").arg(varobjIndex++);
emit varobjNameChange(old, varobjName_);
if (frozen_)
@@ -1169,7 +1169,7 @@ void VarItem::createVarobj()
// variable and we create variable object from that.
controller_->addCommand(
new CliCommand(
- TQString("print %1").tqarg(expression_),
+ TQString("print %1").arg(expression_),
this,
&VarItem::handleCliPrint));
}
@@ -1177,7 +1177,7 @@ void VarItem::createVarobj()
{
controller_->addCommand(
new CliCommand(
- TQString("print /x &%1").tqarg(expression_),
+ TQString("print /x &%1").arg(expression_),
this,
&VarItem::handleCurrentAddress,
true));
@@ -1186,8 +1186,8 @@ void VarItem::createVarobj()
// Need to quote expression, otherwise gdb won't like
// spaces inside it.
new GDBCommand(TQString("-var-create %1 * \"%2\"")
- .tqarg(varobjName_)
- .tqarg(expression_),
+ .arg(varobjName_)
+ .arg(expression_),
this,
&VarItem::varobjCreated,
initialCreation_ ? false : true));
@@ -1209,7 +1209,7 @@ void VarItem::varobjCreated(const GDBMI::ResultRecord& r)
originalValueType_ = r["type"].literal();
if (!oldType.isEmpty() && oldType != originalValueType_)
{
- // Type changed, the tqchildren might be no longer valid,
+ // Type changed, the children might be no longer valid,
// so delete them.
for(TQListViewItem* child = firstChild(); child; )
{
@@ -1239,7 +1239,7 @@ void VarItem::setVarobjName(const TQString& name)
{
controller_->addCommand(
new GDBCommand(TQString("-var-set-format \"%1\" %2")
- .tqarg(varobjName_).tqarg(varobjFormatName())));
+ .arg(varobjName_).arg(varobjFormatName())));
}
// Get the initial value.
@@ -1247,7 +1247,7 @@ void VarItem::setVarobjName(const TQString& name)
if (isOpen())
{
- // This regets tqchildren list.
+ // This regets children list.
setOpen(true);
}
}
@@ -1333,18 +1333,18 @@ void VarItem::valueDone(const GDBMI::ResultRecord& r)
}
void VarItem::createChildren(const GDBMI::ResultRecord& r,
- bool tqchildren_of_fake)
+ bool children_of_fake)
{
- const GDBMI::Value& tqchildren = r["tqchildren"];
+ const GDBMI::Value& children = r["children"];
/* In order to figure out which variable objects correspond
to base class subobject, we first must detect if *this
is a structure type. We use present of 'public'/'private'/'protected'
fake child as an indicator. */
bool structureType = false;
- if (!tqchildren_of_fake && tqchildren.size() > 0)
+ if (!children_of_fake && children.size() > 0)
{
- TQString exp = tqchildren[0]["exp"].literal();
+ TQString exp = children[0]["exp"].literal();
bool ok = false;
exp.toInt(&ok);
if (!ok || exp[0] != '*')
@@ -1353,23 +1353,23 @@ void VarItem::createChildren(const GDBMI::ResultRecord& r,
}
}
- for (unsigned i = 0; i < tqchildren.size(); ++i)
+ for (unsigned i = 0; i < children.size(); ++i)
{
- TQString exp = tqchildren[i]["exp"].literal();
+ TQString exp = children[i]["exp"].literal();
// For artificial accessibility nodes,
- // fetch their tqchildren.
+ // fetch their children.
if (exp == "public" || exp == "protected" || exp == "private")
{
- TQString name = tqchildren[i]["name"].literal();
+ TQString name = children[i]["name"].literal();
controller_->addCommand(new GDBCommand(
- "-var-list-tqchildren \"" +
+ "-var-list-children \"" +
name + "\"",
this,
- &VarItem::tqchildrenOfFakesDone));
+ &VarItem::childrenOfFakesDone));
}
else
{
- /* All tqchildren of structures that are not artifical
+ /* All children of structures that are not artifical
are base subobjects. */
bool baseObject = structureType;
@@ -1388,7 +1388,7 @@ void VarItem::createChildren(const GDBMI::ResultRecord& r,
}
if (existing)
{
- existing->setVarobjName(tqchildren[i]["name"].literal());
+ existing->setVarobjName(children[i]["name"].literal());
}
else
{
@@ -1396,20 +1396,20 @@ void VarItem::createChildren(const GDBMI::ResultRecord& r,
<< exp << " " << baseObject << "\n";
// Propagate format from parent.
VarItem* v = 0;
- v = new VarItem(this, tqchildren[i], format_, baseObject);
+ v = new VarItem(this, children[i], format_, baseObject);
}
}
}
}
-void VarItem::tqchildrenDone(const GDBMI::ResultRecord& r)
+void VarItem::childrenDone(const GDBMI::ResultRecord& r)
{
createChildren(r, false);
- tqchildrenFetched_ = true;
+ childrenFetched_ = true;
}
-void VarItem::tqchildrenOfFakesDone(const GDBMI::ResultRecord& r)
+void VarItem::childrenOfFakesDone(const GDBMI::ResultRecord& r)
{
createChildren(r, true);
}
@@ -1603,8 +1603,8 @@ void VarItem::updateValue()
void VarItem::setValue(const TQString& new_value)
{
controller_->addCommand(
- new GDBCommand(TQString("-var-assign \"%1\" %2").tqarg(varobjName_)
- .tqarg(new_value)));
+ new GDBCommand(TQString("-var-assign \"%1\" %2").arg(varobjName_)
+ .arg(new_value)));
// And immediately reload it from gdb,
// so that it's display format is the one gdb uses,
@@ -1624,7 +1624,7 @@ void VarItem::updateSpecialRepresentation(const TQString& xs)
s = s.mid(i+2);
}
- // A hack to nicely display TQStrings. The content of TQString is tqunicode
+ // A hack to nicely display TQStrings. The content of TQString is unicode
// for for ASCII only strings we get ascii character mixed with \000.
// Remove those \000 now.
@@ -1661,14 +1661,14 @@ void VarItem::recreateLocallyMaybe()
{
controller_->addCommand(
new CliCommand(
- TQString("print /x &%1").tqarg(expression_),
+ TQString("print /x &%1").arg(expression_),
this,
&VarItem::handleCurrentAddress,
true));
controller_->addCommand(
new CliCommand(
- TQString("whatis %1").tqarg(expression_),
+ TQString("whatis %1").arg(expression_),
this,
&VarItem::handleType));
}
@@ -1688,12 +1688,12 @@ void VarItem::setOpen(bool open)
{
TQListViewItem::setOpen(open);
- if (open && !tqchildrenFetched_)
+ if (open && !childrenFetched_)
{
controller_->addCommand(new GDBCommand(
- "-var-list-tqchildren \"" + varobjName_ + "\"",
+ "-var-list-children \"" + varobjName_ + "\"",
this,
- &VarItem::tqchildrenDone));
+ &VarItem::childrenDone));
}
}
@@ -1712,7 +1712,7 @@ bool VarItem::handleSpecialTypes()
return false;
varTree->controller()->addCommand(
new ResultlessCommand(TQString("print $kdev_d=%1.d")
- .tqarg(gdbExpression()),
+ .arg(gdbExpression()),
true /* ignore error */));
if (varTree->controller()->qtVersion() >= 4)
@@ -1736,7 +1736,7 @@ bool VarItem::handleSpecialTypes()
else
varTree->controller()->addCommand(
new ValueSpecialRepresentationCommand(
- this, "print ($kdev_s>0) ? (*((char*)&$kdev_d.tqunicode[0])@$kdev_s) : \"\""));
+ this, "print ($kdev_s>0) ? (*((char*)&$kdev_d.unicode[0])@$kdev_s) : \"\""));
return true;
}
@@ -1760,7 +1760,7 @@ void VarItem::setFormat(format_t f)
if (numChildren_)
{
- // If variable has tqchildren, change format for tqchildren.
+ // If variable has children, change format for children.
// - for structures, that's clearly right
// - for arrays, that's clearly right
// - for pointers, this can be confusing, but nobody ever wants to
@@ -1775,7 +1775,7 @@ void VarItem::setFormat(format_t f)
{
controller_->addCommand(
new GDBCommand(TQString("-var-set-format \"%1\" %2")
- .tqarg(varobjName_).tqarg(varobjFormatName())));
+ .arg(varobjName_).arg(varobjFormatName())));
updateValue();
}
@@ -1853,7 +1853,7 @@ void VarItem::paintCell(TQPainter *p, const TQColorGroup &cg,
if (!alive_)
{
/* Draw this as disabled. */
- TQListViewItem::paintCell(p, varTree()->TQWidget::tqpalette().disabled(),
+ TQListViewItem::paintCell(p, varTree()->TQWidget::palette().disabled(),
column, width, align);
}
else
@@ -1876,7 +1876,7 @@ VariableTree* VarItem::varTree() const
void VarItem::unhookFromGdb()
{
- // Unhook tqchildren first, so that child varitems are deleted
+ // Unhook children first, so that child varitems are deleted
// before parent. Strictly speaking, we can avoid calling
// -var-delete on child varitems, but that's a bit cheesy,
for(TQListViewItem* child = firstChild();
@@ -1886,7 +1886,7 @@ void VarItem::unhookFromGdb()
}
alive_ = false;
- tqchildrenFetched_ = false;
+ childrenFetched_ = false;
emit varobjNameChange(varobjName_, "");
@@ -1894,7 +1894,7 @@ void VarItem::unhookFromGdb()
{
controller_->addCommand(
new GDBCommand(
- TQString("-var-delete \"%1\"").tqarg(varobjName_)));
+ TQString("-var-delete \"%1\"").arg(varobjName_)));
}
varobjName_ = "";
diff --git a/languages/cpp/debugger/variablewidget.h b/languages/cpp/debugger/variablewidget.h
index cb8ffb0f..da885216 100644
--- a/languages/cpp/debugger/variablewidget.h
+++ b/languages/cpp/debugger/variablewidget.h
@@ -186,16 +186,16 @@ private:
/***************************************************************************/
/***************************************************************************/
-/** List view item that can 'trim' outdated tqchildren.
+/** List view item that can 'trim' outdated children.
- The instances of this class hold a number of tqchildren corresponding
+ The instances of this class hold a number of children corresponding
to variables. When program state changes, such as after a step in source,
some variable values can change, and some variables can go out of scope.
We need
- highlight modified variables
- remove gone variables
- We could just remove all tqchildren and repopulate the list from
+ We could just remove all children and repopulate the list from
the data from debugger, but then we'd loose information about previous
variable values.
@@ -286,7 +286,7 @@ public:
/** Recursively clears the varobjName_ field, making
*this completely disconnected from gdb.
- Automatically makes *this and tqchildren disables,
+ Automatically makes *this and children disables,
since there's no possible interaction with unhooked
object.
*/
@@ -300,7 +300,7 @@ public:
format_t formatFromGdbModifier(char c) const;
/** Clears highliting for this variable and
- all its tqchildren. */
+ all its children. */
void clearHighlight();
/** Sets new top-level textual value of this variable.
@@ -333,7 +333,7 @@ private:
- sets varobjName_ to 'name'
- sets format, if it's not default one
- gets initial value
- - if item is open, gets tqchildren.
+ - if item is open, gets children.
*/
void setVarobjName(const TQString& name);
@@ -348,12 +348,12 @@ private:
int column, int width, int align );
void varobjCreated(const GDBMI::ResultRecord& r);
void valueDone(const GDBMI::ResultRecord& r);
- void tqchildrenDone(const GDBMI::ResultRecord& r);
- void tqchildrenOfFakesDone(const GDBMI::ResultRecord& r);
+ void childrenDone(const GDBMI::ResultRecord& r);
+ void childrenOfFakesDone(const GDBMI::ResultRecord& r);
void handleCurrentAddress(const TQValueVector<TQString>& lines);
void handleType(const TQValueVector<TQString>& lines);
- void createChildren(const GDBMI::ResultRecord& r, bool tqchildren_of_fake);
+ void createChildren(const GDBMI::ResultRecord& r, bool children_of_fake);
/** Called to handle the output of the cli print command.
*/
@@ -391,7 +391,7 @@ private:
static int varobjIndex;
int numChildren_;
- bool tqchildrenFetched_;
+ bool childrenFetched_;
TQString currentAddress_;
TQString lastObtainedAddress_;
diff --git a/languages/cpp/declarationinfo.h b/languages/cpp/declarationinfo.h
index 413e8ded..1e31a01f 100644
--- a/languages/cpp/declarationinfo.h
+++ b/languages/cpp/declarationinfo.h
@@ -44,7 +44,7 @@ struct DeclarationInfo {
}
TQString locationToText() const {
- return TQString("line %1 col %2 - line %3 col %4\nfile: %5").tqarg(startLine).tqarg(startCol).tqarg(endLine).tqarg(endCol).tqarg(file);
+ return TQString("line %1 col %2 - line %3 col %4\nfile: %5").arg(startLine).arg(startCol).arg(endLine).arg(endCol).arg(file);
}
TQString toText() const {
diff --git a/languages/cpp/doc/cppannotations.toc b/languages/cpp/doc/cppannotations.toc
index 81f7f04d..e4d538c5 100644
--- a/languages/cpp/doc/cppannotations.toc
+++ b/languages/cpp/doc/cppannotations.toc
@@ -427,7 +427,7 @@
<tocsect3 name="19.7.1: The `Daemon' program" url="cplusplus19.html#l349"/>
<tocsect3 name="19.7.2: The `Pipe' class" url="cplusplus19.html#l350"/>
<tocsect3 name="19.7.3: The `ParentSlurp' class" url="cplusplus19.html#l351"/>
- <tocsect3 name="19.7.4: Communicating with multiple tqchildren" url="cplusplus19.html#l352">
+ <tocsect3 name="19.7.4: Communicating with multiple children" url="cplusplus19.html#l352">
<tocsect4 name="19.7.4.1: The `Select' class" url="cplusplus19.html#l353"/>
<tocsect4 name="19.7.4.2: The `Child' class" url="cplusplus19.html#l354"/>
<tocsect4 name="19.7.4.3: The `Monitor' class" url="cplusplus19.html#l355"/>
diff --git a/languages/cpp/doc/gnome1.toc b/languages/cpp/doc/gnome1.toc
index bbab9265..577d61af 100644
--- a/languages/cpp/doc/gnome1.toc
+++ b/languages/cpp/doc/gnome1.toc
@@ -135,7 +135,7 @@
<tocsect2 name="GTK+ Widgets and Objects" url="gtk/gtkobjects.html">
<tocsect3 name="GtkAccelLabel" url="gtk/gtkaccellabel.html"/>
<tocsect3 name="GtkAdjustment" url="gtk/gtkadjustment.html"/>
- <tocsect3 name="GtkAlignment" url="gtk/gtktqalignment.html"/>
+ <tocsect3 name="GtkAlignment" url="gtk/gtkalignment.html"/>
<tocsect3 name="GtkArrow" url="gtk/gtkarrow.html"/>
<tocsect3 name="GtkAspectFrame" url="gtk/gtkaspectframe.html"/>
<tocsect3 name="GtkButtonBox" url="gtk/gtkbuttonbox.html"/>
@@ -261,7 +261,7 @@
<tocsect3 name="gnome-canvas-util" url="gnomeui/gnomeui-gnome-canvas-util.html"/>
<tocsect3 name="gnome-dialog-util" url="gnomeui/gnomeui-gnome-dialog-util.html"/>
<tocsect3 name="gnome-dns" url="gnomeui/gnomeui-gnome-dns.html"/>
- <tocsect3 name="gnome-tqgeometry" url="gnomeui/gnomeui-gnome-tqgeometry.html"/>
+ <tocsect3 name="gnome-geometry" url="gnomeui/gnomeui-gnome-geometry.html"/>
<tocsect3 name="gnome-ice" url="gnomeui/gnomeui-gnome-ice.html"/>
<tocsect3 name="gnome-icon-text" url="gnomeui/gnomeui-gnome-icon-text.html"/>
<tocsect3 name="gnome-init" url="gnomeui/gnomeui-gnome-init.html"/>
diff --git a/languages/cpp/doc/kde2book.toc b/languages/cpp/doc/kde2book.toc
index 2f7dd1f4..e10972d4 100644
--- a/languages/cpp/doc/kde2book.toc
+++ b/languages/cpp/doc/kde2book.toc
@@ -405,7 +405,7 @@
<entry name="CDE (Common Desktop Environment)" url="ch01.html"/>
<entry name="cgi resource type" url="ch07lev1sec4.html"/>
<entry name="CGotoDialog class, modeless dialog box" url="ch08lev1sec3.html"/>
-<entry name="CGotoDialog example, tqlayout" url="ch08lev1sec2.html"/>
+<entry name="CGotoDialog example, layout" url="ch08lev1sec2.html"/>
<entry name="Chapter tag (DocBook)" url="ch15lev1sec2.html"/>
<entry name="checking out, applications (CVS)" url="ch17lev1sec5.html"/>
<entry name="checking spelling" url="ch10lev1sec3.html"/>
@@ -413,11 +413,11 @@
<entry name="check() method" url="ch10lev1sec3.html"/>
<entry name="checkWord() method" url="ch10lev1sec3.html"/>
<entry name="Child Classes command (Classbrowser pop-up menu)" url="ch18lev1sec4.html"/>
-<entry name="child widgets, tqgeometry management, QBoxLayout manager" url="ch04lev1sec3.html"/>
-<entry name="child widgets, tqgeometry management, QGridLayout manager" url="ch04lev1sec3.html"/>
-<entry name="child widgets, tqgeometry management" url="ch04lev1sec3.html"/>
-<entry name="child widgets, KChildren example, ktqchildren.cpp class definition" url="ch04lev1sec3.html"/>
-<entry name="child widgets, KChildren example, ktqchildren.h class declaration" url="ch04lev1sec3.html"/>
+<entry name="child widgets, geometry management, QBoxLayout manager" url="ch04lev1sec3.html"/>
+<entry name="child widgets, geometry management, QGridLayout manager" url="ch04lev1sec3.html"/>
+<entry name="child widgets, geometry management" url="ch04lev1sec3.html"/>
+<entry name="child widgets, KChildren example, kchildren.cpp class definition" url="ch04lev1sec3.html"/>
+<entry name="child widgets, KChildren example, kchildren.h class declaration" url="ch04lev1sec3.html"/>
<entry name="child widgets, KChildren example, main() method" url="ch04lev1sec3.html"/>
<entry name="child widgets, KChildren example" url="ch04lev1sec3.html"/>
<entry name="child widgets" url="ch04lev1sec3.html"/>
@@ -729,7 +729,7 @@
<entry name="deleting, CVS (Concurrent Version System) directories" url="ch17lev1sec5.html"/>
<entry name="deleting, CVS (Concurrent Version System) files" url="ch17lev1sec5.html"/>
<entry name="deprecated (" url="ch15.html"/>
-<entry name="design guidelines, dialog boxes, tqlayout issues" url="ch08lev1sec2.html"/>
+<entry name="design guidelines, dialog boxes, layout issues" url="ch08lev1sec2.html"/>
<entry name="design guidelines, dialog boxes" url="ch08lev1sec7.html"/>
<entry name="designing, icons" url="ch06lev1sec3.html"/>
<entry name="Desktop Communication Protocol. See DCOP" url="ch13.html"/>
@@ -760,13 +760,13 @@
<entry name="dialog boxes, KDialogBase class" url="ch08lev1sec5.html"/>
<entry name="dialog boxes, KEdit Option dialog example" url="ch08lev1sec6.html"/>
<entry name="dialog boxes, KSpellConfig configuration dialog" url="ch10lev1sec3.html"/>
-<entry name="dialog boxes, tqlayout, CGotoDialog example" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, design issues" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, hierarchies of layouts" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, manual placement" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, nested layouts" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, QLayout classes" url="ch08lev1sec2.html"/>
-<entry name="dialog boxes, tqlayout, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, CGotoDialog example" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, design issues" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, hierarchies of layouts" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, manual placement" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, nested layouts" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, QLayout classes" url="ch08lev1sec2.html"/>
+<entry name="dialog boxes, layout, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
<entry name="dialog boxes, modal, advantages/disadvantages" url="ch08lev1sec3.html"/>
<entry name="dialog boxes, modal, modal dialog allocated from the heap" url="ch08lev1sec3.html"/>
<entry name="dialog boxes, modal, modal dialog located on the stack" url="ch08lev1sec3.html"/>
@@ -1080,16 +1080,16 @@
<entry name="gdb debugger, running" url="ch18lev1sec6.html"/>
<entry name="gdb debugger" url="ch18lev1sec6.html"/>
<entry name="gdb (GNU debugger)" url="ch02.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, CGotoDialog example" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, design issues" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, hierarchies of layouts" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, manual placement" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, nested layouts" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, QLayout classes" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), dialog boxes, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
-<entry name="tqgeometry management (widgets), QBoxLayout manager" url="ch04lev1sec3.html"/>
-<entry name="tqgeometry management (widgets), QGridLayout manager" url="ch04lev1sec3.html"/>
-<entry name="tqgeometry management (widgets)" url="ch04lev1sec3.html"/>
+<entry name="geometry management (widgets), dialog boxes, CGotoDialog example" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, design issues" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, hierarchies of layouts" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, manual placement" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, nested layouts" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, QLayout classes" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), dialog boxes, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
+<entry name="geometry management (widgets), QBoxLayout manager" url="ch04lev1sec3.html"/>
+<entry name="geometry management (widgets), QGridLayout manager" url="ch04lev1sec3.html"/>
+<entry name="geometry management (widgets)" url="ch04lev1sec3.html"/>
<entry name="getColor() function" url="ch05lev1sec3.html"/>
<entry name="getExistingDirectory() function" url="ch05lev1sec3.html"/>
<entry name="getFont() function" url="ch05lev1sec3.html"/>
@@ -1130,7 +1130,7 @@
<entry name="GUIs, dialog boxes, tdeui (KDE user-interface library)" url="ch08lev1sec4.html"/>
<entry name="GUIs, dialog boxes, KDialogBase class" url="ch08lev1sec5.html"/>
<entry name="GUIs, dialog boxes, KEdit Option dialog example" url="ch08lev1sec6.html"/>
-<entry name="GUIs, dialog boxes, tqlayout" url="ch08lev1sec2.html"/>
+<entry name="GUIs, dialog boxes, layout" url="ch08lev1sec2.html"/>
<entry name="GUIs, dialog boxes, modal" url="ch08lev1sec3.html"/>
<entry name="GUIs, dialog boxes, modeless" url="ch08lev1sec3.html"/>
<entry name="GUIs, dialog boxes, simple example" url="ch08.html"/>
@@ -1278,10 +1278,10 @@
<entry name="KApplication class" url="ch02lev1sec3.html"/>
<entry name="KAudioPlayer class" url="ch14lev1sec6.html"/>
<entry name="KButtonBox manager widget" url="ch08lev1sec4.html"/>
-<entry name="ktqchildren.cpp class definition (KChildren widget)" url="ch04lev1sec3.html"/>
-<entry name="ktqchildren.h class declaration (KChildren widget)" url="ch04lev1sec3.html"/>
-<entry name="KChildren sample widget (child widget), ktqchildren.cpp class definition" url="ch04lev1sec3.html"/>
-<entry name="KChildren sample widget (child widget), ktqchildren.h class declaration" url="ch04lev1sec3.html"/>
+<entry name="kchildren.cpp class definition (KChildren widget)" url="ch04lev1sec3.html"/>
+<entry name="kchildren.h class declaration (KChildren widget)" url="ch04lev1sec3.html"/>
+<entry name="KChildren sample widget (child widget), kchildren.cpp class definition" url="ch04lev1sec3.html"/>
+<entry name="KChildren sample widget (child widget), kchildren.h class declaration" url="ch04lev1sec3.html"/>
<entry name="KChildren sample widget (child widget), main() method" url="ch04lev1sec3.html"/>
<entry name="KChildren sample widget (child widget)" url="ch04lev1sec3.html"/>
<entry name="kconfigdemo.cpp file (KConfigDemo widget)" url="ch07lev1sec2.html"/>
@@ -1558,9 +1558,9 @@
<entry name="KStdActionsDemo widget" url="ch05.html"/>
<entry name="ktictactoe.cpp class definition (KTicTacToe widget)" url="ch04lev1sec3.html"/>
<entry name="ktictactoe.h class declaration (KTicTacToe widget)" url="ch04lev1sec3.html"/>
-<entry name="KTicTacToe widget (tqgeometry management example), ktictactoe.cpp class definition" url="ch04lev1sec3.html"/>
-<entry name="KTicTacToe widget (tqgeometry management example), ktictactoe.h class declaration" url="ch04lev1sec3.html"/>
-<entry name="KTicTacToe widget (tqgeometry management example), playing the game" url="ch04lev1sec3.html"/>
+<entry name="KTicTacToe widget (geometry management example), ktictactoe.cpp class definition" url="ch04lev1sec3.html"/>
+<entry name="KTicTacToe widget (geometry management example), ktictactoe.h class declaration" url="ch04lev1sec3.html"/>
+<entry name="KTicTacToe widget (geometry management example), playing the game" url="ch04lev1sec3.html"/>
<entry name="KTMainWindow class" url="ch02lev1sec3.html"/>
<entry name="Kulow, Stephen" url="ch16.html"/>
<entry name="KUniqueApplication class, passing command-line parameters" url="ch13lev1sec7.html"/>
@@ -1591,15 +1591,15 @@
<entry name="languages, i18n() function" url="ch06lev1sec4.html"/>
<entry name="languages, translator files" url="ch06lev1sec4.html"/>
<entry name="lastPage action" url="ch06.html"/>
-<entry name="tqlayout, dialog boxes, CGotoDialog example" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, design guidelines" url="ch08lev1sec7.html"/>
-<entry name="tqlayout, dialog boxes, design issues" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, hierarchies of layouts" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, manual placement" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, nested layouts" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, QLayout classes" url="ch08lev1sec2.html"/>
-<entry name="tqlayout, dialog boxes, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
-<entry name="tqlayout managers, creating internally, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, CGotoDialog example" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, design guidelines" url="ch08lev1sec7.html"/>
+<entry name="layout, dialog boxes, design issues" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, hierarchies of layouts" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, manual placement" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, nested layouts" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, QLayout classes" url="ch08lev1sec2.html"/>
+<entry name="layout, dialog boxes, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
+<entry name="layout managers, creating internally, QVBox/QHBox widgets" url="ch08lev1sec2.html"/>
<entry name="leaveEvent() event handler, widgets" url="ch04.html"/>
<entry name="legal issues" url="ch01lev1sec6.html"/>
<entry name="legal issues" url="ch19.html"/>
@@ -1656,12 +1656,12 @@
<entry name="listings, dialog boxes, dialog from tdeui library" url="ch08lev1sec4.html"/>
<entry name="listings, dialog boxes, KButtonBox in a dialog" url="ch08lev1sec4.html"/>
<entry name="listings, dialog boxes, KEdit dialog code" url="ch08lev1sec6.html"/>
-<entry name="listings, dialog boxes, manual tqgeometry strategy and QLayouts classes" url="ch08lev1sec2.html"/>
+<entry name="listings, dialog boxes, manual geometry strategy and QLayouts classes" url="ch08lev1sec2.html"/>
<entry name="listings, dialog boxes, modal dialog allocated from the heap" url="ch08lev1sec3.html"/>
<entry name="listings, dialog boxes, modal dialog located on the stack" url="ch08lev1sec3.html"/>
<entry name="listings, dialog boxes, modeless dialog example" url="ch08lev1sec3.html"/>
<entry name="listings, dialog boxes, modeless dialogs, removing from memory" url="ch08lev1sec3.html"/>
-<entry name="listings, dialog boxes, QVBox widget for tqgeometry management" url="ch08lev1sec2.html"/>
+<entry name="listings, dialog boxes, QVBox widget for geometry management" url="ch08lev1sec2.html"/>
<entry name="listings, dialog boxes, SelectDialog class" url="ch08.html"/>
<entry name="listings, Example_ADD interface" url="ch14lev1sec2.html"/>
<entry name="listings, Example_ADD module" url="ch14lev1sec2.html"/>
@@ -1672,8 +1672,8 @@
<entry name="listings, KabDemo application (address book dialog), kabdemo.cpp class definition" url="ch10lev1sec4.html"/>
<entry name="listings, KabDemo application (address book dialog), kabdemo.h class declaration" url="ch10lev1sec4.html"/>
<entry name="listings, KabDemo application (address book dialog), main() method" url="ch10lev1sec4.html"/>
-<entry name="listings, KChildren widget, ktqchildren.cpp class definition" url="ch04lev1sec3.html"/>
-<entry name="listings, KChildren widget, ktqchildren.h class declaration" url="ch04lev1sec3.html"/>
+<entry name="listings, KChildren widget, kchildren.cpp class definition" url="ch04lev1sec3.html"/>
+<entry name="listings, KChildren widget, kchildren.h class declaration" url="ch04lev1sec3.html"/>
<entry name="listings, KChildren widget, main() method" url="ch04lev1sec3.html"/>
<entry name="listings, KConfigDemo widget, kconfigdemo.cpp class definition" url="ch07lev1sec2.html"/>
<entry name="listings, KConfigDemo widget, kconfigdemo.h class declaration" url="ch07lev1sec2.html"/>
@@ -1829,7 +1829,7 @@
<entry name="managing, sessions, source file example" url="ch06lev1sec2.html"/>
<entry name="managing, sessions" url="ch06lev1sec2.html"/>
<entry name="managing, sessions" url="ch07lev1sec3.html"/>
-<entry name="manual tqgeometry strategy (dialog boxes)" url="ch08lev1sec2.html"/>
+<entry name="manual geometry strategy (dialog boxes)" url="ch08lev1sec2.html"/>
<entry name="mcopclass files" url="ch14lev1sec2.html"/>
<entry name="MCOP, future of, composition/RAD" url="ch14lev1sec7.html"/>
<entry name="MCOP, future of, GUIs" url="ch14lev1sec7.html"/>
@@ -1937,7 +1937,7 @@
<entry name="methods, remoteFunctions()" url="ch13lev1sec6.html"/>
<entry name="methods, remoteInterfaces()" url="ch13lev1sec6.html"/>
<entry name="methods, remoteObjects()" url="ch13lev1sec6.html"/>
-<entry name="methods, tqrepaint(), QPainter class" url="ch04lev1sec2.html"/>
+<entry name="methods, repaint(), QPainter class" url="ch04lev1sec2.html"/>
<entry name="methods, resume()" url="ch13lev1sec5.html"/>
<entry name="methods, senderId()" url="ch13lev1sec6.html"/>
<entry name="methods, send()" url="ch13lev1sec5.html"/>
@@ -2264,11 +2264,11 @@
<entry name="protocols, DCOP" url="ch13.html"/>
<entry name="protocols, FTP, snapshots" url="ch17lev1sec3.html"/>
<entry name="protocols, XDND" url="ch07.html"/>
-<entry name="QBoxLayout tqgeometry manager" url="ch04lev1sec3.html"/>
+<entry name="QBoxLayout geometry manager" url="ch04lev1sec3.html"/>
<entry name="QDataStream objects" url="ch13lev1sec3.html"/>
<entry name="QGL widget" url="ch03lev1sec6.html"/>
-<entry name="QGridLayout tqgeometry manager" url="ch04lev1sec3.html"/>
-<entry name="QHBox widget, tqlayout managers, creating" url="ch08lev1sec2.html"/>
+<entry name="QGridLayout geometry manager" url="ch04lev1sec3.html"/>
+<entry name="QHBox widget, layout managers, creating" url="ch08lev1sec2.html"/>
<entry name="QImage class" url="ch10lev1sec2.html"/>
<entry name="QLayout classes, code example" url="ch08lev1sec2.html"/>
<entry name="QLayout classes, design issues" url="ch08lev1sec2.html"/>
@@ -2278,7 +2278,7 @@
<entry name="QPainter class, example usage (listing)" url="ch03lev1sec2.html"/>
<entry name="QPainter class, member function" url="ch03lev1sec2.html"/>
<entry name="QPainter class, methods, paintEvent()" url="ch04lev1sec2.html"/>
-<entry name="QPainter class, methods, tqrepaint()" url="ch04lev1sec2.html"/>
+<entry name="QPainter class, methods, repaint()" url="ch04lev1sec2.html"/>
<entry name="QPainter class, methods, update()" url="ch04lev1sec2.html"/>
<entry name="QPainter class" url="ch03lev1sec2.html"/>
<entry name="QPainter class" url="ch04lev1sec2.html"/>
@@ -2327,7 +2327,7 @@
<entry name="Qt, utility classes" url="ch03lev1sec5.html"/>
<entry name="queryClose() function" url="ch07lev1sec3.html"/>
<entry name="quit action" url="ch06.html"/>
-<entry name="QVBox widget, tqlayout managers, creating" url="ch08lev1sec2.html"/>
+<entry name="QVBox widget, layout managers, creating" url="ch08lev1sec2.html"/>
<entry name="QWidget class, attributes" url="ch04.html"/>
<entry name="QWidget class, documentation" url="ch04.html"/>
<entry name="QWidget class, event handlers, closeEvent()" url="ch04.html"/>
@@ -2386,7 +2386,7 @@
<entry name="removing, modeless dialog boxes" url="ch08lev1sec3.html"/>
<entry name="rendering, HTML files" url="ch10.html"/>
<entry name="repainting, widgets" url="ch04lev1sec2.html"/>
-<entry name="tqrepaint() method, QPainter class" url="ch04lev1sec2.html"/>
+<entry name="repaint() method, QPainter class" url="ch04lev1sec2.html"/>
<entry name="replace action" url="ch06.html"/>
<entry name="reportBug action" url="ch06.html"/>
<entry name="resiceGL(int width, int height) function (QGL widget)" url="ch03lev1sec6.html"/>
@@ -2789,7 +2789,7 @@
<entry name="widets, KImageView (image viewer/converter), main() method" url="ch10lev1sec2.html"/>
<entry name="widets, KImageView (image viewer/converter)" url="ch10lev1sec2.html"/>
<entry name="widgets, attributes" url="ch04.html"/>
-<entry name="widgets, child widgets, tqgeometry management" url="ch04lev1sec3.html"/>
+<entry name="widgets, child widgets, geometry management" url="ch04lev1sec3.html"/>
<entry name="widgets, child widgets, KChildren example" url="ch04lev1sec3.html"/>
<entry name="widgets, child widgets" url="ch04lev1sec3.html"/>
<entry name="widgets, compared to parts" url="ch12.html"/>
diff --git a/languages/cpp/includepathresolver.cpp b/languages/cpp/includepathresolver.cpp
index d6b6dd02..964ff233 100644
--- a/languages/cpp/includepathresolver.cpp
+++ b/languages/cpp/includepathresolver.cpp
@@ -257,7 +257,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePath( const TQString& fi
dir = TQDir( dir.absPath() );
TQFileInfo makeFile( dir, "Makefile" );
if( !makeFile.exists() )
- return PathResolutionResult(false, i18n("Makefile is missing in folder \"%1\"").tqarg(dir.absPath()), i18n("problem while trying to resolve include-paths for %1").tqarg(file) );
+ return PathResolutionResult(false, i18n("Makefile is missing in folder \"%1\"").arg(dir.absPath()), i18n("problem while trying to resolve include-paths for %1").arg(file) );
TQStringList cachedPath; //If the call doesn't succeed, use the cached not up-to-date version
TQDateTime makeFileModification = makeFile.lastModified();
@@ -272,7 +272,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePath( const TQString& fi
return ret;
} else {
//We have a cached failed result. We should use that for some time but then try again. Return the failed result if: ( there were too many tries within this folder OR this file was already tried ) AND The last tries have not expired yet
- if( /*((*it).failedFiles.size() > 3 || (*it).failedFiles.find( file ) != (*it).failedFiles.end()) &&*/ (*it).failTime.secsTo( TQDateTime::tqcurrentDateTime() ) < CACHE_FAIL_FOR_SECONDS ) {
+ if( /*((*it).failedFiles.size() > 3 || (*it).failedFiles.find( file ) != (*it).failedFiles.end()) &&*/ (*it).failTime.secsTo( TQDateTime::currentDateTime() ) < CACHE_FAIL_FOR_SECONDS ) {
PathResolutionResult ret(false); //Fake that the result is ok
ret.errorMessage = i18n("Cached: ") + (*it).errorMessage;
ret.longErrorMessage = (*it).longErrorMessage;
@@ -298,7 +298,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePath( const TQString& fi
int dot;
if( (dot = file.findRev( '.' )) == -1 )
- return PathResolutionResult( false, i18n( "Filename %1 seems to be malformed" ).tqarg(file) );
+ return PathResolutionResult( false, i18n( "Filename %1 seems to be malformed" ).arg(file) );
targetName = file.left( dot );
@@ -365,7 +365,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePath( const TQString& fi
ce.failed = true;
ce.errorMessage = res.errorMessage;
ce.longErrorMessage = res.longErrorMessage;
- ce.failTime = TQDateTime::tqcurrentDateTime();
+ ce.failTime = TQDateTime::currentDateTime();
ce.failedFiles[file] = true;
} else {
ce.failed = false;
@@ -387,12 +387,12 @@ PathResolutionResult IncludePathResolver::getFullOutput( const TQString& command
output = proc.stdOut();
if( proc.exitStatus() != 0 )
- return PathResolutionResult( false, i18n("make-process finished with nonzero exit-status"), i18n("output: %1").tqarg( output ) );
+ return PathResolutionResult( false, i18n("make-process finished with nonzero exit-status"), i18n("output: %1").arg( output ) );
} else {
bool ret = executeCommandPopen(command, workingDirectory, output);
if( !ret )
- return PathResolutionResult( false, i18n("make-process failed"), i18n("output: %1").tqarg( output ) );
+ return PathResolutionResult( false, i18n("make-process failed"), i18n("output: %1").arg( output ) );
}
return PathResolutionResult(true);
}
@@ -471,14 +471,14 @@ PathResolutionResult IncludePathResolver::resolveIncludePathInternal( const TQSt
return res;
return resolveIncludePathInternal( KURL::relativePath(newWorkingDirectory,u.path()), newWorkingDirectory, makeParams , newSource );
}else{
- return PathResolutionResult( false, i18n("Recursive make-call failed"), i18n("The parameter-string \"%1\" does not seem to be valid. Output was: %2").tqarg(makeParams).tqarg(fullOutput) );
+ return PathResolutionResult( false, i18n("Recursive make-call failed"), i18n("The parameter-string \"%1\" does not seem to be valid. Output was: %2").arg(makeParams).arg(fullOutput) );
}
} else {
- return PathResolutionResult( false, i18n("Recursive make-call failed"), i18n("The directory \"%1\" does not exist. Output was: %2").tqarg(newWorkingDirectory).tqarg(fullOutput) );
+ return PathResolutionResult( false, i18n("Recursive make-call failed"), i18n("The directory \"%1\" does not exist. Output was: %2").arg(newWorkingDirectory).arg(fullOutput) );
}
} else {
- return PathResolutionResult( false, i18n("Recursive make-call malformed"), i18n("Output was: %2").tqarg(fullOutput) );
+ return PathResolutionResult( false, i18n("Recursive make-call malformed"), i18n("Output was: %2").arg(fullOutput) );
}
++offset;
@@ -488,7 +488,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePathInternal( const TQSt
///STEP 2: Search the output for include-paths
TQRegExp validRx( "\\b([cg]\\+\\+|gcc)" );
if( validRx.search( fullOutput ) == -1 )
- return PathResolutionResult( false, i18n("Output seems not to be a valid gcc or g++ call"), i18n("Folder: \"%1\" Command: \"%2\" Output: \"%3\"").tqarg(workingDirectory).tqarg( source.getCommand(file, makeParameters) ).tqarg(fullOutput) );
+ return PathResolutionResult( false, i18n("Output seems not to be a valid gcc or g++ call"), i18n("Folder: \"%1\" Command: \"%2\" Output: \"%3\"").arg(workingDirectory).arg( source.getCommand(file, makeParameters) ).arg(fullOutput) );
PathResolutionResult ret( true );
ret.longErrorMessage = fullOutput;
@@ -497,7 +497,7 @@ PathResolutionResult IncludePathResolver::resolveIncludePathInternal( const TQSt
TQString quotedRx( "(\\').*(\\')|(\\\").*(\\\")" ); //Matches "hello", 'hello', 'hello"hallo"', etc.
TQString escapedPathRx( "(([^)(\"'\\s]*)(\\\\\\s)?)*" ); //Matches /usr/I\ am \ a\ strange\ path/include
- TQRegExp includeRx( TQString( "%1(%2|%3)(?=\\s)" ).tqarg( includeParameterRx ).tqarg( quotedRx ).tqarg( escapedPathRx ) );
+ TQRegExp includeRx( TQString( "%1(%2|%3)(?=\\s)" ).arg( includeParameterRx ).arg( quotedRx ).arg( escapedPathRx ) );
includeRx.setMinimal( true );
includeRx.setCaseSensitive( true );
offset = 0;
diff --git a/languages/cpp/kdevdriver.cpp b/languages/cpp/kdevdriver.cpp
index 35d0a3ee..4ea75fca 100644
--- a/languages/cpp/kdevdriver.cpp
+++ b/languages/cpp/kdevdriver.cpp
@@ -175,7 +175,7 @@ TQStringList KDevDriver::getCustomIncludePath( const TQString& file ) {
CppTools::PathResolutionResult res = m_includePathResolver->resolveIncludePath( file );
if( !res.success ) {
- Problem p( i18n( "%1. Message: %2" ).tqarg( res.errorMessage ).tqarg( res.longErrorMessage ), 0, 0, Problem::Level_Warning );
+ Problem p( i18n( "%1. Message: %2" ).arg( res.errorMessage ).arg( res.longErrorMessage ), 0, 0, Problem::Level_Warning );
p.setFileName( file );
addProblem( file, p );
}
@@ -184,7 +184,7 @@ TQStringList KDevDriver::getCustomIncludePath( const TQString& file ) {
}
bool KDevDriver::shouldParseIncludedFile( const ParsedFilePointer& file ) {
- TQString compoundString = file->fileName() + "||" + TQString("%1").tqarg(file->usedMacros().valueHash()) + "||" + TQString("%1").tqarg(file->usedMacros().idHash());
+ TQString compoundString = file->fileName() + "||" + TQString("%1").arg(file->usedMacros().valueHash()) + "||" + TQString("%1").arg(file->usedMacros().idHash());
if( !m_shouldParseIncludedFiles )
return false;
diff --git a/languages/cpp/main.cpp b/languages/cpp/main.cpp
index d2ad2d94..7474112c 100644
--- a/languages/cpp/main.cpp
+++ b/languages/cpp/main.cpp
@@ -10,7 +10,7 @@
#include <tqdir.h>
#include <tqfileinfo.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <catalog.h>
diff --git a/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp b/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp
index def22f97..0d78624d 100644
--- a/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp
+++ b/languages/cpp/pcsimporter/customimporter/settingsdialog.cpp
@@ -29,7 +29,7 @@
#include <tqfile.h>
#include <tqregexp.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <cstdlib>
@@ -93,7 +93,7 @@ void SettingsDialog::validateDirectory( const TQString & dir )
elb->listBox() ->removeItem( elb->listBox() ->index( item ) );
}
- TQString errormsg = TQString( "<qt><b>%1</b> is not a directory</qt>" ).tqarg( dir );
+ TQString errormsg = TQString( "<qt><b>%1</b> is not a directory</qt>" ).arg( dir );
KMessageBox::error( 0, errormsg, "Couldn't find directory" );
}
emit enabled( elb->listBox()->count() > 0 );
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
index 5a38e464..84a93b85 100644
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
+++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.cpp
@@ -18,7 +18,7 @@
#include <kprocess.h>
#include <kdebug.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqlabel.h>
#include <tqdir.h>
diff --git a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h
index 77546f8d..b95c825b 100644
--- a/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h
+++ b/languages/cpp/pcsimporter/qt4importer/kdevqt4importer.h
@@ -26,7 +26,7 @@ public:
KDevQt4Importer( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() );
virtual ~KDevQt4Importer();
- virtual TQString dbName() const { return TQString::tqfromLatin1("TQt4"); }
+ virtual TQString dbName() const { return TQString::fromLatin1("TQt4"); }
virtual TQStringList fileList();
virtual TQStringList includePaths();
diff --git a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h
index d69e5b0b..6d1c85b6 100644
--- a/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h
+++ b/languages/cpp/pcsimporter/qtimporter/kdevqtimporter.h
@@ -25,7 +25,7 @@ public:
KDevQtImporter( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() );
virtual ~KDevQtImporter();
- virtual TQString dbName() const { return TQString::tqfromLatin1("TQt"); }
+ virtual TQString dbName() const { return TQString::fromLatin1("TQt"); }
virtual TQStringList fileList();
virtual TQStringList includePaths();
diff --git a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
index 3e085845..19fd0db1 100644
--- a/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/qtimporter/settingsdialogbase.ui
@@ -26,7 +26,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>161</width>
<height>21</height>
@@ -35,7 +35,7 @@
</spacer>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
diff --git a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.h b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.h
index 06782a37..ccace71a 100644
--- a/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.h
+++ b/languages/cpp/pcsimporter/tdelibsimporter/kdevtdelibsimporter.h
@@ -25,7 +25,7 @@ public:
KDevKDELibsImporter( TQObject* parent=0, const char* name=0, const TQStringList& args=TQStringList() );
virtual ~KDevKDELibsImporter();
- virtual TQString dbName() const { return TQString::tqfromLatin1("KDElibs"); }
+ virtual TQString dbName() const { return TQString::fromLatin1("KDElibs"); }
virtual TQStringList fileList();
virtual TQStringList includePaths();
diff --git a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
index 1f967edc..5e2604d3 100644
--- a/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
+++ b/languages/cpp/pcsimporter/tdelibsimporter/settingsdialogbase.ui
@@ -96,7 +96,7 @@ Only the selected entry will be used</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>220</width>
<height>20</height>
diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp
index 7508e1df..c5abd730 100644
--- a/languages/cpp/problemreporter.cpp
+++ b/languages/cpp/problemreporter.cpp
@@ -51,7 +51,7 @@
#include <tqwhatsthis.h>
#include <tqtabbar.h>
#include <tqwidgetstack.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
class ProblemItem: public KListViewItem
@@ -175,7 +175,7 @@ void ProblemReporter::slotFilter()
if(!m_tabBar->isTabEnabled(5))
m_tabBar->setTabEnabled(5,true);
- m_tabBar->tab(5)->setText(i18n("Filtered: %1").tqarg( m_filterEdit->text() ));
+ m_tabBar->tab(5)->setText(i18n("Filtered: %1").arg( m_filterEdit->text() ));
m_tabBar->setCurrentTab(5);
m_filteredList->clear();
diff --git a/languages/cpp/qtbuildconfig.cpp b/languages/cpp/qtbuildconfig.cpp
index 7a14ff2b..c5c87b1c 100644
--- a/languages/cpp/qtbuildconfig.cpp
+++ b/languages/cpp/qtbuildconfig.cpp
@@ -141,9 +141,9 @@ void QtBuildConfig::findTQtDir()
TQStringList qtdirs;
if( m_version == 3 )
qtdirs.push_back( ::getenv("QTDIR") );
- qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").tqarg( m_version ) );
- qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").tqarg( m_version ) );
- qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").tqarg( m_version ) );
+ qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) );
+ qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").arg( m_version ) );
+ qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr" );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt" );
diff --git a/languages/cpp/qtdesignercppintegration.cpp b/languages/cpp/qtdesignercppintegration.cpp
index 3742c0f6..0705f03c 100644
--- a/languages/cpp/qtdesignercppintegration.cpp
+++ b/languages/cpp/qtdesignercppintegration.cpp
@@ -167,7 +167,7 @@ void QtDesignerCppIntegration::addFunctionToClass( KInterfaceDesigner::Function
atColumn = 0;
}
- // editIface->insertLine( atLine + 1, TQString::tqfromLatin1("") );
+ // editIface->insertLine( atLine + 1, TQString::fromLatin1("") );
kdDebug() << "at line in intg: " << atLine << " atCol: " << atColumn << endl;
kdDebug() << "text: " << stri << endl;
editIface->insertText( atLine, atColumn, stri );
@@ -185,24 +185,24 @@ void QtDesignerCppIntegration::addFunctionToClass( KInterfaceDesigner::Function
TQString QtDesignerCppIntegration::accessID( FunctionDom fun ) const
{
if ( fun->isSignal() )
- return TQString::tqfromLatin1( "signals" );
+ return TQString::fromLatin1( "signals" );
switch ( fun->access() )
{
case CodeModelItem::Public:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "public slots" );
- return TQString::tqfromLatin1( "public" );
+ return TQString::fromLatin1( "public slots" );
+ return TQString::fromLatin1( "public" );
case CodeModelItem::Protected:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "protected slots" );
- return TQString::tqfromLatin1( "protected" );
+ return TQString::fromLatin1( "protected slots" );
+ return TQString::fromLatin1( "protected" );
case CodeModelItem::Private:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "private slots" );
- return TQString::tqfromLatin1( "private" );
+ return TQString::fromLatin1( "private slots" );
+ return TQString::fromLatin1( "private" );
}
return TQString();
diff --git a/languages/cpp/simpletype.cpp b/languages/cpp/simpletype.cpp
index 2254fb35..b1d9087c 100644
--- a/languages/cpp/simpletype.cpp
+++ b/languages/cpp/simpletype.cpp
@@ -301,7 +301,7 @@ TQString SimpleTypeImpl::operatorToString( Operator op ) {
case ParenOp:
return "paren-operator";
default:
- return TQString( "%1" ).tqarg( ( long ) op );
+ return TQString( "%1" ).arg( ( long ) op );
};
}
diff --git a/languages/cpp/simpletype.h b/languages/cpp/simpletype.h
index c6ca1031..bf90a4e7 100644
--- a/languages/cpp/simpletype.h
+++ b/languages/cpp/simpletype.h
@@ -214,7 +214,7 @@ class SimpleTypeConfiguration {
SimpleType::destroyStore();
}
}
- void tqinvalidate() {
+ void invalidate() {
m_invalid = true;
}
};
diff --git a/languages/cpp/subclassingdlgbase.ui b/languages/cpp/subclassingdlgbase.ui
index 6984dcf6..f6170896 100644
--- a/languages/cpp/subclassingdlgbase.ui
+++ b/languages/cpp/subclassingdlgbase.ui
@@ -204,7 +204,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>110</width>
<height>20</height>
diff --git a/languages/cpp/tag_creator.cpp b/languages/cpp/tag_creator.cpp
index 1b95b4cd..011b9f95 100644
--- a/languages/cpp/tag_creator.cpp
+++ b/languages/cpp/tag_creator.cpp
@@ -78,9 +78,9 @@ void TagCreator::parseTranslationUnit( const ParsedFile& ast )
ast.write( stream );
tag.setAttribute( "cppparsedfile", data );
tag.setAttribute( "includedFrom", ast.includedFrom() );
- tag.setAttribute( "skippedLines", TQString("%1").tqarg( ast.skippedLines()) );
- tag.setAttribute( "macroValueHash", TQString("%1").tqarg( ast.usedMacros().valueHash()) );
- tag.setAttribute( "macroIdHash", TQString("%1").tqarg( ast.usedMacros().idHash() ) );
+ tag.setAttribute( "skippedLines", TQString("%1").arg( ast.skippedLines()) );
+ tag.setAttribute( "macroValueHash", TQString("%1").arg( ast.usedMacros().valueHash()) );
+ tag.setAttribute( "macroIdHash", TQString("%1").arg( ast.usedMacros().idHash() ) );
tag.setScope( m_currentScope );
if( !ast->comment().isEmpty() )
diff --git a/languages/cpp/typedesc.cpp b/languages/cpp/typedesc.cpp
index 1150f8fb..f9785604 100644
--- a/languages/cpp/typedesc.cpp
+++ b/languages/cpp/typedesc.cpp
@@ -21,7 +21,7 @@
#include "driver.h"
#include "lexer.h"
#include "parser.h"
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kglobal.h>
@@ -238,7 +238,7 @@ size_t TypeDescData::hashKey() {
int len = m_cleanName.length();
for ( int a = 0; a < len; a++ )
- ret += m_cleanName[ a ].tqunicode() * 3 * (11*(a+1));
+ ret += m_cleanName[ a ].unicode() * 3 * (11*(a+1));
int n = 1;
@@ -266,7 +266,7 @@ size_t TypeDescData::hashKey2() {
int len = m_cleanName.length();
for ( int a = 0; a < len; a++ )
- ret += m_cleanName[ a ].tqunicode() * 19 * (7*(a+1));
+ ret += m_cleanName[ a ].unicode() * 19 * (7*(a+1));
int n = 1;
diff --git a/languages/csharp/README.dox b/languages/csharp/README.dox
index e3a47947..130d7104 100644
--- a/languages/csharp/README.dox
+++ b/languages/csharp/README.dox
@@ -12,7 +12,7 @@ and images.
\maintainer <a href="mailto:willems.luc AT pandora.be">Luc Willems</a>
\feature csharp programming language support
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/csharp/csharpdoc.cpp b/languages/csharp/csharpdoc.cpp
index 154301a4..bfa924da 100644
--- a/languages/csharp/csharpdoc.cpp
+++ b/languages/csharp/csharpdoc.cpp
@@ -5,7 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kdebug.h>
#include <klocale.h>
#include <kstandarddirs.h>
diff --git a/languages/csharp/csharpsupportpart.cpp b/languages/csharp/csharpsupportpart.cpp
index 9746a190..2da0baab 100644
--- a/languages/csharp/csharpsupportpart.cpp
+++ b/languages/csharp/csharpsupportpart.cpp
@@ -14,7 +14,7 @@
#include <tqfileinfo.h>
#include <tqpopupmenu.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kaction.h>
#include <kapplication.h>
diff --git a/languages/fortran/README.dox b/languages/fortran/README.dox
index 5eeb52a4..0566587c 100644
--- a/languages/fortran/README.dox
+++ b/languages/fortran/README.dox
@@ -14,7 +14,7 @@ and images.
\maintainer <a href="mailto:nth maintainer AT provider.com">nth maintainer full name</a>
\feature Fortran language support
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
index 305288ab..5a2fe78f 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
@@ -11,7 +11,7 @@
#include <tqapplication.h>
#include <tqheader.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlistview.h>
#include <tqradiobutton.h>
#include <tqvbox.h>
@@ -115,8 +115,8 @@ private:
OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *parent, const char *name)
: TQWidget(parent, name)
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *group = new TQVButtonGroup(i18n("Optimization Level"), this);
Odefault = new TQRadioButton(i18n("Default"), group);
@@ -137,7 +137,7 @@ OptimizationTab::OptimizationTab(PgiOptionsPlugin::Type type, TQWidget *parent,
optBox = 0;
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
@@ -198,8 +198,8 @@ void OptimizationTab::writeFlags(TQStringList *list)
HpfTab::HpfTab(TQWidget *parent, const char *name)
: TQWidget(parent, name)
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
hpfBox = new TQListView(this);
hpfBox->addColumn(TQString());
@@ -208,7 +208,7 @@ HpfTab::HpfTab(TQWidget *parent, const char *name)
new TQCheckListItem(hpfBox, *p, TQCheckListItem::CheckBox);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
diff --git a/languages/fortran/fixedformparser.cpp b/languages/fortran/fixedformparser.cpp
index 3ae94319..f26b6e61 100644
--- a/languages/fortran/fixedformparser.cpp
+++ b/languages/fortran/fixedformparser.cpp
@@ -12,7 +12,7 @@
#include "fixedformparser.h"
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kdebug.h>
#include <codemodel.h>
diff --git a/languages/fortran/fixedformparser.h b/languages/fortran/fixedformparser.h
index 84d1e16b..acfb8b80 100644
--- a/languages/fortran/fixedformparser.h
+++ b/languages/fortran/fixedformparser.h
@@ -13,7 +13,7 @@
#define _FIXEDFORMPARSER_H_
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <codemodel.h>
diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp
index 180a3965..9211191a 100644
--- a/languages/fortran/fortransupportpart.cpp
+++ b/languages/fortran/fortransupportpart.cpp
@@ -21,7 +21,7 @@
#include <tqfileinfo.h>
#include <tqpopupmenu.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <tqvbox.h>
#include <kapplication.h>
diff --git a/languages/fortran/ftnchekconfigwidget.cpp b/languages/fortran/ftnchekconfigwidget.cpp
index c7b9ccb4..8acc9985 100644
--- a/languages/fortran/ftnchekconfigwidget.cpp
+++ b/languages/fortran/ftnchekconfigwidget.cpp
@@ -84,7 +84,7 @@ protected:
FtnchekItem *flitem = static_cast<FtnchekItem*>(item);
if (item)
- tip(listview->tqitemRect(item), flitem->desc);
+ tip(listview->itemRect(item), flitem->desc);
}
};
@@ -141,7 +141,7 @@ const char *f77_flags[] = {
const char *portability_flags[] = {
"backslash", I18N_NOOP("Backslash characters in strings"),
- "common-tqalignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"),
+ "common-alignment", I18N_NOOP("COMMON block variables not in descending order of storage sizes"),
"hollerith", I18N_NOOP("Hollerith constants"),
0, 0
};
diff --git a/languages/fortran/ftnchekconfigwidgetbase.ui b/languages/fortran/ftnchekconfigwidgetbase.ui
index ca20da82..f01271af 100644
--- a/languages/fortran/ftnchekconfigwidgetbase.ui
+++ b/languages/fortran/ftnchekconfigwidgetbase.ui
@@ -82,7 +82,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -132,7 +132,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -149,7 +149,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -359,7 +359,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -498,7 +498,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/java/JavaRecognizer.hpp b/languages/java/JavaRecognizer.hpp
index 4dafc60e..fab59972 100644
--- a/languages/java/JavaRecognizer.hpp
+++ b/languages/java/JavaRecognizer.hpp
@@ -103,7 +103,7 @@
* o supports UNICODE?
* Using Unicode charVocabulay makes code file big, but only
* in the bitsets at the end. I need to make ANTLR generate
- * tqunicode bitsets more efficiently.
+ * unicode bitsets more efficiently.
* Version 1.19 (April 25, 2002)
* Terence added in nice fixes by John Pybus concerning floating
* constants and problems with super() calls. John did a nice
diff --git a/languages/java/README.dox b/languages/java/README.dox
index 0cb5898b..7050482e 100644
--- a/languages/java/README.dox
+++ b/languages/java/README.dox
@@ -13,7 +13,7 @@ and images.
\maintainer <a href="mailto:roberto AT tdevelop.org">Roberto Raggi</a> Copyright (C) 2002-2003
\feature Java language support
-\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.
\bug bugs in <a href="http://bugs.kde.org/buglist.cgi?product=tdevelop&component=javasupport&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&order=Bug+Number">javasupport component at Bugzilla database</a>
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/kappjava/appview.java
index fc25a273..1ead5458 100644
--- a/languages/java/app_templates/kappjava/appview.java
+++ b/languages/java/app_templates/kappjava/appview.java
@@ -25,7 +25,7 @@ public class %{APPNAME}View extends QWidget
public %{APPNAME}View(QWidget parent)
{
super(parent, null);
- // setup our tqlayout manager to automatically add our widgets
+ // setup our layout manager to automatically add our widgets
top_layout = new QHBoxLayout(this);
top_layout.setAutoAdd(true);
diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/kappjava/pref.java
index 48e1ca6a..a50fdb31 100644
--- a/languages/java/app_templates/kappjava/pref.java
+++ b/languages/java/app_templates/kappjava/pref.java
@@ -31,8 +31,8 @@ public class %{APPNAME}PrefPageOne extends QFrame {
public %{APPNAME}PrefPageOne(QWidget parent)
{
super(parent);
- QHBoxLayout tqlayout = new QHBoxLayout(this);
- tqlayout.setAutoAdd(true);
+ QHBoxLayout layout = new QHBoxLayout(this);
+ layout.setAutoAdd(true);
new QLabel("Add something here", this);
}
@@ -42,8 +42,8 @@ public class %{APPNAME}PrefPageTwo extends QFrame {
public %{APPNAME}PrefPageTwo(QWidget parent)
{
super(parent);
- QHBoxLayout tqlayout = new QHBoxLayout(this);
- tqlayout.setAutoAdd(true);
+ QHBoxLayout layout = new QHBoxLayout(this);
+ layout.setAutoAdd(true);
new QLabel("Add something here", this);
}
diff --git a/languages/java/backgroundparser.cpp b/languages/java/backgroundparser.cpp
index 14471290..20195d8b 100644
--- a/languages/java/backgroundparser.cpp
+++ b/languages/java/backgroundparser.cpp
@@ -32,7 +32,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
class KDevSourceProvider: public SourceProvider
{
diff --git a/languages/java/configproblemreporter.ui b/languages/java/configproblemreporter.ui
index bf0333ef..a4852fd5 100644
--- a/languages/java/configproblemreporter.ui
+++ b/languages/java/configproblemreporter.ui
@@ -32,7 +32,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@@ -61,7 +61,7 @@
<property name="text">
<string>msec</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
@@ -132,7 +132,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>61</height>
diff --git a/languages/java/configproblemreporter.ui.h b/languages/java/configproblemreporter.ui.h
index 1da526ca..6d289931 100644
--- a/languages/java/configproblemreporter.ui.h
+++ b/languages/java/configproblemreporter.ui.h
@@ -46,7 +46,7 @@ void ConfigureProblemReporter::bgParserCheckbox_toggled( bool b )
void ConfigureProblemReporter::setDelayLabel( int delay )
{
- delayLabel->setText( i18n( "delay: %1 msec" ).tqarg( delay ) );
+ delayLabel->setText( i18n( "delay: %1 msec" ).arg( delay ) );
}
diff --git a/languages/java/java.g b/languages/java/java.g
index 64902409..1f825ec5 100644
--- a/languages/java/java.g
+++ b/languages/java/java.g
@@ -97,7 +97,7 @@ options {
* o supports UNICODE?
* Using Unicode charVocabulay makes code file big, but only
* in the bitsets at the end. I need to make ANTLR generate
- * tqunicode bitsets more efficiently.
+ * unicode bitsets more efficiently.
* Version 1.19 (April 25, 2002)
* Terence added in nice fixes by John Pybus concerning floating
* constants and problems with super() calls. John did a nice
@@ -1050,7 +1050,7 @@ options {
k=4; // four characters of lookahead
// charVocabulary='\u0003'..'\uFFFF';
charVocabulary='\u0003'..'\u00FF';
- // without inlining some bitset tests, couldn't do tqunicode;
+ // without inlining some bitset tests, couldn't do unicode;
// I need to make ANTLR generate smaller bitsets; see
// bottom of JavaLexer.java
codeGenBitsetTestThreshold=20;
diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp
index e4aeb27f..5e936422 100644
--- a/languages/java/javasupportpart.cpp
+++ b/languages/java/javasupportpart.cpp
@@ -560,7 +560,7 @@ JavaSupportPart::parseProject( )
continue;
if( pcs.contains(absFilePath) && t.toTime_t() == pcs[absFilePath].first ){
- stream.tqdevice()->at( pcs[absFilePath].second );
+ stream.device()->at( pcs[absFilePath].second );
FileDom file = codeModel()->create<FileModel>();
file->read( stream );
codeModel()->addFile( file );
@@ -860,21 +860,21 @@ void JavaSupportPart::saveProjectSourceInfo( )
for( FileList::ConstIterator it=fileList.begin(); it!=fileList.end(); ++it ){
const FileDom dom = (*it);
stream << dom->name() << m_timestamp[ dom->name() ].toTime_t();
- offsets.insert( dom->name(), stream.tqdevice()->at() );
+ offsets.insert( dom->name(), stream.device()->at() );
stream << (uint)0; // dummy offset
}
for( FileList::ConstIterator it=fileList.begin(); it!=fileList.end(); ++it ){
const FileDom dom = (*it);
- int offset = stream.tqdevice()->at();
+ int offset = stream.device()->at();
dom->write( stream );
- int end = stream.tqdevice()->at();
+ int end = stream.device()->at();
- stream.tqdevice()->at( offsets[dom->name()] );
+ stream.device()->at( offsets[dom->name()] );
stream << offset;
- stream.tqdevice()->at( end );
+ stream.device()->at( end );
}
}
diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp
index 53517ced..a3206595 100644
--- a/languages/java/problemreporter.cpp
+++ b/languages/java/problemreporter.cpp
@@ -267,13 +267,13 @@ TQString ProblemReporter::levelToString( int level ) const
switch( level )
{
case Problem::Level_Error:
- return TQString::tqfromLatin1( "Error" );
+ return TQString::fromLatin1( "Error" );
case Problem::Level_Warning:
- return TQString::tqfromLatin1( "Warning" );
+ return TQString::fromLatin1( "Warning" );
case Problem::Level_Todo:
- return TQString::tqfromLatin1( "Todo" );
+ return TQString::fromLatin1( "Todo" );
case Problem::Level_Fixme:
- return TQString::tqfromLatin1( "Fixme" );
+ return TQString::fromLatin1( "Fixme" );
default:
return TQString();
}
diff --git a/languages/kjssupport/jscodecompletion.cpp b/languages/kjssupport/jscodecompletion.cpp
index 24eeda70..3148eb0f 100644
--- a/languages/kjssupport/jscodecompletion.cpp
+++ b/languages/kjssupport/jscodecompletion.cpp
@@ -14,7 +14,7 @@
#include <tqfileinfo.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kapplication.h>
#include <tqregexp.h>
diff --git a/languages/kjssupport/kjssupport_part.cpp b/languages/kjssupport/kjssupport_part.cpp
index 44a3659b..a803e80d 100644
--- a/languages/kjssupport/kjssupport_part.cpp
+++ b/languages/kjssupport/kjssupport_part.cpp
@@ -19,7 +19,7 @@
#include <tqwhatsthis.h>
#include <tqtimer.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <tqpopupmenu.h>
diff --git a/languages/kjssupport/subclassingdlgbase.ui b/languages/kjssupport/subclassingdlgbase.ui
index 4ac1d94b..de17ef5b 100644
--- a/languages/kjssupport/subclassingdlgbase.ui
+++ b/languages/kjssupport/subclassingdlgbase.ui
@@ -204,7 +204,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>110</width>
<height>20</height>
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp
index 68782e60..6c7a51c0 100644
--- a/languages/lib/designer_integration/implementationwidget.cpp
+++ b/languages/lib/designer_integration/implementationwidget.cpp
@@ -20,7 +20,7 @@
#include "implementationwidget.h"
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqfile.h>
#include <tqdir.h>
#include <tqregexp.h>
@@ -77,7 +77,7 @@ void ImplementationWidget::init(const TQString &formName)
TQDomDocument doc;
DomUtil::openDOMFile(doc, m_formName);
m_baseClassName = DomUtil::elementByPathExt(doc, "class").text();
- setCaption(i18n("Create or Select Implementation Class for: %1").tqarg(m_baseClassName));
+ setCaption(i18n("Create or Select Implementation Class for: %1").arg(m_baseClassName));
KListViewItem *item = new KListViewItem(classView, i18n("Namespaces &amp;&amp; Classes"));
item->setOpen(true);
diff --git a/languages/lib/designer_integration/implementationwidgetbase.ui b/languages/lib/designer_integration/implementationwidgetbase.ui
index 7f4148a9..6118902c 100644
--- a/languages/lib/designer_integration/implementationwidgetbase.ui
+++ b/languages/lib/designer_integration/implementationwidgetbase.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@@ -37,7 +37,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -135,7 +135,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout2</cstring>
+ <cstring>layout2</cstring>
</property>
<vbox>
<property name="name">
@@ -169,7 +169,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>tqlayout2_2</cstring>
+ <cstring>layout2_2</cstring>
</property>
<vbox>
<property name="name">
diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp
index 6cd22927..d798ba77 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.cpp
+++ b/languages/lib/designer_integration/qtdesignerintegration.cpp
@@ -60,7 +60,7 @@ void QtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesi
ClassDom klass = m_implementations[formName];
if (!klass)
{
- KMessageBox::error(0, i18n("Cannot find implementation class for form: %1").tqarg(formName));
+ KMessageBox::error(0, i18n("Cannot find implementation class for form: %1").arg(formName));
return;
}
diff --git a/languages/pascal/README.dox b/languages/pascal/README.dox
index 8360d27c..52ef50b1 100644
--- a/languages/pascal/README.dox
+++ b/languages/pascal/README.dox
@@ -15,7 +15,7 @@ with the one from <a href="ftp://fara.cs.uni-potsdam.de/incoming/CppCodeGenerato
\maintainer <a href="mailto:cloudtemple AT mksat.net">Alexander Dymo</a>
\feature Pascal language support
-\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.
\bug Language parser can sometimes treat correct lines as errors. Please send sample code to maintainer if you have this problem.
diff --git a/languages/pascal/backgroundparser.cpp b/languages/pascal/backgroundparser.cpp
index d29fd1be..f5f159a6 100644
--- a/languages/pascal/backgroundparser.cpp
+++ b/languages/pascal/backgroundparser.cpp
@@ -24,7 +24,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 )
{
}
diff --git a/languages/pascal/compiler/dccoptions/optiontabs.cpp b/languages/pascal/compiler/dccoptions/optiontabs.cpp
index 58025ad6..f9af2892 100644
--- a/languages/pascal/compiler/dccoptions/optiontabs.cpp
+++ b/languages/pascal/compiler/dccoptions/optiontabs.cpp
@@ -12,7 +12,7 @@
#include <tqspinbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbuttongroup.h>
#include <tqapplication.h>
#include <tqpushbutton.h>
@@ -26,8 +26,8 @@ LinkerTab::LinkerTab( TQWidget * parent, const char * name )
pathController(new FlagPathEditController()),
editController(new FlagEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *map_group = new TQVButtonGroup(i18n("Map File"), this);
TQRadioButton *m_defaultMap = new TQRadioButton(i18n("Off"), map_group);
@@ -39,19 +39,19 @@ LinkerTab::LinkerTab( TQWidget * parent, const char * name )
new FlagRadioButton(map_group, radioController,
"-GD", i18n("Detailed"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
new FlagPathEdit(this, "", pathController,
"--dynamicloader=", i18n("Default dynamic loader:"), KFile::File);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
new FlagSpinEdit(this, 0, 2147483647, 1024, 1048576, editController,
"-$M", i18n("Reserved address space:"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
- tqlayout->addStretch();
+ layout->addStretch();
}
LinkerTab::~LinkerTab( )
@@ -80,8 +80,8 @@ void LinkerTab::writeFlags( TQStringList * str )
LocationsTab::LocationsTab( TQWidget * parent, const char * name )
:TQWidget(parent, name), pathController(new FlagPathEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
new FlagPathEdit(this, ":", pathController,
"-I", i18n("Include search path (delimited by \":\"):"));
@@ -92,7 +92,7 @@ LocationsTab::LocationsTab( TQWidget * parent, const char * name )
new FlagPathEdit(this, ":", pathController,
"-O", i18n("Object search path (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
LocationsTab::~LocationsTab( )
@@ -115,8 +115,8 @@ void LocationsTab::writeFlags( TQStringList * str )
Locations2Tab::Locations2Tab( TQWidget * parent, const char * name )
:TQWidget(parent, name), pathController(new FlagPathEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
new FlagPathEdit(this, "", pathController,
"-E", i18n("Executable output directory:"));
@@ -127,7 +127,7 @@ Locations2Tab::Locations2Tab( TQWidget * parent, const char * name )
new FlagPathEdit(this, "", pathController,
"-LN", i18n("Package source code directory:"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
Locations2Tab::~Locations2Tab( )
@@ -151,8 +151,8 @@ GeneralTab::GeneralTab( TQWidget * parent, const char * name )
:TQWidget(parent, name), controller(new FlagCheckBoxController()),
editController(new FlagEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *build_group = new TQVButtonGroup(i18n("Build"), this);
new FlagCheckBox(build_group, controller,
@@ -165,7 +165,7 @@ GeneralTab::GeneralTab( TQWidget * parent, const char * name )
"-Z", i18n("Disable implicit package compilation"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
new FlagListEdit(this, ":", editController, "-D", i18n("Conditional defines (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
@@ -173,7 +173,7 @@ GeneralTab::GeneralTab( TQWidget * parent, const char * name )
new FlagListEdit(this, ":", editController, "-A", i18n("Unit aliases in form unit=alias (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *message_group = new TQVButtonGroup(i18n("Messages"), this);
new FlagCheckBox(message_group, controller,
@@ -182,12 +182,12 @@ GeneralTab::GeneralTab( TQWidget * parent, const char * name )
"-W", i18n("Output warning messages"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *package_group = new TQVButtonGroup(i18n("Packages"), this);
new FlagListEdit(package_group, ":", editController, "-LU", i18n("Build with packages (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
GeneralTab::~GeneralTab( )
@@ -215,10 +215,10 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
listController(new FlagEditController()),
radioController(new FlagRadioButtonController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
-// tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+// layout->setAutoAdd(true);
- TQGridLayout *tqlayout2 = new TQGridLayout(tqlayout, 2, 2, KDialog::spacingHint());
+ TQGridLayout *layout2 = new TQGridLayout(layout, 2, 2, KDialog::spacingHint());
TQVButtonGroup *align_group = new TQVButtonGroup(i18n("Code Alignment && Stack Frames"), this);
TQRadioButton *align_def = new TQRadioButton(i18n("Default (-$A8)"), align_group);
@@ -234,7 +234,7 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagCheckBox(align_group, controller,
"'-$W+'", i18n("Generate stack frames"), "'-$W-'");
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout2->addWidget(align_group, 0, 0);
+ layout2->addWidget(align_group, 0, 0);
TQVButtonGroup *enum_group = new TQVButtonGroup(i18n("Enumeration Size"), this);
TQRadioButton *enum_def = new TQRadioButton(i18n("Default (-$Z1)"), enum_group);
@@ -246,7 +246,7 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagRadioButton(enum_group, radioController,
"'-$Z4'", i18n("Unsigned double word (4096M values)"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout2->addWidget(enum_group, 0, 1);
+ layout2->addWidget(enum_group, 0, 1);
TQVButtonGroup *compile_group = new TQVButtonGroup(i18n("Compile Time Checks"), this);
new FlagCheckBox(compile_group, controller,
@@ -266,7 +266,7 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagCheckBox(compile_group, controller,
"'-$J+'", i18n("Writable typed constants"), "'-$J-'");
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout2->addWidget(compile_group, 1, 0);
+ layout2->addWidget(compile_group, 1, 0);
TQVButtonGroup *run_group = new TQVButtonGroup(i18n("Run Time Checks"), this);
new FlagCheckBox(run_group, controller,
@@ -280,9 +280,9 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagCheckBox(run_group, controller,
"'-$R+'", i18n("Range checking"), "'-$R-'");
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout2->addWidget(run_group, 1, 1);
+ layout2->addWidget(run_group, 1, 1);
- tqlayout->addStretch();
+ layout->addStretch();
}
CodegenTab::~CodegenTab( )
@@ -312,17 +312,17 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController()),
radioController(new FlagRadioButtonController)
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
-// tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+// layout->setAutoAdd(true);
TQVButtonGroup *optim_group = new TQVButtonGroup(i18n("Optimization"), this);
new FlagCheckBox(optim_group, controller,
"'-$O+'", i18n("Enable optimizations"), "'-$O-'", "'-$O+'");
- tqlayout->addWidget(optim_group);
+ layout->addWidget(optim_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
- TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQVButtonGroup *debug_group = new TQVButtonGroup(i18n("Debugging"), this);
new FlagCheckBox(debug_group, controller,
@@ -335,7 +335,7 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-VN", i18n("Namespace debug info"));
symboldb = new FlagCheckBox(debug_group, controller,
"-VR", i18n("Write symbol info in an .rsm file"));
- tqlayout2->addWidget(debug_group);
+ layout2->addWidget(debug_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
TQVButtonGroup *debug_add = new TQVButtonGroup(i18n("Symbol Reference Information"), this);
@@ -347,20 +347,20 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"'-$YD'", i18n("Definition information"));
new FlagRadioButton(debug_add, radioController,
"'-$Y+'", i18n("Full reference information"));
- tqlayout2->addWidget(debug_add);
+ layout2->addWidget(debug_add);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
- TQHBoxLayout *tqlayout3 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQHBoxLayout *layout3 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQPushButton *release = new TQPushButton(i18n("Release"), this);
TQPushButton *debug = new TQPushButton(i18n("Debug"), this);
- tqlayout3->addWidget(release);
- tqlayout3->addWidget(debug);
+ layout3->addWidget(release);
+ layout3->addWidget(debug);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions()));
connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions()));
- tqlayout->addStretch();
+ layout->addStretch();
}
DebugOptimTab::~ DebugOptimTab( )
diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.cpp b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
index 5dd69349..9ff3ea3c 100644
--- a/languages/pascal/compiler/fpcoptions/optiontabs.cpp
+++ b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
@@ -13,7 +13,7 @@
#include <tqspinbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbuttongroup.h>
#include <tqapplication.h>
#include <tqframe.h>
@@ -26,14 +26,14 @@
FeedbackTab::FeedbackTab(TQWidget *parent, const char *name)
: TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v")))
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *output_group = new TQVButtonGroup(i18n("Output"), this);
new FlagCheckBox(output_group, controller,
"-vr", i18n("Format errors like GCC does"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *verbose_group = new TQVButtonGroup(i18n("Verbose"), this);
new FlagCheckBox(verbose_group, controller,
@@ -54,7 +54,7 @@ FeedbackTab::FeedbackTab(TQWidget *parent, const char *name)
"-vd", i18n("Write other debugging info"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *other_group = new TQVButtonGroup(i18n("Other Information"), this);
new FlagCheckBox(other_group, controller,
@@ -74,7 +74,7 @@ FeedbackTab::FeedbackTab(TQWidget *parent, const char *name)
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
FeedbackTab::~FeedbackTab()
@@ -98,8 +98,8 @@ FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * parent, const char *
:TQWidget(parent, name), controller(new FlagCheckBoxController()),
pathController(new FlagPathEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
new FlagPathEdit(this, ":", pathController,
"-Fu", i18n("Unit search path (delimited by \":\"):"));
@@ -110,7 +110,7 @@ FilesAndDirectoriesTab::FilesAndDirectoriesTab( TQWidget * parent, const char *
new FlagPathEdit(this, ":", pathController,
"-Fl", i18n("Library search path (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
FilesAndDirectoriesTab::~FilesAndDirectoriesTab( )
@@ -135,8 +135,8 @@ FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char
:TQWidget(parent, name), controller(new FlagCheckBoxController()),
pathController(new FlagPathEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
new FlagPathEdit(this, "", pathController,
"-FE", i18n("Write executables and units in:"));
@@ -145,14 +145,14 @@ FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char
new FlagPathEdit(this, "", pathController,
"-o", i18n("Executable name:"), KFile::File);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(20);
+ layout->addSpacing(20);
new FlagPathEdit(this, "", pathController,
"-e", i18n("Location of as and ld programs:"));
new FlagPathEdit(this, "", pathController,
"-FL", i18n("Dynamic linker executable:"), KFile::File);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(20);
+ layout->addSpacing(20);
new FlagPathEdit(this, "", pathController,
"-Fr", i18n("Compiler messages file:"), KFile::File);
@@ -160,7 +160,7 @@ FilesAndDirectoriesTab2::FilesAndDirectoriesTab2( TQWidget * parent, const char
"-Fe", i18n("Write compiler messages to file:"), KFile::File);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
FilesAndDirectoriesTab2::~FilesAndDirectoriesTab2( )
@@ -185,8 +185,8 @@ void FilesAndDirectoriesTab2::writeFlags( TQStringList * str )
LanguageTab::LanguageTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController(TQStringList::split(",","-v")))
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *compat_group = new TQVButtonGroup(i18n("Pascal Compatibility"), this);
new FlagCheckBox(compat_group, controller,
@@ -198,7 +198,7 @@ LanguageTab::LanguageTab( TQWidget * parent, const char * name )
new FlagCheckBox(compat_group, controller,
"-Sp", i18n("GNU Pascal compatibility mode"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *ccompat_group = new TQVButtonGroup(i18n("C/C++ Compatibility"), this);
new FlagCheckBox(ccompat_group, controller,
@@ -208,7 +208,7 @@ LanguageTab::LanguageTab( TQWidget * parent, const char * name )
new FlagCheckBox(ccompat_group, controller,
"-Sm", i18n("Support C style macros"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *lang_group = new TQVButtonGroup(i18n("Language"), this);
new FlagCheckBox(lang_group, controller,
@@ -221,7 +221,7 @@ LanguageTab::LanguageTab( TQWidget * parent, const char * name )
"-St", i18n("Allow the static keyword in objects"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
LanguageTab::~ LanguageTab( )
@@ -243,10 +243,10 @@ AssemblerTab::AssemblerTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController()),
asmController(new FlagRadioButtonController)
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
-// tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+// layout->setAutoAdd(true);
- TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQVButtonGroup *info_group = new TQVButtonGroup(i18n("Assembler Info"), this);
new FlagCheckBox(info_group, controller,
@@ -257,9 +257,9 @@ AssemblerTab::AssemblerTab( TQWidget * parent, const char * name )
"-ar", i18n("List register allocation and release info"));
new FlagCheckBox(info_group, controller,
"-at", i18n("List temporary allocations and deallocations"));
- tqlayout2->addWidget(info_group);
+ layout2->addWidget(info_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- //tqlayout->addSpacing(10);
+ //layout->addSpacing(10);
TQVButtonGroup *asmkind_group = new TQVButtonGroup(i18n("Assembler Reader"), this);
TQRadioButton *m_defaultkind = new TQRadioButton(i18n("Use default reader"), asmkind_group);
@@ -270,9 +270,9 @@ AssemblerTab::AssemblerTab( TQWidget * parent, const char * name )
"-Rintel", i18n("Intel style assembler"));
new FlagRadioButton(asmkind_group, asmController,
"-Rdirect", i18n("Direct assembler"));
- tqlayout2->addWidget(asmkind_group);
+ layout2->addWidget(asmkind_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *asm_group = new TQVButtonGroup(i18n("Assembler Output"), this);
@@ -298,10 +298,10 @@ AssemblerTab::AssemblerTab( TQWidget * parent, const char * name )
"-Acoff", i18n("Use coff"));
new FlagRadioButton(asm_group, asmController,
"-Apecoff", i18n("Use pecoff"));
- tqlayout->addWidget(asm_group);
+ layout->addWidget(asm_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
AssemblerTab::~ AssemblerTab( )
@@ -328,12 +328,12 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController()),
optimController(new FlagRadioButtonController)
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
-// tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+// layout->setAutoAdd(true);
- TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
- TQBoxLayout *tqlayout3 = new TQVBoxLayout(tqlayout2, KDialog::spacingHint());
+ TQBoxLayout *layout3 = new TQVBoxLayout(layout2, KDialog::spacingHint());
TQVButtonGroup *debug_group = new TQVButtonGroup(i18n("Debugging"), this);
new FlagCheckBox(debug_group, controller,
@@ -346,18 +346,18 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-gh", i18n("Use heaptrc unit"), "-!gh");
new FlagCheckBox(debug_group, controller,
"-gc", i18n("Generate checks for pointers"), "-!gc");
- tqlayout3->addWidget(debug_group);
+ layout3->addWidget(debug_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout3->addSpacing(10);
+ layout3->addSpacing(10);
TQVButtonGroup *profile_group = new TQVButtonGroup(i18n("Profiling"), this);
new FlagCheckBox(profile_group, controller,
"-pg", i18n("Generate profiler code for gprof"), "-!pg");
- tqlayout3->addWidget(profile_group);
+ layout3->addWidget(profile_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout3->addSpacing(10);
+ layout3->addSpacing(10);
- TQBoxLayout *tqlayout4 = new TQVBoxLayout(tqlayout2, KDialog::spacingHint());
+ TQBoxLayout *layout4 = new TQVBoxLayout(layout2, KDialog::spacingHint());
TQVButtonGroup *optim_group1 = new TQVButtonGroup(i18n("General Optimization"), this);
m_default = new TQRadioButton(i18n("Default"), optim_group1);
@@ -366,9 +366,9 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-Og", i18n("Generate smaller code"));
optim1 = new FlagRadioButton(optim_group1, optimController,
"-OG", i18n("Generate faster code"));
- tqlayout4->addWidget(optim_group1);
+ layout4->addWidget(optim_group1);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout4->addSpacing(10);
+ layout4->addSpacing(10);
TQVButtonGroup *optim_group2 = new TQVButtonGroup(i18n("Optimization Levels"), this);
m_default2 = new TQRadioButton(i18n("Default"), optim_group2);
@@ -379,11 +379,11 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-O2", i18n("Level 2"));
optim2 = new FlagRadioButton(optim_group2, optimController,
"-O3", i18n("Level 3"));
- tqlayout4->addWidget(optim_group2);
+ layout4->addWidget(optim_group2);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout4->addSpacing(10);
+ layout4->addSpacing(10);
- TQHBoxLayout *tqlayout5 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQHBoxLayout *layout5 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQVButtonGroup *optim_group3 = new TQVButtonGroup(i18n("Architecture"), this);
m_default3 = new TQRadioButton(i18n("Default"), optim_group3);
@@ -394,7 +394,7 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-Op2", i18n("Pentium/PentiumMMX"));
new FlagRadioButton(optim_group3, optimController,
"-Op2", i18n("PentiumPro/PII/Cyrix 6x86/K6"));
- tqlayout5->addWidget(optim_group3);
+ layout5->addWidget(optim_group3);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
TQVButtonGroup *optim_group4 = new TQVButtonGroup(i18n("Another Optimization"), this);
@@ -402,18 +402,18 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
"-Or", i18n("Use register variables"), "-!Or");
new FlagCheckBox(optim_group4, controller,
"-Ou", i18n("Uncertain optimizations"), "-!Ou");
- tqlayout5->addWidget(optim_group4);
+ layout5->addWidget(optim_group4);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- TQHBoxLayout *tqlayout6 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQHBoxLayout *layout6 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQPushButton *release = new TQPushButton(i18n("Release"), this);
TQPushButton *debug = new TQPushButton(i18n("Debug"), this);
- tqlayout6->addWidget(release);
- tqlayout6->addWidget(debug);
+ layout6->addWidget(release);
+ layout6->addWidget(debug);
connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions()));
connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions()));
- tqlayout->addStretch();
+ layout->addStretch();
}
DebugOptimTab::~ DebugOptimTab( )
@@ -458,8 +458,8 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController()),
listController(new FlagEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
TQVButtonGroup *compile_group = new TQVButtonGroup(i18n("Compile Time Checks"), this);
new FlagCheckBox(compile_group, controller,
@@ -467,7 +467,7 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagCheckBox(compile_group, controller,
"-Un", i18n("Do not check the unit name for being the same as the file name"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *run_group = new TQVButtonGroup(i18n("Run Time Checks"), this);
new FlagCheckBox(run_group, controller,
@@ -479,14 +479,14 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
new FlagCheckBox(run_group, controller,
"-Co", i18n("Integer overflow checking"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
new FlagListEdit(this, ":", listController, "-d", i18n("Conditional defines (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
new FlagListEdit(this, ":", listController, "-u", i18n("Undefine conditional defines (delimited by \":\"):"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
new FlagSpinEdit(this, 1024, 67107840, 1, 131072, listController,
"-Cs", i18n("Stack size:"));
@@ -494,7 +494,7 @@ CodegenTab::CodegenTab( TQWidget * parent, const char * name )
"-Ch", i18n("Heap size:"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
CodegenTab::~ CodegenTab( )
@@ -519,9 +519,9 @@ LinkerTab::LinkerTab( TQWidget * parent, const char * name )
: TQWidget(parent, name), controller(new FlagCheckBoxController()),
listController(new FlagEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout, KDialog::spacingHint());
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout, KDialog::spacingHint());
TQVButtonGroup *link_group = new TQVButtonGroup(i18n("Linking Stage"), this);
new FlagCheckBox(link_group, controller,
@@ -534,7 +534,7 @@ LinkerTab::LinkerTab( TQWidget * parent, const char * name )
"-Cn", i18n("Omit the linking stage"));
new FlagCheckBox(link_group, controller,
"-s", i18n("Create assembling and linking script"));
- tqlayout2->addWidget(link_group);
+ layout2->addWidget(link_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
TQVButtonGroup *exec_group = new TQVButtonGroup(i18n("Executable Generation"), this);
@@ -548,15 +548,15 @@ LinkerTab::LinkerTab( TQWidget * parent, const char * name )
"-XD", i18n("Link with dynamic libraries"));
new FlagCheckBox(exec_group, controller,
"-Xc", i18n("Link with the C library"));
- tqlayout2->addWidget(exec_group);
+ layout2->addWidget(exec_group);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
FlagListEdit *led = new FlagListEdit(this, ":", listController, "-k", i18n("Options passed to the linker (delimited by \":\"):"));
- tqlayout->addWidget(led);
+ layout->addWidget(led);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addStretch();
+ layout->addStretch();
}
LinkerTab::~LinkerTab( )
@@ -583,8 +583,8 @@ MiscTab::MiscTab( TQWidget * parent, const char * name )
pathController(new FlagPathEditController()),
editController(new FlagEditController())
{
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- tqlayout->setAutoAdd(true);
+ TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ layout->setAutoAdd(true);
new FlagCheckBox(this, controller,
"-B", i18n("Recompile all used units"));
@@ -595,7 +595,7 @@ MiscTab::MiscTab( TQWidget * parent, const char * name )
new FlagSpinEdit(this, 1, 1000, 1, 50, editController,
"-Se", i18n("Stop after the error:"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *browser_group = new TQVButtonGroup(i18n("Browser Info"), this);
TQRadioButton *m_defaultBrowser = new TQRadioButton(i18n("No browser info"), browser_group);
@@ -605,7 +605,7 @@ MiscTab::MiscTab( TQWidget * parent, const char * name )
new FlagRadioButton(browser_group, radioController,
"-bl", i18n("Global and local browser info"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
TQVButtonGroup *target_group = new TQVButtonGroup(i18n("Target OS"), this);
TQRadioButton *m_defaultTarget = new TQRadioButton(i18n("Default"), target_group);
@@ -625,9 +625,9 @@ MiscTab::MiscTab( TQWidget * parent, const char * name )
new FlagRadioButton(target_group, radioController,
"-TBEOS", i18n("BeOS"));
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- tqlayout->addSpacing(10);
+ layout->addSpacing(10);
- tqlayout->addStretch();
+ layout->addStretch();
}
MiscTab::~ MiscTab( )
diff --git a/languages/pascal/configproblemreporter.ui b/languages/pascal/configproblemreporter.ui
index b7c62665..020557a1 100644
--- a/languages/pascal/configproblemreporter.ui
+++ b/languages/pascal/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>
diff --git a/languages/pascal/pascal.g b/languages/pascal/pascal.g
index 1c1209b5..fde5dcb8 100644
--- a/languages/pascal/pascal.g
+++ b/languages/pascal/pascal.g
@@ -59,7 +59,7 @@ options {
*
* One of the principles here is that any time you have a list of
* stuff, you usually want to treat it like one thing (a list) a some
- * point in the grammar. You want trees to have a fixed number of tqchildren
+ * point in the grammar. You want trees to have a fixed number of children
* as much as possible. For example, the definition of a procedure should
* be something like #(PROCEDURE ID #(ARGDECLS ARG1 ARG2...)) not
* #(PROCEDURE ID ARG1 ARG2 ... ) since this is harder to parse and
diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp
index 2b1edd31..0d8c049b 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();
@@ -191,7 +191,7 @@ void PascalSupportPart::maybeParse( const TQString & fileName )
if( !mime || mime->name() != "text/x-pascal" )
return;
- mainWindow()->statusBar()->message( i18n("Parsing file: %1").tqarg(fileName) );
+ mainWindow()->statusBar()->message( i18n("Parsing file: %1").arg(fileName) );
parse( fileName );
}
@@ -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;
}
diff --git a/languages/perl/README.dox b/languages/perl/README.dox
index fc637af6..33020853 100644
--- a/languages/perl/README.dox
+++ b/languages/perl/README.dox
@@ -12,7 +12,7 @@ and images.
\maintainer <a href="mailto:willems.luc AT pandora.be">Luc Willems</a>
\feature perl programming language support
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/perl/doc/perl.toc b/languages/perl/doc/perl.toc
index 108cb6ae..bb3219e2 100644
--- a/languages/perl/doc/perl.toc
+++ b/languages/perl/doc/perl.toc
@@ -14,7 +14,7 @@
<tocsect1 name="Modules: how to write and use" url="man:perlmodlib"/>
<tocsect1 name="Modules: how to install from CPAN" url="man:perlmodinstall"/>
<tocsect1 name="Formats" url="man:perlform"/>
-<tocsect1 name="Unicode Support" url="man:perltqunicode"/>
+<tocsect1 name="Unicode Support" url="man:perlunicode"/>
<tocsect1 name="Locale Support" url="man:perllocale"/>
<tocsect1 name="References Introduction" url="man:perlreftut"/>
<tocsect1 name="References, the rest of the story" url="man:perlref"/>
diff --git a/languages/perl/perldoc.cpp b/languages/perl/perldoc.cpp
index 51a8f774..c651ac72 100644
--- a/languages/perl/perldoc.cpp
+++ b/languages/perl/perldoc.cpp
@@ -5,7 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kdebug.h>
#include <klocale.h>
#include <kstandarddirs.h>
diff --git a/languages/perl/perlsupportpart.cpp b/languages/perl/perlsupportpart.cpp
index 8cf62ca9..671b9902 100644
--- a/languages/perl/perlsupportpart.cpp
+++ b/languages/perl/perlsupportpart.cpp
@@ -14,7 +14,7 @@
#include <tqfileinfo.h>
#include <tqpopupmenu.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kaction.h>
#include <kapplication.h>
diff --git a/languages/php/README.dox b/languages/php/README.dox
index 4db52ea9..f388a3c6 100644
--- a/languages/php/README.dox
+++ b/languages/php/README.dox
@@ -14,7 +14,7 @@ all include files from your script.
\maintainer <a href="mailto:n.escuder AT intra-links.com">Escuder Nicolas</a>
\feature PHP language support
-\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.
\bug bugs in <a href="http://bugs.kde.org/buglist.cgi?product=tdevelop&component=php+support&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&order=Bug+Number">php support component at Bugzilla database</a>
diff --git a/languages/php/data/phpfunctions b/languages/php/data/phpfunctions
index 946dfaea..d0897bd5 100644
--- a/languages/php/data/phpfunctions
+++ b/languages/php/data/phpfunctions
@@ -184,7 +184,7 @@ domxml:string domxml_attrname([int dir_handle])
domxml:class domxml_node(string name)
domxml:string domxml_lastchild([int node])
domxml:string domxml_parent([int node])
-domxml:string domxml_tqchildren([int node])
+domxml:string domxml_children([int node])
domxml:string domxml_getattr([int node,] string attrname)
domxml:bool domxml_setattr([int node,] string attrname, string value)
domxml:array domxml_attributes([int node])
@@ -199,7 +199,7 @@ domxml:string domxml_add_root([int doc_handle,] string name)
domxml:class domxml_new_xmldoc(string version)
domxml:string node_namespace([int node])
domxml:string node_attributes([int node])
-domxml:string node_tqchildren([int node])
+domxml:string node_children([int node])
domxml:class xmltree(string xmldoc)
dotnet:int dotnet_load(string module_name)
exif:string read_exif_data(string filename)
@@ -341,7 +341,7 @@ hw:hwdoc hw_gettext(int link, int objid [, int rootid])
hw:void hw_edittext(int link, hwdoc doc)
hw:hwdoc hw_getcgi(int link, int objid)
hw:int hw_getremote(int link, int objid)
-hw:[array|int] hw_getremotetqchildren(int link, string objrec)
+hw:[array|int] hw_getremotechildren(int link, string objrec)
hw:void hw_setlinkroot(int link, int rootid)
hw:hwdoc hw_pipedocument(int link, int objid)
hw:hwdoc hw_pipecgi(int link, int objid)
@@ -360,8 +360,8 @@ hw:string hw_documentattributes(hwdoc doc)
hw:string hw_document_attributes(hwdoc doc)
hw:array hw_getparentsobj(int link, int objid)
hw:array hw_getparents(int link, int objid)
-hw:array hw_tqchildren(int link, int objid)
-hw:array hw_tqchildrenobj(int link, int objid)
+hw:array hw_children(int link, int objid)
+hw:array hw_childrenobj(int link, int objid)
hw:array hw_getchildcoll(int link, int objid)
hw:array hw_getchildcollobj(int link, int objid)
hw:int hw_docbyanchor(int link, int anchorid)
@@ -1501,18 +1501,18 @@ swf:void swf_actiongotolabel(string label)
swf:void swf_defineline(int objid, double x1, double y1, double x2, double y2, double width)
swf:void swf_definerect(int objid, double x1, double y1, double x2, double y2, double width)
swf:void swf_definepoly(int obj_id, array coords, int npoints, double width)
-swf:void swf_starttqshape(int objid)
-swf:void swf_tqshapelinesolid(double r, double g, double b, double a, double width)
-swf:void swf_tqshapefilloff(void)
-swf:void swf_tqshapefillsolid(double r, double g, double b, double a)
-swf:void swf_tqshapefillbitmapclip(int bitmapid)
-swf:void swf_tqshapefillbitmaptile(int bitmapid)
-swf:void swf_tqshapemoveto(double x, double y)
-swf:void swf_tqshapelineto(double x, double y)
-swf:void swf_tqshapecurveto(double x1, double y1, double x2, double y2)
-swf:void swf_tqshapecurveto3(double x1, double y1, double x2, double y2, double x3, double y3)
-swf:void swf_tqshapearc(double x, double y, double r, double ang1, double ang2)
-swf:void swf_endtqshape(void)
+swf:void swf_startshape(int objid)
+swf:void swf_shapelinesolid(double r, double g, double b, double a, double width)
+swf:void swf_shapefilloff(void)
+swf:void swf_shapefillsolid(double r, double g, double b, double a)
+swf:void swf_shapefillbitmapclip(int bitmapid)
+swf:void swf_shapefillbitmaptile(int bitmapid)
+swf:void swf_shapemoveto(double x, double y)
+swf:void swf_shapelineto(double x, double y)
+swf:void swf_shapecurveto(double x1, double y1, double x2, double y2)
+swf:void swf_shapecurveto3(double x1, double y1, double x2, double y2, double x3, double y3)
+swf:void swf_shapearc(double x, double y, double r, double ang1, double ang2)
+swf:void swf_endshape(void)
swf:void swf_definefont(int fontid, string name)
swf:void swf_setfont(int fontid)
swf:void swf_fontsize(double height)
diff --git a/languages/php/doc/php.toc b/languages/php/doc/php.toc
index 1c3e6db3..9e2035a7 100644
--- a/languages/php/doc/php.toc
+++ b/languages/php/doc/php.toc
@@ -557,11 +557,11 @@
<tocsect2 name="Predefined Constants" url="recode.constants.php"/>
<tocsect2 name="Recode Functions" url="ref.recode.php"/>
</tocsect1>
-<tocsect1 name="Unicode" url="book.tqunicode.php">
- <tocsect2 name="Introduction" url="intro.tqunicode.php"/>
- <tocsect2 name="Installing/Configuring" url="tqunicode.setup.php"/>
- <tocsect2 name="Predefined Constants" url="tqunicode.constants.php"/>
- <tocsect2 name="Unicode Functions" url="ref.tqunicode.php"/>
+<tocsect1 name="Unicode" url="book.unicode.php">
+ <tocsect2 name="Introduction" url="intro.unicode.php"/>
+ <tocsect2 name="Installing/Configuring" url="unicode.setup.php"/>
+ <tocsect2 name="Predefined Constants" url="unicode.constants.php"/>
+ <tocsect2 name="Unicode Functions" url="ref.unicode.php"/>
</tocsect1>
<tocsect1 name="Exif" url="book.exif.php">
<tocsect2 name="Introduction" url="intro.exif.php"/>
@@ -688,7 +688,7 @@
<tocsect2 name="SWFMorph" url="class.swfmorph.php"/>
<tocsect2 name="SWFMovie" url="class.swfmovie.php"/>
<tocsect2 name="SWFPrebuiltClip" url="class.swfprebuiltclip.php"/>
- <tocsect2 name="SWFShape" url="class.swftqshape.php"/>
+ <tocsect2 name="SWFShape" url="class.swfshape.php"/>
<tocsect2 name="SWFSound" url="class.swfsound.php"/>
<tocsect2 name="SWFSoundInstance" url="class.swfsoundinstance.php"/>
<tocsect2 name="SWFSprite" url="class.swfsprite.php"/>
@@ -3644,12 +3644,12 @@
<entry name="recode_file" url="function.recode-file.php"/>
<entry name="recode_string" url="function.recode-string.php"/>
<entry name="recode" url="function.recode.php"/>
-<entry name="tqunicode_decode" url="function.tqunicode-decode.php"/>
-<entry name="tqunicode_encode" url="function.tqunicode-encode.php"/>
-<entry name="tqunicode_get_error_mode" url="function.tqunicode-get-error-mode.php"/>
-<entry name="tqunicode_get_subst_char" url="function.tqunicode-get-subst-char.php"/>
-<entry name="tqunicode_set_error_mode" url="function.tqunicode-set-error-mode.php"/>
-<entry name="tqunicode_set_subst_char" url="function.tqunicode-set-subst-char.php"/>
+<entry name="unicode_decode" url="function.unicode-decode.php"/>
+<entry name="unicode_encode" url="function.unicode-encode.php"/>
+<entry name="unicode_get_error_mode" url="function.unicode-get-error-mode.php"/>
+<entry name="unicode_get_subst_char" url="function.unicode-get-subst-char.php"/>
+<entry name="unicode_set_error_mode" url="function.unicode-set-error-mode.php"/>
+<entry name="unicode_set_subst_char" url="function.unicode-set-subst-char.php"/>
<entry name="exif_imagetype" url="function.exif-imagetype.php"/>
<entry name="exif_read_data" url="function.exif-read-data.php"/>
<entry name="exif_tagname" url="function.exif-tagname.php"/>
@@ -3841,7 +3841,7 @@
<entry name="Imagick::getImageFilename" url="function.imagick-getimagefilename.php"/>
<entry name="Imagick::getImageFormat" url="function.imagick-getimageformat.php"/>
<entry name="Imagick::getImageGamma" url="function.imagick-getimagegamma.php"/>
-<entry name="Imagick::getImageGeometry" url="function.imagick-getimagetqgeometry.php"/>
+<entry name="Imagick::getImageGeometry" url="function.imagick-getimagegeometry.php"/>
<entry name="Imagick::getImageGreenPrimary" url="function.imagick-getimagegreenprimary.php"/>
<entry name="Imagick::getImageHeight" url="function.imagick-getimageheight.php"/>
<entry name="Imagick::getImageHistogram" url="function.imagick-getimagehistogram.php"/>
@@ -4067,7 +4067,7 @@
<entry name="ImagickDraw::getStrokeMiterLimit" url="function.imagickdraw-getstrokemiterlimit.php"/>
<entry name="ImagickDraw::getStrokeOpacity" url="function.imagickdraw-getstrokeopacity.php"/>
<entry name="ImagickDraw::getStrokeWidth" url="function.imagickdraw-getstrokewidth.php"/>
-<entry name="ImagickDraw::getTextAlignment" url="function.imagickdraw-gettexttqalignment.php"/>
+<entry name="ImagickDraw::getTextAlignment" url="function.imagickdraw-gettextalignment.php"/>
<entry name="ImagickDraw::getTextAntialias" url="function.imagickdraw-gettextantialias.php"/>
<entry name="ImagickDraw::getTextDecoration" url="function.imagickdraw-gettextdecoration.php"/>
<entry name="ImagickDraw::getTextEncoding" url="function.imagickdraw-gettextencoding.php"/>
@@ -4138,7 +4138,7 @@
<entry name="ImagickDraw::setStrokeOpacity" url="function.imagickdraw-setstrokeopacity.php"/>
<entry name="ImagickDraw::setStrokePatternURL" url="function.imagickdraw-setstrokepatternurl.php"/>
<entry name="ImagickDraw::setStrokeWidth" url="function.imagickdraw-setstrokewidth.php"/>
-<entry name="ImagickDraw::setTextAlignment" url="function.imagickdraw-settexttqalignment.php"/>
+<entry name="ImagickDraw::setTextAlignment" url="function.imagickdraw-settextalignment.php"/>
<entry name="ImagickDraw::setTextAntialias" url="function.imagickdraw-settextantialias.php"/>
<entry name="ImagickDraw::setTextDecoration" url="function.imagickdraw-settextdecoration.php"/>
<entry name="ImagickDraw::setTextEncoding" url="function.imagickdraw-settextencoding.php"/>
@@ -4512,7 +4512,7 @@
<entry name="HaruDoc::getEncoder" url="function.harudoc-getencoder.php"/>
<entry name="HaruDoc::getFont" url="function.harudoc-getfont.php"/>
<entry name="HaruDoc::getInfoAttr" url="function.harudoc-getinfoattr.php"/>
-<entry name="HaruDoc::getPageLayout" url="function.harudoc-getpagetqlayout.php"/>
+<entry name="HaruDoc::getPageLayout" url="function.harudoc-getpagelayout.php"/>
<entry name="HaruDoc::getPageMode" url="function.harudoc-getpagemode.php"/>
<entry name="HaruDoc::getStreamSize" url="function.harudoc-getstreamsize.php"/>
<entry name="HaruDoc::insertPage" url="function.harudoc-insertpage.php"/>
@@ -4534,7 +4534,7 @@
<entry name="HaruDoc::setInfoAttr" url="function.harudoc-setinfoattr.php"/>
<entry name="HaruDoc::setInfoDateAttr" url="function.harudoc-setinfodateattr.php"/>
<entry name="HaruDoc::setOpenAction" url="function.harudoc-setopenaction.php"/>
-<entry name="HaruDoc::setPageLayout" url="function.harudoc-setpagetqlayout.php"/>
+<entry name="HaruDoc::setPageLayout" url="function.harudoc-setpagelayout.php"/>
<entry name="HaruDoc::setPageMode" url="function.harudoc-setpagemode.php"/>
<entry name="HaruDoc::setPagesConfiguration" url="function.harudoc-setpagesconfiguration.php"/>
<entry name="HaruDoc::setPassword" url="function.harudoc-setpassword.php"/>
@@ -4639,7 +4639,7 @@
<entry name="HaruFont::getEncodingName" url="function.harufont-getencodingname.php"/>
<entry name="HaruFont::getFontName" url="function.harufont-getfontname.php"/>
<entry name="HaruFont::getTextWidth" url="function.harufont-gettextwidth.php"/>
-<entry name="HaruFont::getUnicodeWidth" url="function.harufont-gettqunicodewidth.php"/>
+<entry name="HaruFont::getUnicodeWidth" url="function.harufont-getunicodewidth.php"/>
<entry name="HaruFont::getXHeight" url="function.harufont-getxheight.php"/>
<entry name="HaruFont::measureText" url="function.harufont-measuretext.php"/>
<entry name="HaruImage::getBitsPerComponent" url="function.haruimage-getbitspercomponent.php"/>
@@ -4651,7 +4651,7 @@
<entry name="HaruImage::setMaskImage" url="function.haruimage-setmaskimage.php"/>
<entry name="HaruEncoder::getByteType" url="function.haruencoder-getbytetype.php"/>
<entry name="HaruEncoder::getType" url="function.haruencoder-gettype.php"/>
-<entry name="HaruEncoder::getUnicode" url="function.haruencoder-gettqunicode.php"/>
+<entry name="HaruEncoder::getUnicode" url="function.haruencoder-getunicode.php"/>
<entry name="HaruEncoder::getWritingMode" url="function.haruencoder-getwritingmode.php"/>
<entry name="HaruOutline::setDestination" url="function.haruoutline-setdestination.php"/>
<entry name="HaruOutline::setOpened" url="function.haruoutline-setopened.php"/>
@@ -4679,7 +4679,7 @@
<entry name="SWFBitmap->getWidth()" url="function.swfbitmap.getwidth.php"/>
<entry name="SWFButton->addAction()" url="function.swfbutton.addaction.php"/>
<entry name="SWFButton->addASound()" url="function.swfbutton.addasound.php"/>
-<entry name="SWFButton->addShape()" url="function.swfbutton.addtqshape.php"/>
+<entry name="SWFButton->addShape()" url="function.swfbutton.addshape.php"/>
<entry name="SWFButton->__construct()" url="function.swfbutton.construct.php"/>
<entry name="SWFButton->setAction()" url="function.swfbutton.setaction.php"/>
<entry name="SWFButton->setDown()" url="function.swfbutton.setdown.php"/>
@@ -4723,7 +4723,7 @@
<entry name="SWFFont->getAscent()" url="function.swffont.getascent.php"/>
<entry name="SWFFont->getDescent()" url="function.swffont.getdescent.php"/>
<entry name="SWFFont->getLeading()" url="function.swffont.getleading.php"/>
-<entry name="SWFFont->getShape()" url="function.swffont.gettqshape.php"/>
+<entry name="SWFFont->getShape()" url="function.swffont.getshape.php"/>
<entry name="SWFFont->getUTF8Width()" url="function.swffont.getutf8width.php"/>
<entry name="SWFFont->getWidth()" url="function.swffont.getwidth.php"/>
<entry name="SWFFontChar->addChars()" url="function.swffontchar.addchars.php"/>
@@ -4731,8 +4731,8 @@
<entry name="SWFGradient->addEntry()" url="function.swfgradient.addentry.php"/>
<entry name="SWFGradient->__construct()" url="function.swfgradient.construct.php"/>
<entry name="SWFMorph->__construct()" url="function.swfmorph.construct.php"/>
-<entry name="SWFMorph->getShape1()" url="function.swfmorph.gettqshape1.php"/>
-<entry name="SWFMorph->getShape2()" url="function.swfmorph.gettqshape2.php"/>
+<entry name="SWFMorph->getShape1()" url="function.swfmorph.getshape1.php"/>
+<entry name="SWFMorph->getShape2()" url="function.swfmorph.getshape2.php"/>
<entry name="SWFMovie->add()" url="function.swfmovie.add.php"/>
<entry name="SWFMovie->addExport()" url="function.swfmovie.addexport.php"/>
<entry name="SWFMovie->addFont()" url="function.swfmovie.addfont.php"/>
@@ -4754,22 +4754,22 @@
<entry name="SWFMovie->streamMP3()" url="function.swfmovie.streammp3.php"/>
<entry name="SWFMovie->writeExports()" url="function.swfmovie.writeexports.php"/>
<entry name="SWFPrebuiltClip->__construct()" url="function.swfprebuiltclip.construct.php"/>
-<entry name="SWFShape->addFill()" url="function.swftqshape.addfill.php"/>
-<entry name="SWFShape->__construct()" url="function.swftqshape.construct.php"/>
-<entry name="SWFShape->drawArc()" url="function.swftqshape.drawarc.php"/>
-<entry name="SWFShape->drawCircle()" url="function.swftqshape.drawcircle.php"/>
-<entry name="SWFShape->drawCubic()" url="function.swftqshape.drawcubic.php"/>
-<entry name="SWFShape->drawCubicTo()" url="function.swftqshape.drawcubicto.php"/>
-<entry name="SWFShape->drawCurve()" url="function.swftqshape.drawcurve.php"/>
-<entry name="SWFShape->drawCurveTo()" url="function.swftqshape.drawcurveto.php"/>
-<entry name="SWFShape->drawGlyph()" url="function.swftqshape.drawglyph.php"/>
-<entry name="SWFShape->drawLine()" url="function.swftqshape.drawline.php"/>
-<entry name="SWFShape->drawLineTo()" url="function.swftqshape.drawlineto.php"/>
-<entry name="SWFShape->movePen()" url="function.swftqshape.movepen.php"/>
-<entry name="SWFShape->movePenTo()" url="function.swftqshape.movepento.php"/>
-<entry name="SWFShape->setLeftFill()" url="function.swftqshape.setleftfill.php"/>
-<entry name="SWFShape->setLine()" url="function.swftqshape.setline.php"/>
-<entry name="SWFShape->setRightFill()" url="function.swftqshape.setrightfill.php"/>
+<entry name="SWFShape->addFill()" url="function.swfshape.addfill.php"/>
+<entry name="SWFShape->__construct()" url="function.swfshape.construct.php"/>
+<entry name="SWFShape->drawArc()" url="function.swfshape.drawarc.php"/>
+<entry name="SWFShape->drawCircle()" url="function.swfshape.drawcircle.php"/>
+<entry name="SWFShape->drawCubic()" url="function.swfshape.drawcubic.php"/>
+<entry name="SWFShape->drawCubicTo()" url="function.swfshape.drawcubicto.php"/>
+<entry name="SWFShape->drawCurve()" url="function.swfshape.drawcurve.php"/>
+<entry name="SWFShape->drawCurveTo()" url="function.swfshape.drawcurveto.php"/>
+<entry name="SWFShape->drawGlyph()" url="function.swfshape.drawglyph.php"/>
+<entry name="SWFShape->drawLine()" url="function.swfshape.drawline.php"/>
+<entry name="SWFShape->drawLineTo()" url="function.swfshape.drawlineto.php"/>
+<entry name="SWFShape->movePen()" url="function.swfshape.movepen.php"/>
+<entry name="SWFShape->movePenTo()" url="function.swfshape.movepento.php"/>
+<entry name="SWFShape->setLeftFill()" url="function.swfshape.setleftfill.php"/>
+<entry name="SWFShape->setLine()" url="function.swfshape.setline.php"/>
+<entry name="SWFShape->setRightFill()" url="function.swfshape.setrightfill.php"/>
<entry name="SWFSound" url="function.swfsound.construct.php"/>
<entry name="SWFSoundInstance->loopCount()" url="function.swfsoundinstance.loopcount.php"/>
<entry name="SWFSoundInstance->loopInPoint()" url="function.swfsoundinstance.loopinpoint.php"/>
@@ -5063,7 +5063,7 @@
<entry name="ps_show_xy" url="function.ps-show-xy.php"/>
<entry name="ps_show2" url="function.ps-show2.php"/>
<entry name="ps_show" url="function.ps-show.php"/>
-<entry name="ps_string_tqgeometry" url="function.ps-string-tqgeometry.php"/>
+<entry name="ps_string_geometry" url="function.ps-string-geometry.php"/>
<entry name="ps_stringwidth" url="function.ps-stringwidth.php"/>
<entry name="ps_stroke" url="function.ps-stroke.php"/>
<entry name="ps_symbol_name" url="function.ps-symbol-name.php"/>
@@ -5096,7 +5096,7 @@
<entry name="swf_definetext" url="function.swf-definetext.php"/>
<entry name="swf_endbutton" url="function.swf-endbutton.php"/>
<entry name="swf_enddoaction" url="function.swf-enddoaction.php"/>
-<entry name="swf_endtqshape" url="function.swf-endtqshape.php"/>
+<entry name="swf_endshape" url="function.swf-endshape.php"/>
<entry name="swf_endsymbol" url="function.swf-endsymbol.php"/>
<entry name="swf_fontsize" url="function.swf-fontsize.php"/>
<entry name="swf_fontslant" url="function.swf-fontslant.php"/>
@@ -5124,20 +5124,20 @@
<entry name="swf_scale" url="function.swf-scale.php"/>
<entry name="swf_setfont" url="function.swf-setfont.php"/>
<entry name="swf_setframe" url="function.swf-setframe.php"/>
-<entry name="swf_tqshapearc" url="function.swf-tqshapearc.php"/>
-<entry name="swf_tqshapecurveto3" url="function.swf-tqshapecurveto3.php"/>
-<entry name="swf_tqshapecurveto" url="function.swf-tqshapecurveto.php"/>
-<entry name="swf_tqshapefillbitmapclip" url="function.swf-tqshapefillbitmapclip.php"/>
-<entry name="swf_tqshapefillbitmaptile" url="function.swf-tqshapefillbitmaptile.php"/>
-<entry name="swf_tqshapefilloff" url="function.swf-tqshapefilloff.php"/>
-<entry name="swf_tqshapefillsolid" url="function.swf-tqshapefillsolid.php"/>
-<entry name="swf_tqshapelinesolid" url="function.swf-tqshapelinesolid.php"/>
-<entry name="swf_tqshapelineto" url="function.swf-tqshapelineto.php"/>
-<entry name="swf_tqshapemoveto" url="function.swf-tqshapemoveto.php"/>
+<entry name="swf_shapearc" url="function.swf-shapearc.php"/>
+<entry name="swf_shapecurveto3" url="function.swf-shapecurveto3.php"/>
+<entry name="swf_shapecurveto" url="function.swf-shapecurveto.php"/>
+<entry name="swf_shapefillbitmapclip" url="function.swf-shapefillbitmapclip.php"/>
+<entry name="swf_shapefillbitmaptile" url="function.swf-shapefillbitmaptile.php"/>
+<entry name="swf_shapefilloff" url="function.swf-shapefilloff.php"/>
+<entry name="swf_shapefillsolid" url="function.swf-shapefillsolid.php"/>
+<entry name="swf_shapelinesolid" url="function.swf-shapelinesolid.php"/>
+<entry name="swf_shapelineto" url="function.swf-shapelineto.php"/>
+<entry name="swf_shapemoveto" url="function.swf-shapemoveto.php"/>
<entry name="swf_showframe" url="function.swf-showframe.php"/>
<entry name="swf_startbutton" url="function.swf-startbutton.php"/>
<entry name="swf_startdoaction" url="function.swf-startdoaction.php"/>
-<entry name="swf_starttqshape" url="function.swf-starttqshape.php"/>
+<entry name="swf_startshape" url="function.swf-startshape.php"/>
<entry name="swf_startsymbol" url="function.swf-startsymbol.php"/>
<entry name="swf_textwidth" url="function.swf-textwidth.php"/>
<entry name="swf_translate" url="function.swf-translate.php"/>
@@ -5318,8 +5318,8 @@
<entry name="CachingIterator::rewind" url="cachingiterator.rewind.php"/>
<entry name="CachingIterator::__toString" url="cachingiterator.tostring.php"/>
<entry name="CachingIterator::valid" url="cachingiterator.valid.php"/>
-<entry name="RecursiveCachingIterator::getChildren" url="recursivecachingiterator.gettqchildren.php"/>
-<entry name="RecursiveCachingIterator::hasChildren" url="recursivecachingiterator.hastqchildren.php"/>
+<entry name="RecursiveCachingIterator::getChildren" url="recursivecachingiterator.getchildren.php"/>
+<entry name="RecursiveCachingIterator::hasChildren" url="recursivecachingiterator.haschildren.php"/>
<entry name="DirectoryIterator::__construct" url="directoryiterator.construct.php"/>
<entry name="DirectoryIterator::current" url="directoryiterator.current.php"/>
<entry name="DirectoryIterator::getATime" url="directoryiterator.getatime.php"/>
@@ -5356,12 +5356,12 @@
<entry name="LimitIterator::rewind" url="limititerator.rewind.php"/>
<entry name="LimitIterator::seek" url="limititerator.seek.php"/>
<entry name="LimitIterator::valid" url="limititerator.valid.php"/>
-<entry name="ParentIterator::getChildren" url="parentiterator.gettqchildren.php"/>
-<entry name="ParentIterator::hasChildren" url="parentiterator.hastqchildren.php"/>
+<entry name="ParentIterator::getChildren" url="parentiterator.getchildren.php"/>
+<entry name="ParentIterator::hasChildren" url="parentiterator.haschildren.php"/>
<entry name="ParentIterator::next" url="parentiterator.next.php"/>
<entry name="ParentIterator::rewind" url="parentiterator.rewind.php"/>
-<entry name="RecursiveDirectoryIterator::getChildren" url="recursivedirectoryiterator.gettqchildren.php"/>
-<entry name="RecursiveDirectoryIterator::hasChildren" url="recursivedirectoryiterator.hastqchildren.php"/>
+<entry name="RecursiveDirectoryIterator::getChildren" url="recursivedirectoryiterator.getchildren.php"/>
+<entry name="RecursiveDirectoryIterator::hasChildren" url="recursivedirectoryiterator.haschildren.php"/>
<entry name="RecursiveDirectoryIterator::key" url="recursivedirectoryiterator.key.php"/>
<entry name="RecursiveDirectoryIterator::next" url="recursivedirectoryiterator.next.php"/>
<entry name="RecursiveDirectoryIterator::rewind" url="recursivedirectoryiterator.rewind.php"/>
@@ -5373,8 +5373,8 @@
<entry name="RecursiveIteratorIterator::rewind" url="recursiveiteratoriterator.rewind.php"/>
<entry name="RecursiveIteratorIterator::valid" url="recursiveiteratoriterator.valid.php"/>
<entry name="SimpleXMLIterator::current" url="simplexmliterator.current.php"/>
-<entry name="SimpleXMLIterator::getChildren" url="simplexmliterator.gettqchildren.php"/>
-<entry name="SimpleXMLIterator::hasChildren" url="simplexmliterator.hastqchildren.php"/>
+<entry name="SimpleXMLIterator::getChildren" url="simplexmliterator.getchildren.php"/>
+<entry name="SimpleXMLIterator::hasChildren" url="simplexmliterator.haschildren.php"/>
<entry name="SimpleXMLIterator::key" url="simplexmliterator.key.php"/>
<entry name="SimpleXMLIterator::next" url="simplexmliterator.next.php"/>
<entry name="SimpleXMLIterator::rewind" url="simplexmliterator.rewind.php"/>
@@ -5509,7 +5509,7 @@
<entry name="tidy_set_encoding" url="function.tidy-set-encoding.php"/>
<entry name="tidy_setopt" url="function.tidy-setopt.php"/>
<entry name="tidy_warning_count" url="function.tidy-warning-count.php"/>
-<entry name="tidyNode->hasChildren" url="function.tidynode-hastqchildren.php"/>
+<entry name="tidyNode->hasChildren" url="function.tidynode-haschildren.php"/>
<entry name="tidyNode->hasSiblings" url="function.tidynode-hassiblings.php"/>
<entry name="tidyNode->isAsp" url="function.tidynode-isasp.php"/>
<entry name="tidyNode->isComment" url="function.tidynode-iscomment.php"/>
@@ -5594,8 +5594,8 @@
<entry name="ftp_systype" url="function.ftp-systype.php"/>
<entry name="hw_Array2Objrec" url="function.hw-array2objrec.php"/>
<entry name="hw_changeobject" url="function.hw-changeobject.php"/>
-<entry name="hw_Children" url="function.hw-tqchildren.php"/>
-<entry name="hw_ChildrenObj" url="function.hw-tqchildrenobj.php"/>
+<entry name="hw_Children" url="function.hw-children.php"/>
+<entry name="hw_ChildrenObj" url="function.hw-childrenobj.php"/>
<entry name="hw_Close" url="function.hw-close.php"/>
<entry name="hw_Connect" url="function.hw-connect.php"/>
<entry name="hw_connection_info" url="function.hw-connection-info.php"/>
@@ -5629,7 +5629,7 @@
<entry name="hw_GetParentsObj" url="function.hw-getparentsobj.php"/>
<entry name="hw_getrellink" url="function.hw-getrellink.php"/>
<entry name="hw_GetRemote" url="function.hw-getremote.php"/>
-<entry name="hw_getremotetqchildren" url="function.hw-getremotetqchildren.php"/>
+<entry name="hw_getremotechildren" url="function.hw-getremotechildren.php"/>
<entry name="hw_GetSrcByDestObj" url="function.hw-getsrcbydestobj.php"/>
<entry name="hw_GetText" url="function.hw-gettext.php"/>
<entry name="hw_getusername" url="function.hw-getusername.php"/>
@@ -5661,7 +5661,7 @@
<entry name="hw_api_attribute" url="function.hwapi-attribute.php"/>
<entry name="hw_api->checkin" url="function.hwapi-checkin.php"/>
<entry name="hw_api->checkout" url="function.hwapi-checkout.php"/>
-<entry name="hw_api->tqchildren" url="function.hwapi-tqchildren.php"/>
+<entry name="hw_api->children" url="function.hwapi-children.php"/>
<entry name="hw_api_content->mimetype" url="function.hwapi-content-mimetype.php"/>
<entry name="hw_api_content->read" url="function.hwapi-content-read.php"/>
<entry name="hw_api->content" url="function.hwapi-content.php"/>
@@ -6571,7 +6571,7 @@
<entry name="is_resource" url="function.is-resource.php"/>
<entry name="is_scalar" url="function.is-scalar.php"/>
<entry name="is_string" url="function.is-string.php"/>
-<entry name="is_tqunicode" url="function.is-tqunicode.php"/>
+<entry name="is_unicode" url="function.is-unicode.php"/>
<entry name="isset" url="function.isset.php"/>
<entry name="print_r" url="function.print-r.php"/>
<entry name="serialize" url="function.serialize.php"/>
@@ -6916,7 +6916,7 @@
<entry name="SimpleXMLElement->addChild()" url="function.simplexml-element-addChild.php"/>
<entry name="SimpleXMLElement->asXML()" url="function.simplexml-element-asXML.php"/>
<entry name="SimpleXMLElement->attributes()" url="function.simplexml-element-attributes.php"/>
-<entry name="SimpleXMLElement->tqchildren()" url="function.simplexml-element-tqchildren.php"/>
+<entry name="SimpleXMLElement->children()" url="function.simplexml-element-children.php"/>
<entry name="SimpleXMLElement->__construct()" url="function.simplexml-element-construct.php"/>
<entry name="SimpleXMLElement->getDocNamespaces()" url="function.simplexml-element-getDocNamespaces.php"/>
<entry name="SimpleXMLElement->getName()" url="function.simplexml-element-getName.php"/>
diff --git a/languages/php/phpcodecompletion.cpp b/languages/php/phpcodecompletion.cpp
index 60c9877b..81c3b742 100644
--- a/languages/php/phpcodecompletion.cpp
+++ b/languages/php/phpcodecompletion.cpp
@@ -27,7 +27,7 @@
#include <kdebug.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <iostream>
@@ -234,7 +234,7 @@ bool PHPCodeCompletion::checkForStaticFunction(TQString line, int col) {
for (funcIt = funcList.begin(); funcIt != funcList.end(); ++funcIt) {
FunctionDom nFunc = *funcIt;
- if ((function.isEmpty() || nFunc->name().tqstartsWith(function, FALSE)) && nFunc->isStatic()) {
+ if ((function.isEmpty() || nFunc->name().startsWith(function, FALSE)) && nFunc->isStatic()) {
KTextEditor::CompletionEntry e;
e.prefix = nClass->name() + " ::";
e.text = nFunc->name();
@@ -362,7 +362,7 @@ TQValueList<KTextEditor::CompletionEntry> PHPCodeCompletion::getClasses(TQString
ClassList::Iterator classIt;
for (classIt = classList.begin(); classIt != classList.end(); ++classIt) {
ClassDom nClass = *classIt;
- if (name == NULL || name.isEmpty() || nClass->name().tqstartsWith(name, FALSE)) {
+ if (name == NULL || name.isEmpty() || nClass->name().startsWith(name, FALSE)) {
KTextEditor::CompletionEntry e;
TQStringList::Iterator it = added.find(nClass->name());
@@ -383,7 +383,7 @@ TQValueList<KTextEditor::CompletionEntry> PHPCodeCompletion::getFunctionsAndVars
if (classname.isEmpty()) {
TQValueList<FunctionCompletionEntry>::Iterator it;
for( it = m_globalFunctions.begin(); it != m_globalFunctions.end(); ++it ) {
- if((*it).text.tqstartsWith(function, FALSE)){
+ if((*it).text.startsWith(function, FALSE)){
KTextEditor::CompletionEntry e;
e = (*it);
list.append(e);
@@ -393,7 +393,7 @@ TQValueList<KTextEditor::CompletionEntry> PHPCodeCompletion::getFunctionsAndVars
FunctionList methodList = m_model->globalNamespace()->functionList();
FunctionList::Iterator methodIt;
for (methodIt = methodList.begin(); methodIt != methodList.end(); ++methodIt) {
- if ((*methodIt)->name().tqstartsWith(function, FALSE)){
+ if ((*methodIt)->name().startsWith(function, FALSE)){
KTextEditor::CompletionEntry e;
e.text = (*methodIt)->name();
ArgumentDom pArg = (*methodIt)->argumentList().first();
@@ -416,7 +416,7 @@ TQValueList<KTextEditor::CompletionEntry> PHPCodeCompletion::getFunctionsAndVars
FunctionList::Iterator methodIt;
for (methodIt = methodList.begin(); methodIt != methodList.end(); ++methodIt) {
FunctionDom pMethod = *methodIt;
- if (function.isEmpty() || pMethod->name().tqstartsWith(function, FALSE)) {
+ if (function.isEmpty() || pMethod->name().startsWith(function, FALSE)) {
KTextEditor::CompletionEntry e;
ArgumentDom arg = pMethod->argumentList().first();
@@ -430,7 +430,7 @@ TQValueList<KTextEditor::CompletionEntry> PHPCodeCompletion::getFunctionsAndVars
VariableList::Iterator attrIt;
for (attrIt = attrList.begin(); attrIt != attrList.end(); ++attrIt) {
VariableDom pVar = *attrIt;
- if (function.isEmpty() || pVar->name().tqstartsWith(function, FALSE)) {
+ if (function.isEmpty() || pVar->name().startsWith(function, FALSE)) {
KTextEditor::CompletionEntry e;
e.prefix = nClass->name() + " ::";
e.text = pVar->name();
@@ -706,7 +706,7 @@ kdDebug(9018) << "checkForArgHint 0 " << line << endl;
}
void PHPCodeCompletion::setStatusBar(TQString expr, TQString type) {
- m_phpSupport->mainWindow()->statusBar()->message( i18n("Type of %1 is %2").tqarg(expr).tqarg(type), 1000 );
+ m_phpSupport->mainWindow()->statusBar()->message( i18n("Type of %1 is %2").arg(expr).arg(type), 1000 );
}
#include "phpcodecompletion.moc"
diff --git a/languages/php/phpconfigwidgetbase.ui b/languages/php/phpconfigwidgetbase.ui
index 962ac2a9..a1da7ee1 100644
--- a/languages/php/phpconfigwidgetbase.ui
+++ b/languages/php/phpconfigwidgetbase.ui
@@ -153,7 +153,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>170</height>
@@ -230,7 +230,7 @@
<string>&lt;font size="+1"&gt;The php executable is called directly. Ideal for developers who want to develop terminal or graphical applications in PHP.
You need a correctly installed php cgi version.&lt;/font&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="hAlign" stdset="0">
@@ -254,7 +254,7 @@ You need a correctly installed php cgi version.&lt;/font&gt;</string>
<string>&lt;font size="+1"&gt;Uses an existing webserver. The pages are previewed in
the internal web browser. Please make sure that the webserver was compiled with PHP support.&lt;/font&gt;</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="hAlign" stdset="0">
@@ -272,7 +272,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>21</width>
<height>171</height>
@@ -318,7 +318,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -351,7 +351,7 @@ the internal web browser. Please make sure that the webserver was compiled with
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout7</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@@ -366,7 +366,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="name">
<cstring>exe_button</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>22</width>
<height>0</height>
@@ -405,7 +405,7 @@ the internal web browser. Please make sure that the webserver was compiled with
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout8</cstring>
+ <cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@@ -426,7 +426,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="enabled">
<bool>true</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -451,7 +451,7 @@ the internal web browser. Please make sure that the webserver was compiled with
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout9</cstring>
+ <cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@@ -472,7 +472,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="enabled">
<bool>false</bool>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
@@ -497,7 +497,7 @@ the internal web browser. Please make sure that the webserver was compiled with
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>343</height>
diff --git a/languages/php/phperrorview.cpp b/languages/php/phperrorview.cpp
index 11e3066f..cec0b4fb 100644
--- a/languages/php/phperrorview.cpp
+++ b/languages/php/phperrorview.cpp
@@ -50,7 +50,7 @@
#include <tqwhatsthis.h>
#include <tqtabbar.h>
#include <tqwidgetstack.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
class ProblemItem: public KListViewItem
@@ -151,7 +151,7 @@ void PHPErrorView::slotFilter()
if(!m_tabBar->isTabEnabled(4))
m_tabBar->setTabEnabled(4,true);
- m_tabBar->tab(4)->setText(i18n("Filtered: %1").tqarg( m_filterEdit->text() ));
+ m_tabBar->tab(4)->setText(i18n("Filtered: %1").arg( m_filterEdit->text() ));
m_tabBar->setCurrentTab(4);
m_filteredList->clear();
diff --git a/languages/php/phpfile.cpp b/languages/php/phpfile.cpp
index 974698d3..d54028da 100644
--- a/languages/php/phpfile.cpp
+++ b/languages/php/phpfile.cpp
@@ -418,7 +418,7 @@ void PHPFile::ParseSource() {
include_path.append(URLUtil::directory(fileName()) + "/");
include_path.append("");
- TQStringList list = includere.tqcapturedTexts();
+ TQStringList list = includere.capturedTexts();
for ( TQStringList::Iterator it = include_path.begin(); it != include_path.end(); ++it ) {
TQString abso = URLUtil::canonicalPath(*it + "/" + list[3]);
diff --git a/languages/php/phpinfodlg.ui b/languages/php/phpinfodlg.ui
index c4f26dfb..ea40dbf3 100644
--- a/languages/php/phpinfodlg.ui
+++ b/languages/php/phpinfodlg.ui
@@ -45,7 +45,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -62,7 +62,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/php/phpnewclassdlg.cpp b/languages/php/phpnewclassdlg.cpp
index 314dfcf6..a95a9151 100644
--- a/languages/php/phpnewclassdlg.cpp
+++ b/languages/php/phpnewclassdlg.cpp
@@ -22,7 +22,7 @@
#include <tqtoolbutton.h>
#include <iostream>
#include <tqregexp.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <kglobal.h>
#include <kstandarddirs.h>
#include <kinstance.h>
diff --git a/languages/php/phpnewclassdlgbase.ui b/languages/php/phpnewclassdlgbase.ui
index 5ddb336a..94c18baa 100644
--- a/languages/php/phpnewclassdlgbase.ui
+++ b/languages/php/phpnewclassdlgbase.ui
@@ -40,7 +40,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/php/phpparser.cpp b/languages/php/phpparser.cpp
index a0f1179e..cafd1a49 100644
--- a/languages/php/phpparser.cpp
+++ b/languages/php/phpparser.cpp
@@ -29,7 +29,7 @@
#include <kdebug.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <iostream>
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp
index 52c9f109..85c70c00 100644
--- a/languages/php/phpsupportpart.cpp
+++ b/languages/php/phpsupportpart.cpp
@@ -26,7 +26,7 @@
#include <tqpopupmenu.h>
#include <tqprogressbar.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <tqvbox.h>
#include <tqwhatsthis.h>
diff --git a/languages/python/README.dox b/languages/python/README.dox
index 339976a3..1d5f55c9 100644
--- a/languages/python/README.dox
+++ b/languages/python/README.dox
@@ -14,7 +14,7 @@ and images.
\maintainer <a href="mailto:nth maintainer AT provider.com">nth maintainer full name</a>
\feature Python support
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/python/doc/python.toc b/languages/python/doc/python.toc
index 342e213c..a0352dcc 100644
--- a/languages/python/doc/python.toc
+++ b/languages/python/doc/python.toc
@@ -293,7 +293,7 @@
</tocsect3>
<tocsect3 name="7.2 Sequence Objects " url="api/sequenceObjects.html">
<tocsect4 name="7.2.1 String Objects " url="api/stringObjects.html"/>
-<tocsect4 name="7.2.2 Unicode Objects " url="api/tqunicodeObjects.html"/>
+<tocsect4 name="7.2.2 Unicode Objects " url="api/unicodeObjects.html"/>
<tocsect4 name="7.2.3 Buffer Objects " url="api/bufferObjects.html"/>
<tocsect4 name="7.2.4 Tuple Objects " url="api/tupleObjects.html"/>
<tocsect4 name="7.2.5 List Objects " url="api/listObjects.html"/>
@@ -410,7 +410,7 @@
<tocsect3 name="4.7 codecs -- Codec registry and base classes" url="lib/module-codecs.html">
<tocsect4 name="4.7.1 Codec Base Classes" url="lib/node80.html"/>
</tocsect3>
-<tocsect3 name="4.8 tqunicodedata -- Unicode Database" url="lib/module-tqunicodedata.html"/>
+<tocsect3 name="4.8 unicodedata -- Unicode Database" url="lib/module-unicodedata.html"/>
</tocsect2>
<tocsect2 name="5. Miscellaneous Services" url="lib/misc.html">
<tocsect3 name="5.1 math -- Mathematical functions" url="lib/module-math.html"/>
@@ -1362,7 +1362,7 @@
<entry name="string" url="ref/types.html#l2h-85"/>
<entry name="object (continued), traceback" url="ref/types.html#l2h-127"/>
<entry name="object (continued), tuple" url="ref/types.html#l2h-91"/>
-<entry name="object (continued), tqunicode" url="ref/types.html#l2h-90"/>
+<entry name="object (continued), unicode" url="ref/types.html#l2h-90"/>
<entry name="object (continued), user-defined function" url="ref/types.html#l2h-103"/>
<entry name="object (continued), user-defined method" url="ref/types.html#l2h-105"/>
<entry name="oct() (built-in function)" url="ref/numeric-types.html#l2h-229"/>
@@ -1544,8 +1544,8 @@
<entry name="unbinding, name" url="ref/execframes.html#l2h-243"/>
<entry name="unichr() (built-in function)" url="ref/types.html#l2h-87"/>
<entry name="Unicode" url="ref/types.html#l2h-90"/>
-<entry name="tqunicode() (built-in function)" url="ref/types.html#l2h-89"/>
-<entry name="tqunicode object" url="ref/types.html#l2h-90"/>
+<entry name="unicode() (built-in function)" url="ref/types.html#l2h-89"/>
+<entry name="unicode object" url="ref/types.html#l2h-90"/>
<entry name="UNIX" url="ref/programs.html#l2h-439"/>
<entry name="unreachable object" url="ref/objects.html#l2h-28"/>
<entry name="unrecognized escape sequence" url="ref/strings.html#l2h-19"/>
diff --git a/languages/python/pydoc.cpp b/languages/python/pydoc.cpp
index afe3ce74..32732fa2 100644
--- a/languages/python/pydoc.cpp
+++ b/languages/python/pydoc.cpp
@@ -5,7 +5,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kstandarddirs.h>
#include <kinstance.h>
#include <kprocess.h>
diff --git a/languages/python/pythonconfigwidgetbase.ui b/languages/python/pythonconfigwidgetbase.ui
index af04041b..7c70ed62 100644
--- a/languages/python/pythonconfigwidgetbase.ui
+++ b/languages/python/pythonconfigwidgetbase.ui
@@ -57,7 +57,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -76,7 +76,7 @@
<property name="sizeType">
<enum>Minimum</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -101,7 +101,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
diff --git a/languages/python/pythonimplementationwidget.cpp b/languages/python/pythonimplementationwidget.cpp
index 94835226..08e65f4c 100644
--- a/languages/python/pythonimplementationwidget.cpp
+++ b/languages/python/pythonimplementationwidget.cpp
@@ -23,7 +23,7 @@
#include <tqfile.h>
#include <tqregexp.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klineedit.h>
#include <klocale.h>
diff --git a/languages/python/pythonsupportpart.cpp b/languages/python/pythonsupportpart.cpp
index 39e635b3..edc2ca8f 100644
--- a/languages/python/pythonsupportpart.cpp
+++ b/languages/python/pythonsupportpart.cpp
@@ -22,7 +22,7 @@
#include <tqfileinfo.h>
#include <tqpopupmenu.h>
#include <tqstringlist.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <tqvbox.h>
#include <kaction.h>
@@ -100,7 +100,7 @@ void PythonSupportPart::contextMenu(TQPopupMenu *popup, const Context *context)
{
m_contextFileName = url.fileName();
int id = popup->insertItem(i18n("Create or Select Implementation..."), this, TQT_SLOT(slotCreateSubclass()));
- popup->tqsetWhatsThis(id, i18n("<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner."));
+ popup->setWhatsThis(id, i18n("<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner."));
}
}
}
diff --git a/languages/ruby/README.dox b/languages/ruby/README.dox
index 89dd9058..aaa8823b 100644
--- a/languages/ruby/README.dox
+++ b/languages/ruby/README.dox
@@ -9,7 +9,7 @@ This is a Ruby support plugin
\feature .rb template for New File
\feature Ruby project template for Application Wizard
\feature "Run" option in menu
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/ruby/app_templates/dcopservice/app.cpp b/languages/ruby/app_templates/dcopservice/app.cpp
index b659dbfb..46086a9e 100644
--- a/languages/ruby/app_templates/dcopservice/app.cpp
+++ b/languages/ruby/app_templates/dcopservice/app.cpp
@@ -17,8 +17,8 @@ int main(int argc, char **argv) {
char ** rubyargs = (char **) calloc(argc+4, sizeof(char *));
rubyargs[0] = strdup(argv[0]);
rubyargs[1] = strdup("-KU");
- rubyargs[2] = strdup(TQString("-C%1").tqarg(program.dirPath()).latin1());
- rubyargs[3] = strdup(TQString("-I%1").tqarg(program.dirPath()).latin1());
+ rubyargs[2] = strdup(TQString("-C%1").arg(program.dirPath()).latin1());
+ rubyargs[3] = strdup(TQString("-I%1").arg(program.dirPath()).latin1());
rubyargs[4] = strdup(program.fileName().latin1());
for (int i = 1; i < argc; i++) {
rubyargs[i+4] = argv[i];
diff --git a/languages/ruby/app_templates/kapp/app.cpp b/languages/ruby/app_templates/kapp/app.cpp
index b659dbfb..46086a9e 100644
--- a/languages/ruby/app_templates/kapp/app.cpp
+++ b/languages/ruby/app_templates/kapp/app.cpp
@@ -17,8 +17,8 @@ int main(int argc, char **argv) {
char ** rubyargs = (char **) calloc(argc+4, sizeof(char *));
rubyargs[0] = strdup(argv[0]);
rubyargs[1] = strdup("-KU");
- rubyargs[2] = strdup(TQString("-C%1").tqarg(program.dirPath()).latin1());
- rubyargs[3] = strdup(TQString("-I%1").tqarg(program.dirPath()).latin1());
+ rubyargs[2] = strdup(TQString("-C%1").arg(program.dirPath()).latin1());
+ rubyargs[3] = strdup(TQString("-I%1").arg(program.dirPath()).latin1());
rubyargs[4] = strdup(program.fileName().latin1());
for (int i = 1; i < argc; i++) {
rubyargs[i+4] = argv[i];
diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb
index 6a49bdab..e7aabe3c 100644
--- a/languages/ruby/app_templates/kapp/appview.rb
+++ b/languages/ruby/app_templates/kapp/appview.rb
@@ -31,7 +31,7 @@ class %{APPNAMESC}View < Qt::Widget
# keep a reference to the DCOP Interface so it doesn't get gc'd
@dcop = %{APPNAMESC}Iface.new(self)
- # setup our tqlayout manager to automatically add our widgets
+ # setup our layout manager to automatically add our widgets
top_layout = Qt::HBoxLayout.new(self)
top_layout.setAutoAdd(true)
diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb
index f7f2e312..98669ad2 100644
--- a/languages/ruby/app_templates/kapp/pref.rb
+++ b/languages/ruby/app_templates/kapp/pref.rb
@@ -19,8 +19,8 @@ class %{APPNAMESC}PrefPageOne < Qt::Frame
def initialize(parent)
super(parent)
- tqlayout = Qt::HBoxLayout.new(self)
- tqlayout.setAutoAdd(true)
+ layout = Qt::HBoxLayout.new(self)
+ layout.setAutoAdd(true)
Qt::Label.new(i18n("Add something here"), self)
end
@@ -30,8 +30,8 @@ class %{APPNAMESC}PrefPageTwo < Qt::Frame
def initialize(parent)
super(parent)
- tqlayout = Qt::HBoxLayout.new(self)
- tqlayout.setAutoAdd(true)
+ layout = Qt::HBoxLayout.new(self)
+ layout.setAutoAdd(true)
Qt::Label.new(i18n("Add something here"), self)
end
diff --git a/languages/ruby/app_templates/kxt/app.cpp b/languages/ruby/app_templates/kxt/app.cpp
index b659dbfb..46086a9e 100644
--- a/languages/ruby/app_templates/kxt/app.cpp
+++ b/languages/ruby/app_templates/kxt/app.cpp
@@ -17,8 +17,8 @@ int main(int argc, char **argv) {
char ** rubyargs = (char **) calloc(argc+4, sizeof(char *));
rubyargs[0] = strdup(argv[0]);
rubyargs[1] = strdup("-KU");
- rubyargs[2] = strdup(TQString("-C%1").tqarg(program.dirPath()).latin1());
- rubyargs[3] = strdup(TQString("-I%1").tqarg(program.dirPath()).latin1());
+ rubyargs[2] = strdup(TQString("-C%1").arg(program.dirPath()).latin1());
+ rubyargs[3] = strdup(TQString("-I%1").arg(program.dirPath()).latin1());
rubyargs[4] = strdup(program.fileName().latin1());
for (int i = 1; i < argc; i++) {
rubyargs[i+4] = argv[i];
diff --git a/languages/ruby/app_templates/kxt/prefs-base.ui b/languages/ruby/app_templates/kxt/prefs-base.ui
index 46a35473..03af967a 100644
--- a/languages/ruby/app_templates/kxt/prefs-base.ui
+++ b/languages/ruby/app_templates/kxt/prefs-base.ui
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/ruby/debugger/breakpoint.cpp b/languages/ruby/debugger/breakpoint.cpp
index 9b3ed18d..8504ce93 100644
--- a/languages/ruby/debugger/breakpoint.cpp
+++ b/languages/ruby/debugger/breakpoint.cpp
@@ -70,7 +70,7 @@ Breakpoint::~Breakpoint()
TQString Breakpoint::dbgRemoveCommand() const
{
// if (dbgId_>0)
-// return TQString("delete %1").tqarg(dbgId_); // gdb command - not translatable
+// return TQString("delete %1").arg(dbgId_); // gdb command - not translatable
return TQString();
}
@@ -161,9 +161,9 @@ TQString FilePosBreakpoint::dbgSetCommand() const
{
TQString cmdStr;
if (fileName_.isEmpty())
- cmdStr = TQString("break %1").tqarg(lineNo_); // gdb command - not translatable
+ cmdStr = TQString("break %1").arg(lineNo_); // gdb command - not translatable
else {
- cmdStr = TQString("break %1:%2").tqarg(fileName_).tqarg(lineNo_);
+ cmdStr = TQString("break %1:%2").arg(fileName_).arg(lineNo_);
}
if (isTemporary())
diff --git a/languages/ruby/debugger/dbgcontroller.h b/languages/ruby/debugger/dbgcontroller.h
index 9f3a79fc..953eaca8 100644
--- a/languages/ruby/debugger/dbgcontroller.h
+++ b/languages/ruby/debugger/dbgcontroller.h
@@ -151,7 +151,7 @@ signals:
void rdbStdout (const char *output);
void rdbStderr (const char *output);
void showStepInSource (const TQString &fileName, int lineNum, const TQString &address);
- void dbgtqStatus (const TQString &status, int statusFlag);
+ void dbgStatus (const TQString &status, int statusFlag);
protected:
KProcess *dbgProcess_;
diff --git a/languages/ruby/debugger/dbgpsdlg.cpp b/languages/ruby/debugger/dbgpsdlg.cpp
index bc02d7aa..e74759f8 100644
--- a/languages/ruby/debugger/dbgpsdlg.cpp
+++ b/languages/ruby/debugger/dbgpsdlg.cpp
@@ -31,7 +31,7 @@
#include <tqframe.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlistbox.h>
#include <tqtoolbutton.h>
#include <tqpushbutton.h>
@@ -64,8 +64,8 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
heading_->setFont(KGlobalSettings::fixedFont());
heading_->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
- heading_->setMaximumHeight(heading_->tqsizeHint().height());
-// heading_->setMinimumSize(heading_->tqsizeHint());
+ heading_->setMaximumHeight(heading_->sizeHint().height());
+// heading_->setMinimumSize(heading_->sizeHint());
topLayout->addWidget(heading_, 5);
topLayout->addWidget(pids_, 5);
@@ -75,7 +75,7 @@ Dbg_PS_Dialog::Dbg_PS_Dialog(TQWidget *parent, const char *name)
TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok());
buttonbox->addStretch();
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
- buttonbox->tqlayout();
+ buttonbox->layout();
topLayout->addWidget(buttonbox);
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()));
diff --git a/languages/ruby/debugger/dbgtoolbar.cpp b/languages/ruby/debugger/dbgtoolbar.cpp
index 3b13b148..b49c9af8 100644
--- a/languages/ruby/debugger/dbgtoolbar.cpp
+++ b/languages/ruby/debugger/dbgtoolbar.cpp
@@ -34,7 +34,7 @@
#include <tqapplication.h>
#include <tqcursor.h>
#include <tqframe.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqpushbutton.h>
#include <tqtooltip.h>
@@ -126,8 +126,8 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e)
offset_ = parentWidget()->pos() - e->globalPos();
setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
TQApplication::setOverrideCursor(TQCursor(sizeAllCursor));
- setPalette(TQPalette(tqcolorGroup().background()));
- tqrepaint();
+ setPalette(TQPalette(colorGroup().background()));
+ repaint();
}
}
@@ -140,8 +140,8 @@ void DbgMoveHandle::mouseReleaseEvent(TQMouseEvent *e)
offset_ = TQPoint(0,0);
setFrameStyle(TQFrame::Panel|TQFrame::Raised);
TQApplication::restoreOverrideCursor();
- setPalette(TQPalette(tqcolorGroup().background()));
- tqrepaint();
+ setPalette(TQPalette(colorGroup().background()));
+ repaint();
}
// **************************************************************************
@@ -168,7 +168,7 @@ public:
DbgToolBar *parent, const char *name=0);
virtual ~DbgButton() {};
void drawButtonLabel(TQPainter *painter);
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
private:
TQPixmap pixmap_;
@@ -197,19 +197,19 @@ void DbgButton::drawButtonLabel(TQPainter *painter)
painter->drawPixmap(x, y, pixmap_);
if (hasText) {
- painter->setPen(tqcolorGroup().text());
+ painter->setPen(colorGroup().text());
painter->drawText(height()+2, 0, width()-(height()+2), height(), AlignLeft|AlignVCenter, text());
}
}
// **************************************************************************
-TQSize DbgButton::tqsizeHint() const
+TQSize DbgButton::sizeHint() const
{
if (text().isEmpty())
return pixmap_.size();
else
- return TQPushButton::tqsizeHint();
+ return TQPushButton::sizeHint();
}
// **************************************************************************
@@ -351,12 +351,12 @@ DbgToolBar::DbgToolBar(RubyDebuggerPart* part,
nextLayout->addWidget(bNext);
-// int w = TQMAX(bRun->tqsizeHint().width(), bFinish->tqsizeHint().width());
-// w = TQMAX(w, bInterrupt->tqsizeHint().width());
-// w = TQMAX(w, bView->tqsizeHint().width());
+// int w = TQMAX(bRun->sizeHint().width(), bFinish->sizeHint().width());
+// w = TQMAX(w, bInterrupt->sizeHint().width());
+// w = TQMAX(w, bView->sizeHint().width());
// they should have the same height, so don't be too fussy
-// int h = bFinish->tqsizeHint().height();
+// int h = bFinish->sizeHint().height();
//
// bNext->setMinimumHeight(h);
// bNexti->setMinimumHeight(h);
@@ -390,10 +390,10 @@ void DbgToolBar::slotKdevFocus()
// If anyone has a way of determining what window the app is _actually_ running on
// then please fix and send a patch.
- if (winModule_->activeWindow() != tqtopLevelWidget()->winId())
+ if (winModule_->activeWindow() != topLevelWidget()->winId())
activeWindow_ = winModule_->activeWindow();
- KWin::activateWindow(tqtopLevelWidget()->winId());
+ KWin::activateWindow(topLevelWidget()->winId());
}
// **************************************************************************
@@ -407,7 +407,7 @@ void DbgToolBar::slotPrevFocus()
// If the app is active then the app button is highlighted, otherwise
// kdev button is highlighted.
-void DbgToolBar::slotDbgtqStatus(const TQString&, int state)
+void DbgToolBar::slotDbgStatus(const TQString&, int state)
{
bool appIndicator = state & s_appBusy;
if (appIndicator != appIsActive_) {
@@ -421,11 +421,11 @@ void DbgToolBar::slotDbgtqStatus(const TQString&, int state)
void DbgToolBar::setAppIndicator(bool appIndicator)
{
if (appIndicator) {
- bPrevFocus_->setPalette(TQPalette(tqcolorGroup().mid()));
- bKDevFocus_->setPalette(TQPalette(tqcolorGroup().background()));
+ bPrevFocus_->setPalette(TQPalette(colorGroup().mid()));
+ bKDevFocus_->setPalette(TQPalette(colorGroup().background()));
} else {
- bPrevFocus_->setPalette(TQPalette(tqcolorGroup().background()));
- bKDevFocus_->setPalette(TQPalette(tqcolorGroup().mid()));
+ bPrevFocus_->setPalette(TQPalette(colorGroup().background()));
+ bKDevFocus_->setPalette(TQPalette(colorGroup().mid()));
}
}
@@ -473,7 +473,7 @@ void DbgToolBar::slotActivateAndUndock()
if (!docked_)
return;
- KWin::activateWindow(tqtopLevelWidget()->winId());
+ KWin::activateWindow(topLevelWidget()->winId());
slotUndock();
}
diff --git a/languages/ruby/debugger/dbgtoolbar.h b/languages/ruby/debugger/dbgtoolbar.h
index 5b3cc649..f82b2133 100644
--- a/languages/ruby/debugger/dbgtoolbar.h
+++ b/languages/ruby/debugger/dbgtoolbar.h
@@ -64,7 +64,7 @@ public:
virtual ~DbgToolBar();
private slots:
- void slotDbgtqStatus(const TQString&, int);
+ void slotDbgStatus(const TQString&, int);
void slotDock();
void slotUndock();
void slotIconifyAndDock();
diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp
index 2d6437fe..5d468de7 100644
--- a/languages/ruby/debugger/debuggerpart.cpp
+++ b/languages/ruby/debugger/debuggerpart.cpp
@@ -312,16 +312,16 @@ void RubyDebuggerPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (econtext->url().isLocalFile())
{
int id = popup->insertItem( i18n("Toggle Breakpoint"), this, TQT_SLOT(toggleBreakpoint()) );
- popup->tqsetWhatsThis(id, i18n("<b>Toggle breakpoint</b><p>Toggles breakpoint at the current line."));
+ popup->setWhatsThis(id, i18n("<b>Toggle breakpoint</b><p>Toggles breakpoint at the current line."));
}
if (!m_contextIdent.isEmpty())
{
TQString squeezed = KStringHandler::csqueeze(m_contextIdent, 30);
- int id = popup->insertItem( i18n("Watch: %1").tqarg(squeezed), this, TQT_SLOT(contextWatch()) );
- popup->tqsetWhatsThis(id, i18n("<b>Watch</b><p>Adds an expression under the cursor to the Variables/Watch list."));
+ int id = popup->insertItem( i18n("Watch: %1").arg(squeezed), this, TQT_SLOT(contextWatch()) );
+ popup->setWhatsThis(id, i18n("<b>Watch</b><p>Adds an expression under the cursor to the Variables/Watch list."));
- id = popup->insertItem( i18n("Inspect: %1").tqarg(squeezed), this, TQT_SLOT(contextRubyInspect()) );
- popup->tqsetWhatsThis(id, i18n("<b>Inspect</b><p>Evaluates an expression under the cursor."));
+ id = popup->insertItem( i18n("Inspect: %1").arg(squeezed), this, TQT_SLOT(contextRubyInspect()) );
+ popup->setWhatsThis(id, i18n("<b>Inspect</b><p>Evaluates an expression under the cursor."));
}
}
@@ -412,8 +412,8 @@ void RubyDebuggerPart::setupController()
// controller -> this
- connect( controller, TQT_SIGNAL(dbgtqStatus(const TQString&, int)),
- this, TQT_SLOT(slottqStatus(const TQString&, int)));
+ connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
+ this, TQT_SLOT(slotStatus(const TQString&, int)));
connect( controller, TQT_SIGNAL(showStepInSource(const TQString&, int, const TQString&)),
this, TQT_SLOT(slotShowStep(const TQString&, int)));
@@ -428,8 +428,8 @@ void RubyDebuggerPart::setupController()
rdbOutputWidget, TQT_SLOT(slotReceivedStdout(const char*)) );
connect( controller, TQT_SIGNAL(rdbStderr(const char*)),
rdbOutputWidget, TQT_SLOT(slotReceivedStderr(const char*)) );
- connect( controller, TQT_SIGNAL(dbgtqStatus(const TQString&, int)),
- rdbOutputWidget, TQT_SLOT(slotDbgtqStatus(const TQString&, int)));
+ connect( controller, TQT_SIGNAL(dbgStatus(const TQString&, int)),
+ rdbOutputWidget, TQT_SLOT(slotDbgStatus(const TQString&, int)));
}
@@ -478,7 +478,7 @@ bool RubyDebuggerPart::startDebugger()
{
KMessageBox::error(
mainWindow()->main(),
- i18n("Could not locate the debugging shell '%1'.").tqarg( shell ),
+ i18n("Could not locate the debugging shell '%1'.").arg( shell ),
i18n("Debugging Shell Not Found") );
return false;
}
@@ -683,7 +683,7 @@ void RubyDebuggerPart::slotRefreshBPState( const Breakpoint& BP)
}
-void RubyDebuggerPart::slottqStatus(const TQString &msg, int state)
+void RubyDebuggerPart::slotStatus(const TQString &msg, int state)
{
TQString stateIndicator;
diff --git a/languages/ruby/debugger/debuggerpart.h b/languages/ruby/debugger/debuggerpart.h
index 61558bb1..cdae0880 100644
--- a/languages/ruby/debugger/debuggerpart.h
+++ b/languages/ruby/debugger/debuggerpart.h
@@ -76,7 +76,7 @@ private slots:
void slotStepOut();
void slotRefreshBPState(const Breakpoint&);
- void slottqStatus(const TQString &msg, int state);
+ void slotStatus(const TQString &msg, int state);
void slotShowStep(const TQString &fileName, int lineNum);
void slotGotoSource(const TQString &fileName, int lineNum);
diff --git a/languages/ruby/debugger/framestackwidget.cpp b/languages/ruby/debugger/framestackwidget.cpp
index 72b148b6..5d3a606e 100644
--- a/languages/ruby/debugger/framestackwidget.cpp
+++ b/languages/ruby/debugger/framestackwidget.cpp
@@ -119,7 +119,7 @@ void FramestackWidget::parseRDBThreadList(char *str)
ThreadStackItem* thread;
thread = new ThreadStackItem( this,
thread_re.cap(2).toInt(),
- TQString("%1 %2").tqarg(thread_re.cap(2)).tqarg(thread_re.cap(3)) );
+ TQString("%1 %2").arg(thread_re.cap(2)).arg(thread_re.cap(3)) );
// The thread with a '+' is always the viewedthread
if (thread_re.cap(1) == "+") {
viewedThread_ = thread;
@@ -148,7 +148,7 @@ void FramestackWidget::parseRDBBacktraceList(char *str)
}
int frameNo = frame_re.cap(1).toInt();
- TQString frameName = TQString("T%1#%2 %3").tqarg(viewedThread_->threadNo()).tqarg(frame_re.cap(1)).tqarg(method);
+ TQString frameName = TQString("T%1#%2 %3").arg(viewedThread_->threadNo()).arg(frame_re.cap(1)).arg(method);
new FrameStackItem(viewedThread_, frameNo, TQString(frame_re.cap(0)), frameName);
// Tell the Variable Tree that this frame is active
diff --git a/languages/ruby/debugger/rdbbreakpointwidget.cpp b/languages/ruby/debugger/rdbbreakpointwidget.cpp
index 03d42788..9b5ad22a 100644
--- a/languages/ruby/debugger/rdbbreakpointwidget.cpp
+++ b/languages/ruby/debugger/rdbbreakpointwidget.cpp
@@ -39,7 +39,7 @@
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tqvbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqregexp.h>
#include <stdlib.h>
@@ -56,7 +56,7 @@ enum Column {
Control = 0,
Enable = 1,
Type = 2,
- tqStatus = 3,
+ Status = 3,
Location = 4
};
@@ -149,7 +149,7 @@ void BreakpointTableRow::setRow()
TQString status=m_breakpoint->statusDisplay(m_activeFlag);
- table()->setText(row(), tqStatus, status);
+ table()->setText(row(), Status, status);
TQString displayType = m_breakpoint->displayType();
table()->setText(row(), Location, m_breakpoint->location());
@@ -159,7 +159,7 @@ void BreakpointTableRow::setRow()
table()->setText(row(), Type, displayType);
table()->adjustColumn(Type);
- table()->adjustColumn(tqStatus);
+ table()->adjustColumn(Status);
table()->adjustColumn(Location);
}
}
@@ -221,14 +221,14 @@ RDBBreakpointWidget::RDBBreakpointWidget(TQWidget *parent, const char *name) :
m_table->hideColumn(Control);
m_table->setColumnReadOnly(Type, true);
- m_table->setColumnReadOnly(tqStatus, true);
+ m_table->setColumnReadOnly(Status, true);
m_table->setColumnWidth( Enable, 20);
TQHeader *header = m_table->horizontalHeader();
header->setLabel( Enable, "" );
header->setLabel( Type, i18n("Type") );
- header->setLabel( tqStatus, i18n("Status") );
+ header->setLabel( Status, i18n("Status") );
header->setLabel( Location, i18n("Location") );
m_table->show();
@@ -773,7 +773,7 @@ void RDBBreakpointWidget::slotNewValue(int row, int col)
}
case Type:
- case tqStatus:
+ case Status:
default:
break;
}
@@ -904,7 +904,7 @@ void RDBBreakpointWidget::slotAddBreakpoint( )
{
if (m_add->popup())
{
- m_add->popup()->popup(mapToGlobal(this->tqgeometry().topLeft()));
+ m_add->popup()->popup(mapToGlobal(this->geometry().topLeft()));
}
}
diff --git a/languages/ruby/debugger/rdbcontroller.cpp b/languages/ruby/debugger/rdbcontroller.cpp
index d98695af..3e751168 100644
--- a/languages/ruby/debugger/rdbcontroller.cpp
+++ b/languages/ruby/debugger/rdbcontroller.cpp
@@ -49,7 +49,7 @@
#include <tqfileinfo.h>
#include <tqregexp.h>
#include <tqstring.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <iostream>
#include <ctype.h>
@@ -236,7 +236,7 @@ void RDBController::executeCmd()
emit rdbStdout( prettyCmd.latin1() );
if (!stateIsOn(s_silent))
- emit dbgtqStatus("", state_);
+ emit dbgStatus("", state_);
}
// **************************************************************************
@@ -301,7 +301,7 @@ void RDBController::actOnProgramPause(const TQString &msg)
if (stateIsOn(s_silent))
return;
- emit dbgtqStatus (msg, state_);
+ emit dbgStatus (msg, state_);
// We're always at frame one when the program stops
// and we must reset the active flag
@@ -341,14 +341,14 @@ void RDBController::programNoApp(const TQString &msg, bool msgBox)
varTree_->viewport()->setUpdatesEnabled(false);
varTree_->prune();
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
frameStack_->clear();
if (msgBox)
KMessageBox::error(0, i18n("rdb message:\n")+msg);
- emit dbgtqStatus (msg, state_);
+ emit dbgStatus (msg, state_);
}
// **************************************************************************
@@ -394,9 +394,9 @@ void RDBController::parseProgramLocation(char *buf)
}
if (stateIsOn(s_appBusy))
- actOnProgramPause(i18n("No source: %1").tqarg(sourceFile));
+ actOnProgramPause(i18n("No source: %1").arg(sourceFile));
else
- emit dbgtqStatus (i18n("No source: %1").tqarg(sourceFile), state_);
+ emit dbgStatus (i18n("No source: %1").arg(sourceFile), state_);
}
// **************************************************************************
@@ -458,7 +458,7 @@ void RDBController::parseFrameMove(char *buf)
}
}
- emit dbgtqStatus(i18n("No source: %1").tqarg(sourceFile), state_);
+ emit dbgStatus(i18n("No source: %1").arg(sourceFile), state_);
}
// **************************************************************************
@@ -492,7 +492,7 @@ void RDBController::parseRequestedData(char *buf)
varTree_->viewport()->setUpdatesEnabled(false);
item->expandValue(buf);
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
}
}
@@ -505,7 +505,7 @@ void RDBController::parseFrameSelected(char *buf)
{
if (!stateIsOn(s_silent)) {
emit showStepInSource("", -1, "");
- emit dbgtqStatus (i18n("No source: %1").tqarg(TQString(buf)), state_);
+ emit dbgStatus (i18n("No source: %1").arg(TQString(buf)), state_);
}
}
@@ -517,7 +517,7 @@ void RDBController::parseDisplay(char *buf, char * expr)
varTree_->viewport()->setUpdatesEnabled(false);
varTree_->watchRoot()->setWatchExpression(buf, expr);
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
}
// **************************************************************************
@@ -538,7 +538,7 @@ void RDBController::parseUpdateDisplay(char *buf)
}
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
}
// **************************************************************************
@@ -549,7 +549,7 @@ void RDBController::parseGlobals(char *buf)
varTree_->viewport()->setUpdatesEnabled(false);
varTree_->globalRoot()->setGlobals(buf);
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
}
// **************************************************************************
@@ -584,7 +584,7 @@ void RDBController::parseLocals(char type, char *buf)
}
varTree_->viewport()->setUpdatesEnabled(true);
- varTree_->tqrepaint();
+ varTree_->repaint();
}
@@ -766,9 +766,9 @@ void RDBController::slotStart(const TQString& ruby_interpreter, const TQString&
// BUT the app hasn't been started yet! A run command is about to be issued
// by whoever is controlling us.
- if (!dbgProcess_->writeStdin(TQString("%1\n").tqarg(unixSocketPath_.data()).latin1(), strlen(unixSocketPath_) + 1)) {
+ if (!dbgProcess_->writeStdin(TQString("%1\n").arg(unixSocketPath_.data()).latin1(), strlen(unixSocketPath_) + 1)) {
kdDebug(9012) << "failed to write Unix domain socket path to rdb "
- << TQString("%1\n").tqarg(unixSocketPath_.data()).latin1() << endl;
+ << TQString("%1\n").arg(unixSocketPath_.data()).latin1() << endl;
}
setStateOff(s_programExited);
@@ -797,7 +797,7 @@ void RDBController::slotStopDebugger()
start = TQTime::currentTime();
while (-1)
{
- kapp->tqprocessEvents(20);
+ kapp->processEvents(20);
now = TQTime::currentTime();
if (!stateIsOn(s_appBusy) || start.msecsTo( now ) > 2000)
break;
@@ -816,7 +816,7 @@ void RDBController::slotStopDebugger()
start = TQTime::currentTime();
while (-1)
{
- kapp->tqprocessEvents(20);
+ kapp->processEvents(20);
now = TQTime::currentTime();
if (stateIsOn(s_programExited) || start.msecsTo( now ) > 2000)
break;
@@ -833,7 +833,7 @@ void RDBController::slotStopDebugger()
delete tty_; tty_ = 0;
state_ = s_dbgNotStarted | s_appNotStarted | s_silent;
- emit dbgtqStatus (i18n("Debugger stopped"), state_);
+ emit dbgStatus (i18n("Debugger stopped"), state_);
}
@@ -1175,7 +1175,7 @@ void RDBController::slotDbgWroteStdin(KProcess *)
{
// setStateOff(s_waitForWrite);
// if (!stateIsOn(s_silent))
- // emit dbgtqStatus ("", state_);
+ // emit dbgStatus ("", state_);
// executeCmd();
}
@@ -1203,7 +1203,7 @@ void RDBController::slotAcceptConnection(int masterSocket)
this, TQT_SLOT(slotReadFromSocket(int)) );
setStateOff(s_dbgNotStarted);
- emit dbgtqStatus ("", state_);
+ emit dbgStatus ("", state_);
cmdList_.clear();
rdbOutputLen_ = 0;
@@ -1283,7 +1283,7 @@ void RDBController::slotDbgProcessExited(KProcess*)
{
destroyCmds();
state_ = s_appNotStarted|s_programExited|(state_&(s_shuttingDown));
- emit dbgtqStatus (i18n("Process exited"), state_);
+ emit dbgStatus (i18n("Process exited"), state_);
emit rdbStdout("(rdb:1) Process exited\n");
frameStack_->clear();
varTree_->clear();
diff --git a/languages/ruby/debugger/rdboutputwidget.cpp b/languages/ruby/debugger/rdboutputwidget.cpp
index ea249fe2..cba5a8b4 100644
--- a/languages/ruby/debugger/rdboutputwidget.cpp
+++ b/languages/ruby/debugger/rdboutputwidget.cpp
@@ -30,8 +30,8 @@
#include <klocale.h>
#include <tqlabel.h>
-#include <tqlayout.h>
-#include <tqtextedit.h>
+#include <layout.h>
+#include <textedit.h>
#include <tqtoolbutton.h>
#include <tqtooltip.h>
@@ -65,7 +65,7 @@ RDBOutputWidget::RDBOutputWidget( TQWidget *parent, const char *name) :
userRDBCmdEntry->setStretchFactor(m_userRDBCmdEditor, 1);
m_Interrupt = new TQToolButton( this, "add breakpoint" );
- m_Interrupt->tqsetSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
+ m_Interrupt->setSizePolicy ( TQSizePolicy ( (TQSizePolicy::SizeType)0,
( TQSizePolicy::SizeType)0,
0,
0,
@@ -79,7 +79,7 @@ RDBOutputWidget::RDBOutputWidget( TQWidget *parent, const char *name) :
topLayout->addWidget(m_rdbView, 10);
topLayout->addLayout(userRDBCmdEntry);
- slotDbgtqStatus( "", s_dbgNotStarted);
+ slotDbgStatus( "", s_dbgNotStarted);
connect( m_userRDBCmdEditor, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotRDBCmd()) );
connect( m_Interrupt, TQT_SIGNAL(clicked()), TQT_SIGNAL(breakInto()));
@@ -133,7 +133,7 @@ void RDBOutputWidget::slotRDBCmd()
/***************************************************************************/
-void RDBOutputWidget::slotDbgtqStatus(const TQString &, int statusFlag)
+void RDBOutputWidget::slotDbgStatus(const TQString &, int statusFlag)
{
if (statusFlag & s_dbgNotStarted)
{
diff --git a/languages/ruby/debugger/rdboutputwidget.h b/languages/ruby/debugger/rdboutputwidget.h
index 7655bf19..dd95913d 100644
--- a/languages/ruby/debugger/rdboutputwidget.h
+++ b/languages/ruby/debugger/rdboutputwidget.h
@@ -48,7 +48,7 @@ public:
public slots:
void slotReceivedStdout(const char* line);
void slotReceivedStderr(const char* line);
- void slotDbgtqStatus (const TQString &status, int statusFlag);
+ void slotDbgStatus (const TQString &status, int statusFlag);
void slotRDBCmd();
diff --git a/languages/ruby/debugger/variablewidget.cpp b/languages/ruby/debugger/variablewidget.cpp
index 2dd28b31..47e76c47 100644
--- a/languages/ruby/debugger/variablewidget.cpp
+++ b/languages/ruby/debugger/variablewidget.cpp
@@ -30,7 +30,7 @@
#include <tqheader.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqhbox.h>
#include <tqpainter.h>
#include <tqpushbutton.h>
@@ -39,7 +39,7 @@
#include <klocale.h>
#include <tqpoint.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <kapplication.h>
// **************************************************************************
@@ -202,7 +202,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item)
emit removeWatchExpression(((WatchVarItem*)item)->displayId());
delete item;
} else if (res == idCopyToClipboard) {
- TQClipboard *qb = KApplication::tqclipboard();
+ TQClipboard *qb = KApplication::clipboard();
TQString text = "{ \"" + item->text( VAR_NAME_COLUMN ) + "\", " +
"\"" + item->text( VALUE_COLUMN ) + "\" }";
@@ -280,7 +280,7 @@ void VariableTree::prune()
// **************************************************************************
-// The debugger has moved onto the next program pause, so tqinvalidate
+// The debugger has moved onto the next program pause, so invalidate
// everything in the Variable Tree
void VariableTree::nextActivationId()
{
@@ -428,7 +428,7 @@ void VariableTree::maybeTip(const TQPoint &p)
{
VarItem * item = dynamic_cast<VarItem*>( itemAt(p) );
if (item != 0) {
- TQRect r = tqitemRect(item);
+ TQRect r = itemRect(item);
if (r.isValid()) {
tip(r, item->tipText());
}
@@ -635,7 +635,7 @@ void VarItem::setText(int column, const TQString &data)
}
TQListViewItem::setText(column, data);
- tqrepaint();
+ repaint();
}
// **************************************************************************
diff --git a/languages/ruby/debugger/variablewidget.h b/languages/ruby/debugger/variablewidget.h
index 60e73218..9e2b8ce9 100644
--- a/languages/ruby/debugger/variablewidget.h
+++ b/languages/ruby/debugger/variablewidget.h
@@ -276,7 +276,7 @@ public:
virtual int rtti() const { return RTTI_VAR_FRAME_ROOT; }
virtual TQString key(int column, bool /*ascending*/) const {
- return TQString("%1%2").tqarg(RTTI_VAR_FRAME_ROOT).tqarg(text(column));
+ return TQString("%1%2").arg(RTTI_VAR_FRAME_ROOT).arg(text(column));
}
void addLocals(char *variables);
@@ -311,7 +311,7 @@ public:
virtual int rtti() const { return RTTI_WATCH_ROOT; }
virtual TQString key(int column, bool /*ascending*/) const {
- return TQString("%1%2").tqarg(RTTI_WATCH_ROOT).tqarg(text(column));
+ return TQString("%1%2").arg(RTTI_WATCH_ROOT).arg(text(column));
}
void setWatchExpression(char * buf, char * expr);
@@ -334,7 +334,7 @@ public:
virtual int rtti() const { return RTTI_GLOBAL_ROOT; }
virtual TQString key(int column, bool /*ascending*/) const {
- return TQString("%1%2").tqarg(RTTI_GLOBAL_ROOT).tqarg(text(column));
+ return TQString("%1%2").arg(RTTI_GLOBAL_ROOT).arg(text(column));
}
void setOpen(bool open);
diff --git a/languages/ruby/rubyconfigwidgetbase.ui b/languages/ruby/rubyconfigwidgetbase.ui
index bbddef8c..569ac658 100644
--- a/languages/ruby/rubyconfigwidgetbase.ui
+++ b/languages/ruby/rubyconfigwidgetbase.ui
@@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<grid>
<property name="name">
@@ -158,7 +158,7 @@ def cd(dir) Dir.chdir dir end</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -321,7 +321,7 @@ def cd(dir) Dir.chdir dir end</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
diff --git a/languages/ruby/rubyimplementationwidget.cpp b/languages/ruby/rubyimplementationwidget.cpp
index 9b11be96..1498ab9c 100644
--- a/languages/ruby/rubyimplementationwidget.cpp
+++ b/languages/ruby/rubyimplementationwidget.cpp
@@ -23,7 +23,7 @@
#include <tqfile.h>
#include <tqregexp.h>
#include <tqfileinfo.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klineedit.h>
#include <klocale.h>
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp
index 0cee14b2..664dabd4 100644
--- a/languages/ruby/rubysupport_part.cpp
+++ b/languages/ruby/rubysupport_part.cpp
@@ -532,12 +532,12 @@ void RubySupportPart::slotRun ()
appFrontend->startAppCommand(project()->projectDirectory(), cmd, false);
} else {
TQString cmd = TQString("%1 -K%2 -C\"%3\" -I\"%4\" \"%5\" %6")
- .tqarg(interpreter())
- .tqarg(characterCoding())
- .tqarg(runDirectory())
- .tqarg(program.dirPath())
- .tqarg(program.fileName())
- .tqarg(programArgs());
+ .arg(interpreter())
+ .arg(characterCoding())
+ .arg(runDirectory())
+ .arg(program.dirPath())
+ .arg(program.fileName())
+ .arg(programArgs());
startApplication(cmd);
}
}
@@ -669,7 +669,7 @@ void RubySupportPart::contextMenu( TQPopupMenu * popup, const Context * context
{
m_contextFileName = url.fileName();
int id = popup->insertItem(i18n("Create or Select Implementation..."), this, TQT_SLOT(slotCreateSubclass()));
- popup->tqsetWhatsThis(id, i18n("<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner."));
+ popup->setWhatsThis(id, i18n("<b>Create or select implementation</b><p>Creates or selects a subclass of selected form for use with integrated KDevDesigner."));
}
}
}
@@ -896,12 +896,12 @@ void RubySupportPart::slotRunTestUnderCursor()
TQFileInfo program(prog);
TQString cmd = TQString("%1 -K%2 -C\"%3\" -I\"%4\" \"%5\" %6")
- .tqarg(interpreter())
- .tqarg(characterCoding())
- .tqarg(runDirectory())
- .tqarg(program.dirPath())
- .tqarg(program.fileName())
- .tqarg(" -n " + fun->name());
+ .arg(interpreter())
+ .arg(characterCoding())
+ .arg(runDirectory())
+ .arg(program.dirPath())
+ .arg(program.fileName())
+ .arg(" -n " + fun->name());
startApplication(cmd);
}
diff --git a/languages/sql/README.dox b/languages/sql/README.dox
index 8642d2b4..14634fba 100644
--- a/languages/sql/README.dox
+++ b/languages/sql/README.dox
@@ -6,7 +6,7 @@ This is a SQL support plugin
\maintainer <a href="mailto:harry AT tdevelop.org">Harald Fernengel</a>
\feature SQL language support
-\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.
\bug Describe a the 1st bug that you know of, but probably hasn't been reported yet.
..
diff --git a/languages/sql/sqlactions.cpp b/languages/sql/sqlactions.cpp
index b1881811..633a687d 100644
--- a/languages/sql/sqlactions.cpp
+++ b/languages/sql/sqlactions.cpp
@@ -86,7 +86,7 @@ void SqlListAction::refresh()
TQSqlDatabase* db = TQSqlDatabase::database( (*it), false );
if ( !db ) {
kdDebug( 9000 ) << "Could not find database connection " << (*it) << endl;
- m_combo->insertItem( SmallIcon( "no" ), i18n("<error - no connection %1>").tqarg( *it ) );
+ m_combo->insertItem( SmallIcon( "no" ), i18n("<error - no connection %1>").arg( *it ) );
continue;
}
cName = db->driverName();
diff --git a/languages/sql/sqlconfigwidget.ui b/languages/sql/sqlconfigwidget.ui
index e8be196f..5f836677 100644
--- a/languages/sql/sqlconfigwidget.ui
+++ b/languages/sql/sqlconfigwidget.ui
@@ -88,7 +88,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@@ -104,7 +104,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
diff --git a/languages/sql/sqloutputwidget.cpp b/languages/sql/sqloutputwidget.cpp
index 548ba0e8..9c488d93 100644
--- a/languages/sql/sqloutputwidget.cpp
+++ b/languages/sql/sqloutputwidget.cpp
@@ -16,9 +16,9 @@
#include <tqsqlrecord.h>
#include <tqwidgetstack.h>
#include <tqdatatable.h>
-#include <tqtextedit.h>
-#include <tqlayout.h>
-#include <tqstylesheet.h>
+#include <textedit.h>
+#include <layout.h>
+#include <stylesheet.h>
#include <klocale.h>
@@ -44,11 +44,11 @@ public:
{ return exec( lastQuery() ); }
TQSqlIndex primaryIndex( bool /*prime*/ = TRUE ) const
{ return TQSqlIndex(); }
- int insert( bool /*tqinvalidate*/ = TRUE )
+ int insert( bool /*invalidate*/ = TRUE )
{ return FALSE; }
- int update( bool /*tqinvalidate*/ = TRUE )
+ int update( bool /*invalidate*/ = TRUE )
{ return FALSE; }
- int del( bool /*tqinvalidate*/ = TRUE )
+ int del( bool /*invalidate*/ = TRUE )
{ return FALSE; }
void setName( const TQString& /*name*/, bool /*autopopulate*/ = TRUE ) {}
};
@@ -67,8 +67,8 @@ SqlOutputWidget::SqlOutputWidget ( TQWidget* parent, const char* name ) :
m_stack->addWidget( m_textEdit );
m_stack->addWidget( m_table );
- TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
- tqlayout->addWidget( m_stack );
+ TQVBoxLayout* layout = new TQVBoxLayout( this );
+ layout->addWidget( m_stack );
}
SqlOutputWidget::~SqlOutputWidget()
@@ -78,7 +78,7 @@ void SqlOutputWidget::showQuery( const TQString& connectionName, const TQString&
{
TQSqlDatabase* db = TQSqlDatabase::database( connectionName, true );
if ( !db ) {
- showError( i18n("No such connection: %1").tqarg( connectionName ) );
+ showError( i18n("No such connection: %1").arg( connectionName ) );
return;
}
if ( !db->isOpen() ) {
@@ -101,7 +101,7 @@ void SqlOutputWidget::showQuery( const TQString& connectionName, const TQString&
void SqlOutputWidget::showSuccess( int rowsAffected )
{
m_textEdit->clear();
- m_textEdit->setText( i18n("Query successful, number of rows affected: %1").tqarg( rowsAffected ) );
+ m_textEdit->setText( i18n("Query successful, number of rows affected: %1").arg( rowsAffected ) );
m_stack->raiseWidget( m_textEdit );
}
diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp
index 81098a85..78c1c1f2 100644
--- a/languages/sql/sqlsupport_part.cpp
+++ b/languages/sql/sqlsupport_part.cpp
@@ -71,8 +71,8 @@ TQString SQLSupportPart::cryptStr(const TQString& aStr)
{
TQString result;
for (unsigned int i = 0; i < aStr.length(); i++)
- result += (aStr[i].tqunicode() < 0x20) ? aStr[i] :
- TQChar(0x1001F - aStr[i].tqunicode());
+ result += (aStr[i].unicode() < 0x20) ? aStr[i] :
+ TQChar(0x1001F - aStr[i].unicode());
return result;
}
@@ -113,7 +113,7 @@ void SQLSupportPart::loadConfig()
conName = "KDEVSQLSUPPORT_";
conName += TQString::number( i );
conNames << conName;
- TQSqlDatabase* db = TQSqlDatabase::addDatabase( sdb[0], TQString( "KDEVSQLSUPPORT_%1" ).tqarg( i ) );
+ TQSqlDatabase* db = TQSqlDatabase::addDatabase( sdb[0], TQString( "KDEVSQLSUPPORT_%1" ).arg( i ) );
db->setDatabaseName( sdb[1] );
db->setHostName( sdb[2] );
bool ok;
@@ -183,10 +183,10 @@ static TQString dbCaption(const TQSqlDatabase* db)
if (!db)
return res;
res = db->driverName();
- res += TQString::tqfromLatin1("@");
+ res += TQString::fromLatin1("@");
res += db->hostName();
if (db->port() >= 0)
- res += TQString::tqfromLatin1(":") + TQString::number(db->port());
+ res += TQString::fromLatin1(":") + TQString::number(db->port());
return res;
}
#endif