diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 13:59:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 10:27:28 +0900 |
commit | 74d7a64994b02e7d880f4e9960f653b2510d48d8 (patch) | |
tree | 24cc990fbaa09028b97544fc8c9da64f9bb549fb /kommander/examples/old | |
parent | 5df35638d9979618b39681efcda8bd05d7c96cf8 (diff) | |
download | tdewebdev-74d7a64994b02e7d880f4e9960f653b2510d48d8.tar.gz tdewebdev-74d7a64994b02e7d880f4e9960f653b2510d48d8.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0580616e20b68c764cdbbd9a01c9dd21f99766d4)
Diffstat (limited to 'kommander/examples/old')
-rw-r--r-- | kommander/examples/old/form4.kmdr | 4 | ||||
-rw-r--r-- | kommander/examples/old/form5.kmdr | 8 | ||||
-rw-r--r-- | kommander/examples/old/settings.kmdr | 4 | ||||
-rw-r--r-- | kommander/examples/old/tidy.kmdr | 4 | ||||
-rw-r--r-- | kommander/examples/old/widgetgenerator.kmdr | 36 | ||||
-rw-r--r-- | kommander/examples/old/wizard.kmdr | 12 |
6 files changed, 34 insertions, 34 deletions
diff --git a/kommander/examples/old/form4.kmdr b/kommander/examples/old/form4.kmdr index db66649e..3bb039e2 100644 --- a/kommander/examples/old/form4.kmdr +++ b/kommander/examples/old/form4.kmdr @@ -79,9 +79,9 @@ <connections> <connection> <sender>TextEdit1</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>LineEdit1</receiver> - <slot>setWidgetText(const QString&)</slot> + <slot>setWidgetText(const TQString&)</slot> </connection> </connections> <layoutdefaults spacing="6" margin="11"/> diff --git a/kommander/examples/old/form5.kmdr b/kommander/examples/old/form5.kmdr index ef7127c2..1f244567 100644 --- a/kommander/examples/old/form5.kmdr +++ b/kommander/examples/old/form5.kmdr @@ -331,15 +331,15 @@ Ha ha. We got it all with Kommander!</string> <connections> <connection> <sender>ExecButton9</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>usetext</receiver> - <slot>setWidgetText(const QString&)</slot> + <slot>setWidgetText(const TQString&)</slot> </connection> <connection> <sender>ExecButton9_2</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>usetext</receiver> - <slot>setText(const QString&)</slot> + <slot>setText(const TQString&)</slot> </connection> </connections> <layoutdefaults spacing="6" margin="11"/> diff --git a/kommander/examples/old/settings.kmdr b/kommander/examples/old/settings.kmdr index 988dc3f9..df796460 100644 --- a/kommander/examples/old/settings.kmdr +++ b/kommander/examples/old/settings.kmdr @@ -249,9 +249,9 @@ Items") </connection> <connection> <sender>ExecButton1</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>listBox</receiver> - <slot>setWidgetText(const QString&)</slot> + <slot>setWidgetText(const TQString&)</slot> </connection> <connection> <sender>settingsDialog</sender> diff --git a/kommander/examples/old/tidy.kmdr b/kommander/examples/old/tidy.kmdr index e8641450..acc47721 100644 --- a/kommander/examples/old/tidy.kmdr +++ b/kommander/examples/old/tidy.kmdr @@ -1150,9 +1150,9 @@ fi </connection> <connection> <sender>ExecButton2</sender> - <signal>widgetTextChanged(const QString&)</signal> + <signal>widgetTextChanged(const TQString&)</signal> <receiver>GtidyPath</receiver> - <slot>setWidgetText(const QString&)</slot> + <slot>setWidgetText(const TQString&)</slot> </connection> </connections> <layoutdefaults spacing="6" margin="11"/> diff --git a/kommander/examples/old/widgetgenerator.kmdr b/kommander/examples/old/widgetgenerator.kmdr index a6d8eaaa..c1be33a2 100644 --- a/kommander/examples/old/widgetgenerator.kmdr +++ b/kommander/examples/old/widgetgenerator.kmdr @@ -100,37 +100,37 @@ headerContent="/**************************************************************** /* OTHER INCLUDES */ #include <kommanderwidget.h> -class QWidget; +class TQWidget; class QShowEvent; class @className : public @inheritClassName, public KommanderWidget { TQ_OBJECT - TQ_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) TQ_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: - @className(QWidget *a_parent, const char *a_name); + @className(TQWidget *a_parent, const char *a_name); ~@className(); - virtual QString widgetText() const; + virtual TQString widgetText() const; virtual bool isKommanderWidget() const; virtual void setAssociatedText(QStringList); virtual QStringList associatedText() const; - virtual QString currentState() const; + virtual TQString currentState() const; - virtual QString populationText() const; - virtual void setPopulationText(QString); + virtual TQString populationText() const; + virtual void setPopulationText(TQString); public Q_SLOTS: - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); virtual void populate(); Q_SIGNALS: void widgetOpened(); - void widgetTextChanged(const QString &); + void widgetTextChanged(const TQString &); protected: void showEvent( QShowEvent *e ); private: @@ -169,7 +169,7 @@ cppContent="/******************************************************************* #include <kommanderwidget.h> #include \"$classNameLower.h\" -@className::@className(QWidget *a_parent, const char *a_name) +@className::@className(TQWidget *a_parent, const char *a_name) : @inheritClassName(a_parent, a_name), KommanderWidget(this) { QStringList states; @@ -182,9 +182,9 @@ cppContent="/******************************************************************* { } -QString @className::currentState() const +TQString @className::currentState() const { - return QString(\"default\"); + return TQString(\"default\"); } bool @className::isKommanderWidget() const @@ -204,30 +204,30 @@ void @className::setAssociatedText(QStringList a_at) void @className::populate() { - QString txt = KommanderWidget::evalAssociatedText( populationText() ); + TQString txt = KommanderWidget::evalAssociatedText( populationText() ); setWidgetText( txt ); } -QString @className::populationText() const +TQString @className::populationText() const { return KommanderWidget::populationText(); } -void @className::setPopulationText(QString a_text) +void @className::setPopulationText(TQString a_text) { KommanderWidget::setPopulationText(a_text); } -void @className::setWidgetText(const QString &a_text) +void @className::setWidgetText(const TQString &a_text) { //set the widget text of your widget here emit widgetTextChanged(a_text); } -QString @className::widgetText() const +TQString @className::widgetText() const { // implement your widget text here - return QString::null; + return TQString::null; } void @className::showEvent( QShowEvent *e ) diff --git a/kommander/examples/old/wizard.kmdr b/kommander/examples/old/wizard.kmdr index 352aaef3..d7f57170 100644 --- a/kommander/examples/old/wizard.kmdr +++ b/kommander/examples/old/wizard.kmdr @@ -39,7 +39,7 @@ </property> <property name="associations" stdset="0"> <stringlist> - <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1.checked) + <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), next, @CheckBox1.checked) </string> </stringlist> @@ -156,7 +156,7 @@ </property> <property name="associations" stdset="0"> <stringlist> - <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), next, @CheckBox1_2.checked) + <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), next, @CheckBox1_2.checked) </string> </stringlist> @@ -213,7 +213,7 @@ </property> <property name="associations" stdset="0"> <stringlist> - <string>@dcop(@dcopid, KommanderIf, enableWidget(QString,bool), finish, @CheckBox2.checked) + <string>@dcop(@dcopid, KommanderIf, enableWidget(TQString,bool), finish, @CheckBox2.checked) </string> </stringlist> @@ -262,15 +262,15 @@ </connection> <connection> <sender>Wizard1</sender> - <signal>selected(const QString&)</signal> + <signal>selected(const TQString&)</signal> <receiver>ScriptObject1_2</receiver> <slot>execute()</slot> </connection> <connection> <sender>Wizard1</sender> - <signal>selected(const QString&)</signal> + <signal>selected(const TQString&)</signal> <receiver>LineEdit6</receiver> - <slot>setText(const QString&)</slot> + <slot>setText(const TQString&)</slot> </connection> <connection> <sender>CheckBox2</sender> |