summaryrefslogtreecommitdiffstats
path: root/src/loandialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/loandialog.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
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
Diffstat (limited to 'src/loandialog.h')
-rw-r--r--src/loandialog.h15
1 files changed, 8 insertions, 7 deletions
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