From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- twin/workspace.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'twin/workspace.cpp') diff --git a/twin/workspace.cpp b/twin/workspace.cpp index d7ce0d884..21598fbd2 100644 --- a/twin/workspace.cpp +++ b/twin/workspace.cpp @@ -56,7 +56,7 @@ extern int screen_number; Workspace *Workspace::_self = 0; TDEProcess* kompmgr = 0; -KSelectionOwner* kompmgr_selection; +TDESelectionOwner* kompmgr_selection; bool allowKompmgrRestart = TRUE; @@ -416,8 +416,8 @@ void Workspace::init() char nm[ 100 ]; sprintf( nm, "_KDE_TOPMENU_OWNER_S%d", DefaultScreen( tqt_xdisplay())); Atom topmenu_atom = XInternAtom( tqt_xdisplay(), nm, False ); - topmenu_selection = new KSelectionOwner( topmenu_atom ); - topmenu_watcher = new KSelectionWatcher( topmenu_atom ); + topmenu_selection = new TDESelectionOwner( topmenu_atom ); + topmenu_watcher = new TDESelectionWatcher( topmenu_atom ); // TODO grabXServer(); - where exactly put this? topmenu selection claiming down belong must be before { // begin updates blocker block @@ -2814,7 +2814,7 @@ void Workspace::startKompmgr() delete kompmgr_selection; char selection_name[ 100 ]; sprintf( selection_name, "_NET_WM_CM_S%d", DefaultScreen( tqt_xdisplay())); - kompmgr_selection = new KSelectionOwner( selection_name ); + kompmgr_selection = new TDESelectionOwner( selection_name ); connect( kompmgr_selection, TQT_SIGNAL( lostOwnership()), TQT_SLOT( stopKompmgr())); kompmgr_selection->claim( true ); connect(kompmgr, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(restartKompmgr(TDEProcess*))); -- cgit v1.2.1