From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: TQt4 port kmymoney This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/widgets/kmymoneycurrencyselector.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kmymoney2/widgets/kmymoneycurrencyselector.h') diff --git a/kmymoney2/widgets/kmymoneycurrencyselector.h b/kmymoney2/widgets/kmymoneycurrencyselector.h index e733eb2..00e3af6 100644 --- a/kmymoney2/widgets/kmymoneycurrencyselector.h +++ b/kmymoney2/widgets/kmymoneycurrencyselector.h @@ -26,7 +26,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include +#include // ---------------------------------------------------------------------------- // KDE Includes @@ -45,6 +45,7 @@ class KMyMoneySecuritySelector : public KComboBox { Q_OBJECT + TQ_OBJECT public: enum displayItemE { Symbol = 0, @@ -57,8 +58,8 @@ public: TypeAll = 0x03 }; - KMyMoneySecuritySelector(QWidget *parent=0, const char *name=0); - KMyMoneySecuritySelector(displayTypeE type = TypeAll, QWidget *parent=0, const char *name=0); + KMyMoneySecuritySelector(TQWidget *tqparent=0, const char *name=0); + KMyMoneySecuritySelector(displayTypeE type = TypeAll, TQWidget *tqparent=0, const char *name=0); virtual ~KMyMoneySecuritySelector(); const MyMoneySecurity& security(void) const; @@ -66,7 +67,7 @@ public: void selectDisplayItem(KMyMoneySecuritySelector::displayItemE item); void setDisplayOnly(const bool disp); - void update(const QString& id); + void update(const TQString& id); public slots: void slotSetInitialSecurity(void); @@ -77,13 +78,13 @@ private: int m_selectedItemId; bool m_displayOnly; displayTypeE m_displayType; - QValueList m_list; + TQValueList m_list; }; class KMyMoneyCurrencySelector : public KMyMoneySecuritySelector { public: - KMyMoneyCurrencySelector(QWidget *parent=0, const char *name=0); + KMyMoneyCurrencySelector(TQWidget *tqparent=0, const char *name=0); virtual ~KMyMoneyCurrencySelector() {} }; -- cgit v1.2.1