summaryrefslogtreecommitdiffstats
path: root/kdeui/khelpmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/khelpmenu.cpp')
-rw-r--r--kdeui/khelpmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/khelpmenu.cpp b/kdeui/khelpmenu.cpp
index 20be799b6..c6557f044 100644
--- a/kdeui/khelpmenu.cpp
+++ b/kdeui/khelpmenu.cpp
@@ -118,7 +118,7 @@ KPopupMenu* KHelpMenu::menu()
// compatible.
//
const KAboutData *aboutData = d->mAboutData ? d->mAboutData : KGlobal::instance()->aboutData();
- TQString appName = (aboutData)? aboutData->programName() : TQString::tqfromLatin1(tqApp->name());
+ TQString appName = (aboutData)? aboutData->programName() : TQString::fromLatin1(qApp->name());
mMenu = new KPopupMenu();
connect( mMenu, TQT_SIGNAL(destroyed()), this, TQT_SLOT(menuDestroyed()));
@@ -306,7 +306,7 @@ void KHelpMenu::contextHelpActivated()
TQWhatsThis::enterWhatsThisMode();
TQWidget* w = TQApplication::widgetAt( TQCursor::pos(), true );
while ( w && !w->isTopLevel() && !w->inherits("QXEmbed") )
- w = w->tqparentWidget();
+ w = w->parentWidget();
#ifdef Q_WS_X11
if ( w && w->inherits("QXEmbed") )
(( QXEmbed*) w )->enterWhatsThisMode();