summaryrefslogtreecommitdiffstats
path: root/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-23 12:51:00 +0900
committerMichele Calgaro <[email protected]>2023-09-27 11:49:21 +0900
commit6fcd754ef7fbb65a893f0f3a34ba4145e5bc2419 (patch)
tree0ad3c4fd770a499b57b3e192a639b7fb32cbe1cd /koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook
parent799c052006d15e5f3819b4b2c7c0a1768e3c86c0 (diff)
downloadkoffice-i18n-6fcd754ef7fbb65a893f0f3a34ba4145e5bc2419.tar.gz
koffice-i18n-6fcd754ef7fbb65a893f0f3a34ba4145e5bc2419.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 15ea930a6b722a37b80a0e2d79791efb95c2ac2c)
Diffstat (limited to 'koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook')
-rw-r--r--koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook20
1 files changed, 10 insertions, 10 deletions
diff --git a/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook
index 12d3168f..8b1a2628 100644
--- a/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook
+++ b/koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook
@@ -301,7 +301,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();
};
@@ -325,7 +325,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());
@@ -486,7 +486,7 @@ ToolStar::~ToolStar()
<listitem
><para
>color: a <classname
->QColor</classname
+>TQColor</classname
> representation of this channel for user interface visualization, for instance in histograms.</para
></listitem>
<listitem
@@ -522,7 +522,7 @@ ToolStar::~ToolStar()
> pure virtual classs 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
+>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
>Colorspaces are described by the <classname
@@ -810,7 +810,7 @@ public:
>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" ) );
@@ -818,7 +818,7 @@ public:
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 )
@@ -1158,9 +1158,9 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
> method is called to create the option widget that &chalk; will show in the tab. Since there is a tool per input device per view, the state of a tool can be kept in the tool. This method is only called once: the option widget is stored and retrieved the next 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);
@@ -1216,7 +1216,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
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>
@@ -1453,7 +1453,7 @@ X-TDE-Library=libchalkXXXexport
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;