From 15ea930a6b722a37b80a0e2d79791efb95c2ac2c 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 --- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- .../docs/koffice/chalk/developers-plugins.docbook | 20 ++++----- .../docs/koffice/kugar/progguide.docbook | 52 +++++++++++----------- 21 files changed, 402 insertions(+), 402 deletions(-) diff --git a/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook index f78b1c2a..af2c07e6 100644 --- a/koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-ca/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() color: una representació QColorTQColor d'aquest canal per a la visualització de la interfície de l'usuari, per exemple en histogrames. es pot dividir en uns quants grups: conversió, identificació i manipulació. Totes les classes han de ser capaces de convertir un píxel a 8 bit RGB (és a dir, un QColorTQColor), i preferiblement també a 16 bit L*a*b. Addicionalment, hi ha un mètode per a convertir a qualsevol espai de color des de l'actual espai de color. Els espais de color es descriuen amb el vector El filtre pintura a l'oli usa l'estri multiintegral: 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) > es crida per a crear l'estri d'opció que el &chalk; mostrarà a l'eina. Ja que hi ha una eina per dispositiu d'entrada, l'estat d'una eina es pot mantenir a l'eina. Aquest mètode es crida només un cop: l'estri d'opció s'emmagatzema i es recupera el següent cop que l'eina s'activa. 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 ""; } }; @@ -1452,7 +1452,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; diff --git a/koffice-i18n-ca/docs/koffice/kugar/progguide.docbook b/koffice-i18n-ca/docs/koffice/kugar/progguide.docbook index 872e8d96..ab5050f5 100644 --- a/koffice-i18n-ca/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-ca/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &data_file_name @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data_io_device @@ -261,9 +261,9 @@ this prolog >Arranja les dades d'informe des del fitxer data_io_device. El dispositiu IO pot ser qualsevol successor de la classe QIODeviceTQIODevice. Per exemple, per a agafar registres directament de la base de dades, creeu un successor QIODeviceTQIODevice i redefiniu totes les funcionalitats necessàries. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &template_file_name @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &template_io_device @@ -299,8 +299,8 @@ this prolog >Arranja la plantilla d'informe des del fitxer template_io_device. El dispositiu IO pot ser qualsevol successor de la classe QIODevice. Per exemple, per a obtenir una plantilla d'informe des d'un dispositiu d'emmagatzematge en xarxa o una base de dades, creeu un siccessor QIODevice i redefiniu totes les funcionalitats necessàries. +>TQIODevice. Per exemple, per a obtenir una plantilla d'informe des d'un dispositiu d'emmagatzematge en xarxa o una base de dades, creeu un siccessor TQIODevice i redefiniu totes les funcionalitats necessàries. @@ -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; }; @@ -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; } 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() farve: en repræsentation med QColorTQColor af kanalen for visualisering i brugergrænseflade, for eksempel i histogrammer. kan deles op i et antal grupper: konvertering, identifikation og behandling. Alle klasser skal kunne konvertere et billedpunkt fra og til 8-bit RGB (dvs. en QColorTQColor), 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. Farverum beskrives af vektoren Oliemalerifiltret bruger multiheltalskontrollen: 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. 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 ""; } }; @@ -1452,7 +1452,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; diff --git a/koffice-i18n-da/docs/koffice/kugar/progguide.docbook b/koffice-i18n-da/docs/koffice/kugar/progguide.docbook index 9cac51a9..1762879f 100644 --- a/koffice-i18n-da/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-da/docs/koffice/kugar/progguide.docbook @@ -220,7 +220,7 @@ this prolog >setReportData const QString &const TQString &datafilnavn @@ -237,7 +237,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data io-enhed @@ -245,9 +245,9 @@ this prolog >Henter rapportdata fra filen data io-enhed. I/O-enheden kan være hvilken som helst klasse afledt fra klassen QIODeviceTQIODevice. For eksempel for direkte at hente poster fra databasen, opret en afledt klasse fra QIODeviceTQIODevice og omdefinér alle nødvendige funktioner. @@ -258,7 +258,7 @@ this prolog >setReportTemplate const QString &const TQString &skabelonfilnavn @@ -275,7 +275,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &skabelon_io_enhed @@ -283,8 +283,8 @@ this prolog >Sætter rapportskabelon fra filen skabelon_io_enhed. I/O-enheden kan være en hvilken som helst klasse afledt fra klassen QIODevice. For eksempel for at hente en rapportskabelon direkte fra netværket eller en database, opret en afledt klasse fra QIODevice og omdefinér alle nødvendige funktioner. +>TQIODevice. For eksempel for at hente en rapportskabelon direkte fra netværket eller en database, opret en afledt klasse fra TQIODevice og omdefinér alle nødvendige funktioner. @@ -393,14 +393,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; }; @@ -578,7 +578,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") @@ -586,40 +586,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; } diff --git a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook index 829472d0..86e78594 100644 --- a/koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-de/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() Farbe: eine QColorTQColor-Darstellung dieses Kanals für die grafische Benutzeroberfläche, z. B. für das Histogramm. können in Gruppen unterteilt werden: Konvertierung, Erkennung und Manipulation. Alle Klassen müssen in der Lage sein, ein Pixel aus und in 8-bit-RGB zu konvertieren (d. h., ein QColorTQColor), und möglichst auch in und aus 16-bit-L*a*b*. Zusätzlich gibt es eine Methode, um vom aktuellen Farbraum in jeden anderen Farbraum zu konvertieren. Farbräume werden vom Der Ölgemälde-Filter verwendet die Multi-Integer-Vorrichtung: 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 ) @@ -1155,9 +1155,9 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event) > wird aufgerufen, um ein Einstellungs-Widget zu erstellen, das &chalk; auf der Karteikarte anzeigt. Da es ein Werkzeug pro Eingabegeräte pro Ansicht ist, kann der Zustand eines Werkzeugs im Werkzeug gehalten werden. Diese Methode wird nur einmal aufgerufen: das Einstellungs-Widget wird gespeichert und beim nächsten Aufruf wieder hergestellt. 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); @@ -1213,7 +1213,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 ""; } }; @@ -1448,7 +1448,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; diff --git a/koffice-i18n-de/docs/koffice/kugar/progguide.docbook b/koffice-i18n-de/docs/koffice/kugar/progguide.docbook index 9988bc88..d9b2b0fb 100644 --- a/koffice-i18n-de/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-de/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &Daten_Datei_Name @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data_io_device @@ -261,9 +261,9 @@ this prolog >Fügt Bericht-Daten aus der Datei data_io_device ein. IO-Device kann irgend ein Nachfolger der Klasse QIODevice TQIODevice sein. Ein Beispiel: Um Berichte direkt aus der Datenbank zu erzeugen, erstellen Sie einen QIODeviceTQIODevice-Nachfolger und definieren die gesamte erforderliche Funktionalität erneut. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &template_file_name @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &template_io_device @@ -299,8 +299,8 @@ this prolog >Erstellt eine Berichtvorlage aus der Datei template_io_device. IO-Device kann jeder Nachfolger der Klasse QIODevice sein. Ein Beispiel: um eine Berichtvorlage aus einem Speicher im Netzwerk oder einer Datenbank zu erhalten, erstellen Sie einen QIODevice-Nachfolger und definieren die Funktionalität neu. +>TQIODevice sein. Ein Beispiel: um eine Berichtvorlage aus einem Speicher im Netzwerk oder einer Datenbank zu erhalten, erstellen Sie einen TQIODevice-Nachfolger und definieren die Funktionalität neu. @@ -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; }; @@ -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; } diff --git a/koffice-i18n-es/docs/koffice/kugar/progguide.docbook b/koffice-i18n-es/docs/koffice/kugar/progguide.docbook index a1bc4800..333d4204 100644 --- a/koffice-i18n-es/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-es/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &nombre_arch_datos @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &disp_datos_es @@ -261,9 +261,9 @@ this prolog >Toma los datos para el informe del archivo disp_datos_es. El dispositivo de E/S puede ser cualquier heredero de la clase QIODeviceTQIODevice. Por ejemplo, para recoger registros directamente de la base de datos, cree un heredero de QIODeviceTQIODevice y redefina toda la funcionalidad necesaria. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &nombre_arch_plantilla @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &disp_es_plantilla @@ -299,8 +299,8 @@ this prolog >Toma la plantilla del informe del archivo disp_es_plantilla . El dispositivo de E/S puede ser cualquier heredero de la clase QIODevice. Por ejemplo, para obtener una plantilla del informe de algún sitio de almacenamiento de la red o una base de datos, cree un heredero de QIODevice y redefina toda la funcionalidad necesaria. +>TQIODevice. Por ejemplo, para obtener una plantilla del informe de algún sitio de almacenamiento de la red o una base de datos, cree un heredero de TQIODevice y redefina toda la funcionalidad necesaria. @@ -410,14 +410,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; }; @@ -595,7 +595,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") @@ -603,40 +603,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; } diff --git a/koffice-i18n-et/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-et/docs/koffice/chalk/developers-plugins.docbook index 7827f7dd..bd628cd5 100644 --- a/koffice-i18n-et/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-et/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() värv: antud kanali QColorTQColor esindus kasutajaliidese tarbeks, näiteks histogrammis. meetodid võib jagada mitmesse rühma: teisendamine, tuvastamine ja manipuleerimine. Kõik klassid peavad suutma teisendada pikslit 8-bitisest RGB-st ja 8-bitisesse RGB-sse (s.t. QColorTQColor), võimaluse korral ka 16-bitisest L*a*b-ist ja 16- bitisesse L*a*b-i. Lisaks on ka meetod, mis võimaldab teisendada mis tahes värviruumist aktiivsesse värviruumi. Värviruume kirjeldavad Õlimaalifilter kasutab mitme täisarvuga vidinat: 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) > kutsutakse välja valikuvidina loomiseks, mida &chalk; näitab kaardil. Et töööriist on iga sisendseadme iga vaate jaoks, tuleb tööriista olek hoida tööriistas. Seda meetodit kutsutakse välja ainult üks kord: valikuvidin salvestatakse ja hangitakse uuesti järgmine kord, kui tööriist aktiveeritakse. 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 ""; } }; @@ -1452,7 +1452,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; diff --git a/koffice-i18n-et/docs/koffice/kugar/progguide.docbook b/koffice-i18n-et/docs/koffice/kugar/progguide.docbook index 2dc8a366..19142d46 100644 --- a/koffice-i18n-et/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-et/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &andmefaili_nimi @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &andmete_IO_seade @@ -261,9 +261,9 @@ this prolog >Määrab võtmega andmete_IO_seade, millisest failist aruanne andmeid võtab. IO-seade võib olla suvaline klassi QIODeviceTQIODevice järglane. Näiteks andmete tõmbamiseks vahetult andmebaasist loo QIODeviceTQIODevice järglane ning defineeri vajalikud funktsioonid ümber. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &mallifaili_nimi @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &malli_IO_seade @@ -299,8 +299,8 @@ this prolog >Määrab võtmega malli_IO_seade aruande malli. IO-seade võib olla suvaline klassi QIODevice järglane. Näiteks aruande malli hankimiseks võrgust või andmebaasist loo QIODevice järglane ja defineeri kõik vajalikud funktsioonid ümber. +>TQIODevice järglane. Näiteks aruande malli hankimiseks võrgust või andmebaasist loo TQIODevice järglane ja defineeri kõik vajalikud funktsioonid ümber. @@ -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; }; @@ -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; } diff --git a/koffice-i18n-fr/docs/koffice/kugar/progguide.docbook b/koffice-i18n-fr/docs/koffice/kugar/progguide.docbook index f7ad29cf..7d4d1944 100644 --- a/koffice-i18n-fr/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-fr/docs/koffice/kugar/progguide.docbook @@ -222,7 +222,7 @@ this prolog >setReportData const QString &const TQString &nom_du_fichier_de_données @@ -239,7 +239,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data_io_device @@ -247,9 +247,9 @@ this prolog >Détermine les données du rapport depuis le fichier data_io_device. Le périphérique d'entrées-sorties peut être un successeur d'une classe QIODeviceTQIODevice. Par exemple, pour chercher des enregistrements directement depuis la base de données, créez un successeur QIODeviceTQIODevice et redéfinissez toutes les fonctionnalités nécessaires. @@ -260,7 +260,7 @@ this prolog >setReportTemplate const QString &const TQString &nom_du_fichier_modèle @@ -277,7 +277,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &template_io_device @@ -285,8 +285,8 @@ this prolog >Détermine le modèle de rapport depuis le fichier template_io_device. Le périphérique d'entrées-sorties peut être un successeur d'une classe QIODevice. Par exemple, pour obtenir un modèle de rapport pour le stockage réseau ou les bases de données, créez un successeur QIODevice et redéfinissez toutes les fonctionnalités nécessaires. +>TQIODevice. Par exemple, pour obtenir un modèle de rapport pour le stockage réseau ou les bases de données, créez un successeur TQIODevice et redéfinissez toutes les fonctionnalités nécessaires. @@ -396,14 +396,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; }; @@ -581,7 +581,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") @@ -589,40 +589,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; } diff --git a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook index c7cf4555..083ab55c 100644 --- a/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook @@ -299,7 +299,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(); }; @@ -323,7 +323,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()); @@ -484,7 +484,7 @@ ToolStar::~ToolStar() colore: una rappresentazione QColorTQColor di questo canale per la visualizzazione nell'interfaccia utente, per esempio con istogrammi. possono essere divisi in un certo numero di gruppi: conversione, identificazione e manipolazione. Tutte le classi devono poter convertire un pixel da e in RGB a 8 bit (per esempio, un QColorTQColor), e preferibilmente anche in e da L*a*b a 16 bit. Inoltre, c'è un metodo per convertire in qualsiasi spazio di colori da quello attuale. Gli spazi di colori sono descritti dal vettore Il filtro di pittura a olio usa il widget multiintero: 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) > viene chiamato per creare il widget di opzioni che &chalk; mostrerà nella scheda. Siccome c'è uno strumento per dispositivo di input per vista, lo stato di uno strumento può essere mantenuto nello strumento stesso. Questo metodo viene chiamato una sola volta: il widget di opzioni viene memorizzato e recuperato la prossima volta che lo strumento viene attivato. 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); @@ -1218,7 +1218,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 ""; } }; @@ -1457,7 +1457,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; diff --git a/koffice-i18n-it/docs/koffice/kugar/progguide.docbook b/koffice-i18n-it/docs/koffice/kugar/progguide.docbook index 67368e96..8b4ac5fe 100644 --- a/koffice-i18n-it/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-it/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &name_file_dati @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &dispositivo_io_dati @@ -261,9 +261,9 @@ this prolog >Imposta i dati di rapporto dal file dispositivo_io_dati. Il dispositivo IO può essere qualsiasi discendente della classe QIODeviceTQIODevice. Per esempio, per prendere dati direttamente dalla banca dati, crea un discendente diQIODeviceTQIODevice e ridefiniscine tutte le funzionalità necessarie. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &nome_file_modello @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &dispositivo_io_modello @@ -299,9 +299,9 @@ this prolog >Imposta il modello di rapporto dal file dispositivo_io_modello. Il dispositivo IO può essere qualsiasi discendente della classe QIODeviceTQIODevice. Per esempio, per ottenere un modello di rapporto dalla rete o da una banca dati, crea un discendente diQIODeviceTQIODevice e ridefiniscine tutte le funzionalità necessarie. @@ -411,14 +411,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; }; @@ -596,7 +596,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") @@ -604,40 +604,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; } 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; 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 const QString &const TQString &data_file_name @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data_io_device @@ -261,9 +261,9 @@ this prolog >Gebruik het bestand data_io_device als bron voor rapportgegevens. IO-device kan elke successor van de QIODeviceTQIODevice-class zijn. Om bijvoorbeeld records direct uit een database te halen creëert u een QIODeviceTQIODevice-successor en herdefinieert u de benodigde functionaliteit. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &template_file_name @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &template_io_device @@ -299,8 +299,8 @@ this prolog >Gebruik het bestand template_io_device als bron voor de rapportsjabloon. IO-device kan elke successor van de QIODevice-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. +>TQIODevice-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. @@ -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; }; @@ -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; } diff --git a/koffice-i18n-pt/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-pt/docs/koffice/chalk/developers-plugins.docbook index d08c29cb..aad67bb4 100644 --- a/koffice-i18n-pt/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-pt/docs/koffice/chalk/developers-plugins.docbook @@ -300,7 +300,7 @@ class FerramentaEstrela : public KParts::Plugin { TQ_OBJECT public: - FerramentaEstrela(QObject *mae, const char *nome, const QStringList &); + FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &); virtual ~FerramentaEstrela(); }; @@ -324,7 +324,7 @@ typedef KGenericFactory<FerramentaEstrela> FerramentaEstrelaFactory; K_EXPORT_COMPONENT_FACTORY( chalktoolstar, FerramentaEstrelaFactory( "chalk" ) ) -FerramentaEstrela::FerramentaEstrela(QObject *mae, const char *nome, const QStringList &) +FerramentaEstrela::FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &) : KParts::Plugin(mae, nome) { setInstance(FerramentaEstrelaFactory::instance()); @@ -485,7 +485,7 @@ FerramentaEstrela::~FerramentaEstrela() cor: uma representação num QColorTQColor deste canal, para ser visualizado na interface do utilizador como, por exemplo, em histogramas. podem ser divididos num conjunto de grupos: conversão, identificação e manipulação. Todas as classes deverão ser capazes de converter um pixel de e para RGB de 8 bits (i.e., um QColorTQColor) e, de preferência, de e para L*a*b de 16 bits. Para além disso, existe um método para converter para qualquer espaço de cores a partir do actual. Os espaços de cores são descritos pelo vector O filtro de pintura a óleo usa o elemento multi-inteiros: 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 KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento) > é chamado para criar o elemento gráfico das opções que o &chalk; irá mostrar na página. Dado que existe uma ferramenta por cada dispositivo de entrada, por cada janela, o estado de uma ferramenta poderá ser mantido na ferramenta. Este método só é chamado uma vez: o elemento de opções é guardado e obtido da próxima vez que a ferramenta for activada. QWidget* KisFerramentaEstrela::createOptionWidget(QWidget* mae) +>TQWidget* KisFerramentaEstrela::createOptionWidget(TQWidget* mae) { - QWidget *elemento = KisToolShape::createOptionWidget(mae); + TQWidget *elemento = KisToolShape::createOptionWidget(mae); m_optWidget = new WdgFerramentaEstrela(elemento); TQ_CHECK_PTR(m_optWidget); @@ -1215,7 +1215,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento) virtual KisPaintOp * createOp(const KisPaintOpSettings *configuracao, KisPainter * pintor); virtual KisID id() { return KisID("paintSmeary", i18n("Smeary Brush")); } virtual bool userVisible(KisColorSpace * ) { return false; } - virtual QString pixmap() { return ""; } + virtual TQString pixmap() { return ""; } }; @@ -1452,7 +1452,7 @@ X-TDE-Library=libchalkXXXexport KisDoc * doc = dynamic_cast<KisDoc*>(m_chain -> outputDocument()); KisView * vista = static_cast<KisView*>(doc -> views().getFirst()); - QString ficheiro = m_chain -> inputFile(); + TQString ficheiro = m_chain -> inputFile(); if (!doc) return KoFilter::CreationError; diff --git a/koffice-i18n-pt/docs/koffice/kugar/progguide.docbook b/koffice-i18n-pt/docs/koffice/kugar/progguide.docbook index e6790ae8..d2bd8204 100644 --- a/koffice-i18n-pt/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-pt/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &nome_ficheiro_dados @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &dispositivo_io_dados @@ -261,8 +261,8 @@ this prolog >Configura os dados do relatório a partir do dispositivo_io_dados. O dispositivo de E/S poderá ser qualquer filha da classe QIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de uma base de dados, crie uma filha da classe QIODevice e redefina toda a funcionalidade necessária. +>TQIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de uma base de dados, crie uma filha da classe TQIODevice e redefina toda a funcionalidade necessária. @@ -272,7 +272,7 @@ this prolog >setReportTemplate const QString &const TQString &nome_ficheiro_modelo @@ -289,7 +289,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &dispositivo_io_modelo @@ -297,8 +297,8 @@ this prolog >Configura o modelo de relatório a partir do dispositivo_io_modelo. O dispositivo de E/S poderá ser qualquer filha da classe QIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de uma base de dados, crie uma filha da classe QIODevice e redefina toda a funcionalidade necessária. +>TQIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de uma base de dados, crie uma filha da classe TQIODevice e redefina toda a funcionalidade necessária. @@ -407,14 +407,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; }; @@ -592,7 +592,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") @@ -600,40 +600,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; } diff --git a/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook index 3ee089fb..ee4423f5 100644 --- a/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook @@ -300,7 +300,7 @@ class FerramentaEstrela : public KParts::Plugin { TQ_OBJECT public: - FerramentaEstrela(QObject *mae, const char *nome, const QStringList &); + FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &); virtual ~FerramentaEstrela(); }; @@ -324,7 +324,7 @@ typedef KGenericfatory<FerramentaEstrela> FerramentaEstrelafatory; K_EXPORT_COMPONENT_fatoRY( chalktoolstar, FerramentaEstrelafatory( "chalk" ) ) -FerramentaEstrela::FerramentaEstrela(QObject *mae, const char *nome, const QStringList &) +FerramentaEstrela::FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &) : KParts::Plugin(mae, nome) { setInstance(FerramentaEstrelafatory::instance()); @@ -485,7 +485,7 @@ FerramentaEstrela::~FerramentaEstrela() cor: uma representação num QColorTQColor deste canal, para ser visualizado na interface do usuário como, por exemplo, em histogramas. podem ser divididos num conjunto de grupos: conversão, identificação e manipulação. Todas as classes deverão ser capazes de converter um pixel de e para RGB de 8 bits (i.e., um QColorTQColor) e, de preferência, de e para L*a*b de 16 bits. Além disso, existe um método para converter para qualquer espaço de cores a partir do atual. Os espaços de cores são descritos pelo vetor O filtro de pintura à óleo usa o elemento multi-inteiros: 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 KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento) > é chamado para criar o elemento gráfico das opções que o &chalk; irá mostrar na página. Uma vez que existe uma ferramenta para cada dispositivo de entrada, para cada janela, o estado de uma ferramenta poderá ser mantido na ferramenta. Este método só é chamado uma vez: o elemento de opções é guardado e obtido da próxima vez que a ferramenta for ativada. QWidget* KisFerramentaEstrela::createOptionWidget(QWidget* mae) +>TQWidget* KisFerramentaEstrela::createOptionWidget(TQWidget* mae) { - QWidget *elemento = KisToolShape::createOptionWidget(mae); + TQWidget *elemento = KisToolShape::createOptionWidget(mae); m_optWidget = new WdgFerramentaEstrela(elemento); TQ_CHECK_PTR(m_optWidget); @@ -1215,7 +1215,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento) virtual KisPaintOp * createOp(const KisPaintOpSettings *configuracao, KisPainter * pintor); virtual KisID id() { return KisID("paintSmeary", i18n("Smeary Brush")); } virtual bool userVisible(KisColorSpace * ) { return false; } - virtual QString pixmap() { return ""; } + virtual TQString pixmap() { return ""; } }; @@ -1452,7 +1452,7 @@ X-TDE-Library=libchalkXXXexport KisDoc * doc = dynamic_cast<KisDoc*>(m_chain -> outputDocument()); KisView * vista = static_cast<KisView*>(doc -> views().getFirst()); - QString arquivo = m_chain -> inputFile(); + TQString arquivo = m_chain -> inputFile(); if (!doc) return KoFilter::CreationError; diff --git a/koffice-i18n-pt_BR/docs/koffice/kugar/progguide.docbook b/koffice-i18n-pt_BR/docs/koffice/kugar/progguide.docbook index 86e9559e..fa315740 100644 --- a/koffice-i18n-pt_BR/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-pt_BR/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &nome_arquivo_dados @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &dispositivo_io_dados @@ -261,9 +261,9 @@ this prolog >Configura os dados do relatório a partir do dispositivo_io_dados. O dispositivo de E/S poderá ser qualquer filha da classe QIODeviceTQIODevice. Por exemplo, para obter o modelo do relatório diretamente de um baco de dados, crie uma filha da classe QIODeviceTQIODevice e redefina toda a funcionalidade necessária. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &nome_arquivo_modelo @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &dispositivo_io_modelo @@ -299,8 +299,8 @@ this prolog >Configura o modelo de relatório a partir do dispositivo_io_modelo. O dispositivo de E/S poderá ser qualquer filha da classe QIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de um banco de dados, crie uma filha da classe QIODevice e redefina toda a funcionalidade necessária. +>TQIODevice. Por exemplo, para obter o modelo do relatório a partir de um armazenamento em rede ou de um banco de dados, crie uma filha da classe TQIODevice e redefina toda a funcionalidade necessária. @@ -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; }; @@ -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; } diff --git a/koffice-i18n-ru/docs/koffice/kugar/progguide.docbook b/koffice-i18n-ru/docs/koffice/kugar/progguide.docbook index d28be749..84471570 100644 --- a/koffice-i18n-ru/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-ru/docs/koffice/kugar/progguide.docbook @@ -236,7 +236,7 @@ this prolog >setReportData const QString &const TQString &data_file_name @@ -253,7 +253,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data_io_device @@ -261,9 +261,9 @@ this prolog >Установить данные отчёта из файла data_io_device. Устройство IO может быть любым преемником класса QIODeviceTQIODevice. Например, для получения записей непосредственно из базы данных, создайте преемника QIODeviceTQIODevice и переопределите у него необходимую функциональность. @@ -274,7 +274,7 @@ this prolog >setReportTemplate const QString &const TQString &template_file_name @@ -291,7 +291,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &template_io_device @@ -299,9 +299,9 @@ this prolog >Установить шаблон отчёта из файла template_io_device. Устройство IO может быть любым преемником класса QIODeviceTQIODevice. Например, для получения шаблона отчёта из сети или базы данных, создайте преемника QIODeviceTQIODevice и переопределите у него необходимую функциональность. @@ -412,14 +412,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; }; @@ -597,7 +597,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") @@ -605,40 +605,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; } diff --git a/koffice-i18n-sv/docs/koffice/chalk/developers-plugins.docbook b/koffice-i18n-sv/docs/koffice/chalk/developers-plugins.docbook index c3346039..44d4d9ce 100644 --- a/koffice-i18n-sv/docs/koffice/chalk/developers-plugins.docbook +++ b/koffice-i18n-sv/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() färg: en representation med QColorTQColor av kanalen för visualisering i användargränssnitt, till exempel i histogram. kan delas upp i ett antal grupper: konvertering, identifikation och behandling. Alla klasser måste kunna konvertera en bildpunkt från och till 8-bitars RGB (dvs. en QColorTQColor), och helst också till och från 16-bitars L*a*b*. Dessutom finns en metod för att konvertera till vilken annan färgrymd som helst från den nuvarande färgrymden. Färgrymder beskrivs av vektorn Oljemålningsfiltret använder flerheltalskomponenten: 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) > anropas för att skapa den grafiska inställningskomponenten som &chalk; visar under fliken. Eftersom det finns ett verktyg per inmatningsenhet och per vy, kan tillståndet hos ett verktyg lagras i verktyget. Metoden anropas bara en gång: den grafiska inställningskomponenten lagras och hämtas nästa gång verktyget aktiveras. 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 ""; } }; @@ -1452,7 +1452,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; diff --git a/koffice-i18n-sv/docs/koffice/kugar/progguide.docbook b/koffice-i18n-sv/docs/koffice/kugar/progguide.docbook index e72d2adf..8718f3f4 100644 --- a/koffice-i18n-sv/docs/koffice/kugar/progguide.docbook +++ b/koffice-i18n-sv/docs/koffice/kugar/progguide.docbook @@ -234,7 +234,7 @@ this prolog >setReportData const QString &const TQString &datafilnamn @@ -251,7 +251,7 @@ this prolog >setReportData const QIODevice &const TQIODevice &data io-enhet @@ -259,9 +259,9 @@ this prolog >Hämtar rapportdata från filen data io-enhet. I/O-enheten kan vara vilken klass som helst härledd från klassen QIODeviceTQIODevice. För att till exempel direkt hämta poster från databasen, skapa en härledd klass från QIODeviceTQIODevice och definiera om alla nödvändiga funktioner. @@ -272,7 +272,7 @@ this prolog >setReportTemplate const QString &const TQString &mallfilnamn @@ -289,7 +289,7 @@ this prolog >setReportTemplate const QIODevice &const TQIODevice &mall io-enhet @@ -297,8 +297,8 @@ this prolog >Hämtar rapportmall från filen mall io-enhet. I/O-enheten kan vara vilken klass som helst härledd från klassen QIODevice. För att till exempel direkt hämta en rapportmall från nätverket eller en databas, skapa en härledd klass från QIODevice och definiera om alla nödvändiga funktioner. +>TQIODevice. För att till exempel direkt hämta en rapportmall från nätverket eller en databas, skapa en härledd klass från TQIODevice och definiera om alla nödvändiga funktioner. @@ -407,14 +407,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; }; @@ -592,7 +592,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") @@ -600,40 +600,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; } -- cgit v1.2.1