diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/kcurrencyeditdlg.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-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/dialogs/kcurrencyeditdlg.h')
-rw-r--r-- | kmymoney2/dialogs/kcurrencyeditdlg.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.h b/kmymoney2/dialogs/kcurrencyeditdlg.h index f1a4871..5a1e00f 100644 --- a/kmymoney2/dialogs/kcurrencyeditdlg.h +++ b/kmymoney2/dialogs/kcurrencyeditdlg.h @@ -26,7 +26,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qwidget.h> +#include <tqwidget.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -46,25 +46,26 @@ class KPopupMenu; class KCurrencyEditDlg : public KCurrencyEditDlgDecl { Q_OBJECT + TQ_OBJECT public: - KCurrencyEditDlg(QWidget *parent=0, const char *name=0); + KCurrencyEditDlg(TQWidget *tqparent=0, const char *name=0); ~KCurrencyEditDlg(); public slots: - void slotSelectCurrency(const QString& id); + void slotSelectCurrency(const TQString& id); protected: /// the resize event - virtual void resizeEvent(QResizeEvent*); + virtual void resizeEvent(TQResizeEvent*); void updateCurrency(void); protected slots: - void slotSelectCurrency(QListViewItem *); + void slotSelectCurrency(TQListViewItem *); void slotClose(void); void slotStartRename(void); - void slotListClicked(QListViewItem* item, const QPoint&, int); - void slotRenameCurrency(QListViewItem* item, int col, const QString& txt); + void slotListClicked(TQListViewItem* item, const TQPoint&, int); + void slotRenameCurrency(TQListViewItem* item, int col, const TQString& txt); void slotLoadCurrencies(void); private slots: @@ -74,7 +75,7 @@ private slots: signals: void selectObject(const MyMoneySecurity& currency); void openContextMenu(const MyMoneySecurity& currency); - void renameCurrency(QListViewItem* item, int, const QString& txt); + void renameCurrency(TQListViewItem* item, int, const TQString& txt); void selectBaseCurrency(const MyMoneySecurity& currency); private: |