summaryrefslogtreecommitdiffstats
path: root/src/global.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:21 -0600
commit7864df7a5e0a69bb3e525ec3e47256bdcbf2832b (patch)
tree3aa53b371fc2482fb6bea9f8eca16b9524c1b332 /src/global.cpp
parent3cedb6a5f7a9c3e0c04303289e025ce6fe91e164 (diff)
downloadbasket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.tar.gz
basket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/global.cpp b/src/global.cpp
index edc1787..4ebd8fb 100644
--- a/src/global.cpp
+++ b/src/global.cpp
@@ -81,13 +81,13 @@ TQString Global::openNoteIcon() // FIXME: Now an edit icon
return Global::bnpView->m_actEditNote->icon();
}
-KMainWindow* Global::mainWindow()
+TDEMainWindow* Global::mainWindow()
{
TQWidget* res = kapp->mainWidget();
- if(res && res->inherits("KMainWindow"))
+ if(res && res->inherits("TDEMainWindow"))
{
- return static_cast<KMainWindow*>(res);
+ return static_cast<TDEMainWindow*>(res);
}
return 0;
}