summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/maketdewidgets.in
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:49:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-28 11:41:02 +0900
commita84f7caff6a73b3d554279d41b9a00aa15ad1400 (patch)
treef55b4d7373fdf5ae2763e06643030f4dbea48209 /kmymoney2/widgets/maketdewidgets.in
parent08d1c7296d2a8348250f0ced6184476a5761e391 (diff)
downloadkmymoney-r14.1.1.tar.gz
kmymoney-r14.1.1.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 ecdc0343d446e810e477e8924e846de7f3313c55)
Diffstat (limited to 'kmymoney2/widgets/maketdewidgets.in')
-rwxr-xr-xkmymoney2/widgets/maketdewidgets.in24
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