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/kimportdlg.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'kmymoney2/dialogs/kimportdlg.h') diff --git a/kmymoney2/dialogs/kimportdlg.h b/kmymoney2/dialogs/kimportdlg.h index 06f1003..119d77d 100644 --- a/kmymoney2/dialogs/kimportdlg.h +++ b/kmymoney2/dialogs/kimportdlg.h @@ -22,9 +22,9 @@ // ---------------------------------------------------------------------------- // QT Headers -#include -#include -#include +#include +#include +#include // ---------------------------------------------------------------------------- // KDE Headers @@ -39,8 +39,8 @@ /** * This class is used to import a qif file to an account. - * It relies upon the QIF file handling routines in MyMoneyAccount to do - * the actual writing of QIF files. + * It relies upon the TQIF file handling routines in MyMoneyAccount to do + * the actual writing of TQIF files. * * It uses the global KConfig object to read and write the application * settings. @@ -54,30 +54,31 @@ class KImportDlg : public KImportDlgDecl { Q_OBJECT + TQ_OBJECT public: /** * Standard constructor */ - KImportDlg(QWidget *parent, const char *name = 0); + KImportDlg(TQWidget *tqparent, const char *name = 0); /** Standard destructor */ ~KImportDlg(); /** */ - const QString filename(void) const { return m_qlineeditFile->text(); }; + const TQString filename(void) const { return m_qlineeditFile->text(); }; /** */ - const QString profile(void) const { return m_profileComboBox->currentText(); }; + const TQString profile(void) const { return m_profileComboBox->currentText(); }; protected slots: - /** Called to let the user browse for a QIF file to import from. */ + /** Called to let the user browse for a TQIF file to import from. */ void slotBrowse(); /** Test whether to enable the buttons */ - void slotFileTextChanged(const QString& text); + void slotFileTextChanged(const TQString& text); /** * Called when the user needs a new profile @@ -86,7 +87,7 @@ protected slots: void slotOkClicked(void); - void slotSelectProfile(const QString& text); + void slotSelectProfile(const TQString& text); private: /** @@ -109,7 +110,7 @@ private: * @param id Account id to add * @param leadIn constant leadin to be added in front of the account name */ - void addCategories(QStringList& strList, const QString& id, const QString& leadIn) const; + void addCategories(TQStringList& strList, const TQString& id, const TQString& leadIn) const; void readConfig(void); void writeConfig(void); -- cgit v1.2.1