diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kmymoneyscheduledcalendar.cpp | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-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/kmymoneyscheduledcalendar.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneyscheduledcalendar.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp index 6c17a33..0e203cc 100644 --- a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp +++ b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp @@ -22,8 +22,8 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qpushbutton.h> -#include <qkeysequence.h> +#include <tqpushbutton.h> +#include <tqkeysequence.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -36,19 +36,19 @@ #include "../widgets/kmymoneyscheduledcalendar.h" #include "../mymoney/mymoneyfile.h" -kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(QWidget *parent, const char *name ) - : kMyMoneyCalendar(parent,name) +kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(TQWidget *tqparent, const char *name ) + : kMyMoneyCalendar(tqparent,name) { - QPushButton *pb1 = new QPushButton(i18n("Select Schedules"), this); + TQPushButton *pb1 = new TQPushButton(i18n("Select Schedules"), this); kpopupmenu = new KPopupMenu(this); kpopupmenu->setCheckable(true); kpopupmenu->insertItem(i18n("Bills"), 0); kpopupmenu->insertItem(i18n("Deposits"), 1); kpopupmenu->insertItem(i18n("Transfers"), 2); - kpopupmenu->connectItem(0, this, SLOT(slotSetViewBills())); - kpopupmenu->connectItem(1, this, SLOT(slotSetViewDeposits())); - kpopupmenu->connectItem(2, this, SLOT(slotSetViewTransfers())); + kpopupmenu->connectItem(0, this, TQT_SLOT(slotSetViewBills())); + kpopupmenu->connectItem(1, this, TQT_SLOT(slotSetViewDeposits())); + kpopupmenu->connectItem(2, this, TQT_SLOT(slotSetViewTransfers())); kpopupmenu->setItemChecked(0, true); kpopupmenu->setItemChecked(1, true); kpopupmenu->setItemChecked(2, true); @@ -59,12 +59,12 @@ kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(QWidget *parent, const char setUserButton1(true, pb1); - init( QDate::currentDate() ); + init( TQDate::tqcurrentDate() ); - connect(m_scheduledDateTable, SIGNAL(enterClicked(const MyMoneySchedule&, const QDate&)), - this, SIGNAL(enterClicked(const MyMoneySchedule&, const QDate&))); - connect(m_scheduledDateTable, SIGNAL(skipClicked(const MyMoneySchedule&, const QDate&)), - this, SIGNAL(skipClicked(const MyMoneySchedule&, const QDate&))); + connect(m_scheduledDateTable, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&)), + this, TQT_SIGNAL(enterClicked(const MyMoneySchedule&, const TQDate&))); + connect(m_scheduledDateTable, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&)), + this, TQT_SIGNAL(skipClicked(const MyMoneySchedule&, const TQDate&))); } kMyMoneyScheduledCalendar::~kMyMoneyScheduledCalendar() |