summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyscheduleddatetbl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kmymoneyscheduleddatetbl.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-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/widgets/kmymoneyscheduleddatetbl.h')
-rw-r--r--kmymoney2/widgets/kmymoneyscheduleddatetbl.h19
1 files changed, 10 insertions, 9 deletions
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;
};