diff options
author | Timothy Pearson <[email protected]> | 2012-03-02 02:16:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-02 02:16:16 -0600 |
commit | c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6 (patch) | |
tree | b1fe5fed45628a2211f61b95296de96437a049e8 /knotes/knote.cpp | |
parent | 17e2ed52dbf8fac39a04331da02b9572e9e2e304 (diff) | |
download | tdepim-c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6.tar.gz tdepim-c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6.zip |
Rename additional global functions and variables for tqt3
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r-- | knotes/knote.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 2b0ae9599..182aee863 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -443,7 +443,7 @@ void KNote::saveConfig() const m_config->setHeight( 0 ); m_config->setPosition( pos() ); - NETWinInfo wm_client( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMDesktop ); + NETWinInfo wm_client( tqt_xdisplay(), winId(), tqt_xrootwin(), NET::WMDesktop ); if ( wm_client.desktop() == NETWinInfo::OnAllDesktops || wm_client.desktop() > 0 ) m_config->setDesktop( wm_client.desktop() ); @@ -489,7 +489,7 @@ void KNote::setName( const TQString& name ) saveData(); // set the window's name for the taskbar entry to be more helpful (#58338) - NETWinInfo note_win( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMDesktop ); + NETWinInfo note_win( tqt_xdisplay(), winId(), tqt_xrootwin(), NET::WMDesktop ); note_win.setName( name.utf8() ); emit sigNameChanged(); @@ -758,7 +758,7 @@ void KNote::slotUpdateReadOnly() void KNote::slotClose() { - NETWinInfo wm_client( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMDesktop ); + NETWinInfo wm_client( tqt_xdisplay(), winId(), tqt_xrootwin(), NET::WMDesktop ); if ( wm_client.desktop() == NETWinInfo::OnAllDesktops || wm_client.desktop() > 0 ) m_config->setDesktop( wm_client.desktop() ); @@ -977,8 +977,8 @@ void KNote::slotUpdateShowInTaskbar() void KNote::slotUpdateDesktopActions() { - NETRootInfo wm_root( qt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); - NETWinInfo wm_client( qt_xdisplay(), winId(), qt_xrootwin(), NET::WMDesktop ); + NETRootInfo wm_root( tqt_xdisplay(), NET::NumberOfDesktops | NET::DesktopNames ); + NETWinInfo wm_client( tqt_xdisplay(), winId(), tqt_xrootwin(), NET::WMDesktop ); TQStringList desktops; desktops.append( i18n("&All Desktops") ); @@ -1334,8 +1334,8 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev ) e->button() == Qt::LeftButton ? KWin::raiseWindow( winId() ) : KWin::lowerWindow( winId() ); - XUngrabPointer( qt_xdisplay(), GET_QT_X_TIME() ); - NETRootInfo wm_root( qt_xdisplay(), NET::WMMoveResize ); + XUngrabPointer( tqt_xdisplay(), GET_QT_X_TIME() ); + NETRootInfo wm_root( tqt_xdisplay(), NET::WMMoveResize ); wm_root.moveResizeRequest( winId(), e->globalX(), e->globalY(), NET::Move ); return true; } @@ -1343,7 +1343,7 @@ bool KNote::eventFilter( TQObject *o, TQEvent *ev ) #if KDE_IS_VERSION( 3, 5, 1 ) if ( ev->type() == TQEvent::MouseButtonRelease ) { - NETRootInfo wm_root( qt_xdisplay(), NET::WMMoveResize ); + NETRootInfo wm_root( tqt_xdisplay(), NET::WMMoveResize ); wm_root.moveResizeRequest( winId(), e->globalX(), e->globalY(), NET::MoveResizeCancel ); return false; } |