Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/28/head
Michele Calgaro 8 months ago
parent a97b6afffb
commit d2728dd8db
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -49,7 +49,7 @@ struct Result {
Result(): node(0) {} Result(): node(0) {}
/**Type of semantic value for simple grammar rules.*/ /**Type of semantic value for simple grammar rules.*/
QString value; TQString value;
/**Type of semantic value for grammar rules which are parts of AST.*/ /**Type of semantic value for grammar rules which are parts of AST.*/
AST *node; AST *node;
/**Type of semantic value for "multiline_values" grammar rule. /**Type of semantic value for "multiline_values" grammar rule.

@ -81,29 +81,29 @@ cont \\{ws}*{newline}
<INITIAL>{ws} {} <INITIAL>{ws} {}
<vallist>{ws} { <vallist>{ws} {
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::LIST_WS; return Parser::token::token::LIST_WS;
} }
<vallist,INITIAL>{cont} { <vallist,INITIAL>{cont} {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::CONT; return Parser::token::token::CONT;
} }
<vallist,INITIAL>{comment_cont} { <vallist,INITIAL>{comment_cont} {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::COMMENT_CONT; return Parser::token::token::COMMENT_CONT;
} }
{id_simple} { {id_simple} {
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return (Parser::token::token::ID_SIMPLE); return (Parser::token::token::ID_SIMPLE);
} }
<funcargs>{id_args} { <funcargs>{id_args} {
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
mylval->value = mylval->value.mid(0, mylval->value.length()-1); mylval->value = mylval->value.mid(0, mylval->value.length()-1);
unput(')'); unput(')');
BEGIN(INITIAL); BEGIN(INITIAL);
@ -112,43 +112,43 @@ cont \\{ws}*{newline}
<vallist>{var_value} { <vallist>{var_value} {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::VARIABLE_VALUE; return Parser::token::token::VARIABLE_VALUE;
} }
<vallist>{quoted_var_value} { <vallist>{quoted_var_value} {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::QUOTED_VARIABLE_VALUE; return Parser::token::token::QUOTED_VARIABLE_VALUE;
} }
"=" { "=" {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::EQ; return Parser::token::token::EQ;
} }
"+=" { "+=" {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::PLUSEQ; return Parser::token::token::PLUSEQ;
} }
"-=" { "-=" {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::MINUSEQ; return Parser::token::token::MINUSEQ;
} }
"*=" { "*=" {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::STAREQ; return Parser::token::token::STAREQ;
} }
"~=" { "~=" {
BEGIN(vallist); BEGIN(vallist);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::TILDEEQ; return Parser::token::token::TILDEEQ;
} }
@ -175,28 +175,28 @@ cont \\{ws}*{newline}
} }
":" { ":" {
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return Parser::token::token::COLON; return Parser::token::token::COLON;
} }
<vallist>{ws}{newline} { <vallist>{ws}{newline} {
BEGIN(INITIAL); BEGIN(INITIAL);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
setLineEndingFromString( mylval->value ); setLineEndingFromString( mylval->value );
return Parser::token::token::NEWLINE; return Parser::token::token::NEWLINE;
} }
<vallist,INITIAL>{newline} { <vallist,INITIAL>{newline} {
BEGIN(INITIAL); BEGIN(INITIAL);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
setLineEndingFromString( mylval->value ); setLineEndingFromString( mylval->value );
return Parser::token::token::NEWLINE; return Parser::token::token::NEWLINE;
} }
<vallist,INITIAL>{comment} { <vallist,INITIAL>{comment} {
BEGIN(INITIAL); BEGIN(INITIAL);
mylval->value = QString::fromLocal8Bit( YYText(), YYLeng() ); mylval->value = TQString::fromLocal8Bit( YYText(), YYLeng() );
return (Parser::token::token::COMMENT); return (Parser::token::token::COMMENT);
} }
@ -214,7 +214,7 @@ namespace QMake
return yylex(); return yylex();
} }
void Lexer::setLineEndingFromString( const QString& str ) void Lexer::setLineEndingFromString( const TQString& str )
{ {
if( str.endsWith("\r\n") && m_lineEnding == None ) if( str.endsWith("\r\n") && m_lineEnding == None )
m_lineEnding = Windows; m_lineEnding = Windows;

@ -51,7 +51,7 @@ struct Result {
Result(): node(0) {} Result(): node(0) {}
/**Type of semantic value for simple grammar rules.*/ /**Type of semantic value for simple grammar rules.*/
QString value; TQString value;
/**Type of semantic value for grammar rules which are parts of AST.*/ /**Type of semantic value for grammar rules which are parts of AST.*/
AST *node; AST *node;
/**Type of semantic value for "multiline_values" grammar rule. /**Type of semantic value for "multiline_values" grammar rule.
@ -71,7 +71,7 @@ struct Result {
</pre> </pre>
*/ */
QStringList values; QStringList values;
QString indent; TQString indent;
}; };
#define YYSTYPE Result #define YYSTYPE Result
@ -310,8 +310,8 @@ listws: LIST_WS
} }
| |
{ {
$<value>$ = QString(); $<value>$ = TQString();
$<indent>$ = QString(); $<indent>$ = TQString();
} }
; ;
operator : EQ operator : EQ

@ -85,7 +85,7 @@ Your part must be derived from <code>KDevPlugin</code>.
- KDevPlugin takes two arguments: - KDevPlugin takes two arguments:
- 1) A <i>parent</i> argument. This also comes from - 1) A <i>parent</i> argument. This also comes from
<code>createPartObject()</code>. <code>createPartObject()</code>.
- 2) A <i>name</i>, which in turn is given to the <code>QObject</code> - 2) A <i>name</i>, which in turn is given to the <code>TQObject</code>
constructor. constructor.
. .
. .
@ -134,7 +134,7 @@ rooted in the <code>dom</code> document node.
For example, the <code>autoproject</code> part uses the statement For example, the <code>autoproject</code> part uses the statement
<code><pre> <code><pre>
QString cflags = DomUtil::readEntry( *part->document(), TQString cflags = DomUtil::readEntry( *part->document(),
"/kdevautoproject/cflags" ); "/kdevautoproject/cflags" );
</pre></code> </pre></code>
@ -181,7 +181,7 @@ void GDBBreakpointWidget::savePartialProjectSession(QDomElement* el)
{ {
BreakpointTableRow* btr = (BreakpointTableRow *) m_table->item(row, Control); BreakpointTableRow* btr = (BreakpointTableRow *) m_table->item(row, Control);
Breakpoint* bp = btr->breakpoint(); Breakpoint* bp = btr->breakpoint();
QDomElement breakpointEl = domDoc.createElement("breakpoint"+QString::number(row)); QDomElement breakpointEl = domDoc.createElement("breakpoint"+TQString::number(row));
breakpointEl.setAttribute("type", bp->type()); breakpointEl.setAttribute("type", bp->type());
breakpointEl.setAttribute("location", bp->location(false)); breakpointEl.setAttribute("location", bp->location(false));
breakpointEl.setAttribute("enabled", bp->isEnabled()); breakpointEl.setAttribute("enabled", bp->isEnabled());

@ -71,10 +71,10 @@ Language support can offer additional features:
\subsection sectionAttributeMethodWizard Attribute/Method wizard \subsection sectionAttributeMethodWizard Attribute/Method wizard
- add method dialog: (See <code>cpp</code> or <code>java</code>) - add method dialog: (See <code>cpp</code> or <code>java</code>)
- <code>virtual void addMethod(const QString &className);</code> - <code>virtual void addMethod(const TQString &className);</code>
. .
- add attribute dialog: (See <code>cpp</code> or <code>java</code>) - add attribute dialog: (See <code>cpp</code> or <code>java</code>)
- <code>virtual void addAttribute(const QString &className);</code> - <code>virtual void addAttribute(const TQString &className);</code>
. .
. .
@ -82,8 +82,8 @@ Language support can offer additional features:
If there is a Qt bindings for your language and there is a possibility If there is a Qt bindings for your language and there is a possibility
to use QtDesigner ui files, you could implement ui subclassing feature: to use QtDesigner ui files, you could implement ui subclassing feature:
- <code>virtual QStringList subclassWidget(const QString& formName);</code> - <code>virtual QStringList subclassWidget(const TQString& formName);</code>
- <code>virtual QStringList updateWidget(const QString& formName, const QString& - <code>virtual QStringList updateWidget(const TQString& formName, const TQString&
fileName);</code> fileName);</code>
. .

@ -73,7 +73,7 @@ A simple example on how to create a property editor and use it with one property
list->addProperty("My Group", new Property(String, "Second Property", list->addProperty("My Group", new Property(String, "Second Property",
"This is my second property", "Hello")); "This is my second property", "Hello"));
list->addProperty(new Property(Color, "Third Property", list->addProperty(new Property(Color, "Third Property",
"This is my third property", QColor("green"))); "This is my third property", TQColor("green")));
m_editor->populateProperties(*list); m_editor->populateProperties(*list);
\endcode \endcode
@ -88,7 +88,7 @@ More advanced example with property accessors and list intersection:
list->addProperty("My Group", new Property(String, "Second Property", list->addProperty("My Group", new Property(String, "Second Property",
"This is my second property", "Hello")); "This is my second property", "Hello"));
list->addProperty(new Property(Color, "Third Property", list->addProperty(new Property(Color, "Third Property",
"This is my third property", QColor("green"))); "This is my third property", TQColor("green")));
PropertyList *list2 = new PropertyList; PropertyList *list2 = new PropertyList;
list2->addProperty("My Group", new Property(Integer, "First Property", list2->addProperty("My Group", new Property(Integer, "First Property",

@ -337,7 +337,7 @@ Pixmap effects like gradients and patterns.
<listitem><formalpara><title><ulink url="kdeapi:tdeui/KPixmapIO">KPixmapIO</ulink></title> <listitem><formalpara><title><ulink url="kdeapi:tdeui/KPixmapIO">KPixmapIO</ulink></title>
<para> <para>
Fast <classname>QImage</classname> to <classname>QPixmap</classname> conversion. Fast <classname>TQImage</classname> to <classname>QPixmap</classname> conversion.
</para> </para>
</formalpara></listitem> </formalpara></listitem>
@ -684,7 +684,7 @@ The central graphics class for 2D painting with Qt is
draw on a draw on a
<ulink url="kdeapi:qt/QPaintDevice">QPaintDevice</ulink>. <ulink url="kdeapi:qt/QPaintDevice">QPaintDevice</ulink>.
There are three possible paint devices implemented: One is There are three possible paint devices implemented: One is
<ulink url="kdeapi:qt/QWidget">QWidget</ulink> <ulink url="kdeapi:qt/TQWidget">TQWidget</ulink>
which represents a widget on the screen. The second is which represents a widget on the screen. The second is
<ulink url="kdeapi:qt/QPrinter">QPrinter</ulink> which <ulink url="kdeapi:qt/QPrinter">QPrinter</ulink> which
represents a printer and produces Postscript output. The third it represents a printer and produces Postscript output. The third it
@ -967,11 +967,11 @@ Brushes can be constructed in four different ways:
patterns shown below.</para> patterns shown below.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>QBrush::QBrush(const QColor &amp;, BrushStyle) - This creates a colored brush <para>QBrush::QBrush(const TQColor &amp;, BrushStyle) - This creates a colored brush
with one of the patterns shown below.</para> with one of the patterns shown below.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>QBrush::QBrush(const QColor &amp;, const QPixmap) - This creates a colored <para>QBrush::QBrush(const TQColor &amp;, const QPixmap) - This creates a colored
brush with the custom pattern you give as second parameter.</para> brush with the custom pattern you give as second parameter.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -1000,7 +1000,7 @@ QPainter::setBrushOrigin().
<para> <para>
Colors play a role both when stroking curves and when filling shapes. In Qt, Colors play a role both when stroking curves and when filling shapes. In Qt,
colors are represented by the class colors are represented by the class
<ulink url="kdeapi:qt/QColor">QColor</ulink>. Qt does not support <ulink url="kdeapi:qt/TQColor">TQColor</ulink>. Qt does not support
advanced graphics features like ICC color profiles and color correction. Colors advanced graphics features like ICC color profiles and color correction. Colors
are usually constructed by specifying their red, green and blue components, as are usually constructed by specifying their red, green and blue components, as
the RGB model is the way pixels are composed of on a monitor. the RGB model is the way pixels are composed of on a monitor.
@ -1104,14 +1104,14 @@ to avoid flicker.
</para> </para>
<para> <para>
In contrast, <ulink url="kdeapi:qt/QImage">QImage</ulink> objects In contrast, <ulink url="kdeapi:qt/TQImage">TQImage</ulink> objects
live on the client side. Their emphasis in on providing direct access to the live on the client side. Their emphasis in on providing direct access to the
pixels of the image. This makes them of use for image manipulation, and things pixels of the image. This makes them of use for image manipulation, and things
like loading and saving to disk (QPixmap's load() method takes QImage as like loading and saving to disk (QPixmap's load() method takes TQImage as
intermediate step). On the other hand, painting an image on a widget is a intermediate step). On the other hand, painting an image on a widget is a
relatively expensive operation, as it implies a transfer to the X server, relatively expensive operation, as it implies a transfer to the X server,
which can take some time, especially for large images and for remote servers. which can take some time, especially for large images and for remote servers.
Depending on the color depth, the conversion from QImage to QPixmap may also Depending on the color depth, the conversion from TQImage to QPixmap may also
require dithering. require dithering.
</para> </para>
@ -1123,7 +1123,7 @@ require dithering.
<para> <para>
Text can be drawn with one of the overloaded variants of the method Text can be drawn with one of the overloaded variants of the method
QPainter::drawText(). These draw a QString either at a given point or in a given QPainter::drawText(). These draw a TQString either at a given point or in a given
rectangle, using the font set by QPainter::setFont(). There is also a parameter rectangle, using the font set by QPainter::setFont(). There is also a parameter
which takes an ORed combination of some flags from the enums which takes an ORed combination of some flags from the enums
<ulink url="kdeapi:qt/Qt#AlignmentFlags-enum">Qt::AlignmentFlags</ulink> <ulink url="kdeapi:qt/Qt#AlignmentFlags-enum">Qt::AlignmentFlags</ulink>
@ -1658,7 +1658,7 @@ ask the client's factory for it:
<programlisting> <programlisting>
void MainWindow::popupRequested() void MainWindow::popupRequested()
{ {
QWidget *w = factory()->container("context_popup", this); TQWidget *w = factory()->container("context_popup", this);
QPopupMenu *popup = static_cast&lt;QPopupMenu *&gt;(w); QPopupMenu *popup = static_cast&lt;QPopupMenu *&gt;(w);
popup->exec(QCursor::pos()); popup->exec(QCursor::pos());
} }
@ -1929,13 +1929,13 @@ X-TDE-ServiceType=TDevelop/Part
Name=TDevelop Part Name=TDevelop Part
[PropertyDef::X-TDevelop-Scope] [PropertyDef::X-TDevelop-Scope]
Type=QString Type=TQString
[PropertyDef::X-TDevelop-ProgrammingLanguages] [PropertyDef::X-TDevelop-ProgrammingLanguages]
Type=QStringList Type=QStringList
[PropertyDef::X-TDevelop-Args] [PropertyDef::X-TDevelop-Args]
Type=QString Type=TQString
</programlisting> </programlisting>
<para> <para>
@ -2032,11 +2032,11 @@ load the library and get a pointer to its factory object:
<programlisting> <programlisting>
KService *service = ... KService *service = ...
QString libName = QFile::encodeName(service->library()); TQString libName = QFile::encodeName(service->library());
KLibFactory *factory = KLibLoader::self()->factory(libName); KLibFactory *factory = KLibLoader::self()->factory(libName);
if (!factory) { if (!factory) {
QString name = service->name(); TQString name = service->name();
QString errorMessage = KLibLoader::self()->lastErrorMessage(); TQString errorMessage = KLibLoader::self()->lastErrorMessage();
KMessageBox::error(0, i18n("There was an error loading service %1.\n" KMessageBox::error(0, i18n("There was an error loading service %1.\n"
"The diagnostics from libtool is:\n%2") "The diagnostics from libtool is:\n%2")
.arg(name).arg(errorMessage); .arg(name).arg(errorMessage);
@ -2054,7 +2054,7 @@ its create() method:
<programlisting> <programlisting>
if (factory->inherits("KParts::Factory")) { if (factory->inherits("KParts::Factory")) {
KParts::Factory *partFactory = static_cast&lt;KParts::Factory*&gt;(factory); KParts::Factory *partFactory = static_cast&lt;KParts::Factory*&gt;(factory);
QObject *obj = partFactory->createPart(parentWidget, widgetName, TQObject *obj = partFactory->createPart(parentWidget, widgetName,
parent, name, "KParts::ReadOnlyPart"); parent, name, "KParts::ReadOnlyPart");
... ...
} else { } else {
@ -2142,7 +2142,7 @@ class:
DCOPClient *client = kapp->dcopClient(); DCOPClient *client = kapp->dcopClient();
client->attach(); client->attach();
if (!client->isApplicationRegistered("tdeio_uiserver")) { if (!client->isApplicationRegistered("tdeio_uiserver")) {
QString error; TQString error;
if (TDEApplication::startServiceByName("tdeio_uiserver", QStringList(), &amp;error)) if (TDEApplication::startServiceByName("tdeio_uiserver", QStringList(), &amp;error))
cout &lt;&lt; "Starting kioserver failed with message " &lt;&lt; error &lt;&lt; endl; cout &lt;&lt; "Starting kioserver failed with message " &lt;&lt; error &lt;&lt; endl;
} }
@ -2176,7 +2176,7 @@ the file name of its desktop file as argument, i.e. in this case
<para> <para>
All these calls take a list of URLs as a second argument, which is given All these calls take a list of URLs as a second argument, which is given
to the service on the command line. The third argument is a pointer to a to the service on the command line. The third argument is a pointer to a
<classname>QString</classname>. If starting the service fails, this argument <classname>TQString</classname>. If starting the service fails, this argument
is set to a translated error message. is set to a translated error message.
</para> </para>
@ -2385,7 +2385,7 @@ contents of a local file. For remote files, there is a further possibility:
<programlisting> <programlisting>
KURL url("http://developer.kde.org/favicon.ico"); KURL url("http://developer.kde.org/favicon.ico");
QString type = TDEIO::NetAccess::mimetype(url); TQString type = TDEIO::NetAccess::mimetype(url);
if (type == KMimeType::defaultMimeType()) if (type == KMimeType::defaultMimeType())
cout &lt;&lt; "Could not find out type" &lt;&lt; endl; cout &lt;&lt; "Could not find out type" &lt;&lt; endl;
else else
@ -2514,7 +2514,7 @@ and returns the associated icon.
<programlisting> <programlisting>
KURL url("ftp://ftp.kde.org/pub/incoming/wibble.c"); KURL url("ftp://ftp.kde.org/pub/incoming/wibble.c");
QString icon = KMimeType::iconForURL(url); TQString icon = KMimeType::iconForURL(url);
</programlisting> </programlisting>
<para> <para>
@ -2652,7 +2652,7 @@ Renames a file.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>
<varlistentry><term>TDEIO::symlink(const QString &amp;target, const KURL &amp;dest, <varlistentry><term>TDEIO::symlink(const TQString &amp;target, const KURL &amp;dest,
bool overwrite, bool showProgressInfo)</term> bool overwrite, bool showProgressInfo)</term>
<listitem><para> <listitem><para>
Creates a symbolic link. Creates a symbolic link.
@ -2892,7 +2892,7 @@ files regardless of their location is the following code snippet:
<programlisting> <programlisting>
KURL url; KURL url;
url = ...; url = ...;
QString tempFile; TQString tempFile;
if (TDEIO::NetAccess::download(url, tempFile) { if (TDEIO::NetAccess::download(url, tempFile) {
// load the file with the name tempFile // load the file with the name tempFile
TDEIO::NetAccess::removeTempFile(tempFile); TDEIO::NetAccess::removeTempFile(tempFile);
@ -2948,12 +2948,12 @@ void FooClass::printModifiedDate()
void FooClass::transferResult(TDEIO::Job *job) void FooClass::transferResult(TDEIO::Job *job)
{ {
QString mimetype; TQString mimetype;
if (job->error()) if (job->error())
job->showErrorDialog(); job->showErrorDialog();
else { else {
TDEIO::TransferJob *transferJob = (TDEIO::TransferJob*) job; TDEIO::TransferJob *transferJob = (TDEIO::TransferJob*) job;
QString modified = transferJob->queryMetaData("modified"); TQString modified = transferJob->queryMetaData("modified");
cout &lt;&lt; "Last modified: " &lt;&lt; modified &lt;&lt; endl; cout &lt;&lt; "Last modified: " &lt;&lt; modified &lt;&lt; endl;
} }
</programlisting> </programlisting>
@ -3193,7 +3193,7 @@ or not (i.e. the default implementation returns an error).
<listitem><para>copy(const KURL &amp;url, const KURL &amp;dest, int permissions, bool overwrite)</para></listitem></varlistentry> <listitem><para>copy(const KURL &amp;url, const KURL &amp;dest, int permissions, bool overwrite)</para></listitem></varlistentry>
<varlistentry><term>Creates a symbolic link.</term> <varlistentry><term>Creates a symbolic link.</term>
<listitem><para>void symlink(const QString &amp;target, const KURL &amp;dest, bool overwrite)</para></listitem></varlistentry> <listitem><para>void symlink(const TQString &amp;target, const KURL &amp;dest, bool overwrite)</para></listitem></varlistentry>
</variablelist> </variablelist>

@ -305,14 +305,14 @@ But what about the <methodname>show()</methodname> method? Now, you see that lik
This shows you a lot of other widgets that are inherited by <classname>QPushButton</classname>, This shows you a lot of other widgets that are inherited by <classname>QPushButton</classname>,
which we'll use later to explain the signal/slot mechanism. Anyway, the <methodname>show()</methodname> which we'll use later to explain the signal/slot mechanism. Anyway, the <methodname>show()</methodname>
method is not listed, therefore, it must be a method that is provided by inheritance as well. The class method is not listed, therefore, it must be a method that is provided by inheritance as well. The class
that <classname>QButton</classname> inherits is <classname>QWidget</classname>. Just follow the link that <classname>QButton</classname> inherits is <classname>TQWidget</classname>. Just follow the link
again, and you will see a whole bunch of methods that the QWidget class provides; including again, and you will see a whole bunch of methods that the TQWidget class provides; including
the <methodname>show()</methodname> method. Now we understand what was done in the sample with the button: the <methodname>show()</methodname> method. Now we understand what was done in the sample with the button:
<orderedlist> <orderedlist>
<listitem><para>Create an instance of <classname>QPushButton</classname>, use the second constructor to set the button text</para></listitem> <listitem><para>Create an instance of <classname>QPushButton</classname>, use the second constructor to set the button text</para></listitem>
<listitem><para>Resize the widget to its contents</para></listitem> <listitem><para>Resize the widget to its contents</para></listitem>
<listitem><para>Set the widget as the main widget of the <classname>QApplication</classname> instance a</para></listitem> <listitem><para>Set the widget as the main widget of the <classname>QApplication</classname> instance a</para></listitem>
<listitem><para>Tell the widget to display itself on the screen by calling <methodname>show()</methodname>, an inherited method from <classname>QWidget</classname></para></listitem> <listitem><para>Tell the widget to display itself on the screen by calling <methodname>show()</methodname>, an inherited method from <classname>TQWidget</classname></para></listitem>
</orderedlist> </orderedlist>
</para> </para>
<para> <para>
@ -327,7 +327,7 @@ user events.
<note><para> <note><para>
For already advanced users: The button has no parent declared in the constructor, therefore it For already advanced users: The button has no parent declared in the constructor, therefore it
is a top-level widget alone and runs in a local event loop which doesn't need to wait for the main is a top-level widget alone and runs in a local event loop which doesn't need to wait for the main
event loop. See the QWidget class documentation and The TDE Library Reference Guide</para> event loop. See the TQWidget class documentation and The TDE Library Reference Guide</para>
</note> </note>
</sect3> </sect3>
@ -352,7 +352,7 @@ provide methods that detect actions and methods that do something as a reaction
The Window system therefore sends all interaction events to the according application. The The Window system therefore sends all interaction events to the according application. The
<classname>QApplication</classname> then sends them to the active window as a <classname>QEvent</classname> <classname>QApplication</classname> then sends them to the active window as a <classname>QEvent</classname>
and the widgets themselves have to decide what to do with them. A widget receives the event and processes and the widgets themselves have to decide what to do with them. A widget receives the event and processes
<methodname>QWidget::event(QEvent*)</methodname>, which then decides which event has been executed <methodname>TQWidget::event(QEvent*)</methodname>, which then decides which event has been executed
and how to react; <methodname>event()</methodname> is therefore the main event handler. Then, and how to react; <methodname>event()</methodname> is therefore the main event handler. Then,
the <methodname>event()</methodname> method passes the event to so-called event filters the <methodname>event()</methodname> method passes the event to so-called event filters
that determine what happened and what to do with the event. If no filter signs responsible for the that determine what happened and what to do with the event. If no filter signs responsible for the
@ -405,9 +405,9 @@ Window events containing the widget</para>
</para> </para>
<para> <para>
Note that all event functions are virtual and protected; therefore you can re-implement the events Note that all event functions are virtual and protected; therefore you can re-implement the events
that you need in your own widgets and specify how your widget has to react. <classname>QWidget</classname> that you need in your own widgets and specify how your widget has to react. <classname>TQWidget</classname>
also contains some other virtual methods that can be useful in your programs; anyway, it is sufficient also contains some other virtual methods that can be useful in your programs; anyway, it is sufficient
to know about <classname>QWidget</classname> very well. to know about <classname>TQWidget</classname> very well.
</para> </para>
</sect2> </sect2>
<sect2 id="c1s2s4"> <sect2 id="c1s2s4">
@ -423,7 +423,7 @@ some things about this mechanism:
<itemizedlist> <itemizedlist>
<listitem><para> <listitem><para>
the class declaration of a class using signals/slots has to contain the TQ_OBJECT macro at the beginning the class declaration of a class using signals/slots has to contain the TQ_OBJECT macro at the beginning
(without a semicolon); and have to be derved from the <classname>QObject</classname> class (without a semicolon); and have to be derved from the <classname>TQObject</classname> class
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
a signal can be emitted by the keyword emit, e.g. emit signal(parameters); from within any member function a signal can be emitted by the keyword emit, e.g. emit signal(parameters); from within any member function
@ -445,9 +445,9 @@ implementation (which is not necessary to know). The output files of moc are co
</itemizedlist> </itemizedlist>
</para> </para>
<para> <para>
Another way to use signals without deriving from <classname>QObject</classname> is to use the Another way to use signals without deriving from <classname>TQObject</classname> is to use the
<classname>QSignal</classname> class- see the reference documentation for more information and example <classname>QSignal</classname> class- see the reference documentation for more information and example
usage. In the following, we assume you're deriving from <classname>QObject</classname>. usage. In the following, we assume you're deriving from <classname>TQObject</classname>.
</para> </para>
<para> <para>
This way, your class is able to send signals anywhere and to provide slots that signals can connect This way, your class is able to send signals anywhere and to provide slots that signals can connect
@ -457,7 +457,7 @@ as normal methods during implementation.
</para> </para>
<para> <para>
Now, to connect a signal to a slot, you have to use the <methodname>connect()</methodname> methods that Now, to connect a signal to a slot, you have to use the <methodname>connect()</methodname> methods that
are provided by <classname>QObject</classname> or, where available, special methods that objects provide are provided by <classname>TQObject</classname> or, where available, special methods that objects provide
to set the connection for a certain signal. to set the connection for a certain signal.
</para> </para>
@ -479,7 +479,7 @@ hello.resize( 100, 30 );
a.setMainWidget( &amp;hello ); a.setMainWidget( &amp;hello );
QObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() )); TQObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ));
hello.show(); hello.show();
return a.exec(); return a.exec();
@ -489,14 +489,14 @@ return a.exec();
<para> <para>
You see, the only addition to give the button more interaction is to use a <methodname>connect() You see, the only addition to give the button more interaction is to use a <methodname>connect()
</methodname> method: <methodname>connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ))</methodname>; </methodname> method: <methodname>connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ))</methodname>;
is all you have to add. What is the meaning now? The class declaration of QObject says about the is all you have to add. What is the meaning now? The class declaration of TQObject says about the
<methodname>connect()</methodname> method: <methodname>connect()</methodname> method:
</para> </para>
<para><methodname> <para><methodname>
bool connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * member ) bool connect ( const TQObject * sender, const char * signal, const TQObject * receiver, const char * member )
</methodname></para> </methodname></para>
<para> <para>
This means you have to specify a <classname>QObject</classname> instance pointer that is the sender This means you have to specify a <classname>TQObject</classname> instance pointer that is the sender
of the signal, meaning that it can emit this signal as first parameter; then you have to specify the signal of the signal, meaning that it can emit this signal as first parameter; then you have to specify the signal
that you want to connect to. The last two parameters are the receiver object that provides a slot, followed that you want to connect to. The last two parameters are the receiver object that provides a slot, followed
by the member function which actually is the slot that will be executed on signal emission. by the member function which actually is the slot that will be executed on signal emission.
@ -573,7 +573,7 @@ hello.resize( 100, 30 );
a.setTopWidget( &amp;hello ); a.setTopWidget( &amp;hello );
QObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() )); TQObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ));
hello.show(); hello.show();
return a.exec(); return a.exec();
@ -595,7 +595,7 @@ mentioned before and see the effects.
</para> </para>
<para> <para>
What you should have looked into additionally until now is the reference documentation for Qt, What you should have looked into additionally until now is the reference documentation for Qt,
especially the <classname>QApplication</classname>, <classname>QWidget</classname> and <classname>QObject especially the <classname>QApplication</classname>, <classname>TQWidget</classname> and <classname>TQObject
</classname> class and the tdecore library documentation for the <classname>TDEApplication</classname> class. </classname> class and the tdecore library documentation for the <classname>TDEApplication</classname> class.
The <ulink url="developer.kde.org/documentation/library/libraryref.html">TDE Library Reference handbook</ulink> The <ulink url="developer.kde.org/documentation/library/libraryref.html">TDE Library Reference handbook</ulink>
also covers a complete description about the invocation of the <classname>QApplication</classname> and also covers a complete description about the invocation of the <classname>QApplication</classname> and
@ -924,10 +924,10 @@ Let's have a look at the constructor and see how this instance is called
16 statusBar()->show(); 16 statusBar()->show();
17 17
18 // allow the view to change the statusbar and caption 18 // allow the view to change the statusbar and caption
19 connect(m_view, SIGNAL(signalChangeStatusbar(const QString&amp;)), 19 connect(m_view, SIGNAL(signalChangeStatusbar(const TQString&amp;)),
20 this, SLOT(changeStatusbar(const QString&amp;))); 20 this, SLOT(changeStatusbar(const TQString&amp;)));
21 connect(m_view, SIGNAL(signalChangeCaption(const QString&amp;)), 21 connect(m_view, SIGNAL(signalChangeCaption(const TQString&amp;)),
22 this, SLOT(changeCaption(const QString&amp;))); 22 this, SLOT(changeCaption(const TQString&amp;)));
23 23
24 } 24 }
</programlisting> </programlisting>
@ -1011,10 +1011,10 @@ a joy if you know how to exploit it's capabilities- inheritance, information hid
already existing code. already existing code.
</para> </para>
<para> <para>
When creating a TDE or Qt project, you always have to have a view that inherits QWidget, either by When creating a TDE or Qt project, you always have to have a view that inherits TQWidget, either by
direct inheritance or because the library widget you want to use inherits QWidget. Therefore, the direct inheritance or because the library widget you want to use inherits TQWidget. Therefore, the
Application Wizard already constructed a view that is an instance of a class yourappView, which Application Wizard already constructed a view that is an instance of a class yourappView, which
inherits QWidget already. inherits TQWidget already.
</para> </para>
<para> <para>
This chapter therefore describes how to use library widgets for creating views of TDE or This chapter therefore describes how to use library widgets for creating views of TDE or
@ -1080,7 +1080,7 @@ inherit your own widget from <classname>QScrollView</classname> or use an instan
document's view widget. document's view widget.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
to create a ScrollView yourself, inherit the View widget from <classname>QWidget</classname> to create a ScrollView yourself, inherit the View widget from <classname>TQWidget</classname>
and add vertical and horizontal <classname>QScrollBars </classname>. and add vertical and horizontal <classname>QScrollBars </classname>.
(This is done by TDE`s TDEHTMLView widget.) (This is done by TDE`s TDEHTMLView widget.)
</para></listitem> </para></listitem>
@ -1206,7 +1206,7 @@ such as F1 for accessing online-help, Ctrl+N for New File etc.
</para> </para>
<para> <para>
If your application contains a lot of accelerators, you should make them configurable If your application contains a lot of accelerators, you should make them configurable
by an Options-menu; either it could be combined with other application configuration in a QWidget by an Options-menu; either it could be combined with other application configuration in a TQWidget
or stand alone. The TDE library already provides a <classname>KKeyChooser</classname> or stand alone. The TDE library already provides a <classname>KKeyChooser</classname>
for use in tab dialogs, whereas <classname>KKeyDialog</classname> provides a ready-to use for use in tab dialogs, whereas <classname>KKeyDialog</classname> provides a ready-to use
key-configuration dialog. key-configuration dialog.
@ -1305,7 +1305,7 @@ a visible widget item and gets a help window. As an exercise, you could try this
</para> </para>
<para> <para>
To add the What's This...? help to one of your widgets, use the static method To add the What's This...? help to one of your widgets, use the static method
<methodname>QWhatsThis::add(QWidget *widget, const QString &amp;text)</methodname> <methodname>QWhatsThis::add(TQWidget *widget, const TQString &amp;text)</methodname>
</para> </para>
</sect1> </sect1>
</chapter> </chapter>

@ -330,9 +330,9 @@
<include location="local" impldecl="in implementation">richtextfontdialog.ui.h</include> <include location="local" impldecl="in implementation">richtextfontdialog.ui.h</include>
</includes> </includes>
<variables> <variables>
<variable>QString font</variable> <variable>TQString font</variable>
<variable>QColor color</variable> <variable>TQColor color</variable>
<variable>QString size</variable> <variable>TQString size</variable>
</variables> </variables>
<Q_SLOTS> <Q_SLOTS>
<slot>init()</slot> <slot>init()</slot>

@ -30,7 +30,7 @@ options {
{ {
private: private:
QString m_fileName; TQString m_fileName;
QValueList<NamespaceDom> m_scopeStack; QValueList<NamespaceDom> m_scopeStack;
CodeModel* m_model; CodeModel* m_model;
QValueList<QStringList> m_imports; QValueList<QStringList> m_imports;
@ -46,8 +46,8 @@ public:
CodeModel* codeModel () { return m_model; } CodeModel* codeModel () { return m_model; }
const CodeModel* codeModel () const { return m_model; } const CodeModel* codeModel () const { return m_model; }
QString fileName () const { return m_fileName; } TQString fileName () const { return m_fileName; }
void setFileName (const QString& fileName) { m_fileName = fileName; } void setFileName (const TQString& fileName) { m_fileName = fileName; }
void init () { void init () {
m_scopeStack.clear (); m_scopeStack.clear ();
@ -66,13 +66,13 @@ public:
void wipeout () { m_model->wipeout (); } void wipeout () { m_model->wipeout (); }
// void out () { m_store->out (); } // void out () { m_store->out (); }
void removeWithReferences (const QString& fileName) { void removeWithReferences (const TQString& fileName) {
m_model->removeFile (m_model->fileByName(fileName)); m_model->removeFile (m_model->fileByName(fileName));
} }
NamespaceDom insertScopeContainer NamespaceDom insertScopeContainer
(NamespaceDom scope, const QStringList & scopes ) { (NamespaceDom scope, const QStringList & scopes ) {
QStringList::ConstIterator it = scopes.begin(); QStringList::ConstIterator it = scopes.begin();
QString prefix( *it ); TQString prefix( *it );
NamespaceDom ns = scope->namespaceByName( prefix ); NamespaceDom ns = scope->namespaceByName( prefix );
// kdDebug() << "insertScopeContainer begin with prefix " << prefix << endl; // kdDebug() << "insertScopeContainer begin with prefix " << prefix << endl;
if (!ns.data()) { if (!ns.data()) {
@ -89,7 +89,7 @@ public:
} }
// kdDebug() << "insertScopeContainer: while" << endl; // kdDebug() << "insertScopeContainer: while" << endl;
while ( ++it != scopes.end() ) { while ( ++it != scopes.end() ) {
QString nameSegment( *it ); TQString nameSegment( *it );
prefix += "." + nameSegment; prefix += "." + nameSegment;
// kdDebug() << "insertScopeContainer: while prefix = " << prefix << endl; // kdDebug() << "insertScopeContainer: while prefix = " << prefix << endl;
NamespaceDom inner = scope->namespaceByName( prefix ); NamespaceDom inner = scope->namespaceByName( prefix );
@ -592,7 +592,7 @@ name_or_qualified
package_body package_body
: #(PACKAGE_BODY id:def_id : #(PACKAGE_BODY id:def_id
/* TBD /* TBD
{ QString name (qtext (id)); { TQString name (qtext (id));
} }
*/ */
pkg_body_part) pkg_body_part)

@ -13,21 +13,21 @@ Archive=chello.tar.gz
[LIBS] [LIBS]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= OPT_LIBS Value= OPT_LIBS
Comment= Optional libraries to link to. Comment= Optional libraries to link to.
Default= -lm Default= -lm
[INCLUDES] [INCLUDES]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= OPT_INCS Value= OPT_INCS
Comment= Optional include path. Comment= Optional include path.
Default= -I/usr/include Default= -I/usr/include
[CFLAGS] [CFLAGS]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= CFLAGS Value= CFLAGS
Comment= Optional CFLAGS to define in the makefile. Comment= Optional CFLAGS to define in the makefile.
Default= Default=

@ -12,14 +12,14 @@ Archive=kdevpart.tar.gz
[SCOPE] [SCOPE]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= SCOPE Value= SCOPE
Comment= The scope of a plugin (Global, Project, Core) Comment= The scope of a plugin (Global, Project, Core)
Default= Global Default= Global
[PROPS] [PROPS]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= PROPS Value= PROPS
Comment= The list of supported TDevelop properties Comment= The list of supported TDevelop properties
Default= Default=

@ -12,14 +12,14 @@ Archive=kdevpart2.tar.gz
[SCOPE] [SCOPE]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= SCOPE Value= SCOPE
Comment= The scope of a plugin (Global, Project, Core) Comment= The scope of a plugin (Global, Project, Core)
Default= Global Default= Global
[PROPS] [PROPS]
Type = value Type = value
ValueType=QString ValueType=TQString
Value= PROPS Value= PROPS
Comment= The list of supported TDevelop properties Comment= The list of supported TDevelop properties
Default= Default=

@ -1,7 +1,7 @@
<!DOCTYPE UI><UI> <!DOCTYPE UI><UI>
<class>%{APPNAME}Base</class> <class>%{APPNAME}Base</class>
<widget> <widget>
<class>QWidget</class> <class>TQWidget</class>
<property stdset="1"> <property stdset="1">
<name>name</name> <name>name</name>
<cstring>%{APPNAME}Base</cstring> <cstring>%{APPNAME}Base</cstring>

@ -66,14 +66,14 @@ Comment=A Qt3/Qmake based application was created in %{dest}
[TQTDIR] [TQTDIR]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=TQTDIR Value=TQTDIR
Comment=Directory where Qt3 is installed. Comment=Directory where Qt3 is installed.
Default= Default=
[QMAKE] [QMAKE]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=QMAKE Value=QMAKE
Comment=Absolute Path for QMake (Qt3). Comment=Absolute Path for QMake (Qt3).
Default= Default=

@ -26,14 +26,14 @@ Comment=A Qmake based application was created in %{dest}
[QMAKE] [QMAKE]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=QMAKE Value=QMAKE
Comment=Absolute Path for QMake. Comment=Absolute Path for QMake.
Default= Default=
[DESIGNER] [DESIGNER]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=DESIGNER Value=DESIGNER
Comment=Absolute Path for Designer. Comment=Absolute Path for Designer.
Default= Default=

@ -42,14 +42,14 @@ Comment=A Qmake/Qt3 based hello world program was created in %{dest}
[TQTDIR] [TQTDIR]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=TQTDIR Value=TQTDIR
Comment=Directory where Qt3 is installed. Comment=Directory where Qt3 is installed.
Default= Default=
[QMAKE] [QMAKE]
Type=value Type=value
ValueType=QString ValueType=TQString
Value=QMAKE Value=QMAKE
Comment=Absolute Path for QMake (Qt3). Comment=Absolute Path for QMake (Qt3).
Default= Default=

@ -413,7 +413,7 @@ Namespace1::Namespace2::...::NamespaceN</string>
<enum>StrongFocus</enum> <enum>StrongFocus</enum>
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>Insert the base class which your new class will be derived from. If you have checked 'Generate QWidget child class' the new class will be derived from QWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass&lt;int, int&gt;)</string> <string>Insert the base class which your new class will be derived from. If you have checked 'Generate TQWidget child class' the new class will be derived from TQWidget. If no base class is named, the new class will not have a parent class. You can also use template classes here (like BaseClass&lt;int, int&gt;)</string>
</property> </property>
</widget> </widget>
<widget class="KLineEdit" row="0" column="2"> <widget class="KLineEdit" row="0" column="2">

@ -30,7 +30,7 @@ necessary to clear already cached data for other threads.
== Command execution == == Command execution ==
The controller has a queue of commands to send to gdb. A command typically The controller has a queue of commands to send to gdb. A command typically
has a callback (pair of QObject* and a member pointer) to be called when has a callback (pair of TQObject* and a member pointer) to be called when
command is done. command is done.
When the queue is non-empty, and debugger is not busy executing the previous When the queue is non-empty, and debugger is not busy executing the previous

@ -19,10 +19,10 @@ int main(int argc, char **argv)
QByteArray data; QByteArray data;
QDataStream ds(data, IO_WriteOnly); QDataStream ds(data, IO_WriteOnly);
if (argc > 1) if (argc > 1)
ds << QString(argv[1]); ds << TQString(argv[1]);
else else
ds << QString("http://www.kde.org"); ds << TQString("http://www.kde.org");
client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(QString)", data); client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(TQString)", data);
return app.exec(); return app.exec();
} }

@ -17,12 +17,12 @@ import org.kde.koala.*;
* @author %{AUTHOR} <%{EMAIL}> * @author %{AUTHOR} <%{EMAIL}>
* @version %{VERSION} * @version %{VERSION}
*/ */
public class %{APPNAME}View extends QWidget public class %{APPNAME}View extends TQWidget
{ {
QHBoxLayout top_layout; QHBoxLayout top_layout;
public %{APPNAME}View(QWidget parent) public %{APPNAME}View(TQWidget parent)
{ {
super(parent, null); super(parent, null);
// setup our layout manager to automatically add our widgets // setup our layout manager to automatically add our widgets

@ -28,7 +28,7 @@ public %{APPNAME}Preferences()
} }
public class %{APPNAME}PrefPageOne extends QFrame { public class %{APPNAME}PrefPageOne extends QFrame {
public %{APPNAME}PrefPageOne(QWidget parent) public %{APPNAME}PrefPageOne(TQWidget parent)
{ {
super(parent); super(parent);
QHBoxLayout layout = new QHBoxLayout(this); QHBoxLayout layout = new QHBoxLayout(this);
@ -39,7 +39,7 @@ public %{APPNAME}PrefPageOne(QWidget parent)
} }
public class %{APPNAME}PrefPageTwo extends QFrame { public class %{APPNAME}PrefPageTwo extends QFrame {
public %{APPNAME}PrefPageTwo(QWidget parent) public %{APPNAME}PrefPageTwo(TQWidget parent)
{ {
super(parent); super(parent);
QHBoxLayout layout = new QHBoxLayout(this); QHBoxLayout layout = new QHBoxLayout(this);

@ -16,14 +16,14 @@ Type=value
Value=JAVA Value=JAVA
Comment=Path to your java root Comment=Path to your java root
Default=/usr/lib/java Default=/usr/lib/java
ValueType=QString ValueType=TQString
[WABA] [WABA]
Type=value Type=value
Value=WABA Value=WABA
Comment=Path to your SuperWaba root Comment=Path to your SuperWaba root
Default=/usr/lib Default=/usr/lib
ValueType=QString ValueType=TQString
[GNU] [GNU]
Type=install archive Type=install archive

@ -16,14 +16,14 @@ Type=value
Value=JAVA Value=JAVA
Comment=Path to your java root Comment=Path to your java root
Default=/usr/lib/java Default=/usr/lib/java
ValueType=QString ValueType=TQString
[WABA] [WABA]
Type=value Type=value
Value=WABA Value=WABA
Comment=Path to your SuperWaba root Comment=Path to your SuperWaba root
Default=/usr/lib Default=/usr/lib
ValueType=QString ValueType=TQString
[GNU] [GNU]
Type=install archive Type=install archive

@ -157,18 +157,18 @@ private:
public: public:
void setDriver( Driver* d ) { m_driver = d; } void setDriver( Driver* d ) { m_driver = d; }
void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; } void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){ void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
} }
void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){ void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
} }
void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){ void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
} }
} }
@ -1061,18 +1061,18 @@ private:
public: public:
void setDriver( Driver* d ) { m_driver = d; } void setDriver( Driver* d ) { m_driver = d; }
void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; } void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
virtual void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){ virtual void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
} }
virtual void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){ virtual void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) );
} }
virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){ virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){
m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) ); m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
} }
} }

@ -72,26 +72,26 @@ public:
} }
} }
compilationUnit { QString package; QString imp; QStringList imports; } compilationUnit { TQString package; TQString imp; QStringList imports; }
: { init(); } : { init(); }
(package=packageDefinition)? (package=packageDefinition)?
(imp=importDefinition { imports << imp; } )* (imp=importDefinition { imports << imp; } )*
(typeDefinition)* (typeDefinition)*
; ;
packageDefinition returns [ QString id ] packageDefinition returns [ TQString id ]
: #( PACKAGE_DEF id=identifier ) : #( PACKAGE_DEF id=identifier )
; ;
importDefinition returns [ QString id ] importDefinition returns [ TQString id ]
: #( IMPORT id=identifierStar ) : #( IMPORT id=identifierStar )
; ;
typeDefinition { QStringList bases; QString className; ClassDom klass; QStringList m;} typeDefinition { QStringList bases; TQString className; ClassDom klass; QStringList m;}
: #(CLASS_DEF m=modifiers IDENT : #(CLASS_DEF m=modifiers IDENT
{ {
klass = m_model->create<ClassModel>(); klass = m_model->create<ClassModel>();
QString name = QString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() ); TQString name = TQString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
QStringList path = QStringList::split( ".", name ); QStringList path = QStringList::split( ".", name );
className = path.back(); className = path.back();
@ -125,7 +125,7 @@ typeDefinition { QStringList bases; QString className; ClassDom klass; QStringLi
| #(INTERFACE_DEF m=modifiers IDENT | #(INTERFACE_DEF m=modifiers IDENT
{ {
klass = m_model->create<ClassModel>(); klass = m_model->create<ClassModel>();
QString name = QString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() ); TQString name = TQString::fromUtf8( #IDENT->getText().c_str(), #IDENT->getText().length() );
QStringList path = QStringList::split( ".", name ); QStringList path = QStringList::split( ".", name );
className = path.back(); className = path.back();
@ -154,16 +154,16 @@ typeDefinition { QStringList bases; QString className; ClassDom klass; QStringLi
) )
; ;
typeSpec returns [ QString tp ] typeSpec returns [ TQString tp ]
: #(TYPE tp=typeSpecArray) : #(TYPE tp=typeSpecArray)
; ;
typeSpecArray returns [ QString tp ] typeSpecArray returns [ TQString tp ]
: #( ARRAY_DECLARATOR tp=typeSpecArray ) { tp += "[]"; } : #( ARRAY_DECLARATOR tp=typeSpecArray ) { tp += "[]"; }
| tp=type | tp=type
; ;
type returns [ QString tp ] type returns [ TQString tp ]
: tp=identifier : tp=identifier
| b:builtInType { tp = #b->getText().c_str(); } | b:builtInType { tp = #b->getText().c_str(); }
; ;
@ -199,11 +199,11 @@ modifier
| "volatile" | "volatile"
; ;
extendsClause returns [ QStringList l ] { QString id; } extendsClause returns [ QStringList l ] { TQString id; }
: #(EXTENDS_CLAUSE (id=identifier { l << id; } )* ) : #(EXTENDS_CLAUSE (id=identifier { l << id; } )* )
; ;
implementsClause returns [ QStringList l ] { QString id; } implementsClause returns [ QStringList l ] { TQString id; }
: #(IMPLEMENTS_CLAUSE (id=identifier { l << id; } )* ) : #(IMPLEMENTS_CLAUSE (id=identifier { l << id; } )* )
; ;
@ -256,7 +256,7 @@ ctorDef returns [ FunctionDom meth ] {
methodDecl returns [ FunctionDom meth ] { methodDecl returns [ FunctionDom meth ] {
QStringList m; QStringList m;
QString tp; TQString tp;
meth = m_model->create<FunctionModel>(); meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() ); meth->setFileName( m_file->name() );
} }
@ -274,7 +274,7 @@ methodDecl returns [ FunctionDom meth ] {
methodDef returns [ FunctionDom meth ] { methodDef returns [ FunctionDom meth ] {
QStringList m; QStringList m;
QString tp; TQString tp;
meth = m_model->create<FunctionModel>(); meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() ); meth->setFileName( m_file->name() );
} }
@ -292,7 +292,7 @@ methodDef returns [ FunctionDom meth ] {
variableDef returns [ VariableDom attr ] { variableDef returns [ VariableDom attr ] {
QStringList m; QStringList m;
QString tp; TQString tp;
attr = m_model->create<VariableModel>(); attr = m_model->create<VariableModel>();
attr->setFileName( m_file->name() ); attr->setFileName( m_file->name() );
} }
@ -311,7 +311,7 @@ variableDef returns [ VariableDom attr ] {
; ;
parameterDef returns [ ArgumentDom arg ] { parameterDef returns [ ArgumentDom arg ] {
QString tp; TQString tp;
arg = m_model->create<ArgumentModel>(); arg = m_model->create<ArgumentModel>();
} }
: #(PARAMETER_DEF modifiers tp=typeSpec IDENT ) : #(PARAMETER_DEF modifiers tp=typeSpec IDENT )
@ -360,21 +360,21 @@ throwsClause
: #( "throws" (identifier)* ) : #( "throws" (identifier)* )
; ;
identifier returns [ QString id ] identifier returns [ TQString id ]
: IDENT { : IDENT {
id = #IDENT->getText().c_str(); id = #IDENT->getText().c_str();
} }
| #( DOT id=identifier IDENT ) { | #( DOT id=identifier IDENT ) {
id += QString(".") + #IDENT->getText().c_str(); id += TQString(".") + #IDENT->getText().c_str();
} }
; ;
identifierStar returns [ QString id ] identifierStar returns [ TQString id ]
: IDENT { : IDENT {
id = #IDENT->getText().c_str(); id = #IDENT->getText().c_str();
} }
| #( DOT id=identifier (STAR { id += QString(".") + #STAR->getText().c_str(); } | | #( DOT id=identifier (STAR { id += TQString(".") + #STAR->getText().c_str(); } |
IDENT { id += QString(".") + #IDENT->getText().c_str(); }) ) IDENT { id += TQString(".") + #IDENT->getText().c_str(); }) )
; ;
slist slist

@ -16,12 +16,12 @@ an instance of @ref Debugger class and connect its Q_SIGNALS, for example:
@code @code
m_debugger = new Debugger( partController() ); m_debugger = new Debugger( partController() );
connect( m_debugger, SIGNAL(toggledBreakpoint(const QString &, int)), connect( m_debugger, SIGNAL(toggledBreakpoint(const TQString &, int)),
debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const QString &, int)) ); debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const TQString &, int)) );
connect( m_debugger, SIGNAL(editedBreakpoint(const QString &, int)), connect( m_debugger, SIGNAL(editedBreakpoint(const TQString &, int)),
debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const QString &, int)) ); debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const TQString &, int)) );
connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const QString &, int)), connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const TQString &, int)),
debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const QString &, int)) ); debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const TQString &, int)) );
@endcode @endcode
Then m_debugger instance can be used for example, to jump to the execution point: Then m_debugger instance can be used for example, to jump to the execution point:
@code @code

@ -46,7 +46,7 @@ options {
{ {
private: private:
QString m_fileName; TQString m_fileName;
QStringList m_currentScope; QStringList m_currentScope;
int m_currentAccess; int m_currentAccess;
int m_anon; int m_anon;
@ -57,8 +57,8 @@ public:
CodeModel* codeModel() { return m_model; } CodeModel* codeModel() { return m_model; }
const CodeModel* codeModel() const { return m_model; } const CodeModel* codeModel() const { return m_model; }
QString fileName() const { return m_fileName; } TQString fileName() const { return m_fileName; }
void setFileName( const QString& fileName ) { m_fileName = fileName; } void setFileName( const TQString& fileName ) { m_fileName = fileName; }
void init(){ void init(){
m_currentScope.clear(); m_currentScope.clear();

@ -1,10 +1,10 @@
class %{APPNAME} < KDE::DCOPObject class %{APPNAME} < KDE::DCOPObject
k_dcop 'QString string(int)', k_dcop 'TQString string(int)',
'QStringList list()', 'QStringList list()',
'void add(QString)', 'void add(TQString)',
'bool remove(QString)', 'bool remove(TQString)',
'bool exit()' 'bool exit()'
def initialize() def initialize()

@ -15,8 +15,8 @@ class %{APPNAMESC} < KDE::MainWindow
'fileSaveAs()', 'fileSaveAs()',
'filePrint()', 'filePrint()',
'optionsPreferences()', 'optionsPreferences()',
'changeStatusbar(const QString&)', 'changeStatusbar(const TQString&)',
'changeCaption(const QString&)' 'changeCaption(const TQString&)'
def initialize() def initialize()
super( nil, "%{APPNAMESC}" ) super( nil, "%{APPNAMESC}" )
@ -41,10 +41,10 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI(); setupGUI();
# allow the view to change the statusbar and caption # allow the view to change the statusbar and caption
connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'), connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
self, SLOT('changeStatusbar(const QString&)')) self, SLOT('changeStatusbar(const TQString&)'))
connect(@view, SIGNAL('signalChangeCaption(const QString&)'), connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
self, SLOT('changeCaption(const QString&)')) self, SLOT('changeCaption(const TQString&)'))
end end

@ -1,6 +1,6 @@
class %{APPNAMESC}Iface < KDE::DCOPObject class %{APPNAMESC}Iface < KDE::DCOPObject
k_dcop 'void openURL(QString)' k_dcop 'void openURL(TQString)'
def initialize(app) def initialize(app)
super("%{APPNAMESC}Iface") super("%{APPNAMESC}Iface")

@ -15,15 +15,15 @@ class %{APPNAMESC}View < Qt::Widget
# #
# Use this signal to change the content of the statusbar # Use this signal to change the content of the statusbar
# #
Q_SIGNALS 'signalChangeStatusbar(const QString&)' Q_SIGNALS 'signalChangeStatusbar(const TQString&)'
# #
# Use this signal to change the content of the caption # Use this signal to change the content of the caption
# #
Q_SIGNALS 'signalChangeCaption(const QString&)' Q_SIGNALS 'signalChangeCaption(const TQString&)'
Q_SLOTS 'slotOnURL(const QString&)', Q_SLOTS 'slotOnURL(const TQString&)',
'slotSetTitle(const QString&)' 'slotSetTitle(const TQString&)'
def initialize(parent) def initialize(parent)
super(parent) super(parent)
@ -71,10 +71,10 @@ class %{APPNAMESC}View < Qt::Widget
return return
end end
connect(@html, SIGNAL('setWindowCaption(const QString&)'), connect(@html, SIGNAL('setWindowCaption(const TQString&)'),
self, SLOT('slotSetTitle(const QString&)')) self, SLOT('slotSetTitle(const TQString&)'))
connect(@html, SIGNAL('setStatusBarText(const QString&)'), connect(@html, SIGNAL('setStatusBarText(const TQString&)'),
self, SLOT('slotOnURL(const QString&)')) self, SLOT('slotOnURL(const TQString&)'))
end end

@ -12,8 +12,8 @@ class %{APPNAMESC} < KDE::MainWindow
Q_SLOTS 'fileNew()', Q_SLOTS 'fileNew()',
'optionsPreferences()', 'optionsPreferences()',
'newToolbarConfig()', 'newToolbarConfig()',
'changeStatusbar(const QString&)', 'changeStatusbar(const TQString&)',
'changeCaption(const QString&)' 'changeCaption(const TQString&)'
def initialize() def initialize()
super( nil, "%{APPNAMESC}" ) super( nil, "%{APPNAMESC}" )
@ -40,10 +40,10 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI(); setupGUI();
# allow the view to change the statusbar and caption # allow the view to change the statusbar and caption
connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'), connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
self, SLOT('changeStatusbar(const QString&)')) self, SLOT('changeStatusbar(const TQString&)'))
connect(@view, SIGNAL('signalChangeCaption(const QString&)'), connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
self, SLOT('changeCaption(const QString&)')) self, SLOT('changeCaption(const TQString&)'))
end end

@ -15,12 +15,12 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base
# #
# Use this signal to change the content of the statusbar # Use this signal to change the content of the statusbar
# #
Q_SIGNALS 'signalChangeStatusbar(const QString&)' Q_SIGNALS 'signalChangeStatusbar(const TQString&)'
# #
# Use this signal to change the content of the caption # Use this signal to change the content of the caption
# #
Q_SIGNALS 'signalChangeCaption(const QString&)' Q_SIGNALS 'signalChangeCaption(const TQString&)'
Q_SLOTS 'switchColors()', Q_SLOTS 'switchColors()',
'settingsChanged()' 'settingsChanged()'

@ -2,7 +2,7 @@ class %{APPNAMESC} < Qt::MainWindow
Q_SLOTS 'newDoc()', Q_SLOTS 'newDoc()',
'choose()', 'choose()',
'load( const QString& )', 'load( const TQString& )',
'save()', 'save()',
'saveAs()', 'saveAs()',
'print()', 'print()',

@ -38,7 +38,7 @@ those should be loaded at a time. This can be accomplished by:
@code @code
class KDevMyExtension: public KDevPlugin { class KDevMyExtension: public KDevPlugin {
public: public:
KDevMyExtension(const KDevPluginInfo *info, QObject* parent, const char* name) KDevMyExtension(const KDevPluginInfo *info, TQObject* parent, const char* name)
:KDevPlugin(info, parent, name) {} :KDevPlugin(info, parent, name) {}
virtual void doSomething() = 0; virtual void doSomething() = 0;

@ -20,11 +20,11 @@ mimetype then it becomes automatically integrated into TDevelop IDE.
When a part is embedded into TDevelop shell, its Q_SIGNALS (defined in @ref When a part is embedded into TDevelop shell, its Q_SIGNALS (defined in @ref
KInterfaceDesigner::Designer interface): KInterfaceDesigner::Designer interface):
@code @code
void addedFunction(DesignerType type, const QString &formName, Function function) void addedFunction(DesignerType type, const TQString &formName, Function function)
void removedFunction(DesignerType type, const QString &formName, Function function) void removedFunction(DesignerType type, const TQString &formName, Function function)
void editedFunction(DesignerType type, const QString &formName, Function oldFunction, Function function) void editedFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function)
void editFunction(DesignerType type, const QString &formName, const QString &functionName) void editFunction(DesignerType type, const TQString &formName, const TQString &functionName)
void editSource(DesignerType type, const QString &formName); void editSource(DesignerType type, const TQString &formName);
@endcode @endcode
are connected to corresponding Q_SLOTS of TDevelop designer integration engine which can be implemented in TDevelop language support plugin. are connected to corresponding Q_SLOTS of TDevelop designer integration engine which can be implemented in TDevelop language support plugin.

@ -76,7 +76,7 @@ A simple example on how to create a property editor and use it with one property
list->addProperty("My Group", new Property(Property::String, "Second Property", list->addProperty("My Group", new Property(Property::String, "Second Property",
"This is my second property", "Hello")); "This is my second property", "Hello"));
list->addProperty(new Property(Property::Color, "Third Property", list->addProperty(new Property(Property::Color, "Third Property",
"This is my third property", QColor("green"))); "This is my third property", TQColor("green")));
m_editor->populateProperties(*list); m_editor->populateProperties(*list);
\endcode \endcode
@ -94,7 +94,7 @@ More advanced example with property buffers and list intersection:
list->addProperty("My Group", new Property(Property::String, "Second Property", list->addProperty("My Group", new Property(Property::String, "Second Property",
"This is my second property", "Hello")); "This is my second property", "Hello"));
list->addProperty(new Property(Property::Color, "Third Property", list->addProperty(new Property(Property::Color, "Third Property",
"This is my third property", QColor("green"))); "This is my third property", TQColor("green")));
PropertyList *list2 = new PropertyList; PropertyList *list2 = new PropertyList;
list2->addProperty("My Group", new Property(Property::Integer, "First Property", list2->addProperty("My Group", new Property(Property::Integer, "First Property",

@ -38,14 +38,14 @@ QCanvasText
QCanvasTextExtra QCanvasTextExtra
QCanvasView QCanvasView
QCanvasViewData QCanvasViewData
QChar TQChar
QCharRef QCharRef
QCharRef QCharRef
QCheckBox QCheckBox
QCheckListItem QCheckListItem
QCleanupHandler QCleanupHandler
QClipboard QClipboard
QColor TQColor
QColorGroup QColorGroup
QComboBox QComboBox
QComboBoxData QComboBoxData
@ -137,7 +137,7 @@ QHeaderData
QHostAddress QHostAddress
QHttpHeader QHttpHeader
QHttpRequest QHttpRequest
QIODevice TQIODevice
QIconDragItem QIconDragItem
QIconFactory QIconFactory
QIconSet QIconSet
@ -146,7 +146,7 @@ QIconViewItem
QIconViewItemLineEdit QIconViewItemLineEdit
QIconViewPrivate QIconViewPrivate
QIconViewToolTip QIconViewToolTip
QImage TQImage
QImageConsumer QImageConsumer
QImageDataMisc QImageDataMisc
QImageDecoder QImageDecoder
@ -215,7 +215,7 @@ QNPlugin
QNetworkOperation QNetworkOperation
QNetworkProtocol QNetworkProtocol
QNetworkProtocolFactoryBase QNetworkProtocolFactoryBase
QObject TQObject
QObjectList QObjectList
QObjectListIt QObjectListIt
QObjectUserData QObjectUserData
@ -308,7 +308,7 @@ QSqlResult
QStatusBar QStatusBar
QStoredDragData QStoredDragData
QStrList QStrList
QString TQString
QStringList QStringList
QStyle QStyle
QStyleFactory QStyleFactory
@ -380,7 +380,7 @@ QWSManager
QWSRegionManager QWSRegionManager
QWaitCondition QWaitCondition
QWheelEvent QWheelEvent
QWidget TQWidget
QWidgetFactory QWidgetFactory
QWidgetList QWidgetList
QWidgetListIt QWidgetListIt

@ -62,8 +62,8 @@ Example:
app.processEvents(); app.processEvents();
QObject::connect(PluginController::getInstance(), SIGNAL(loadingPlugin(const QString &)), TQObject::connect(PluginController::getInstance(), SIGNAL(loadingPlugin(const TQString &)),
splash, SLOT(showMessage(const QString &))); splash, SLOT(showMessage(const TQString &)));
splash->message( i18n( "Loading Settings" ) ); splash->message( i18n( "Loading Settings" ) );
TopLevel::getInstance()->loadSettings(); TopLevel::getInstance()->loadSettings();
@ -98,12 +98,12 @@ Example:
virtual void createGlobalSettingsPage(KDialogBase */*dlg*/) {}; virtual void createGlobalSettingsPage(KDialogBase */*dlg*/) {};
virtual void acceptGlobalSettingsPage(KDialogBase */*dlg*/) {}; virtual void acceptGlobalSettingsPage(KDialogBase */*dlg*/) {};
virtual QString xmlFile() virtual TQString xmlFile()
{ {
return "myappui.rc"; return "myappui.rc";
} }
virtual QString defaultProfile() virtual TQString defaultProfile()
{ {
return "MyApp"; return "MyApp";
} }

Loading…
Cancel
Save