summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-26 11:50:58 +0900
committerMichele Calgaro <[email protected]>2023-09-26 11:50:58 +0900
commit49e49d1876484adcc6c4f264b44b7f4cee28acc2 (patch)
tree1304c6506aae240b499e2a2db3779186c07e3708 /doc
parent074b714e29c0bbcd2bbfc6a931e252c4c90d07a9 (diff)
downloadkoffice-49e49d1876484adcc6c4f264b44b7f4cee28acc2.tar.gz
koffice-49e49d1876484adcc6c4f264b44b7f4cee28acc2.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/chalk/developers-plugins.docbook20
-rw-r--r--doc/kugar/progguide.docbook52
2 files changed, 36 insertions, 36 deletions
diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook
index 32106d9b..319d9257 100644
--- a/doc/chalk/developers-plugins.docbook
+++ b/doc/chalk/developers-plugins.docbook
@@ -284,7 +284,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
- ToolStar(QObject *parent, const char *name, const QStringList &amp;);
+ ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@@ -309,7 +309,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
-ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
+ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@@ -464,7 +464,7 @@ pigment or things like that, substrate is the representation of the canvas.
<listitem><para>a valuetype: byte, short, integer, float — or
other.</para></listitem>
<listitem><para>size: the number of bytes this channel takes</para></listitem>
-<listitem><para>color: a <classname>QColor</classname> representation of this
+<listitem><para>color: a <classname>TQColor</classname> representation of this
channel for user interface visualization, for instance in
histograms.</para></listitem>
<listitem><para>an abbreviaton for use in the GUI when there’s not much
@@ -497,7 +497,7 @@ can be divided into a number of groups: conversion, identification and
manipulation.
</para><para>
All classes must be able to convert a pixel from and to 8 bit RGB (i.e., a
-<classname>QColor</classname>), and preferably also to and from 16 bit L*a*b.
+<classname>TQColor</classname>), and preferably also to and from 16 bit L*a*b.
Additionally, there is a method to convert to any colorspace from the current
colorspace.
</para><para>
@@ -782,7 +782,7 @@ The oilpaint filter uses the multi integer widget:
</para>
<programlisting>
-KisFilterConfigWidget * KisOilPaintFilter::createConfigurationWidget(QWidget* parent, KisPaintDeviceSP /*dev*/)
+KisFilterConfigWidget * KisOilPaintFilter::createConfigurationWidget(TQWidget* parent, KisPaintDeviceSP /*dev*/)
{
vKisIntegerWidgetParam param;
param.push_back( KisIntegerWidgetParam( 1, 5, 1, i18n("Brush size"), "brushSize" ) );
@@ -790,7 +790,7 @@ KisFilterConfigWidget * KisOilPaintFilter::createConfigurationWidget(QWidget* pa
return new KisMultiIntegerFilterWidget(parent, id().id().ascii(), id().id().ascii(), param );
}
-KisFilterConfiguration* KisOilPaintFilter::configuration(QWidget* nwidget)
+KisFilterConfiguration* KisOilPaintFilter::configuration(TQWidget* nwidget)
{
KisMultiIntegerFilterWidget* widget = (KisMultiIntegerFilterWidget*) nwidget;
if( widget == 0 )
@@ -1131,9 +1131,9 @@ time the tool is activated.
</para>
<programlisting>
-QWidget* KisToolStar::createOptionWidget(QWidget* parent)
+TQWidget* KisToolStar::createOptionWidget(TQWidget* parent)
{
- QWidget *widget = KisToolShape::createOptionWidget(parent);
+ TQWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
TQ_CHECK_PTR(m_optWidget);
@@ -1202,7 +1202,7 @@ public:
virtual KisPaintOp * createOp(const KisPaintOpSettings *settings, KisPainter * painter);
virtual KisID id() { return KisID("paintSmeary", i18n("Smeary Brush")); }
virtual bool userVisible(KisColorSpace * ) { return false; }
- virtual QString pixmap() { return ""; }
+ virtual TQString pixmap() { return ""; }
};
</programlisting>
@@ -1466,7 +1466,7 @@ KoFilter::ConversionStatus XXXImport::convert(const QCString&amp;, const QCStrin
KisDoc * doc = dynamic_cast&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(doc -> views().getFirst()); <co id="import3" />
- QString filename = m_chain -> inputFile(); <co id="import4" />
+ TQString filename = m_chain -> inputFile(); <co id="import4" />
if (!doc)
return KoFilter::CreationError;
diff --git a/doc/kugar/progguide.docbook b/doc/kugar/progguide.docbook
index 293096cc..97f4e471 100644
--- a/doc/kugar/progguide.docbook
+++ b/doc/kugar/progguide.docbook
@@ -173,7 +173,7 @@ Call this before opening the new report.</funcsynopsisinfo>
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>setReportData</function></funcdef>
-<paramdef>const QString &amp;<parameter>data_file_name</parameter></paramdef>
+<paramdef>const TQString &amp;<parameter>data_file_name</parameter></paramdef>
</funcprototype>
<funcsynopsisinfo>Sets report data from <replaceable>data_file_name</replaceable> file.</funcsynopsisinfo>
</funcsynopsis>
@@ -181,12 +181,12 @@ Call this before opening the new report.</funcsynopsisinfo>
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>setReportData</function></funcdef>
-<paramdef>const QIODevice &amp;<parameter>data_io_device</parameter></paramdef>
+<paramdef>const TQIODevice &amp;<parameter>data_io_device</parameter></paramdef>
</funcprototype>
<funcsynopsisinfo>Sets report data from <replaceable>data_io_device</replaceable> file.
-IO device can be any successor of the <classname>QIODevice</classname> class.
+IO device can be any successor of the <classname>TQIODevice</classname> class.
For example, to fetch records directly from the database,
-create a <classname>QIODevice</classname> successor and redefine all necessary
+create a <classname>TQIODevice</classname> successor and redefine all necessary
functionality.
</funcsynopsisinfo>
</funcsynopsis>
@@ -194,7 +194,7 @@ functionality.
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>setReportTemplate</function></funcdef>
-<paramdef>const QString &amp;<parameter>template_file_name</parameter></paramdef>
+<paramdef>const TQString &amp;<parameter>template_file_name</parameter></paramdef>
</funcprototype>
<funcsynopsisinfo>Sets report template from <replaceable>template_file_name</replaceable> file.</funcsynopsisinfo>
</funcsynopsis>
@@ -202,12 +202,12 @@ functionality.
<funcsynopsis>
<funcprototype>
<funcdef>bool <function>setReportTemplate</function></funcdef>
-<paramdef>const QIODevice &amp;<parameter>template_io_device</parameter></paramdef>
+<paramdef>const TQIODevice &amp;<parameter>template_io_device</parameter></paramdef>
</funcprototype>
<funcsynopsisinfo>Sets report template from <replaceable>template_io_device</replaceable> file.
-IO device can be any successor of the <classname>QIODevice</classname> class.
+IO device can be any successor of the <classname>TQIODevice</classname> class.
For example, to obtain a report template from network storage or database,
-create a QIODevice successor and redefine all necessary functionality.
+create a TQIODevice successor and redefine all necessary functionality.
</funcsynopsisinfo>
</funcsynopsis>
@@ -284,14 +284,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
- QWidget *create (const QString &amp; classname, QWidget * parent =
+ TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
- QString group (const QString &amp;) const;
- QIconSet iconSet (const QString &amp;) const;
- QString includeFile (const QString &amp;) const;
- QString toolTip (const QString &amp;) const;
- QString whatsThis (const QString &amp;) const;
- bool isContainer (const QString &amp;) const;
+ TQString group (const TQString &amp;) const;
+ QIconSet iconSet (const TQString &amp;) const;
+ TQString includeFile (const TQString &amp;) const;
+ TQString toolTip (const TQString &amp;) const;
+ TQString whatsThis (const TQString &amp;) const;
+ bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@@ -468,7 +468,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
-QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
+TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@@ -476,40 +476,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
-QString KugarWidgetPlugin::group (const QString &amp; feature) const
+TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
- return QString::null;
+ return TQString::null;
}
-QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
+QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
-QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
+TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
- return QString::null;
+ return TQString::null;
}
-QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
+TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
- return QString::null;
+ return TQString::null;
}
-QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
+TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
- return QString::null;
+ return TQString::null;
}
-bool KugarWidgetPlugin::isContainer (const QString &amp;) const
+bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}