summaryrefslogtreecommitdiffstats
path: root/tdeutils
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-25 12:03:00 +0900
committerMichele Calgaro <[email protected]>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeutils
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeutils')
-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( ... );