summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/kkbdaccessextensions.cpp
diff options
context:
space:
mode:
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 cfdfc46d6..646606d05 100644
--- a/lib/kofficecore/kkbdaccessextensions.cpp
+++ b/lib/kofficecore/kkbdaccessextensions.cpp
@@ -80,7 +80,7 @@ class KPanelKbdSizerIcon : public TQCursor
if (shayp != shape()) {
// Must restore and override to get the icon to refresh.
if (isActive) kapp->restoreOverrideCursor();
- TQCursor::setShape((Qt::CursorShape)shayp);
+ TQCursor::setShape((TQt::CursorShape)shayp);
if (isActive) kapp->setOverrideCursor(*this);
}
}
@@ -396,7 +396,7 @@ void KKbdAccessExtensions::showIcon()
int handleNdx = d->handleNdx - 1;
TQValueList<int> sizes = splitter->sizes();
// kdDebug() << "KKbdAccessExtensions::showIcon: sizes = " << sizes << endl;
- if (splitter->orientation() == Qt::Horizontal) {
+ if (splitter->orientation() == TQt::Horizontal) {
d->icon->setShape(TQt::SizeHorCursor);
p.setX(sizes[handleNdx] + (splitter->handleWidth() / 2));
p.setY(splitter->height() / 2);
@@ -418,7 +418,7 @@ void KKbdAccessExtensions::showIcon()
// TODO: How to get the handle width?
if (d->handleNdx == 1) {
d->icon->setShape(TQt::SizeHorCursor);
- if (dockWindow->area()->orientation() == Qt::Vertical) {
+ if (dockWindow->area()->orientation() == TQt::Vertical) {
if (dockWindow->area()->handlePosition() == TQDockArea::Normal)
// Handle is to the right of the dock window.
p.setX(p.x() + dockWindow->width());
@@ -430,7 +430,7 @@ void KKbdAccessExtensions::showIcon()
} else {
d->icon->setShape(TQt::SizeVerCursor);
p.setX(p.x() + (dockWindow->width() / 2));
- if (dockWindow->area()->orientation() == Qt::Vertical)
+ if (dockWindow->area()->orientation() == TQt::Vertical)
// Handle is below the dock window.
p.setY(p.y() + dockWindow->height());
else {
@@ -479,7 +479,7 @@ void KKbdAccessExtensions::resizePanel(int dx, int dy, int state)
if (d->handleNdx == 1) {
// When vertically oriented and dock area is on right side of screen, pressing
// left arrow increases size.
- if (dockWindow->area()->orientation() == Qt::Vertical &&
+ if (dockWindow->area()->orientation() == TQt::Vertical &&
dockWindow->area()->handlePosition() == TQDockArea::Reverse) adj = -adj;
int w = fe.width();
if (w < 0) w = dockWindow->width();
@@ -488,7 +488,7 @@ void KKbdAccessExtensions::resizePanel(int dx, int dy, int state)
} else {
// When horizontally oriented and dock area is at bottom of screen,
// pressing up arrow increases size.
- if (dockWindow->area()->orientation() == Qt::Horizontal &&
+ if (dockWindow->area()->orientation() == TQt::Horizontal &&
dockWindow->area()->handlePosition() == TQDockArea::Reverse) adj = -adj;
int h = fe.height();
if (h < 0) h = dockWindow->height();