diff options
author | Michele Calgaro <[email protected]> | 2023-09-23 12:51:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-23 12:51:00 +0900 |
commit | 15ea930a6b722a37b80a0e2d79791efb95c2ac2c (patch) | |
tree | 9985e8e71e57a21b04545267fb3179b9308616c7 /koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook | |
parent | 86c7407cd1327d006ddddec768b584e6081639f5 (diff) | |
download | koffice-i18n-15ea930a6b722a37b80a0e2d79791efb95c2ac2c.tar.gz koffice-i18n-15ea930a6b722a37b80a0e2d79791efb95c2ac2c.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook')
-rw-r--r-- | koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook index b25673f4..9e41f2b7 100644 --- a/koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook @@ -300,7 +300,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(); }; @@ -324,7 +324,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()); @@ -485,7 +485,7 @@ ToolStar::~ToolStar() <listitem ><para >farve: en repræsentation med <classname ->QColor</classname +>TQColor</classname > af kanalen for visualisering i brugergrænseflade, for eksempel i histogrammer.</para ></listitem> <listitem @@ -521,7 +521,7 @@ ToolStar::~ToolStar() > kan deles op i et antal grupper: konvertering, identifikation og behandling. </para ><para >Alle klasser skal kunne konvertere et billedpunkt fra og til 8-bit RGB (dvs. en <classname ->QColor</classname +>TQColor</classname >), og helst også til og fra 16-bit L*a*b*. Desuden er der en metode til at konvertere til et hvilket som helst andet farverum fra det nuværende farverum. </para ><para >Farverum beskrives af vektoren <classname @@ -809,7 +809,7 @@ public: >Oliemalerifiltret bruger multiheltalskontrollen: </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" ) ); @@ -817,7 +817,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 ) @@ -1157,9 +1157,9 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) > kaldes for at oprette den grafiske indstillingskontrol som &chalk; viser fanebladet. Eftersom der er et værktøj per indtastningsenhed og per visning, kan tilstanden af et værktøj opbevares i værktøjet. Denne metode kaldes kun en gang: den grafiske indstillingskontrol opbevares og hentes næste gang værktøjet aktiveres. </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); @@ -1215,7 +1215,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> @@ -1452,7 +1452,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; |