From 90a4df90811f0f978ae768939d8567f737e4c553 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:14:46 -0600 Subject: Rename additional global functions and variables for tqt3 --- tdecore/twinmodule.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tdecore/twinmodule.cpp') diff --git a/tdecore/twinmodule.cpp b/tdecore/twinmodule.cpp index 72dc0c5b5..adc20f218 100644 --- a/tdecore/twinmodule.cpp +++ b/tdecore/twinmodule.cpp @@ -62,7 +62,7 @@ class KWinModulePrivate : public TQWidget, public NETRootInfo4 { public: KWinModulePrivate(int _what) - : TQWidget(0,0), NETRootInfo4( qt_xdisplay(), + : TQWidget(0,0), NETRootInfo4( tqt_xdisplay(), _what >= KWinModule::INFO_WINDOWS ? windows_properties : desktop_properties, 2, @@ -202,7 +202,7 @@ TQPoint KWinModulePrivate::currentViewport(int desktop) const bool KWinModulePrivate::x11Event( XEvent * ev ) { - if ( ev->xany.window == qt_xrootwin() ) { + if ( ev->xany.window == tqt_xrootwin() ) { int old_current_desktop = currentDesktop(); WId old_active_window = activeWindow(); int old_number_of_desktops = numberOfDesktops(); @@ -244,7 +244,7 @@ bool KWinModulePrivate::x11Event( XEvent * ev ) emit (*mit)->showingDesktopChanged( showingDesktop()); } } else if ( windows.findIndex( ev->xany.window ) != -1 ){ - NETWinInfo ni( qt_xdisplay(), ev->xany.window, qt_xrootwin(), 0 ); + NETWinInfo ni( tqt_xdisplay(), ev->xany.window, tqt_xrootwin(), 0 ); unsigned long dirty[ 2 ]; ni.event( ev, dirty, 2 ); if ( ev->type ==PropertyNotify ) { @@ -296,10 +296,10 @@ void KWinModulePrivate::updateStackingOrder() void KWinModulePrivate::addClient(Window w) { if ( (what >= KWinModule::INFO_WINDOWS) && !TQWidget::find( w ) ) - XSelectInput( qt_xdisplay(), w, PropertyChangeMask | StructureNotifyMask ); + XSelectInput( tqt_xdisplay(), w, PropertyChangeMask | StructureNotifyMask ); bool emit_strutChanged = false; if( strutSignalConnected && modules.count() > 0 ) { - NETWinInfo info( qt_xdisplay(), w, qt_xrootwin(), NET::WMStrut | NET::WMDesktop ); + NETWinInfo info( tqt_xdisplay(), w, tqt_xrootwin(), NET::WMStrut | NET::WMDesktop ); NETStrut strut = info.strut(); if ( strut.left || strut.top || strut.right || strut.bottom ) { strutWindows.append( StrutData( w, strut, info.desktop())); @@ -319,7 +319,7 @@ void KWinModulePrivate::removeClient(Window w) { bool emit_strutChanged = removeStrutWindow( w ); if( strutSignalConnected && possibleStrutWindows.findIndex( w ) != -1 && modules.count() > 0 ) { - NETWinInfo info( qt_xdisplay(), w, qt_xrootwin(), NET::WMStrut ); + NETWinInfo info( tqt_xdisplay(), w, tqt_xrootwin(), NET::WMStrut ); NETStrut strut = info.strut(); if ( strut.left || strut.top || strut.right || strut.bottom ) { emit_strutChanged = true; @@ -417,7 +417,7 @@ TQRect KWinModule::workArea( const TQValueList& exclude, int desktop ) cons continue; strut = (*it2).strut; } else if( d->possibleStrutWindows.findIndex( *it1 ) != -1 ) { - NETWinInfo info( qt_xdisplay(), (*it1), qt_xrootwin(), NET::WMStrut | NET::WMDesktop); + NETWinInfo info( tqt_xdisplay(), (*it1), tqt_xrootwin(), NET::WMStrut | NET::WMDesktop); strut = info.strut(); d->possibleStrutWindows.remove( *it1 ); d->strutWindows.append( KWinModulePrivate::StrutData( *it1, info.strut(), info.desktop())); -- cgit v1.2.1