summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycurrencyselector.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kmymoneycurrencyselector.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
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
Diffstat (limited to 'kmymoney2/widgets/kmymoneycurrencyselector.h')
-rw-r--r--kmymoney2/widgets/kmymoneycurrencyselector.h13
1 files changed, 7 insertions, 6 deletions
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 <qwidget.h>
+#include <tqwidget.h>
// ----------------------------------------------------------------------------
// 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<MyMoneySecurity> m_list;
+ TQValueList<MyMoneySecurity> 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() {}
};