summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyaccountcompletion.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/kmymoneyaccountcompletion.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/kmymoneyaccountcompletion.h')
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcompletion.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountcompletion.h b/kmymoney2/widgets/kmymoneyaccountcompletion.h
index 725a07c..4d309fd 100644
--- a/kmymoney2/widgets/kmymoneyaccountcompletion.h
+++ b/kmymoney2/widgets/kmymoneyaccountcompletion.h
@@ -26,8 +26,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
-class QListViewItem;
+#include <tqwidget.h>
+class TQListViewItem;
// ----------------------------------------------------------------------------
// KDE Includes
@@ -44,12 +44,13 @@ class QListViewItem;
class kMyMoneyAccountCompletion : public kMyMoneyCompletion
{
Q_OBJECT
+ TQ_OBJECT
public:
- kMyMoneyAccountCompletion(QWidget *parent=0, const char *name=0);
+ kMyMoneyAccountCompletion(TQWidget *tqparent=0, const char *name=0);
virtual ~kMyMoneyAccountCompletion();
- QStringList accountList(const QValueList<MyMoneyAccount::accountTypeE>& list = QValueList<MyMoneyAccount::accountTypeE>()) const { return selector()->accountList(list); }
+ TQStringList accountList(const TQValueList<MyMoneyAccount::accountTypeE>& list = TQValueList<MyMoneyAccount::accountTypeE>()) const { return selector()->accountList(list); }
/**
* reimplemented from kMyMoneyCompletion
@@ -57,7 +58,7 @@ public:
kMyMoneyAccountSelector* selector(void) const { return dynamic_cast<kMyMoneyAccountSelector*>(m_selector); }
public slots:
- void slotMakeCompletion(const QString& txt);
+ void slotMakeCompletion(const TQString& txt);
};
#endif