Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 15ea930a6b)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 799c052006
commit 6fcd754ef7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -300,7 +300,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@ -485,7 +485,7 @@ ToolStar::~ToolStar()
<listitem
><para
>color: una representació <classname
>QColor</classname
>TQColor</classname
> d'aquest canal per a la visualització de la interfície de l'usuari, per exemple en histogrames.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ ToolStar::~ToolStar()
> es pot dividir en uns quants grups: conversió, identificació i manipulació. </para
><para
>Totes les classes han de ser capaces de convertir un píxel a 8 bit RGB (és a dir, un <classname
>QColor</classname
>TQColor</classname
>), 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. </para
><para
>Els espais de color es descriuen amb el vector <classname
@ -809,7 +809,7 @@ public:
>El filtre pintura a l'oli usa l'estri multiintegral: </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)
> 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. </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&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>data_file_name</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data_io_device</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Arranja les dades d'informe des del fitxer <replaceable
>data_io_device</replaceable
>. El dispositiu IO pot ser qualsevol successor de la classe <classname
>QIODevice</classname
>TQIODevice</classname
>. Per exemple, per a agafar registres directament de la base de dades, creeu un successor <classname
>QIODevice</classname
>TQIODevice</classname
> i redefiniu totes les funcionalitats necessàries. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>template_file_name</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>template_io_device</parameter
></paramdef
> </funcprototype>
@ -299,8 +299,8 @@ this prolog
>Arranja la plantilla d'informe des del fitxer <replaceable
>template_io_device</replaceable
>. El dispositiu IO pot ser qualsevol successor de la classe <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -409,14 +409,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: 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&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -220,7 +220,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>datafilnavn</parameter
></paramdef
> </funcprototype>
@ -237,7 +237,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data io-enhed</parameter
></paramdef
> </funcprototype>
@ -245,9 +245,9 @@ this prolog
>Henter rapportdata fra filen <replaceable
>data io-enhed</replaceable
>. I/O-enheden kan være hvilken som helst klasse afledt fra klassen <replaceable
>QIODevice</replaceable
>TQIODevice</replaceable
>. For eksempel for direkte at hente poster fra databasen, opret en afledt klasse fra <classname
>QIODevice</classname
>TQIODevice</classname
> og omdefinér alle nødvendige funktioner. </funcsynopsisinfo>
</funcsynopsis>
@ -258,7 +258,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>skabelonfilnavn</parameter
></paramdef
> </funcprototype>
@ -275,7 +275,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>skabelon_io_enhed</parameter
></paramdef
> </funcprototype>
@ -283,8 +283,8 @@ this prolog
>Sætter rapportskabelon fra filen <replaceable
>skabelon_io_enhed</replaceable
>. I/O-enheden kan være en hvilken som helst klasse afledt fra klassen <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -393,14 +393,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -578,7 +578,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -586,40 +586,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@ -485,7 +485,7 @@ ToolStar::~ToolStar()
<listitem
><para
>Farbe: eine <classname
>QColor</classname
>TQColor</classname
>-Darstellung dieses Kanals für die grafische Benutzeroberfläche, z. B. für das Histogramm.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ ToolStar::~ToolStar()
> können in Gruppen unterteilt werden: Konvertierung, Erkennung und Manipulation. </para
><para
>Alle Klassen müssen in der Lage sein, ein Pixel aus und in 8-bit-RGB zu konvertieren (d. h., ein <classname
>QColor</classname
>TQColor</classname
>), 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. </para
><para
>Farbräume werden vom <classname
@ -809,7 +809,7 @@ public:
>Der Ölgemälde-Filter verwendet die Multi-Integer-Vorrichtung: </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 )
@ -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. </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);
@ -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 ""; }
};
</programlisting>
@ -1448,7 +1448,7 @@ X-TDE-Library=libchalkXXXexport
KisDoc * doc = dynamic_cast&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>Daten_Datei_Name</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data_io_device</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Fügt Bericht-Daten aus der Datei <replaceable
> data_io_device</replaceable
> ein. IO-Device kann irgend ein Nachfolger der Klasse <classname
>QIODevice </classname
>TQIODevice </classname
> sein. Ein Beispiel: Um Berichte direkt aus der Datenbank zu erzeugen, erstellen Sie einen <classname
>QIODevice</classname
>TQIODevice</classname
>-Nachfolger und definieren die gesamte erforderliche Funktionalität erneut. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>template_file_name</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>template_io_device</parameter
></paramdef
> </funcprototype>
@ -299,8 +299,8 @@ this prolog
>Erstellt eine Berichtvorlage aus der Datei <replaceable
>template_io_device</replaceable
>. IO-Device kann jeder Nachfolger der Klasse <classname
>QIODevice</classname
> 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. </funcsynopsisinfo>
>TQIODevice</classname
> 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -409,14 +409,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nombre_arch_datos</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>disp_datos_es</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Toma los datos para el informe del archivo <replaceable
>disp_datos_es</replaceable
>. El dispositivo de E/S puede ser cualquier heredero de la clase <classname
>QIODevice</classname
>TQIODevice</classname
>. Por ejemplo, para recoger registros directamente de la base de datos, cree un heredero de <classname
>QIODevice</classname
>TQIODevice</classname
> y redefina toda la funcionalidad necesaria. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nombre_arch_plantilla</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>disp_es_plantilla</parameter
></paramdef
> </funcprototype>
@ -299,8 +299,8 @@ this prolog
>Toma la plantilla del informe del archivo <replaceable
>disp_es_plantilla</replaceable
> . El dispositivo de E/S puede ser cualquier heredero de la clase <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -410,14 +410,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -595,7 +595,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -603,40 +603,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@ -485,7 +485,7 @@ ToolStar::~ToolStar()
<listitem
><para
>värv: antud kanali <classname
>QColor</classname
>TQColor</classname
> esindus kasutajaliidese tarbeks, näiteks histogrammis.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ ToolStar::~ToolStar()
> meetodid võib jagada mitmesse rühma: teisendamine, tuvastamine ja manipuleerimine. </para
><para
>Kõik klassid peavad suutma teisendada pikslit 8-bitisest RGB-st ja 8-bitisesse RGB-sse (s.t. <classname
>QColor</classname
>TQColor</classname
>), 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. </para
><para
>Värviruume kirjeldavad <classname
@ -809,7 +809,7 @@ public:
>Õlimaalifilter kasutab mitme täisarvuga vidinat: </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)
> 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. </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&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>andmefaili_nimi</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>andmete_IO_seade</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Määrab võtmega <replaceable
>andmete_IO_seade</replaceable
>, millisest failist aruanne andmeid võtab. IO-seade võib olla suvaline klassi <classname
>QIODevice</classname
>TQIODevice</classname
> järglane. Näiteks andmete tõmbamiseks vahetult andmebaasist loo <classname
>QIODevice</classname
>TQIODevice</classname
> järglane ning defineeri vajalikud funktsioonid ümber. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>mallifaili_nimi</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>malli_IO_seade</parameter
></paramdef
> </funcprototype>
@ -299,8 +299,8 @@ this prolog
>Määrab võtmega <replaceable
>malli_IO_seade</replaceable
> aruande malli. IO-seade võib olla suvaline klassi <classname
>QIODevice</classname
> järglane. Näiteks aruande malli hankimiseks võrgust või andmebaasist loo QIODevice järglane ja defineeri kõik vajalikud funktsioonid ümber. </funcsynopsisinfo>
>TQIODevice</classname
> järglane. Näiteks aruande malli hankimiseks võrgust või andmebaasist loo TQIODevice järglane ja defineeri kõik vajalikud funktsioonid ümber. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -409,14 +409,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -222,7 +222,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nom_du_fichier_de_données</parameter
></paramdef
> </funcprototype>
@ -239,7 +239,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data_io_device</parameter
></paramdef
> </funcprototype>
@ -247,9 +247,9 @@ this prolog
>Détermine les données du rapport depuis le fichier <replaceable
>data_io_device</replaceable
>. Le périphérique d'entrées-sorties peut être un successeur d'une classe <classname
>QIODevice</classname
>TQIODevice</classname
>. Par exemple, pour chercher des enregistrements directement depuis la base de données, créez un successeur <classname
>QIODevice</classname
>TQIODevice</classname
> et redéfinissez toutes les fonctionnalités nécessaires. </funcsynopsisinfo>
</funcsynopsis>
@ -260,7 +260,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nom_du_fichier_modèle</parameter
></paramdef
> </funcprototype>
@ -277,7 +277,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>template_io_device</parameter
></paramdef
> </funcprototype>
@ -285,8 +285,8 @@ this prolog
>Détermine le modèle de rapport depuis le fichier <replaceable
>template_io_device</replaceable
>. Le périphérique d'entrées-sorties peut être un successeur d'une classe <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -396,14 +396,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -581,7 +581,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -589,40 +589,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -299,7 +299,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -323,7 +323,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@ -484,7 +484,7 @@ ToolStar::~ToolStar()
<listitem
><para
>colore: una rappresentazione <classname
>QColor</classname
>TQColor</classname
> di questo canale per la visualizzazione nell'interfaccia utente, per esempio con istogrammi.</para
></listitem>
<listitem
@ -520,7 +520,7 @@ ToolStar::~ToolStar()
> possono essere divisi in un certo numero di gruppi: conversione, identificazione e manipolazione. </para
><para
>Tutte le classi devono poter convertire un pixel da e in RGB a 8 bit (per esempio, un <classname
>QColor</classname
>TQColor</classname
>), 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. </para
><para
>Gli spazi di colori sono descritti dal vettore <classname
@ -810,7 +810,7 @@ public:
>Il filtro di pittura a olio usa il widget multiintero: </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)
> 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. </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);
@ -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 ""; }
};
</programlisting>
@ -1457,7 +1457,7 @@ X-TDE-Library=libchalkXXXexport
KisDoc * doc = dynamic_cast&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>name_file_dati</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_dati</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Imposta i dati di rapporto dal file <replaceable
>dispositivo_io_dati</replaceable
>. Il dispositivo IO può essere qualsiasi discendente della classe <classname
>QIODevice</classname
>TQIODevice</classname
>. Per esempio, per prendere dati direttamente dalla banca dati, crea un discendente di<classname
>QIODevice</classname
>TQIODevice</classname
> e ridefiniscine tutte le funzionalità necessarie. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nome_file_modello</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_modello</parameter
></paramdef
> </funcprototype>
@ -299,9 +299,9 @@ this prolog
>Imposta il modello di rapporto dal file <replaceable
>dispositivo_io_modello</replaceable
>. Il dispositivo IO può essere qualsiasi discendente della classe <classname
>QIODevice</classname
>TQIODevice</classname
>. Per esempio, per ottenere un modello di rapporto dalla rete o da una banca dati, crea un discendente di<classname
>QIODevice</classname
>TQIODevice</classname
> e ridefiniscine tutte le funzionalità necessarie. </funcsynopsisinfo>
</funcsynopsis>
@ -411,14 +411,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -596,7 +596,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -604,40 +604,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -301,7 +301,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -325,7 +325,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: 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&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>data_file_name</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<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&euml;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 &amp;<parameter
>const TQString &amp;<parameter
>template_file_name</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<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 &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class FerramentaEstrela : public KParts::Plugin
{
TQ_OBJECT
public:
FerramentaEstrela(QObject *mae, const char *nome, const QStringList &amp;);
FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &amp;);
virtual ~FerramentaEstrela();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;FerramentaEstrela&gt; FerramentaEstrelaFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, FerramentaEstrelaFactory( "chalk" ) )
FerramentaEstrela::FerramentaEstrela(QObject *mae, const char *nome, const QStringList &amp;)
FerramentaEstrela::FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &amp;)
: KParts::Plugin(mae, nome)
{
setInstance(FerramentaEstrelaFactory::instance());
@ -485,7 +485,7 @@ FerramentaEstrela::~FerramentaEstrela()
<listitem
><para
>cor: uma representação num <classname
>QColor</classname
>TQColor</classname
> deste canal, para ser visualizado na interface do utilizador como, por exemplo, em histogramas.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ FerramentaEstrela::~FerramentaEstrela()
> podem ser divididos num conjunto de grupos: conversão, identificação e manipulação. </para
><para
>Todas as classes deverão ser capazes de converter um pixel de e para RGB de 8 bits (i.e., um <classname
>QColor</classname
>TQColor</classname
>) 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. </para
><para
>Os espaços de cores são descritos pelo vector <classname
@ -809,7 +809,7 @@ public:
>O filtro de pintura a óleo usa o elemento multi-inteiros: </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 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. </para>
<programlisting
>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 ""; }
};
</programlisting>
@ -1452,7 +1452,7 @@ X-TDE-Library=libchalkXXXexport
KisDoc * doc = dynamic_cast&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * vista = static_cast&lt;KisView*&gt;(doc -> views().getFirst()); <co id="import3" />
QString ficheiro = m_chain -> inputFile(); <co id="import4" />
TQString ficheiro = m_chain -> inputFile(); <co id="import4" />
if (!doc)
return KoFilter::CreationError;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nome_ficheiro_dados</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_dados</parameter
></paramdef
> </funcprototype>
@ -261,8 +261,8 @@ this prolog
>Configura os dados do relatório a partir do <replaceable
>dispositivo_io_dados</replaceable
>. O dispositivo de E/S poderá ser qualquer filha da classe <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
<funcsynopsis>
@ -272,7 +272,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nome_ficheiro_modelo</parameter
></paramdef
> </funcprototype>
@ -289,7 +289,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_modelo</parameter
></paramdef
> </funcprototype>
@ -297,8 +297,8 @@ this prolog
>Configura o modelo de relatório a partir do <replaceable
>dispositivo_io_modelo</replaceable
>. O dispositivo de E/S poderá ser qualquer filha da classe <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -407,14 +407,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -592,7 +592,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -600,40 +600,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class FerramentaEstrela : public KParts::Plugin
{
TQ_OBJECT
public:
FerramentaEstrela(QObject *mae, const char *nome, const QStringList &amp;);
FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &amp;);
virtual ~FerramentaEstrela();
};
@ -324,7 +324,7 @@ typedef KGenericfatory&lt;FerramentaEstrela&gt; FerramentaEstrelafatory;
K_EXPORT_COMPONENT_fatoRY( chalktoolstar, FerramentaEstrelafatory( "chalk" ) )
FerramentaEstrela::FerramentaEstrela(QObject *mae, const char *nome, const QStringList &amp;)
FerramentaEstrela::FerramentaEstrela(TQObject *mae, const char *nome, const QStringList &amp;)
: KParts::Plugin(mae, nome)
{
setInstance(FerramentaEstrelafatory::instance());
@ -485,7 +485,7 @@ FerramentaEstrela::~FerramentaEstrela()
<listitem
><para
>cor: uma representação num <classname
>QColor</classname
>TQColor</classname
> deste canal, para ser visualizado na interface do usuário como, por exemplo, em histogramas.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ FerramentaEstrela::~FerramentaEstrela()
> podem ser divididos num conjunto de grupos: conversão, identificação e manipulação. </para
><para
>Todas as classes deverão ser capazes de converter um pixel de e para RGB de 8 bits (i.e., um <classname
>QColor</classname
>TQColor</classname
>) 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. </para
><para
>Os espaços de cores são descritos pelo vetor <classname
@ -809,7 +809,7 @@ public:
>O filtro de pintura à óleo usa o elemento multi-inteiros: </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 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. </para>
<programlisting
>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 ""; }
};
</programlisting>
@ -1452,7 +1452,7 @@ X-TDE-Library=libchalkXXXexport
KisDoc * doc = dynamic_cast&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * vista = static_cast&lt;KisView*&gt;(doc -> views().getFirst()); <co id="import3" />
QString arquivo = m_chain -> inputFile(); <co id="import4" />
TQString arquivo = m_chain -> inputFile(); <co id="import4" />
if (!doc)
return KoFilter::CreationError;

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nome_arquivo_dados</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_dados</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Configura os dados do relatório a partir do <replaceable
>dispositivo_io_dados</replaceable
>. O dispositivo de E/S poderá ser qualquer filha da classe <classname
>QIODevice</classname
>TQIODevice</classname
>. Por exemplo, para obter o modelo do relatório diretamente de um baco de dados, crie uma filha da classe <classname
>QIODevice</classname
>TQIODevice</classname
> e redefina toda a funcionalidade necessária. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>nome_arquivo_modelo</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>dispositivo_io_modelo</parameter
></paramdef
> </funcprototype>
@ -299,8 +299,8 @@ this prolog
>Configura o modelo de relatório a partir do <replaceable
>dispositivo_io_modelo</replaceable
>. O dispositivo de E/S poderá ser qualquer filha da classe <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -409,14 +409,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -236,7 +236,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>data_file_name</parameter
></paramdef
> </funcprototype>
@ -253,7 +253,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data_io_device</parameter
></paramdef
> </funcprototype>
@ -261,9 +261,9 @@ this prolog
>Установить данные отчёта из файла <replaceable
>data_io_device</replaceable
>. Устройство IO может быть любым преемником класса <classname
>QIODevice</classname
>TQIODevice</classname
>. Например, для получения записей непосредственно из базы данных, создайте преемника <classname
>QIODevice</classname
>TQIODevice</classname
> и переопределите у него необходимую функциональность. </funcsynopsisinfo>
</funcsynopsis>
@ -274,7 +274,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>template_file_name</parameter
></paramdef
> </funcprototype>
@ -291,7 +291,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>template_io_device</parameter
></paramdef
> </funcprototype>
@ -299,9 +299,9 @@ this prolog
>Установить шаблон отчёта из файла <replaceable
>template_io_device</replaceable
>. Устройство IO может быть любым преемником класса <classname
>QIODevice</classname
>TQIODevice</classname
>. Например, для получения шаблона отчёта из сети или базы данных, создайте преемника <classname
>QIODevice</classname
>TQIODevice</classname
> и переопределите у него необходимую функциональность. </funcsynopsisinfo>
</funcsynopsis>
@ -412,14 +412,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -597,7 +597,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -605,40 +605,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

@ -300,7 +300,7 @@ class ToolStar : public KParts::Plugin
{
TQ_OBJECT
public:
ToolStar(QObject *parent, const char *name, const QStringList &amp;);
ToolStar(TQObject *parent, const char *name, const QStringList &amp;);
virtual ~ToolStar();
};
@ -324,7 +324,7 @@ typedef KGenericFactory&lt;ToolStar&gt; ToolStarFactory;
K_EXPORT_COMPONENT_FACTORY( chalktoolstar, ToolStarFactory( "chalk" ) )
ToolStar::ToolStar(QObject *parent, const char *name, const QStringList &amp;)
ToolStar::ToolStar(TQObject *parent, const char *name, const QStringList &amp;)
: KParts::Plugin(parent, name)
{
setInstance(ToolStarFactory::instance());
@ -485,7 +485,7 @@ ToolStar::~ToolStar()
<listitem
><para
>färg: en representation med <classname
>QColor</classname
>TQColor</classname
> av kanalen för visualisering i användargränssnitt, till exempel i histogram.</para
></listitem>
<listitem
@ -521,7 +521,7 @@ ToolStar::~ToolStar()
> kan delas upp i ett antal grupper: konvertering, identifikation och behandling. </para
><para
>Alla klasser måste kunna konvertera en bildpunkt från och till 8-bitars RGB (dvs. en <classname
>QColor</classname
>TQColor</classname
>), 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. </para
><para
>Färgrymder beskrivs av vektorn <classname
@ -809,7 +809,7 @@ public:
>Oljemålningsfiltret använder flerheltalskomponenten: </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)
> 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. </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&lt;KisDoc*&gt;(m_chain -> outputDocument()); <co id="import2" />
KisView * view = static_cast&lt;KisView*&gt;(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;

@ -234,7 +234,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>datafilnamn</parameter
></paramdef
> </funcprototype>
@ -251,7 +251,7 @@ this prolog
>setReportData</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>data io-enhet</parameter
></paramdef
> </funcprototype>
@ -259,9 +259,9 @@ this prolog
>Hämtar rapportdata från filen <replaceable
>data io-enhet</replaceable
>. I/O-enheten kan vara vilken klass som helst härledd från klassen <replaceable
>QIODevice</replaceable
>TQIODevice</replaceable
>. För att till exempel direkt hämta poster från databasen, skapa en härledd klass från <classname
>QIODevice</classname
>TQIODevice</classname
> och definiera om alla nödvändiga funktioner. </funcsynopsisinfo>
</funcsynopsis>
@ -272,7 +272,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QString &amp;<parameter
>const TQString &amp;<parameter
>mallfilnamn</parameter
></paramdef
> </funcprototype>
@ -289,7 +289,7 @@ this prolog
>setReportTemplate</function
></funcdef
> <paramdef
>const QIODevice &amp;<parameter
>const TQIODevice &amp;<parameter
>mall io-enhet</parameter
></paramdef
> </funcprototype>
@ -297,8 +297,8 @@ this prolog
>Hämtar rapportmall från filen <replaceable
>mall io-enhet</replaceable
>. I/O-enheten kan vara vilken klass som helst härledd från klassen <classname
>QIODevice</classname
>. 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. </funcsynopsisinfo>
>TQIODevice</classname
>. 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. </funcsynopsisinfo>
</funcsynopsis>
</sect1>
@ -407,14 +407,14 @@ public:
KugarWidgetPlugin ();
QStringList keys () const;
QWidget *create (const QString &amp; classname, QWidget * parent =
TQWidget *create (const TQString &amp; classname, TQWidget * parent =
0, const char *name = 0);
QString group (const QString &amp;) const;
QIconSet iconSet (const QString &amp;) const;
QString includeFile (const QString &amp;) const;
QString toolTip (const QString &amp;) const;
QString whatsThis (const QString &amp;) const;
bool isContainer (const QString &amp;) const;
TQString group (const TQString &amp;) const;
QIconSet iconSet (const TQString &amp;) const;
TQString includeFile (const TQString &amp;) const;
TQString toolTip (const TQString &amp;) const;
TQString whatsThis (const TQString &amp;) const;
bool isContainer (const TQString &amp;) const;
};
</programlisting>
</sect3>
@ -592,7 +592,7 @@ QStringList KugarWidgetPlugin::keys () const
return list;
}
QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
TQWidget* KugarWidgetPlugin::create (const TQString &amp; key, TQWidget * parent,
const char *name)
{
if (key == "KReportViewer")
@ -600,40 +600,40 @@ QWidget* KugarWidgetPlugin::create (const QString &amp; key, QWidget * parent,
return 0;
}
QString KugarWidgetPlugin::group (const QString &amp; feature) const
TQString KugarWidgetPlugin::group (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Display";
return QString::null;
return TQString::null;
}
QIconSet KugarWidgetPlugin::iconSet (const QString &amp;) const
QIconSet KugarWidgetPlugin::iconSet (const TQString &amp;) const
{
return QIconSet (QPixmap (kugar_pixmap));
}
QString KugarWidgetPlugin::includeFile (const QString &amp; feature) const
TQString KugarWidgetPlugin::includeFile (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "kugar.h";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::toolTip (const QString &amp; feature) const
TQString KugarWidgetPlugin::toolTip (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "Kugar report viewer widget";
return QString::null;
return TQString::null;
}
QString KugarWidgetPlugin::whatsThis (const QString &amp; feature) const
TQString KugarWidgetPlugin::whatsThis (const TQString &amp; feature) const
{
if (feature == "KReportViewer")
return "A widget to view xml reports";
return QString::null;
return TQString::null;
}
bool KugarWidgetPlugin::isContainer (const QString &amp;) const
bool KugarWidgetPlugin::isContainer (const TQString &amp;) const
{
return FALSE;
}

Loading…
Cancel
Save