From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/loandialog.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/loandialog.h') diff --git a/src/loandialog.h b/src/loandialog.h index b51abf0..5cf8354 100644 --- a/src/loandialog.h +++ b/src/loandialog.h @@ -17,7 +17,7 @@ class KLineEdit; class KTextEdit; class KCommand; -class QCheckBox; +class TQCheckBox; #include "datavectors.h" #include "borrower.h" @@ -34,22 +34,23 @@ namespace Tellico { */ class LoanDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** * The constructor sets up the dialog. * - * @param parent A pointer to the parent widget + * @param tqparent A pointer to the tqparent widget * @param name The widget name */ - LoanDialog(const Data::EntryVec& entries, QWidget* parent, const char* name=0); - LoanDialog(Data::LoanPtr loan, QWidget* parent, const char* name=0); + LoanDialog(const Data::EntryVec& entries, TQWidget* tqparent, const char* name=0); + LoanDialog(Data::LoanPtr loan, TQWidget* tqparent, const char* name=0); virtual ~LoanDialog(); KCommand* createCommand(); private slots: - void slotBorrowerNameChanged(const QString& str); + void slotBorrowerNameChanged(const TQString& str); void slotGetBorrower(); void slotLoadAddressBook(); void slotDueDateChanged(); @@ -73,9 +74,9 @@ private: GUI::DateWidget* m_loanDate; GUI::DateWidget* m_dueDate; KTextEdit* m_note; - QCheckBox* m_addEvent; + TQCheckBox* m_addEvent; - QString m_uid; + TQString m_uid; }; } // end namespace -- cgit v1.2.1