summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexisharedactionhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexisharedactionhost.cpp')
-rw-r--r--kexi/core/kexisharedactionhost.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/core/kexisharedactionhost.cpp b/kexi/core/kexisharedactionhost.cpp
index 1ba85265..6a696461 100644
--- a/kexi/core/kexisharedactionhost.cpp
+++ b/kexi/core/kexisharedactionhost.cpp
@@ -42,7 +42,7 @@ KexiSharedActionHostPrivate::KexiSharedActionHostPrivate(KexiSharedActionHost *h
void KexiSharedActionHostPrivate::slotAction(const TQString& act_id)
{
- TQWidget *w = host->focusWindow(); //focusWidget();
+ TQWidget *w = host->focusWindow(); //tqfocusWidget();
// while (w && !w->inherits("KexiDialogBase") && !w->inherits("KexiDockBase"))
// w = w->parentWidget();
@@ -111,7 +111,7 @@ void KexiSharedActionHost::updateActionAvailable(const char *action_name, bool a
}*/
if (!d)
return; //sanity
- TQWidget *fw = d->mainWin->focusWidget();
+ TQWidget *fw = d->mainWin->tqfocusWidget();
while (fw && TQT_BASE_OBJECT(obj)!=TQT_BASE_OBJECT(fw))
fw = fw->parentWidget();
if (!fw)
@@ -149,7 +149,7 @@ void KexiSharedActionHost::invalidateSharedActions(TQObject *o)
KAction *a = *it;
if (!insideDialogBase && d->mainWin->actionCollection()!=a->parentCollection()) {
//o is not KexiDialogBase or its child:
- // only invalidate action if it comes from mainwindow's KActionCollection
+ // only tqinvalidate action if it comes from mainwindow's KActionCollection
// (thus part-actions are untouched when the focus is e.g. in the Property Editor)
continue;
}
@@ -205,7 +205,7 @@ TQWidget* KexiSharedActionHost::focusWindow()
TQWidget *aw = TQT_TQWIDGET(tqApp->activeWindow());
if (!aw)
aw = d->mainWin;
- fw = aw->focusWidget();
+ fw = aw->tqfocusWidget();
}
while (fw && !acceptsSharedActions(TQT_TQOBJECT(fw)))
fw = fw->parentWidget();