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/widgets/kmymoneyscheduleddatetbl.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'kmymoney2/widgets/kmymoneyscheduleddatetbl.h') diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.h b/kmymoney2/widgets/kmymoneyscheduleddatetbl.h index 5985a6b..e04097a 100644 --- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.h +++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.h @@ -43,9 +43,10 @@ class kMyMoneyScheduledDateTbl : public kMyMoneyDateTbl { Q_OBJECT + TQ_OBJECT public: - kMyMoneyScheduledDateTbl(QWidget *parent=0, - QDate date=QDate::currentDate(), + kMyMoneyScheduledDateTbl(TQWidget *tqparent=0, + TQDate date=TQDate::tqcurrentDate(), const char* name=0, WFlags f=0); ~kMyMoneyScheduledDateTbl(); @@ -53,20 +54,20 @@ public: void filterBills(bool enable); void filterDeposits(bool enable); void filterTransfers(bool enable); - void setFilterAccounts(const QStringList& list) { m_filterAccounts = list; repaintContents(false); } + void setFilterAccounts(const TQStringList& list) { m_filterAccounts = list; tqrepaintContents(false); } signals: - void enterClicked(const MyMoneySchedule&, const QDate&); - void skipClicked(const MyMoneySchedule&, const QDate&); + void enterClicked(const MyMoneySchedule&, const TQDate&); + void skipClicked(const MyMoneySchedule&, const TQDate&); protected: - void drawCellContents(QPainter *painter, int row, int col, const QDate& theDate); - void addDayPostfix(QString& text); - void contentsMouseMoveEvent(QMouseEvent* e); + void drawCellContents(TQPainter *painter, int row, int col, const TQDate& theDate); + void addDayPostfix(TQString& text); + void contentsMouseMoveEvent(TQMouseEvent* e); private: bool m_filterBills, m_filterDeposits, m_filterTransfers; - QStringList m_filterAccounts; + TQStringList m_filterAccounts; KMyMoneyBriefSchedule briefWidget; }; -- cgit v1.2.1