summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/kkbdaccessextensions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kofficecore/kkbdaccessextensions.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kofficecore/kkbdaccessextensions.cpp')
-rw-r--r--lib/kofficecore/kkbdaccessextensions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/kkbdaccessextensions.cpp b/lib/kofficecore/kkbdaccessextensions.cpp
index 9535c14a..763bd792 100644
--- a/lib/kofficecore/kkbdaccessextensions.cpp
+++ b/lib/kofficecore/kkbdaccessextensions.cpp
@@ -274,7 +274,7 @@ bool KKbdAccessExtensions::eventFilter( TQObject *o, TQEvent *e )
TQWidgetList* KKbdAccessExtensions::getAllPanels()
{
- TQWidgetList* allWidgets = kapp->tqallWidgets();
+ TQWidgetList* allWidgets = kapp->allWidgets();
TQWidgetList* allPanels = new TQWidgetList;
TQWidget* widget = allWidgets->first();
while (widget) {
@@ -390,7 +390,7 @@ void KKbdAccessExtensions::showIcon()
{
if (!d->panel) return;
TQPoint p;
- // kdDebug() << "KKbdAccessExtensions::showIcon: tqtopLevelWidget = " << d->panel->tqtopLevelWidget()->name() << endl;
+ // kdDebug() << "KKbdAccessExtensions::showIcon: topLevelWidget = " << d->panel->topLevelWidget()->name() << endl;
if (::tqqt_cast<TQSplitter*>( d->panel )) {
TQSplitter* splitter = dynamic_cast<TQSplitter *>(d->panel);
int handleNdx = d->handleNdx - 1;
@@ -413,8 +413,8 @@ void KKbdAccessExtensions::showIcon()
p = dockWindow->pos();
if (dockWindow->area()) {
// kdDebug() << "KKbdAccessExtensions::showIcon: pos = " << p << " of window = " << dockWindow->parentWidget()->name() << endl;
- p = dockWindow->parentWidget()->mapTo(dockWindow->tqtopLevelWidget(), p);
- // kdDebug() << "KKbdAccessExtensions::showIcon: mapTo = " << p << " of window = " << dockWindow->tqtopLevelWidget()->name() << endl;
+ p = dockWindow->parentWidget()->mapTo(dockWindow->topLevelWidget(), p);
+ // kdDebug() << "KKbdAccessExtensions::showIcon: mapTo = " << p << " of window = " << dockWindow->topLevelWidget()->name() << endl;
// TODO: How to get the handle width?
if (d->handleNdx == 1) {
d->icon->setShape(TQt::SizeHorCursor);
@@ -440,7 +440,7 @@ void KKbdAccessExtensions::showIcon()
// else Handle is above the dock window.
}
}
- p = dockWindow->tqtopLevelWidget()->mapToGlobal(p);
+ p = dockWindow->topLevelWidget()->mapToGlobal(p);
} else {
d->icon->setShape(TQt::SizeAllCursor);
p = TQPoint(dockWindow->width() / 2, dockWindow->height() / 2);
@@ -571,7 +571,7 @@ void KKbdAccessExtensions::displayAccessKeys()
}
// Find all visible, focusable widgets and create a TQLabel for each. Don't exceed
// available list of access keys.
- TQWidgetList* allWidgets = kapp->tqallWidgets();
+ TQWidgetList* allWidgets = kapp->allWidgets();
TQWidget* widget = allWidgets->first();
int accessCount = 0;
int maxAccessCount = availableAccessKeys.length();