diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:49:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:49:35 +0900 |
commit | ecdc0343d446e810e477e8924e846de7f3313c55 (patch) | |
tree | 9f474e6f8a901ae15172fb4f7651661581e09d4b /kmymoney2 | |
parent | 04d6c8be1394e2f023257368f8e911416edb9b8a (diff) | |
download | kmymoney-ecdc0343d446e810e477e8924e846de7f3313c55.tar.gz kmymoney-ecdc0343d446e810e477e8924e846de7f3313c55.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 'kmymoney2')
-rwxr-xr-x | kmymoney2/widgets/maketdewidgets.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/widgets/maketdewidgets.in b/kmymoney2/widgets/maketdewidgets.in index 1c443b8..418c0ce 100755 --- a/kmymoney2/widgets/maketdewidgets.in +++ b/kmymoney2/widgets/maketdewidgets.in @@ -124,20 +124,20 @@ public: result << it.key(); return result; } - virtual QWidget *create(const QString &key, QWidget *parent = 0, const char *name = 0); - virtual QIconSet iconSet(const QString &key) const + virtual TQWidget *create(const TQString &key, TQWidget *parent = 0, const char *name = 0); + virtual QIconSet iconSet(const TQString &key) const { - QString path = locate("data", "kmymoney2/pics/" + m_widgets[key].iconSet); + TQString path = locate("data", "kmymoney2/pics/" + m_widgets[key].iconSet); return QIconSet(path); } - virtual bool isContainer(const QString &key) const + virtual bool isContainer(const TQString &key) const { return m_widgets[key].isContainer; } EOT print OUT map { <<EOT } qw(group includeFile toolTip whatsThis); - virtual QString $_(const QString &key) const + virtual TQString $_(const TQString &key) const { return m_widgets[key].$_; } @@ -148,14 +148,14 @@ print OUT <<EOT; private: struct WidgetInfo { - QString group; - QString iconSet; - QString includeFile; - QString toolTip; - QString whatsThis; + TQString group; + TQString iconSet; + TQString includeFile; + TQString toolTip; + TQString whatsThis; bool isContainer; }; - typedef QMap<QString, WidgetInfo> WidgetInfos; + typedef QMap<TQString, WidgetInfo> WidgetInfos; WidgetInfos m_widgets; }; @@ -179,7 +179,7 @@ ${name}::~$name() {$destroy } -QWidget *${name}::create(const QString &key, QWidget *parent, const char *name) +TQWidget *${name}::create(const TQString &key, TQWidget *parent, const char *name) { EOT |