diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneycalendar.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneycalendar.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp index 2deeaf2..c9772ab 100644 --- a/kmymoney2/widgets/kmymoneycalendar.cpp +++ b/kmymoney2/widgets/kmymoneycalendar.cpp @@ -68,7 +68,7 @@ #include <kdebug.h> #include <knotifyclient.h> #include <kdatetbl.h> // for maximum re-use -#include <kpopupmenu.h> +#include <tdepopupmenu.h> #if KDE_IS_VERSION(3,2,0) #include <kcalendarsystem.h> @@ -119,11 +119,11 @@ void kMyMoneyCalendar::init( const TQDate &dt ) d->selectWeek = new TQToolButton( this ); // KIconLoader *kiconloader = TDEGlobal::iconLoader(); - TDEPopupMenu* kpopupmenuNew = new TDEPopupMenu(this); - kpopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly())); - kpopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly())); -/* kpopupmenuNew->insertItem(i18n("3 Months"), this, TQT_SLOT(slotSetStyleQuarterly())); */ - styleControl->setPopup(kpopupmenuNew); + TDEPopupMenu* tdepopupmenuNew = new TDEPopupMenu(this); + tdepopupmenuNew->insertItem(i18n("Week"), this, TQT_SLOT(slotSetStyleWeekly())); + tdepopupmenuNew->insertItem(i18n("Month"), this, TQT_SLOT(slotSetStyleMonthly())); +/* tdepopupmenuNew->insertItem(i18n("3 Months"), this, TQT_SLOT(slotSetStyleQuarterly())); */ + styleControl->setPopup(tdepopupmenuNew); TQToolTip::add(styleControl, i18n("Choose Style")); TQToolTip::add(yearForward, i18n("Next year")); |