diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:51:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:51:00 +0900 |
commit | 15ea930a6b722a37b80a0e2d79791efb95c2ac2c (patch) | |
tree | 9985e8e71e57a21b04545267fb3179b9308616c7 /koffice-i18n-et | |
parent | 86c7407cd1327d006ddddec768b584e6081639f5 (diff) | |
download | koffice-i18n-15ea930a6b722a37b80a0e2d79791efb95c2ac2c.tar.gz koffice-i18n-15ea930a6b722a37b80a0e2d79791efb95c2ac2c.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'koffice-i18n-et')
-rw-r--r-- | koffice-i18n-et/docs/koffice/chalk/developers-plugins.docbook | 20 | ||||
-rw-r--r-- | koffice-i18n-et/docs/koffice/kugar/progguide.docbook | 52 |
2 files changed, 36 insertions, 36 deletions
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() <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<KisDoc*>(m_chain -> outputDocument()); <co id="import2" /> KisView * view = static_cast<KisView*>(doc -> views().getFirst()); <co id="import3" /> - QString filename = m_chain -> inputFile(); <co id="import4" /> + TQString filename = m_chain -> inputFile(); <co id="import4" /> if (!doc) return KoFilter::CreationError; diff --git a/koffice-i18n-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</function ></funcdef > <paramdef ->const QString &<parameter +>const TQString &<parameter >andmefaili_nimi</parameter ></paramdef > </funcprototype> @@ -253,7 +253,7 @@ this prolog >setReportData</function ></funcdef > <paramdef ->const QIODevice &<parameter +>const TQIODevice &<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 &<parameter +>const TQString &<parameter >mallifaili_nimi</parameter ></paramdef > </funcprototype> @@ -291,7 +291,7 @@ this prolog >setReportTemplate</function ></funcdef > <paramdef ->const QIODevice &<parameter +>const TQIODevice &<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 & classname, QWidget * parent = + TQWidget *create (const TQString & classname, TQWidget * parent = 0, const char *name = 0); - QString group (const QString &) const; - QIconSet iconSet (const QString &) const; - QString includeFile (const QString &) const; - QString toolTip (const QString &) const; - QString whatsThis (const QString &) const; - bool isContainer (const QString &) const; + TQString group (const TQString &) const; + QIconSet iconSet (const TQString &) const; + TQString includeFile (const TQString &) const; + TQString toolTip (const TQString &) const; + TQString whatsThis (const TQString &) const; + bool isContainer (const TQString &) const; }; </programlisting> </sect3> @@ -594,7 +594,7 @@ QStringList KugarWidgetPlugin::keys () const return list; } -QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, +TQWidget* KugarWidgetPlugin::create (const TQString & key, TQWidget * parent, const char *name) { if (key == "KReportViewer") @@ -602,40 +602,40 @@ QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, return 0; } -QString KugarWidgetPlugin::group (const QString & feature) const +TQString KugarWidgetPlugin::group (const TQString & feature) const { if (feature == "KReportViewer") return "Display"; - return QString::null; + return TQString::null; } -QIconSet KugarWidgetPlugin::iconSet (const QString &) const +QIconSet KugarWidgetPlugin::iconSet (const TQString &) const { return QIconSet (QPixmap (kugar_pixmap)); } -QString KugarWidgetPlugin::includeFile (const QString & feature) const +TQString KugarWidgetPlugin::includeFile (const TQString & feature) const { if (feature == "KReportViewer") return "kugar.h"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::toolTip (const QString & feature) const +TQString KugarWidgetPlugin::toolTip (const TQString & feature) const { if (feature == "KReportViewer") return "Kugar report viewer widget"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::whatsThis (const QString & feature) const +TQString KugarWidgetPlugin::whatsThis (const TQString & feature) const { if (feature == "KReportViewer") return "A widget to view xml reports"; - return QString::null; + return TQString::null; } -bool KugarWidgetPlugin::isContainer (const QString &) const +bool KugarWidgetPlugin::isContainer (const TQString &) const { return FALSE; } |