summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexisharedactionhost.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kexi/core/kexisharedactionhost.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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 6a696461..1ba85265 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(); //tqfocusWidget();
+ TQWidget *w = host->focusWindow(); //focusWidget();
// 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->tqfocusWidget();
+ TQWidget *fw = d->mainWin->focusWidget();
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 tqinvalidate action if it comes from mainwindow's KActionCollection
+ // only invalidate 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->tqfocusWidget();
+ fw = aw->focusWidget();
}
while (fw && !acceptsSharedActions(TQT_TQOBJECT(fw)))
fw = fw->parentWidget();