Rename additional global functions and variables for tqt3

pull/1/head
Timothy Pearson 13 years ago
parent 27075bc698
commit 45fe54edeb

@ -821,7 +821,7 @@ void KDockWidget::applyToWidget( TQWidget* s, const TQPoint& p )
#ifndef NO_KDE2 #ifndef NO_KDE2
#ifdef TQ_WS_X11 #ifdef TQ_WS_X11
if (d->transient && d->_parent) if (d->transient && d->_parent)
XSetTransientForHint( qt_xdisplay(), winId(), d->_parent->winId() ); XSetTransientForHint( tqt_xdisplay(), winId(), d->_parent->winId() );
#ifdef BORDERLESS_WINDOWS #ifdef BORDERLESS_WINDOWS
KWin::setType( winId(), NET::Override); //d->windowType ); KWin::setType( winId(), NET::Override); //d->windowType );

@ -705,7 +705,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
#ifdef TQ_WS_X11 #ifdef TQ_WS_X11
if ( mdiMode() == KMdi::ToplevelMode ) if ( mdiMode() == KMdi::ToplevelMode )
{ {
XSetTransientForHint( qt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() ); XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
} }
#endif #endif
@ -715,7 +715,7 @@ void KMdiMainFrm::detachWindow( KMdiChildView *pWnd, bool bShow )
#ifdef TQ_WS_X11 #ifdef TQ_WS_X11
if ( mdiMode() == KMdi::ToplevelMode ) if ( mdiMode() == KMdi::ToplevelMode )
{ {
XSetTransientForHint( qt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() ); XSetTransientForHint( tqt_xdisplay(), pWnd->winId(), topLevelWidget() ->winId() );
} }
#endif #endif
@ -1426,7 +1426,7 @@ void KMdiMainFrm::switchToToplevelMode()
for ( kmdicvit.toFirst(); ( *kmdicvit ); ++kmdicvit ) for ( kmdicvit.toFirst(); ( *kmdicvit ); ++kmdicvit )
{ {
#ifdef TQ_WS_X11 #ifdef TQ_WS_X11
XSetTransientForHint( qt_xdisplay(), ( *kmdicvit )->winId(), winId() ); XSetTransientForHint( tqt_xdisplay(), ( *kmdicvit )->winId(), winId() );
#endif #endif
( *kmdicvit )->show(); ( *kmdicvit )->show();
} }

@ -868,7 +868,7 @@ void BaseTreeView::slotDropped (TQWidget *, TQDropEvent * /*e*/, KURL::List& fil
Window child; Window child;
int root_x, root_y, win_x, win_y; int root_x, root_y, win_x, win_y;
uint keybstate; uint keybstate;
XQueryPointer( qt_xdisplay(), qt_xrootwin(), &root, &child, XQueryPointer( tqt_xdisplay(), tqt_xrootwin(), &root, &child,
&root_x, &root_y, &win_x, &win_y, &keybstate ); &root_x, &root_y, &win_x, &win_y, &keybstate );
int result; int result;

Loading…
Cancel
Save