diff options
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 |