diff options
author | Michele Calgaro <[email protected]> | 2023-09-26 11:50:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-26 11:50:58 +0900 |
commit | 49e49d1876484adcc6c4f264b44b7f4cee28acc2 (patch) | |
tree | 1304c6506aae240b499e2a2db3779186c07e3708 /doc/chalk | |
parent | 074b714e29c0bbcd2bbfc6a931e252c4c90d07a9 (diff) | |
download | koffice-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/chalk')
-rw-r--r-- | doc/chalk/developers-plugins.docbook | 20 |
1 files changed, 10 insertions, 10 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 &); + ToolStar(TQObject *parent, const char *name, const QStringList &); virtual ~ToolStar(); }; @@ -309,7 +309,7 @@ typedef KGenericFactory<ToolStar> ToolStarFactory; K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) ) -ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &) +ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &) : 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&, const QCStrin KisDoc * doc = dynamic_cast<KisDoc*>(m_chain -> outputDocument()); <co id="import2" /> KisView * view = static_cast<KisView*>(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; |