From 7864df7a5e0a69bb3e525ec3e47256bdcbf2832b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 14:58:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/global.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/global.cpp') 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(res); + return static_cast(res); } return 0; } -- cgit v1.2.1