summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/khomeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
commita6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch)
tree59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/views/khomeview.cpp
parentdb89d6f6d944825a20ce69bb11c23b19b2935164 (diff)
downloadkmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz
kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/views/khomeview.cpp')
-rw-r--r--kmymoney2/views/khomeview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp
index 316ca75..7b160d3 100644
--- a/kmymoney2/views/khomeview.cpp
+++ b/kmymoney2/views/khomeview.cpp
@@ -1130,19 +1130,19 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
} else if(view == VIEW_SCHEDULE) {
if(mode == "enter") {
emit scheduleSelected(id);
- KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget());
+ TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_enter"), TQT_SLOT(activate()));
} else if(mode == "edit") {
emit scheduleSelected(id);
- KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget());
+ TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_edit"), TQT_SLOT(activate()));
} else if(mode == "skip") {
emit scheduleSelected(id);
- KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget());
+ TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action("schedule_skip"), TQT_SLOT(activate()));
@@ -1159,7 +1159,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
emit reportSelected(id);
} else if(view == VIEW_WELCOME) {
- KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget());
+ TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
if ( mode == "whatsnew" )
{
@@ -1171,7 +1171,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
m_part->openURL(m_filename);
} else if(view == "action") {
- KMainWindow* mw = dynamic_cast<KMainWindow*>(tqApp->mainWidget());
+ TDEMainWindow* mw = dynamic_cast<TDEMainWindow*>(tqApp->mainWidget());
TQ_CHECK_PTR(mw);
TQTimer::singleShot(0, mw->actionCollection()->action( id ), TQT_SLOT(activate()));