From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/birthdaydlg.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'kalarm/birthdaydlg.h') diff --git a/kalarm/birthdaydlg.h b/kalarm/birthdaydlg.h index 321288eae..776b5f1bd 100644 --- a/kalarm/birthdaydlg.h +++ b/kalarm/birthdaydlg.h @@ -43,8 +43,9 @@ class BListView; class BirthdayDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - BirthdayDlg(TQWidget* parent = 0); + BirthdayDlg(TQWidget* tqparent = 0); TQValueList events() const; static void close(); @@ -76,14 +77,15 @@ class BirthdayDlg : public KDialogBase }; -class BLineEdit : public QLineEdit +class BLineEdit : public TQLineEdit { Q_OBJECT + TQ_OBJECT public: - BLineEdit(TQWidget* parent = 0, const char* name = 0) - : TQLineEdit(parent, name) {} - BLineEdit(const TQString& text, TQWidget* parent = 0, const char* name = 0) - : TQLineEdit(text, parent, name) {} + BLineEdit(TQWidget* tqparent = 0, const char* name = 0) + : TQLineEdit(tqparent, name) {} + BLineEdit(const TQString& text, TQWidget* tqparent = 0, const char* name = 0) + : TQLineEdit(text, tqparent, name) {} signals: void focusLost(); protected: @@ -93,8 +95,9 @@ class BLineEdit : public QLineEdit class BListView : public KListView { Q_OBJECT + TQ_OBJECT public: - BListView(TQWidget* parent = 0, const char* name = 0); + BListView(TQWidget* tqparent = 0, const char* name = 0); public slots: virtual void slotSelectAll() { selectAll(true); } virtual void slotDeselect() { selectAll(false); } -- cgit v1.2.1