diff options
author | Michele Calgaro <[email protected]> | 2023-09-23 12:51:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-27 11:49:21 +0900 |
commit | 6fcd754ef7fbb65a893f0f3a34ba4145e5bc2419 (patch) | |
tree | 0ad3c4fd770a499b57b3e192a639b7fb32cbe1cd /koffice-i18n-nl/docs | |
parent | 799c052006d15e5f3819b4b2c7c0a1768e3c86c0 (diff) | |
download | koffice-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')
-rw-r--r-- | koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook | 20 | ||||
-rw-r--r-- | koffice-i18n-nl/docs/koffice/kugar/progguide.docbook | 52 |
2 files changed, 36 insertions, 36 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 &); + 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() <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<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; diff --git a/koffice-i18n-nl/docs/koffice/kugar/progguide.docbook b/koffice-i18n-nl/docs/koffice/kugar/progguide.docbook index c462c6d0..bac7baa3 100644 --- a/koffice-i18n-nl/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-nl/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData</function ></funcdef > <paramdef ->const QString &<parameter +>const TQString &<parameter >data_file_name</parameter ></paramdef > </funcprototype> @@ -253,7 +253,7 @@ this prolog >setReportData</function ></funcdef > <paramdef ->const QIODevice &<parameter +>const TQIODevice &<parameter >data_io_device</parameter ></paramdef > </funcprototype> @@ -261,9 +261,9 @@ this prolog >Gebruik het bestand <replaceable >data_io_device</replaceable > als bron voor rapportgegevens. IO-device kan elke successor van de <classname ->QIODevice</classname +>TQIODevice</classname >-class zijn. Om bijvoorbeeld records direct uit een database te halen creëert u een <classname ->QIODevice</classname +>TQIODevice</classname >-successor en herdefinieert u de benodigde functionaliteit. </funcsynopsisinfo> </funcsynopsis> @@ -274,7 +274,7 @@ this prolog >setReportTemplate</function ></funcdef > <paramdef ->const QString &<parameter +>const TQString &<parameter >template_file_name</parameter ></paramdef > </funcprototype> @@ -291,7 +291,7 @@ this prolog >setReportTemplate</function ></funcdef > <paramdef ->const QIODevice &<parameter +>const TQIODevice &<parameter >template_io_device</parameter ></paramdef > </funcprototype> @@ -299,8 +299,8 @@ this prolog >Gebruik het bestand <replaceable >template_io_device</replaceable > als bron voor de rapportsjabloon. IO-device kan elke successor van de <classname ->QIODevice</classname ->-class zijn. Om bijvoorbeeld een rapportsjabloon vanaf een netwerk of uit een database te halen creëert u een QIODevice-successor en herdefinieert u de benodigde functionaliteit. </funcsynopsisinfo> +>TQIODevice</classname +>-class zijn. Om bijvoorbeeld een rapportsjabloon vanaf een netwerk of uit een database te halen creëert u een TQIODevice-successor en herdefinieert u de benodigde functionaliteit. </funcsynopsisinfo> </funcsynopsis> </sect1> @@ -409,14 +409,14 @@ public: KugarWidgetPlugin (); QStringList keys () const; - QWidget *create (const QString & classname, QWidget * parent = + TQWidget *create (const TQString & classname, TQWidget * parent = 0, const char *name = 0); - QString group (const QString &) const; - QIconSet iconSet (const QString &) const; - QString includeFile (const QString &) const; - QString toolTip (const QString &) const; - QString whatsThis (const QString &) const; - bool isContainer (const QString &) const; + TQString group (const TQString &) const; + QIconSet iconSet (const TQString &) const; + TQString includeFile (const TQString &) const; + TQString toolTip (const TQString &) const; + TQString whatsThis (const TQString &) const; + bool isContainer (const TQString &) const; }; </programlisting> </sect3> @@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const return list; } -QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, +TQWidget* KugarWidgetPlugin::create (const TQString & key, TQWidget * parent, const char *name) { if (key == "KReportViewer") @@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, return 0; } -QString KugarWidgetPlugin::group (const QString & feature) const +TQString KugarWidgetPlugin::group (const TQString & feature) const { if (feature == "KReportViewer") return "Display"; - return QString::null; + return TQString::null; } -QIconSet KugarWidgetPlugin::iconSet (const QString &) const +QIconSet KugarWidgetPlugin::iconSet (const TQString &) const { return QIconSet (QPixmap (kugar_pixmap)); } -QString KugarWidgetPlugin::includeFile (const QString & feature) const +TQString KugarWidgetPlugin::includeFile (const TQString & feature) const { if (feature == "KReportViewer") return "kugar.h"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::toolTip (const QString & feature) const +TQString KugarWidgetPlugin::toolTip (const TQString & feature) const { if (feature == "KReportViewer") return "Kugar report viewer widget"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::whatsThis (const QString & feature) const +TQString KugarWidgetPlugin::whatsThis (const TQString & feature) const { if (feature == "KReportViewer") return "A widget to view xml reports"; - return QString::null; + return TQString::null; } -bool KugarWidgetPlugin::isContainer (const QString &) const +bool KugarWidgetPlugin::isContainer (const TQString &) const { return FALSE; } |