summaryrefslogtreecommitdiffstats
path: root/tdeutils/ksettings
diff options
context:
space:
mode:
Diffstat (limited to 'tdeutils/ksettings')
-rw-r--r--tdeutils/ksettings/README.dox12
1 files changed, 6 insertions, 6 deletions
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<MyAppConfig, QWidget> MyAppConfigFactory;
+typedef KGenericFactory<MyAppConfig, TQWidget> 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<MyAppPluginConfig, QWidget> MyAppPluginConfigFactory;
+typedef KGenericFactory<MyAppPluginConfig, TQWidget> 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( ... );