summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalendar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:11:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:11:58 -0600
commite8837d86c8961bdfb65c25c6ff040468c95240cd (patch)
treefeaa7456a26d48b1f72a2518c3a765de158cf309 /kmymoney2/widgets/kmymoneycalendar.cpp
parentd0af61c358a04f3d3b956636076eb073dcf253c0 (diff)
downloadkmymoney-e8837d86c8961bdfb65c25c6ff040468c95240cd.tar.gz
kmymoney-e8837d86c8961bdfb65c25c6ff040468c95240cd.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/widgets/kmymoneycalendar.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.cpp12
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"));