From 4c0dae60b2fbc60996fc8f4bd29ee6219b869527 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:03:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- tdeutils/ksettings/README.dox | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/ksettings/README.dox b/tdeutils/ksettings/README.dox index 39e38f4a0..faedcd2d3 100644 --- a/tdeutils/ksettings/README.dox +++ b/tdeutils/ksettings/README.dox @@ -35,7 +35,7 @@ KSettings::Dialog: m_dlg = new KSettings::Dialog( QStringList::split( ';', "component1;component2" ) ); \endcode -The KSettings::Dialog object will be destructed automatically by the QObject +The KSettings::Dialog object will be destructed automatically by the TQObject mechanisms. @@ -49,7 +49,7 @@ class MyAppConfig : public TDECModule { TQ_OBJECT public: - MyAppConfig( QWidget *parent, const char *name = 0, const QStringList &args = + MyAppConfig( TQWidget *parent, const char *name = 0, const QStringList &args = QStringList() ); ~MyAppConfig(); @@ -62,11 +62,11 @@ public: and in the cpp file: \code -typedef KGenericFactory MyAppConfigFactory; +typedef KGenericFactory MyAppConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_myappconfig, MyAppConfigFactory( "kcm_myappconfig" ) ); -MyAppConfig::MyAppConfig( QWidget *parent, const char *, const QStringList &args ) +MyAppConfig::MyAppConfig( TQWidget *parent, const char *, const QStringList &args ) : TDECModule( MyAppConfigFactory::instance(), parent, args ) { // create the pages GUI @@ -191,10 +191,10 @@ for the first. To create a plugin page you need the following code: \code -typedef KGenericFactory MyAppPluginConfigFactory; +typedef KGenericFactory MyAppPluginConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_myapppluginconfig, MyAppPluginConfigFactory( "kcm_myapppluginconfig" ) ); -MyAppPluginConfig( QWidget * parent, const char *, const QStringList & args ) +MyAppPluginConfig( TQWidget * parent, const char *, const QStringList & args ) : PluginPage( MyAppPluginConfigFactory::instance(), parent, args ) { pluginSelector()->addPlugins( ... ); -- cgit v1.2.1