From 6fcd754ef7fbb65a893f0f3a34ba4145e5bc2419 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 23 Sep 2023 12:51:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 15ea930a6b722a37b80a0e2d79791efb95c2ac2c) --- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook') 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 &); + ToolStar(TQObject *parent, const char *name, const QStringList &); virtual ~ToolStar(); }; @@ -325,7 +325,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()); @@ -486,7 +486,7 @@ ToolStar::~ToolStar() color: a QColorTQColor representation of this channel for user interface visualization, for instance in histograms. pure virtual classs can be divided into a number of groups: conversion, identification and manipulation. All classes must be able to convert a pixel from and to 8 bit RGB (i.e., a QColorTQColor), 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. Colorspaces are described by the The oilpaint filter uses the multi integer widget: 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. 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 ""; } }; @@ -1453,7 +1453,7 @@ X-TDE-Library=libchalkXXXexport KisDoc * doc = dynamic_cast<KisDoc*>(m_chain -> outputDocument()); KisView * view = static_cast<KisView*>(doc -> views().getFirst()); - QString filename = m_chain -> inputFile(); + TQString filename = m_chain -> inputFile(); if (!doc) return KoFilter::CreationError; -- cgit v1.2.1