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/dialogs/kaccountselectdlg.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'kmymoney2/dialogs/kaccountselectdlg.h') diff --git a/kmymoney2/dialogs/kaccountselectdlg.h b/kmymoney2/dialogs/kaccountselectdlg.h index 271cd0f..180587e 100644 --- a/kmymoney2/dialogs/kaccountselectdlg.h +++ b/kmymoney2/dialogs/kaccountselectdlg.h @@ -26,8 +26,8 @@ // ---------------------------------------------------------------------------- // QT Includes -#include -#include +#include +#include // ---------------------------------------------------------------------------- // KDE Includes @@ -47,8 +47,9 @@ class KAccountSelectDlg : public KAccountSelectDlgDecl { Q_OBJECT + TQ_OBJECT public: - KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE type, const QString& purpose = "General", QWidget *parent=0, const char *name=0); + KAccountSelectDlg(const KMyMoneyUtils::categoryTypeE type, const TQString& purpose = "General", TQWidget *tqparent=0, const char *name=0); ~KAccountSelectDlg(); /** @@ -56,9 +57,9 @@ public: * selection dialog box. The @p msg should contain a descriptive * text about the purpose of the dialog and it's options. * - * @param msg const reference to QString object containing the text. + * @param msg const reference to TQString object containing the text. */ - void setDescription(const QString& msg); + void setDescription(const TQString& msg); /** * This method is used to setup the buddy text of the account @@ -66,9 +67,9 @@ public: * which is placed above the selection box with the account * names. * - * @param msg const reference to QString object containing the text. + * @param msg const reference to TQString object containing the text. */ - void setHeader(const QString& msg); + void setHeader(const TQString& msg); /** * This method is used to pass information to the account selection @@ -78,14 +79,14 @@ public: * @param account MyMoneyAccount filled with the relevant and available information * @param id account id to be used. */ - void setAccount(const MyMoneyAccount& account, const QString& id); + void setAccount(const MyMoneyAccount& account, const TQString& id); /** * This method returns the name of the selected account in the combo box. * - * @return QString containing the id of the selected account + * @return TQString containing the id of the selected account */ - const QString& selectedAccount(void) const; + const TQString& selectedAccount(void) const; /** * This method is used to set the mode of the dialog. Two modes @@ -117,7 +118,7 @@ public: public slots: /** - * Reimplemented from QDialog + * Reimplemented from TQDialog */ int exec(); @@ -145,7 +146,7 @@ protected slots: void slotReloadWidget(void); private: - QString m_purpose; + TQString m_purpose; MyMoneyAccount m_account; int m_mode; // 0 - select or create, 1 - create only KMyMoneyUtils::categoryTypeE m_accountType; -- cgit v1.2.3