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/knewfiledlg.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/knewfiledlg.h')
-rw-r--r-- | kmymoney2/dialogs/knewfiledlg.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/kmymoney2/dialogs/knewfiledlg.h b/kmymoney2/dialogs/knewfiledlg.h index 706a139..3cf8c7c 100644 --- a/kmymoney2/dialogs/knewfiledlg.h +++ b/kmymoney2/dialogs/knewfiledlg.h @@ -19,7 +19,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qdialog.h> +#include <tqdialog.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -33,27 +33,28 @@ // Use the second constructor to edit a file. class KNewFileDlg : public KNewFileDlgDecl { Q_OBJECT + TQ_OBJECT public: - KNewFileDlg(QWidget *parent=0, const char *name=0, const QString& title=QString()); - KNewFileDlg(QString userName, QString userStreet, - QString userTown, QString userCounty, QString userPostcode, QString userTelephone, - QString userEmail, QWidget *parent=0, const char *name=0, const QString& title=QString()); + KNewFileDlg(TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString()); + KNewFileDlg(TQString userName, TQString userStreet, + TQString userTown, TQString userCounty, TQString userPostcode, TQString userTelephone, + TQString userEmail, TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString()); ~KNewFileDlg(); KPushButton* cancelButton(void) { return cancelBtn; }; public: - QString userNameText; - QString userStreetText; - QString userTownText; - QString userCountyText; - QString userPostcodeText; - QString userTelephoneText; - QString userEmailText; + TQString userNameText; + TQString userStreetText; + TQString userTownText; + TQString userCountyText; + TQString userPostcodeText; + TQString userTelephoneText; + TQString userEmailText; protected: /// helper method for constructors - void init(const QString& title); + void init(const TQString& title); protected slots: void okClicked(); |