diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneyscheduledcalendar.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneyscheduledcalendar.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp index 8e8cf32..68eaf48 100644 --- a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp +++ b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp @@ -28,7 +28,7 @@ // ---------------------------------------------------------------------------- // KDE Includes #include <klocale.h> -#include <kpopupmenu.h> +#include <tdepopupmenu.h> #include <kmessagebox.h> // ---------------------------------------------------------------------------- @@ -41,18 +41,18 @@ kMyMoneyScheduledCalendar::kMyMoneyScheduledCalendar(TQWidget *parent, const cha { TQPushButton *pb1 = new TQPushButton(i18n("Select Schedules"), this); - kpopupmenu = new TDEPopupMenu(this); - kpopupmenu->setCheckable(true); - kpopupmenu->insertItem(i18n("Bills"), 0); - kpopupmenu->insertItem(i18n("Deposits"), 1); - kpopupmenu->insertItem(i18n("Transfers"), 2); - 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); - pb1->setPopup(kpopupmenu); + tdepopupmenu = new TDEPopupMenu(this); + tdepopupmenu->setCheckable(true); + tdepopupmenu->insertItem(i18n("Bills"), 0); + tdepopupmenu->insertItem(i18n("Deposits"), 1); + tdepopupmenu->insertItem(i18n("Transfers"), 2); + tdepopupmenu->connectItem(0, this, TQT_SLOT(slotSetViewBills())); + tdepopupmenu->connectItem(1, this, TQT_SLOT(slotSetViewDeposits())); + tdepopupmenu->connectItem(2, this, TQT_SLOT(slotSetViewTransfers())); + tdepopupmenu->setItemChecked(0, true); + tdepopupmenu->setItemChecked(1, true); + tdepopupmenu->setItemChecked(2, true); + pb1->setPopup(tdepopupmenu); m_scheduledDateTable = new kMyMoneyScheduledDateTbl(this); setDateTable((kMyMoneyDateTbl*)m_scheduledDateTable); @@ -73,20 +73,20 @@ kMyMoneyScheduledCalendar::~kMyMoneyScheduledCalendar() void kMyMoneyScheduledCalendar::slotSetViewBills() { - kpopupmenu->setItemChecked(0, ((kpopupmenu->isItemChecked(0)) ? false : true)); - m_scheduledDateTable->filterBills(!kpopupmenu->isItemChecked(0)); + tdepopupmenu->setItemChecked(0, ((tdepopupmenu->isItemChecked(0)) ? false : true)); + m_scheduledDateTable->filterBills(!tdepopupmenu->isItemChecked(0)); } void kMyMoneyScheduledCalendar::slotSetViewDeposits() { - kpopupmenu->setItemChecked(1, ((kpopupmenu->isItemChecked(1)) ? false : true)); - m_scheduledDateTable->filterDeposits(!kpopupmenu->isItemChecked(1)); + tdepopupmenu->setItemChecked(1, ((tdepopupmenu->isItemChecked(1)) ? false : true)); + m_scheduledDateTable->filterDeposits(!tdepopupmenu->isItemChecked(1)); } void kMyMoneyScheduledCalendar::slotSetViewTransfers() { - kpopupmenu->setItemChecked(2, ((kpopupmenu->isItemChecked(2)) ? false : true)); - m_scheduledDateTable->filterTransfers(!kpopupmenu->isItemChecked(2)); + tdepopupmenu->setItemChecked(2, ((tdepopupmenu->isItemChecked(2)) ? false : true)); + m_scheduledDateTable->filterTransfers(!tdepopupmenu->isItemChecked(2)); } #include "kmymoneyscheduledcalendar.moc" |